/* 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(#ctc-isolate) para que el tema no pueda pisar estos estilos. */
/* Crea tu Colgante 3D — estilos. Todas las clases llevan prefijo ctc-.
   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. */

.ctc-app:not(#ctc-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( --ctc-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%;
}
.ctc-app *:not(#ctc-isolate), .ctc-app *:not(#ctc-isolate)::before, .ctc-app *:not(#ctc-isolate)::after { box-sizing: border-box; }
.ctc-hidden:not(#ctc-isolate) { display: none !important; }

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

/* Botones */
.ctc-btn-group:not(#ctc-isolate) { display: flex; flex-wrap: wrap; gap: 8px; }
.ctc-btn:not(#ctc-isolate), .ctc-opt-btn:not(#ctc-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;
}
.ctc-opt-btn:not(#ctc-isolate) { flex-direction: column; gap: 2px; flex: 1 1 0; min-width: 84px; }
.ctc-opt-btn small:not(#ctc-isolate) { font-size: 12px; opacity: .8; }
.ctc-btn:hover:not(#ctc-isolate), .ctc-btn:focus:not(#ctc-isolate), .ctc-btn:active:not(:disabled):not(#ctc-isolate), .ctc-btn.is-active:not(#ctc-isolate),
.ctc-opt-btn:hover:not(#ctc-isolate), .ctc-opt-btn:focus:not(#ctc-isolate), .ctc-opt-btn:active:not(:disabled):not(#ctc-isolate), .ctc-opt-btn.is-active:not(#ctc-isolate) { background: #000; color: #fff; border-color: #000; }
.ctc-btn--primary:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-btn--dark:not(#ctc-isolate) { background: #d4af37; color: #1a1400; border-color: #d4af37; }
.ctc-btn--dark:hover:not(#ctc-isolate), .ctc-btn--dark:focus:not(#ctc-isolate), .ctc-btn--dark:active:not(#ctc-isolate) { background: #000; color: #fff; border-color: #000; }
.ctc-btn:disabled:not(#ctc-isolate), .ctc-opt-btn:disabled:not(#ctc-isolate) { opacity: .4; cursor: not-allowed; background: #fff; color: #000; }
.ctc-btn--primary:disabled:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-btn:disabled:hover:not(#ctc-isolate), .ctc-opt-btn:disabled:hover:not(#ctc-isolate) { background: #fff; color: #000; }
.ctc-btn--primary:disabled:hover:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-beta:not(#ctc-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; }
.ctc-opt-btn.is-active .ctc-beta:not(#ctc-isolate), .ctc-opt-btn:hover .ctc-beta:not(#ctc-isolate) { background: #fff; color: #000; }

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

/* Lienzo de dibujo */
.ctc-canvas-wrap:not(#ctc-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; }
.ctc-shape-canvas:not(#ctc-isolate) { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }

/* Visor */
.ctc-viewer-wrap:not(#ctc-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; }
.ctc-viewer-slot:not(#ctc-isolate) { position: absolute; inset: 0; }
.ctc-viewer:not(#ctc-isolate) { width: 100%; height: 100%; position: relative; touch-action: none; }
.ctc-viewer-canvas:not(#ctc-isolate) { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }
.ctc-viewer-canvas[data-mode="draw"]:not(#ctc-isolate) { cursor: crosshair; }

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

/* Formulario */
.ctc-input:not(#ctc-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; }
.ctc-range:not(#ctc-isolate) { width: 100%; margin: 8px 0 12px; accent-color: #000; min-height: 32px; }
.ctc-count:not(#ctc-isolate) { font-weight: 400; color: #555; margin-left: 6px; }
.ctc-label output:not(#ctc-isolate) { font-weight: 400; color: #555; margin-left: 6px; }

.ctc-chips:not(#ctc-isolate) { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.ctc-chip:not(#ctc-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; }
.ctc-chip-x:not(#ctc-isolate) { min-width: 28px; min-height: 28px; border: 0; border-radius: 50%; background: transparent; color: #000; font: inherit; cursor: pointer; }
.ctc-chip-x:hover:not(#ctc-isolate), .ctc-chip-x:focus:not(#ctc-isolate), .ctc-chip-x:active:not(#ctc-isolate) { background: #000; color: #fff; }

/* Barra inferior fija: UNA sola fila de botones (Probador virtual · Guardar · Finalizar solo en el último paso) */
.ctc-bottom-bar:not(#ctc-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); }
.ctc-status:not(#ctc-isolate) { margin: 6px 0 0; min-height: 0; font-size: 13px; color: #333; text-align: center; }
.ctc-status:empty:not(#ctc-isolate) { display: none; }
.ctc-bottom-actions:not(#ctc-isolate) { display: flex; flex-wrap: nowrap; gap: 8px; max-width: 760px; margin: 0 auto; }
.ctc-bottom-actions .ctc-btn:not(#ctc-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-ctc-result-actions) no cambia nada. */
.ctc-bottom-actions[data-ctc-main-actions]:not(#ctc-isolate) { flex-wrap: wrap; }
.ctc-bottom-actions[data-ctc-main-actions] .ctc-btn:not(#ctc-isolate) { flex: 1 1 calc( 50% - 4px ); padding: 10px 8px; }
.ctc-bottom-actions[data-ctc-main-actions] [data-ctc-finalize]:not(#ctc-isolate) { flex: 1 1 100%; }

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

.ctc-login-gate:not(#ctc-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; }
.ctc-login-link:not(#ctc-isolate) { display: inline-block; padding: 10px 18px; border: 1px solid #000; border-radius: 8px; background: #000; color: #fff; text-decoration: none; }
.ctc-login-link:hover:not(#ctc-isolate), .ctc-login-link:focus:not(#ctc-isolate) { background: #000; color: #fff; }

/* Modal de captura de huella (se monta en <body>, fuera de .ctc-app) */
.ctc-fp-overlay:not(#ctc-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; }
.ctc-fp-modal:not(#ctc-isolate) { width: 100%; max-width: 420px; max-height: 96vh; overflow: auto; padding: 14px; border-radius: 12px; background: #fff; color: #000; }
.ctc-fp-instructions:not(#ctc-isolate) { margin: 0 0 10px; font-size: 14px; }
.ctc-fp-video-wrap:not(#ctc-isolate) { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #000; }
.ctc-fp-video:not(#ctc-isolate) { width: 100%; height: 100%; object-fit: cover; }
.ctc-fp-oval-guide:not(#ctc-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; }
.ctc-fp-error:not(#ctc-isolate) { margin: 8px 0; color: #b3261e; font-size: 14px; }
.ctc-fp-actions:not(#ctc-isolate) { display: flex; gap: 8px; margin: 12px 0 0; }
.ctc-fp-btn:not(#ctc-isolate) { flex: 1; min-height: 44px; padding: 10px; border: 1px solid #000; border-radius: 8px; background: #fff; color: #000; font: inherit; cursor: pointer; }
.ctc-fp-btn:hover:not(#ctc-isolate), .ctc-fp-btn:focus:not(#ctc-isolate), .ctc-fp-btn:active:not(#ctc-isolate), .ctc-fp-btn--primary:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-fp-upload-fallback:not(#ctc-isolate) { display: block; margin: 12px 0 0; font-size: 14px; }
.ctc-fp-overlay .hidden:not(#ctc-isolate) { display: none !important; }


/* Botones redondos de deshacer/rehacer en los laterales (como en el configurador de anillos) y «centrar vista». */
.ctc-icon-btn:not(#ctc-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;
}
.ctc-icon-btn:hover:not(#ctc-isolate), .ctc-icon-btn:focus:not(#ctc-isolate), .ctc-icon-btn:active:not(#ctc-isolate) { background: #000; color: #fff; border-color: #000; }
.ctc-icon-btn:disabled:not(#ctc-isolate) { opacity: .35; cursor: not-allowed; background: rgba(255,255,255,.92); color: #000; }
.ctc-icon-btn--undo:not(#ctc-isolate) { left: 12px; }
.ctc-icon-btn--redo:not(#ctc-isolate) { right: 12px; }
.ctc-icon-btn--recenter:not(#ctc-isolate) { right: 12px; bottom: auto; top: 12px; width: 40px; height: 40px; font-size: 20px; }

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

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

/* Presupuesto (como el anillo: precio solo tras finalizar) */
.ctc-bottom-inner:not(#ctc-isolate) { max-width: 760px; margin: 0 auto; }
.ctc-budget:not(#ctc-isolate) { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.ctc-budget-total:not(#ctc-isolate) { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin: 0; padding: 0; border: 0; background: none; font-size: 15px; color: #222; }
.ctc-budget-total strong:not(#ctc-isolate) { font-size: 22px; }
.ctc-budget-total small:not(#ctc-isolate) { font-size: 12px; color: #666; }
.ctc-bottom-actions + .ctc-bottom-actions:not(#ctc-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. */
.ctc-stage:not(#ctc-isolate) {
	position: sticky; top: var( --ctc-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. */
.ctc-stage.ctc-stage--draw:not(#ctc-isolate) { height: clamp( 340px, 64vh, 640px ); }
.ctc-stage .ctc-shape-canvas:not(#ctc-isolate) { position: absolute; inset: 0; width: 100%; height: 100%; background: #fff; }
.ctc-stage .ctc-viewer-slot:not(#ctc-isolate) { position: absolute; inset: 0; }
.ctc-stage-loading:not(#ctc-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). */
.ctc-bleed .ctc-stage:not(#ctc-isolate) { border-left: 0; border-right: 0; border-radius: 0; max-width: none; }
.ctc-icon-btn--recenter:not(#ctc-isolate) { display: none !important; }


/* ── Navegación Atrás / Siguiente (justo debajo de las herramientas) ─────────────────────────────────────────────────────────── */
.ctc-panels:not(#ctc-isolate) { display: block; }
.ctc-step-nav:not(#ctc-isolate) { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 0; }
.ctc-step-nav-btn:not(#ctc-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; }
.ctc-step-nav-btn:hover:not(#ctc-isolate), .ctc-step-nav-btn:active:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-step-nav-btn--next:not(#ctc-isolate) { margin-left: auto; }
.ctc-step-nav-btn.ctc-hidden:not(#ctc-isolate) { display: none !important; }

/* ── Circonitas: seis cuadrados de color en una fila (también en móvil, sin desplazamiento horizontal) ─────────────────────────── */
.ctc-gem-swatches:not(#ctc-isolate) { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; margin: 6px 0 10px; }
.ctc-gem-swatch:not(#ctc-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( --ctc-gem ); cursor: pointer; padding: 0; position: relative; }
.ctc-gem-swatch--white:not(#ctc-isolate) { border-color: #000; background: linear-gradient( 135deg, #fff 0%, #eef2f6 55%, #fff 100% ); }
.ctc-gem-swatch.is-active:not(#ctc-isolate) { outline: 2px solid #000; outline-offset: 2px; }
.ctc-gem-swatch.is-active:not(#ctc-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; }
.ctc-gem-swatch:focus-visible:not(#ctc-isolate) { outline: 2px solid #000; outline-offset: 2px; }
[data-ctc-back-stone] .ctc-btn-group:not(#ctc-isolate) { margin-bottom: 10px; }

/* ── Ventanas flotantes (instrucciones de cada paso, confirmación de «Atrás» y avisos de error; ver ui/floating-window.js) ───────── */
.ctc-fw-layer:not(#ctc-isolate) { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ctc-fw-layer.hidden:not(#ctc-isolate) { display: none; }
.ctc-fw-backdrop:not(#ctc-isolate) { position: absolute; inset: 0; background: rgba( 0, 0, 0, 0.35 ); }
.ctc-fw:not(#ctc-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;
}
.ctc-fw--error:not(#ctc-isolate) { border-left: 6px solid #d32f2f; }
.ctc-fw--confirm:not(#ctc-isolate) { border-left: 6px solid #e6a100; }
.ctc-fw-close:not(#ctc-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; }
.ctc-fw-close:hover:not(#ctc-isolate), .ctc-fw-close:focus-visible:not(#ctc-isolate) { background: #f0f0f0; color: #000; }
.ctc-fw-title:not(#ctc-isolate) { margin: 0 30px 8px 0; font-size: 19px; font-weight: 700; line-height: 1.25; display: flex; align-items: center; gap: 10px; }
.ctc-fw-text:not(#ctc-isolate) { margin: 0 26px 0 0; font-size: 15px; line-height: 1.55; white-space: pre-line; }
.ctc-fw--confirm .ctc-fw-text:not(#ctc-isolate) { font-weight: 600; }
.ctc-fw-actions:not(#ctc-isolate) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.ctc-fw-btn:not(#ctc-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; }
.ctc-fw-btn:hover:not(#ctc-isolate), .ctc-fw-btn:focus-visible:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-fw-btn--primary:not(#ctc-isolate) { background: #000; color: #fff; }
.ctc-fw-btn--primary:hover:not(#ctc-isolate), .ctc-fw-btn--primary:focus-visible:not(#ctc-isolate) { background: #333; color: #fff; }
.ctc-fw-step:not(#ctc-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) ───────────────────────────────────────────────────────────────────────────── */
.ctc-tour:not(#ctc-isolate) { position: fixed; inset: 0; z-index: 100000; }
.ctc-tour-dim:not(#ctc-isolate) { position: absolute; inset: 0; background: rgba( 0, 0, 0, 0.55 ); }
.ctc-tour-hl:not(#ctc-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; }
.ctc-tour-card:not(#ctc-isolate) { position: absolute; }

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