.cp-stage { position: relative; width: 100%; line-height: 0; }
.cp-base { width: 100%; height: auto; display: block; }

/* Zona de estampado: la posición/tamaño llegan inline en % desde el producto */
.cp-zone {
	position: absolute; overflow: hidden; outline: 1px dashed rgba(120,120,120,.7);
	touch-action: none; cursor: grab;
}
.cp-zone:active { cursor: grabbing; }
.cp-zone img {
	position: absolute; left: 50%; top: 50%; width: 100%; height: auto;
	max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.cp-zone.mix img { mix-blend-mode: multiply; }

.cp-controls { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; line-height: 1.4; }
.cp-controls label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cp-controls label.cp-check { flex-direction: row; align-items: center; gap: 8px; }
.cp-btn { display: inline-block; padding: 10px 16px; background: #222; color: #fff; border: 0; border-radius: 4px; text-align: center; cursor: pointer; font-size: 15px; }
.cp-ghost { background: transparent; color: #222; border: 1px solid #222; }
/* Tabla de tallas: sustituye al selector de talla, cantidad y botón nativos */
.cp-on .single_variation_wrap { display: none !important; }
.cp-sizes { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.cp-scroll { overflow-x: auto; }
.cp-grid { border-collapse: collapse; width: auto; }
.cp-grid th, .cp-grid td { padding: 4px 6px; text-align: center; font-size: 14px; }
.cp-grid tbody th { text-align: left; font-weight: 500; white-space: nowrap; }
.cp-grid input { width: 56px; }
.cp-sum { margin: 0; font-weight: 600; }
.cp-msg { color: #b00020; margin: 0; min-height: 1em; font-size: 14px; }
.cp-hint { font-size: 13px; color: #666; margin: 0; }
