/* ARCHIVO GENERADO por tools/build-css.py a partir de assets/css/src/designer.css — NO EDITAR AQUÍ: edita el origen y vuelve a ejecutar el script. Cada selector lleva :not(#ctp-isolate) para que el tema no pueda pisar estos estilos. */
/* Crea Tus Pendientes 3D — estilos. Todas las clases llevan prefijo ctp-.
   EDITA este archivo (src) y regenera con tools/build-css.py. Mismo criterio
   visual que el configurador de anillos: negro/blanco, Work Sans, botón
   activo = fondo negro; hover y pulsado = igual que activo. */

.ctp-app:not(#ctp-isolate) {
	box-sizing: border-box;
	width: 100%; /* los temas de bloques centran el contenido con flex: sin esto el diseñador se encoge */
	max-width: 760px;
	margin: 0 auto;
	padding: 12px 16px calc( var( --ctp-bottom-bar-height, 120px ) + 16px ); /* 16px de margen lateral; hueco para la barra inferior fija */
	color: #000;
	font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	-webkit-text-size-adjust: 100%;
}
.ctp-app *:not(#ctp-isolate), .ctp-app *:not(#ctp-isolate)::before, .ctp-app *:not(#ctp-isolate)::after { box-sizing: border-box; }
.ctp-hidden:not(#ctp-isolate) { display: none !important; }

.ctp-h:not(#ctp-isolate) { margin: 6px 0 10px; font-size: 20px; font-weight: 600; color: #000; }
.ctp-field:not(#ctp-isolate) { margin: 14px 0; }
.ctp-label:not(#ctp-isolate) { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; color: #000; }
.ctp-hint:not(#ctp-isolate) { margin: 6px 0; font-size: 13px; color: #555; }
.ctp-loading:not(#ctp-isolate) { margin: 6px 0; font-size: 13px; color: #555; }

/* Botones */
.ctp-btn-group:not(#ctp-isolate) { display: flex; flex-wrap: wrap; gap: 8px; }
.ctp-btn:not(#ctp-isolate), .ctp-opt-btn:not(#ctp-isolate) {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-direction: row;
	min-height: 44px; padding: 10px 14px; border: 1px solid #000; border-radius: 8px; background: #fff; color: #000;
	font: inherit; font-size: 14px; cursor: pointer; text-decoration: none;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
	-webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.ctp-opt-btn:not(#ctp-isolate) { flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 84px; }
.ctp-opt-btn small:not(#ctp-isolate) { font-size: 12px; opacity: .8; }
.ctp-btn:hover:not(#ctp-isolate), .ctp-btn:focus:not(#ctp-isolate), .ctp-btn:active:not(:disabled):not(#ctp-isolate), .ctp-btn.is-active:not(#ctp-isolate),
.ctp-opt-btn:hover:not(#ctp-isolate), .ctp-opt-btn:focus:not(#ctp-isolate), .ctp-opt-btn:active:not(:disabled):not(#ctp-isolate), .ctp-opt-btn.is-active:not(#ctp-isolate) { background: #000; color: #fff; border-color: #000; }
.ctp-btn--primary:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-btn--dark:not(#ctp-isolate) { background: #d4af37; color: #1a1400; border-color: #d4af37; }
.ctp-btn--dark:hover:not(#ctp-isolate), .ctp-btn--dark:focus:not(#ctp-isolate), .ctp-btn--dark:active:not(#ctp-isolate) { background: #000; color: #fff; border-color: #000; }
.ctp-btn:disabled:not(#ctp-isolate), .ctp-opt-btn:disabled:not(#ctp-isolate) { opacity: .4; cursor: not-allowed; background: #fff; color: #000; }
.ctp-btn--primary:disabled:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-btn:disabled:hover:not(#ctp-isolate), .ctp-opt-btn:disabled:hover:not(#ctp-isolate) { background: #fff; color: #000; }
.ctp-btn--primary:disabled:hover:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-beta:not(#ctp-isolate) { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #d4af37; color: #1a1400; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.ctp-opt-btn.is-active .ctp-beta:not(#ctp-isolate), .ctp-opt-btn:hover .ctp-beta:not(#ctp-isolate) { background: #fff; color: #000; }

.ctp-toolbar:not(#ctp-isolate) { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }

/* Lienzo de dibujo */
.ctp-canvas-wrap:not(#ctp-isolate) { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 70vh; border: 1px solid #000; border-radius: 12px; background: #faf7f5; overflow: hidden; touch-action: none; }
.ctp-shape-canvas:not(#ctp-isolate) { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }

/* Visor */
.ctp-viewer-wrap:not(#ctp-isolate) { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 70vh; margin: 10px 0; border: 1px solid #d9d9de; border-radius: 12px; background: linear-gradient( #e6e7ec, #cfd1d8 ); overflow: hidden; touch-action: none; }
.ctp-viewer-slot:not(#ctp-isolate) { position: absolute; inset: 0; }
.ctp-viewer:not(#ctp-isolate) { width: 100%; height: 100%; position: relative; touch-action: none; }
.ctp-viewer-canvas:not(#ctp-isolate) { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }
.ctp-viewer-canvas[data-mode="draw"]:not(#ctp-isolate) { cursor: crosshair; }

/* En los pasos 3 y 4 el visor queda fijo arriba mientras se mueven los controles. */
.ctp-viewer-wrap--sticky:not(#ctp-isolate) { position: sticky; top: var( --ctp-sticky-top, 0px ); z-index: 5; aspect-ratio: auto; height: min( 46vh, 100vw ); margin-top: 0; }

/* Formulario */
.ctp-input:not(#ctp-isolate) { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; min-height: 44px; border: 1px solid #000; border-radius: 8px; background: #fff; color: #000; font: inherit; font-size: 16px; }
.ctp-range:not(#ctp-isolate) { width: 100%; margin: 8px 0 12px; accent-color: #000; min-height: 32px; }
.ctp-count:not(#ctp-isolate) { font-weight: 400; color: #555; margin-left: 6px; }
.ctp-label output:not(#ctp-isolate) { font-weight: 400; color: #555; margin-left: 6px; }

.ctp-chips:not(#ctp-isolate) { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.ctp-chip:not(#ctp-isolate) { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid #000; border-radius: 999px; font-size: 13px; background: #fff; color: #000; }
.ctp-chip-x:not(#ctp-isolate) { min-width: 28px; min-height: 28px; border: 0; border-radius: 50%; background: transparent; color: #000; font: inherit; cursor: pointer; }
.ctp-chip-x:hover:not(#ctp-isolate), .ctp-chip-x:focus:not(#ctp-isolate), .ctp-chip-x:active:not(#ctp-isolate) { background: #000; color: #fff; }

/* Barra inferior fija: UNA sola fila de botones (Probador virtual · Guardar · Finalizar solo en el último paso) */
.ctp-bottom-bar:not(#ctp-isolate) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5e5e5; box-shadow: 0 -2px 10px rgba(0,0,0,.06); }
.ctp-status:not(#ctp-isolate) { margin: 6px 0 0; min-height: 0; font-size: 13px; color: #333; text-align: center; }
.ctp-status:empty:not(#ctp-isolate) { display: none; }
.ctp-bottom-actions:not(#ctp-isolate) { display: flex; flex-wrap: nowrap; gap: 8px; max-width: 760px; margin: 0 auto; }
.ctp-bottom-actions .ctp-btn:not(#ctp-isolate) { flex: 1 1 0; min-width: 0; padding: 8px 6px; line-height: 1.15; text-align: center; }
/* Barra principal (Probador · Guardar · Finalizar): Probador y Guardar arriba, a medias; «Finalizar diseño» (solo en el último paso) debajo, a todo el ancho, como en el anillo —
   en vez de apretar los tres en una fila y cortar el texto. Tras finalizar (data-ctp-result-actions) no cambia nada. */
.ctp-bottom-actions[data-ctp-main-actions]:not(#ctp-isolate) { flex-wrap: wrap; }
.ctp-bottom-actions[data-ctp-main-actions] .ctp-btn:not(#ctp-isolate) { flex: 1 1 calc( 50% - 4px ); padding: 10px 8px; }
.ctp-bottom-actions[data-ctp-main-actions] [data-ctp-finalize]:not(#ctp-isolate) { flex: 1 1 100%; }

/* Diálogo */
.ctp-dialog:not(#ctp-isolate) { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.45); }
.ctp-dialog-box:not(#ctp-isolate) { width: 100%; max-width: 440px; padding: 18px; border-radius: 12px; background: #fff; color: #000; }
.ctp-dialog-text:not(#ctp-isolate) { margin: 0 0 14px; white-space: pre-line; font-size: 15px; }
.ctp-dialog-actions:not(#ctp-isolate) { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.ctp-login-gate:not(#ctp-isolate) { max-width: 460px; margin: 20px auto; padding: 18px; border: 1px solid #000; border-radius: 12px; font-family: "Work Sans", -apple-system, sans-serif; text-align: center; }
.ctp-login-link:not(#ctp-isolate) { display: inline-block; padding: 10px 18px; border: 1px solid #000; border-radius: 8px; background: #000; color: #fff; text-decoration: none; }
.ctp-login-link:hover:not(#ctp-isolate), .ctp-login-link:focus:not(#ctp-isolate) { background: #000; color: #fff; }

/* Modal de captura de huella (se monta en <body>, fuera de .ctp-app) */
.ctp-fp-overlay:not(#ctp-isolate) { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(0,0,0,.7); font-family: "Work Sans", -apple-system, sans-serif; }
.ctp-fp-modal:not(#ctp-isolate) { width: 100%; max-width: 420px; max-height: 96vh; overflow: auto; padding: 14px; border-radius: 12px; background: #fff; color: #000; }
.ctp-fp-instructions:not(#ctp-isolate) { margin: 0 0 10px; font-size: 14px; }
.ctp-fp-video-wrap:not(#ctp-isolate) { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #000; }
.ctp-fp-video:not(#ctp-isolate) { width: 100%; height: 100%; object-fit: cover; }
.ctp-fp-oval-guide:not(#ctp-isolate) { position: absolute; left: 20%; right: 20%; top: 15%; bottom: 15%; border: 3px solid #d4af37; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0,0,0,.35); pointer-events: none; }
.ctp-fp-error:not(#ctp-isolate) { margin: 8px 0; color: #b3261e; font-size: 14px; }
.ctp-fp-actions:not(#ctp-isolate) { display: flex; gap: 8px; margin: 12px 0 0; }
.ctp-fp-btn:not(#ctp-isolate) { flex: 1; min-height: 44px; padding: 10px; border: 1px solid #000; border-radius: 8px; background: #fff; color: #000; font: inherit; cursor: pointer; }
.ctp-fp-btn:hover:not(#ctp-isolate), .ctp-fp-btn:focus:not(#ctp-isolate), .ctp-fp-btn:active:not(#ctp-isolate), .ctp-fp-btn--primary:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-fp-upload-fallback:not(#ctp-isolate) { display: block; margin: 12px 0 0; font-size: 14px; }
.ctp-fp-overlay .hidden:not(#ctp-isolate) { display: none !important; }


/* Botones redondos de deshacer/rehacer en los laterales (como en el configurador de anillos) y «centrar vista». */
.ctp-icon-btn:not(#ctp-isolate) {
	position: absolute; bottom: 12px; z-index: 6; width: 46px; height: 46px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid #000; border-radius: 50%; background: rgba(255,255,255,.92); color: #000;
	font: inherit; font-size: 22px; line-height: 1; cursor: pointer; touch-action: manipulation;
	transition: background .15s ease, color .15s ease;
}
.ctp-icon-btn:hover:not(#ctp-isolate), .ctp-icon-btn:focus:not(#ctp-isolate), .ctp-icon-btn:active:not(#ctp-isolate) { background: #000; color: #fff; border-color: #000; }
.ctp-icon-btn:disabled:not(#ctp-isolate) { opacity: .35; cursor: not-allowed; background: rgba(255,255,255,.92); color: #000; }
.ctp-icon-btn--undo:not(#ctp-isolate) { left: 12px; }
.ctp-icon-btn--redo:not(#ctp-isolate) { right: 12px; }
.ctp-icon-btn--recenter:not(#ctp-isolate) { right: 12px; bottom: auto; top: 12px; width: 40px; height: 40px; font-size: 20px; }

/* Barras de 5 puntos (como el anillo) */
.ctp-level-track:not(#ctp-isolate) { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; }
.ctp-level-track-line:not(#ctp-isolate) { position: absolute; left: 11px; right: 11px; top: 50%; height: 4px; transform: translateY(-50%); background: #ddd; border-radius: 2px; pointer-events: none; }
.ctp-level-track-fill:not(#ctp-isolate) { position: absolute; left: 11px; top: 50%; height: 4px; transform: translateY(-50%); background: #000; border-radius: 2px; pointer-events: none; transition: width .15s ease; }
.ctp-level-dot:not(#ctp-isolate) { position: relative; z-index: 1; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid #000; background: #fff; cursor: pointer; transition: background .15s ease; }
.ctp-level-dot:hover:not(#ctp-isolate), .ctp-level-dot:focus:not(#ctp-isolate), .ctp-level-dot:active:not(#ctp-isolate), .ctp-level-dot.is-active:not(#ctp-isolate) { background: #000; border-color: #000; }
.ctp-value:not(#ctp-isolate) { margin-left: 6px; font-weight: 400; color: #555; }

.ctp-swatch:not(#ctp-isolate) { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #00000040; margin-right: 6px; vertical-align: -2px; }
.ctp-canvas-wrap--preview:not(#ctp-isolate) { aspect-ratio: 16 / 10; max-height: 38vh; }

/* Presupuesto (como el anillo: precio solo tras finalizar) */
.ctp-bottom-inner:not(#ctp-isolate) { max-width: 760px; margin: 0 auto; }
.ctp-budget:not(#ctp-isolate) { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.ctp-budget-total:not(#ctp-isolate) { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin: 0; padding: 0; border: 0; background: none; font-size: 15px; color: #222; }
.ctp-budget-total strong:not(#ctp-isolate) { font-size: 22px; }
.ctp-budget-total small:not(#ctp-isolate) { font-size: 12px; color: #666; }
.ctp-bottom-actions + .ctp-bottom-actions:not(#ctp-isolate) { margin-top: 8px; }

/* Lienzo de trabajo SIEMPRE fijo arriba (sticky, como el visor del configurador de anillos): 2D o 3D según el paso. */
.ctp-stage:not(#ctp-isolate) {
	position: sticky; top: var( --ctp-sticky-top, 0px ); z-index: 40;
	width: 100%; height: clamp( 300px, 52vh, 520px ); margin: 0 0 12px; overflow: hidden;
	border: 0; border-bottom: 1px solid #e5e5e5; border-radius: 0; background: #fff; touch-action: none;
}
/* Dibujando la forma (pantalla 2D): el lienzo ocupa más alto para poder dibujar a gusto; el tamaño elegido solo escala la silueta después. */
.ctp-stage.ctp-stage--draw:not(#ctp-isolate) { height: clamp( 340px, 64vh, 640px ); }
.ctp-stage .ctp-shape-canvas:not(#ctp-isolate) { position: absolute; inset: 0; width: 100%; height: 100%; background: #fff; }
.ctp-stage .ctp-viewer-slot:not(#ctp-isolate) { position: absolute; inset: 0; }
.ctp-stage-loading:not(#ctp-isolate) { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 7; margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba( 255,255,255,.9 ); font-size: 13px; text-align: center; }

/* En móvil el lienzo ocupa todo el ancho de la pantalla (lo mide y aplica main.js: márgenes negativos). */
.ctp-bleed .ctp-stage:not(#ctp-isolate) { border-left: 0; border-right: 0; border-radius: 0; max-width: none; }
.ctp-icon-btn--recenter:not(#ctp-isolate) { display: none !important; }


/* ── Navegación Atrás / Siguiente (justo debajo de las herramientas) ─────────────────────────────────────────────────────────── */
.ctp-panels:not(#ctp-isolate) { display: block; }
.ctp-step-nav:not(#ctp-isolate) { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 0; }
.ctp-step-nav-btn:not(#ctp-isolate) { min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid #000; background: #fff; color: #000; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.ctp-step-nav-btn:hover:not(#ctp-isolate), .ctp-step-nav-btn:active:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-step-nav-btn--next:not(#ctp-isolate) { margin-left: auto; }
.ctp-step-nav-btn.ctp-hidden:not(#ctp-isolate) { display: none !important; }

/* ── Circonitas: seis cuadrados de color en una fila (también en móvil, sin desplazamiento horizontal) ─────────────────────────── */
.ctp-gem-swatches:not(#ctp-isolate) { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; margin: 6px 0 10px; }
.ctp-gem-swatch:not(#ctp-isolate) { flex: 1 1 0; min-width: 0; max-width: 56px; aspect-ratio: 1 / 1; border-radius: 8px; border: 1px solid rgba(0,0,0,.35); background: var( --ctp-gem ); cursor: pointer; padding: 0; position: relative; }
.ctp-gem-swatch--white:not(#ctp-isolate) { border-color: #000; background: linear-gradient( 135deg, #fff 0%, #eef2f6 55%, #fff 100% ); }
.ctp-gem-swatch.is-active:not(#ctp-isolate) { outline: 2px solid #000; outline-offset: 2px; }
.ctp-gem-swatch.is-active:not(#ctp-isolate)::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 7px; height: 7px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1.5px #fff; }
.ctp-gem-swatch:focus-visible:not(#ctp-isolate) { outline: 2px solid #000; outline-offset: 2px; }
[data-ctp-back-stone] .ctp-btn-group:not(#ctp-isolate) { margin-bottom: 10px; }

/* ── Ventanas flotantes (instrucciones de cada paso, confirmación de «Atrás» y avisos de error; ver ui/floating-window.js) ───────── */
.ctp-fw-layer:not(#ctp-isolate) { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ctp-fw-layer.hidden:not(#ctp-isolate) { display: none; }
.ctp-fw-backdrop:not(#ctp-isolate) { position: absolute; inset: 0; background: rgba( 0, 0, 0, 0.35 ); }
.ctp-fw:not(#ctp-isolate) {
	position: relative; box-sizing: border-box; width: 100%; max-width: 440px; max-height: calc( 100vh - 32px ); overflow-y: auto;
	background: #fff; color: #111; border-radius: 14px; box-shadow: 0 12px 40px rgba( 0, 0, 0, 0.28 ); padding: 28px 24px 22px;
	font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ctp-fw--error:not(#ctp-isolate) { border-left: 6px solid #d32f2f; }
.ctp-fw--confirm:not(#ctp-isolate) { border-left: 6px solid #e6a100; }
.ctp-fw-close:not(#ctp-isolate) { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #000; font-size: 28px; line-height: 1; cursor: pointer; }
.ctp-fw-close:hover:not(#ctp-isolate), .ctp-fw-close:focus-visible:not(#ctp-isolate) { background: #f0f0f0; color: #000; }
.ctp-fw-title:not(#ctp-isolate) { margin: 0 30px 8px 0; font-size: 19px; font-weight: 700; line-height: 1.25; display: flex; align-items: center; gap: 10px; }
.ctp-fw-text:not(#ctp-isolate) { margin: 0 26px 0 0; font-size: 15px; line-height: 1.55; white-space: pre-line; }
.ctp-fw--confirm .ctp-fw-text:not(#ctp-isolate) { font-weight: 600; }
.ctp-fw-actions:not(#ctp-isolate) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.ctp-fw-btn:not(#ctp-isolate) { min-height: 44px; padding: 10px 20px; border-radius: 8px; border: 1px solid #000; background: #fff; color: #000; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ctp-fw-btn:hover:not(#ctp-isolate), .ctp-fw-btn:focus-visible:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-fw-btn--primary:not(#ctp-isolate) { background: #000; color: #fff; }
.ctp-fw-btn--primary:hover:not(#ctp-isolate), .ctp-fw-btn--primary:focus-visible:not(#ctp-isolate) { background: #333; color: #fff; }
.ctp-fw-step:not(#ctp-isolate) { flex: none; min-width: 38px; padding: 3px 9px; border-radius: 999px; background: #000; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; }

/* ── Visita guiada inicial (ver ui/intro-tour.js) ───────────────────────────────────────────────────────────────────────────── */
.ctp-tour:not(#ctp-isolate) { position: fixed; inset: 0; z-index: 100000; }
.ctp-tour-dim:not(#ctp-isolate) { position: absolute; inset: 0; background: rgba( 0, 0, 0, 0.55 ); }
.ctp-tour-hl:not(#ctp-isolate) { position: absolute; box-sizing: border-box; border: 3px solid #fff; border-radius: 12px; box-shadow: 0 0 0 2px rgba( 0, 0, 0, 0.35 ); pointer-events: none; }
.ctp-tour-card:not(#ctp-isolate) { position: absolute; }

/* ── Tras finalizar: solo presupuesto + dos botones (volver a empezar, pequeño · añadir al carrito, grande a la derecha) ───────── */
.ctp-is-finalized [data-ctp-main-actions]:not(#ctp-isolate), .ctp-is-finalized .ctp-status:not(#ctp-isolate), .ctp-is-finalized .ctp-step-nav:not(#ctp-isolate) { display: none !important; }
.ctp-bottom-actions[data-ctp-result-actions]:not(#ctp-isolate) { flex-wrap: nowrap; }
.ctp-bottom-actions[data-ctp-result-actions] .ctp-restart-btn:not(#ctp-isolate) { flex: 0 0 56px; min-width: 56px; padding: 0; }
.ctp-bottom-actions[data-ctp-result-actions] [data-ctp-add-to-cart]:not(#ctp-isolate) { flex: 1 1 auto; background: #000; color: #fff; font-weight: 700; }
.ctp-bottom-actions[data-ctp-result-actions] [data-ctp-add-to-cart]:disabled:not(#ctp-isolate) { background: #999; border-color: #999; color: #fff; opacity: 1; }

/* ── Pendientes: inspección de la pareja y vista técnica trasera ── */
.ctp-tech:not(#ctp-isolate) { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #f4f5f7; border: 1px solid #e1e3e8; font-size: 13px; line-height: 1.4; color: #2b2b33; }
.ctp-tech p:not(#ctp-isolate) { margin: 0 0 4px; }
.ctp-tech p:last-child:not(#ctp-isolate) { margin-bottom: 0; }
.ctp-tech .ctp-tech-warn:not(#ctp-isolate) { color: #b3261e; font-weight: 600; }
