/* Cupones Tech · ficha de oferta: encabezado reorganizado y desglose interactivo · 0.47.0. Todo bajo .ctc-ofm--fx / .ctc-fx*. */
.ctc-ofm--fx{--fx-azul:var(--ctc-azul,#1428a0);--fx-ok:var(--ctc-ok,#0b6f37);--fx-borde:#e4e7ee;--fx-suave:#f5f7ff}
.ctc-ofm--fx .ctc-ofm-grid{grid-template-columns:1fr;gap:18px}
.ctc-ofm--fx .ctc-ofm-titulo{font-size:22px;line-height:1.28;margin:8px 0 12px;letter-spacing:-.005em}
.ctc-ofm--fx .ctc-ofm-col{gap:18px}
@media (min-width:860px){
 .ctc-ofm--fx .ctc-ofm-hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch}
 .ctc-ofm--fx .ctc-ofm-img{aspect-ratio:auto;min-height:340px;padding:28px}
 .ctc-ofm--fx .ctc-ofm-datos{padding:28px 30px;display:flex;flex-direction:column;justify-content:center}
 .ctc-ofm--fx .ctc-ofm-datos .ctc-ofm-info{padding:0}
 .ctc-ofm--fx .ctc-ofm-datos .ctc-ofm-acciones{padding:0}
 .ctc-ofm--fx .ctc-ofm-acciones{margin-top:14px}
 .ctc-ofm--fx .ctc-ofm-titulo{font-size:26px;margin:10px 0 16px}
 .ctc-ofm--fx .ctc-oc-v{font-size:38px}
}
/* Desglose */
.ctc-fx{background:#fff;border:1px solid var(--fx-borde);border-radius:16px;padding:16px 16px 18px;position:relative}
.ctc-fx__t{margin:0 0 6px;font-size:17px;color:var(--fx-azul)}
.ctc-fx__guia{margin:0 0 14px;font-size:13.5px;line-height:1.4;color:#4b5563}.ctc-fx__guia strong{color:#12141a}
.ctc-fx__lista{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
@media (min-width:860px){.ctc-fx{padding:22px 24px}}
.ctc-fx-esc{border:1px solid var(--fx-borde);border-radius:14px;padding:14px;background:#fff}
.ctc-fx-esc--mejor{border:2px solid var(--fx-azul);background:var(--fx-suave)}
.ctc-fx-esc__cab{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}
.ctc-fx-esc__precio{font-size:24px;line-height:1;font-weight:800;color:#12141a;letter-spacing:-.01em}
.ctc-fx-esc__tras{font-size:12px;color:#6b7280}
.ctc-fx-esc__pct{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#e6f6ec;color:#0b6f37;font-size:12px;font-weight:800}
.ctc-fx-esc__mejor{margin-left:auto;padding:3px 10px;border-radius:999px;background:var(--fx-azul);color:#fff;font-size:11.5px;font-weight:700}
.ctc-fx-esc__cuerpo{display:flex;flex-direction:column;gap:8px}
.ctc-fx-esc__msg{margin:12px 0 0;padding-top:10px;border-top:1px solid rgba(20,40,160,.12);font-size:13px;line-height:1.4;color:#374151}
.ctc-fx-esc__msg.is-incidente{color:#8a1c16;font-weight:600}
.ctc-fx-izq{display:flex;flex-direction:column;gap:8px}
/* Separadores + y o */
.ctc-fx-sep{display:flex;align-items:center;justify-content:center;gap:8px;color:#6b7280;font-weight:800;font-size:13px}
.ctc-fx-sep::before,.ctc-fx-sep::after{content:"";height:1px;flex:1;background:#d9dde8}
.ctc-fx-sep span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:#fff;border:1px solid #d9dde8;line-height:1}
/* Filas */
.ctc-fx-item{display:flex;align-items:center;gap:10px;min-width:0}
.ctc-fx-item--bonificacion,.ctc-fx-item--descuento{padding:10px 12px;border:1px dashed #c7d0f5;border-radius:12px;background:#fff}
.ctc-fx-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px}
.ctc-fx-ico--cupon,.ctc-fx-ico--auto{border-radius:10px;background:#eef1ff;color:var(--fx-azul)}
.ctc-fx .ctc-banco-insignia{--ctc-banco-size:32px;margin:0}
.ctc-fx-item__txt{display:flex;flex-direction:column;min-width:0}.ctc-fx-item__txt strong{font-size:14px;line-height:1.25;color:#12141a}.ctc-fx-item__txt small{font-size:12px;color:#6b7280;line-height:1.3}
/* Elige uno */
.ctc-fx-uno{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px dashed #c7d0f5;border-radius:12px;background:rgba(255,255,255,.6)}
.ctc-fx-uno--info{border:0;padding:0;background:none}
.ctc-fx-uno__t{margin:0 0 2px;font-weight:800;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--fx-azul)}
.ctc-fx-op{display:flex;align-items:center;gap:10px;padding:10px;border:1.5px solid var(--fx-borde);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .12s,box-shadow .12s}
.ctc-fx-op:hover{border-color:#aab4ee}
.ctc-fx-op:focus-visible{outline:3px solid rgba(20,40,160,.35);outline-offset:2px}
.ctc-fx-op.is-elegida{border-color:var(--fx-azul);box-shadow:0 0 0 3px rgba(20,40,160,.12)}
.ctc-fx-op__c{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.ctc-fx-radio{flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:2px solid #aab0c0;background:#fff;position:relative}
.ctc-fx-op.is-elegida .ctc-fx-radio{border-color:var(--fx-azul)}
.ctc-fx-op.is-elegida .ctc-fx-radio::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--fx-azul)}
.ctc-fx-info{display:flex;flex-direction:column;gap:8px}.ctc-fx-info--alinea{padding-left:30px}
/* Ticket */
.ctc-cod{display:flex;align-items:stretch;flex:1;min-width:0;border:1px solid #c9cee6;border-radius:12px;background:#fff;overflow:hidden}
.ctc-cod__cuerpo{display:flex;flex-direction:column;justify-content:center;gap:2px;flex:1;min-width:0;padding:8px 10px 8px 12px}
.ctc-cod__ley{font-size:11.5px;color:#6b7280;line-height:1.2}
.ctc-cod__val{display:block;font:700 15px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em;color:#12141a;word-break:break-all}
.ctc-cod__bl{filter:blur(5px);-webkit-user-select:none;user-select:none;pointer-events:none}
.ctc-cod__accion{flex:0 0 112px;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 10px;min-height:44px;border:0;background:var(--fx-azul);color:#fff;font:700 13px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer;transition:background .15s}
.ctc-cod__accion:hover{background:#0f1f86}
.ctc-cod__accion:focus-visible{outline:3px solid rgba(20,40,160,.35);outline-offset:-3px}
.ctc-cod.is-copiado{border-color:#9ad3b0}.ctc-cod.is-copiado .ctc-cod__accion{background:#e6f6ec;color:#0b6f37}
.ctc-cod.is-copiado.is-ahora .ctc-cod__accion{background:var(--fx-ok);color:#fff}
.ctc-cod.is-revelado .ctc-cod__val{color:var(--fx-azul)}
/* Aviso */
.ctc-fx-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:84px;z-index:60;max-width:calc(100vw - 32px);padding:10px 16px;border-radius:999px;background:#12141a;color:#fff;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.ctc-fx-toast[hidden]{display:none}
@media (min-width:860px){.ctc-fx-toast{bottom:28px}}
@media (max-width:420px){.ctc-cod__accion{flex-basis:96px;font-size:12.5px}.ctc-fx-esc__precio{font-size:22px}.ctc-fx-info--alinea{padding-left:0}}
/* Cajas que nunca ensanchan la página (grid/flex con min-width:auto) */
.ctc-ofm--fx .ctc-ofm-grid>*,.ctc-ofm--fx .ctc-ofm-col>*,.ctc-fx,.ctc-fx-esc,.ctc-fx-esc__cuerpo,.ctc-fx-op,.ctc-fx-item,.ctc-fx-uno{min-width:0}
.ctc-fx__lista{grid-template-columns:minmax(0,1fr)}
@media (max-width:420px){.ctc-fx-op{padding:8px;gap:8px}.ctc-fx-item{gap:8px}.ctc-fx-ico{width:28px;height:28px}.ctc-fx .ctc-banco-insignia{--ctc-banco-size:28px}.ctc-fx{padding:14px 12px}}

.ctc-fx-directo{margin:0;font-size:13.5px;color:#4b5563}
.ctc-cod__ley{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:420px){.ctc-cod__accion{flex-basis:88px;font-size:12px;padding:0 6px}.ctc-cod__cuerpo{padding:8px 8px 8px 10px}.ctc-cod__ley{font-size:11px}}
@media (max-width:859px){.ctc-fx-toast{bottom:150px}}
@media (max-width:420px){.ctc-cod__ley{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.15}}

/* ===== 0.47.1 · franja por escenario (azul intenso = mejor precio; azul suave = otras opciones) ===== */
.ctc-fx-esc{padding:0;overflow:hidden;border:1.5px solid #c9d2f5;background:#fff}
.ctc-fx-esc--mejor{border:2px solid var(--fx-azul);background:var(--fx-suave)}
.ctc-fx-esc__cab{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:10px 14px;background:#dfe5ff;color:var(--fx-azul)}
.ctc-fx-esc--mejor .ctc-fx-esc__cab{background:var(--fx-azul);color:#fff}
.ctc-fx-esc__izq{display:flex;flex-direction:column;gap:3px;min-width:0}
.ctc-fx-esc__et{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1;opacity:.92}
.ctc-fx-esc__linea{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.ctc-fx-esc__precio{font-size:26px;line-height:1.05;font-weight:800;color:inherit;letter-spacing:-.01em}
.ctc-fx-esc__tras{font-size:12px;color:inherit;opacity:.88}
.ctc-fx-esc .ctc-fx-esc__pct{flex:0 0 auto;display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;background:#e6f6ec;color:#0b6f37;font-size:19px;line-height:1.1;font-weight:900;letter-spacing:-.01em}
.ctc-fx-esc--mejor .ctc-fx-esc__pct{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.12)}
.ctc-fx-esc__tipo{margin:0 0 2px;font-size:12.5px;font-weight:700;letter-spacing:.01em;color:#4b5563}
.ctc-fx-esc__cuerpo{padding:12px 14px 0}
.ctc-fx-esc__msg{margin:12px 14px 14px}
@media (max-width:420px){.ctc-fx-esc__cab{padding:9px 12px}.ctc-fx-esc__precio{font-size:23px}.ctc-fx-esc .ctc-fx-esc__pct{font-size:17px;padding:4px 10px}.ctc-fx-esc__cuerpo{padding:10px 12px 0}.ctc-fx-esc__msg{margin:10px 12px 12px}}

/* ===== 0.47.1 · encabezado compacto en móvil (imagen a la izquierda, datos a la derecha) y barra inferior sin precio repetido ===== */
@media (max-width:859px){
 .ctc-ofm--fx{padding:8px 12px 24px}
 .ctc-ofm--fx .ctc-fc-volver{margin:0 0 6px}
 .ctc-ofm--fx .ctc-migas{margin:0 0 8px}
 .ctc-ofm--fx .ctc-ofm-grid{gap:12px}
 .ctc-ofm--fx .ctc-ofm-hero{display:grid;grid-template-columns:minmax(104px,36%) minmax(0,1fr);align-items:stretch}
 .ctc-ofm--fx .ctc-ofm-img{aspect-ratio:auto;min-height:148px;padding:8px;align-self:stretch}
 .ctc-ofm--fx .ctc-ofm-img img{max-height:100%}
 .ctc-ofm--fx .ctc-oc-hace{font-size:10px;padding:2px 6px;left:6px;bottom:6px}
 .ctc-ofm--fx .ctc-ofm-info{padding:10px 12px 10px 12px;display:flex;flex-direction:column;justify-content:center;min-width:0}
 .ctc-ofm--fx .ctc-ofm-top{margin:0}
 /* botones dentro del bloque principal: ♡ + compartir + «Ver en tienda» en una fila bajo la imagen y los datos */
 .ctc-ofm--fx .ctc-ofm-datos{display:contents}
 .ctc-ofm--fx .ctc-ofm-acciones{grid-column:1/-1;margin:0;padding:0 12px 12px}
 .ctc-ofm--fx .ctc-ofm-acciones .ctc-oc-btn{min-height:48px}
 .ctc-ofm--fx .ctc-ofm-titulo{font-size:15px;line-height:1.25;font-weight:700;margin:3px 0 8px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
 .ctc-ofm--fx .ctc-oc-precio{margin:0}
 .ctc-ofm--fx .ctc-oc-v{font-size:27px;line-height:1.05}
 .ctc-ofm--fx .ctc-oc-l{font-size:11px}
 .ctc-ofm--fx .ctc-oc-ref{margin:4px 0 0;font-size:12px;gap:0 10px}
 .ctc-fx-toast{bottom:84px}
}
@media (max-width:360px){.ctc-ofm--fx .ctc-ofm-hero{grid-template-columns:96px minmax(0,1fr)}.ctc-ofm--fx .ctc-oc-v{font-size:24px}.ctc-ofm--fx .ctc-ofm-titulo{font-size:14px}}
.ctc-fx-esc__cuerpo:last-child{padding-bottom:14px}
@media (max-width:859px){.ctc-ofm--fx .ctc-oc-l{display:none}}

/* ===== 0.47.2 · encabezados de escenario descriptivos (misma franja; el texto ya describe el beneficio, sin repetirlo debajo) ===== */
.ctc-fx-esc__et{line-height:1.25;overflow-wrap:anywhere}

/* ===== 0.47.3 · encabezados compactos (una fila), «Mejor precio» flotante, interior más compacto ===== */
.ctc-fx__lista{gap:10px;padding-top:9px}
.ctc-fx-esc{position:relative;overflow:visible;border-radius:14px}
.ctc-fx-esc__cab{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:4px 8px;padding:9px 14px;min-height:50px;border-radius:12px 12px 0 0;box-sizing:border-box}
.ctc-fx-esc--mejor .ctc-fx-esc__cab{border-radius:10px 10px 0 0}
.ctc-fx-esc__cab .ctc-fx-esc__precio{flex:0 0 auto;font-size:24px;line-height:1.1;white-space:nowrap}
.ctc-fx-esc__cab .ctc-fx-esc__tras{flex:1 1 0;min-width:0;font-size:12.5px;line-height:1.2;opacity:.92;overflow-wrap:anywhere}
.ctc-fx-esc__cab .ctc-fx-esc__pct{margin-left:auto;flex:0 0 auto;font-size:17px;padding:4px 10px}
.ctc-fx-esc__flota{position:absolute;left:12px;top:0;transform:translateY(-55%);z-index:2;max-width:calc(100% - 24px);padding:3px 10px;border-radius:999px;background:var(--fx-azul);color:#fff;border:2px solid #fff;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;box-shadow:0 1px 4px rgba(20,40,160,.3)}
.ctc-fx-esc__cuerpo{padding:10px 14px 0;gap:6px}
.ctc-fx-esc__cuerpo:last-child{padding-bottom:12px}
.ctc-fx-esc__tipo{margin:0}
.ctc-fx-esc__msg{margin:8px 14px 12px;padding-top:8px}
.ctc-fx-izq,.ctc-fx-info{gap:6px}
.ctc-fx-uno{gap:6px;padding:8px}
.ctc-fx-op{padding:8px 10px}.ctc-fx-op__c{gap:6px}
.ctc-fx-item--bonificacion,.ctc-fx-item--descuento{padding:8px 12px}
.ctc-fx__guia{margin-bottom:12px}
@media (max-width:420px){
 .ctc-fx-esc__cab{padding:8px 12px}
 .ctc-fx-esc__cab .ctc-fx-esc__precio{font-size:21px}
 .ctc-fx-esc__cab .ctc-fx-esc__tras{font-size:11.5px}
 .ctc-fx-esc__cab .ctc-fx-esc__pct{font-size:15px;padding:3px 8px}
 .ctc-fx-esc__cuerpo{padding:8px 12px 0}
 .ctc-fx-esc__msg{margin:6px 12px 10px}
}
.ctc-fx-esc__flota{transform:translateY(-72%)}
.ctc-fx-esc--mejor .ctc-fx-esc__cab{padding-top:12px;min-height:52px}
.ctc-fx-esc__cab{min-height:52px}
.ctc-fx-esc__cab{flex-wrap:wrap}
.ctc-fx-esc__cab .ctc-fx-esc__tras{flex:1 1 96px;overflow-wrap:break-word}
.ctc-fx-esc__cab .ctc-fx-esc__pct{order:2}
