/* Tienda en línea de ISCO (/tienda y /cuenta).
   Lenguaje visual de Amazon —cabecera oscura con buscador, fondo gris claro,
   cajas blancas, precios con céntimos en superíndice— con la marca ISCO
   (marca/LOGO_OFICIAL_ISCO.ai): negro y grafito y el lima fosforescente de la «S»
   (#E3FF00, el del bordado de las camisas), titulares en Chakra Petch y las esquinas cortadas a 45°
   de la S como motivo. El bloque «Identidad ISCO» del final remata lo demás. */

:root {
    --nav: #0b0b0c;
    --nav-2: #1b1b1e;
    --nav-hover: #2b2b30;
    --oro: #e3ff00;
    --oro-claro: #eeff66;
    --amarillo: #e3ff00;
    --amarillo-borde: #c2db00;
    --amarillo-hover: #d4f000;
    --naranja: #141416;
    --naranja-borde: #141416;
    --naranja-hover: #2b2b30;
    --texto: #0f1111;
    --sutil: #565959;
    --enlace: #1d5a8a;
    --enlace-hover: #5f7000;
    --precio-rojo: #b12704;
    --verde: #007600;
    --fondo: #e6e6e4;
    --fondo-claro: #f7f8f8;
    --borde: #d5d9d9;
    --radio: 8px;
    --sombra: 0 2px 5px rgba(15, 17, 17, .15);
    --ancho: 1500px;
    --fuente: 'Manrope', 'Amazon Ember', Arial, sans-serif;
    --titular: 'Chakra Petch', 'Manrope', Arial, sans-serif;
    --dorado: linear-gradient(90deg, #ecff3a, #e3ff00);
    --corte: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fuente); font-size: 14px; line-height: 1.45; color: var(--texto); background: var(--fondo); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--enlace); text-decoration: none; }
a:hover { color: var(--enlace-hover); text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 28px; font-weight: 500; }
h2 { font-size: 21px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--borde); margin: 14px 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; z-index: 99; background: #fff; padding: 8px 14px; }
.saltar:focus { left: 8px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.ic.mini { width: 14px; height: 14px; }
.sutil { color: var(--sutil); font-size: 13px; }
.naranja { color: var(--enlace-hover); }
:focus-visible { outline: 2px solid #007185; outline-offset: 2px; border-radius: 3px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 18px; border-radius: 100px; border: 1px solid transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--texto); cursor: pointer; text-decoration: none; box-shadow: 0 2px 5px rgba(213, 217, 217, .5); transition: background .15s, transform .1s; }
.btn:hover { text-decoration: none; color: var(--texto); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-amarillo { background: var(--amarillo); border-color: var(--amarillo-borde); }
.btn-amarillo:hover { background: var(--amarillo-hover); }
.btn-naranja { background: var(--naranja); border-color: var(--naranja-borde); }
.btn-naranja:hover { background: var(--naranja-hover); }
.btn-claro { background: #fff; border-color: var(--borde); }
.btn-claro:hover { background: var(--fondo-claro); }
.btn-gris { background: #f0f2f2; border-color: var(--borde); }
.btn-oscuro { background: var(--nav-2); color: #fff; border-color: var(--nav-2); }
.btn-oscuro:hover { color: #fff; background: var(--nav-hover); }
.btn-bloque { display: flex; width: 100%; margin: 8px 0; }
.btn-pequeno { min-height: 29px; padding: 3px 12px; font-size: 12px; }
.btn .ic { width: 16px; height: 16px; }
.btn.hecho { background: #b8f0c7; border-color: #7ad396; }
.enlace { background: none; border: 0; padding: 0; color: var(--enlace); font: inherit; cursor: pointer; }
.enlace:hover { color: var(--enlace-hover); text-decoration: underline; }

/* ---------- Cabecera ---------- */
.t-cabecera { position: sticky; top: 0; z-index: 40; }
.t-barra { display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 6px 14px; background: var(--nav); color: #fff; }
.t-barra > a, .t-cuenta > a { color: #fff; border: 1px solid transparent; border-radius: 3px; padding: 6px 8px; text-decoration: none; }
.t-barra > a:hover, .t-cuenta > a:hover, .t-cuenta:focus-within > a { border-color: #fff; color: #fff; text-decoration: none; }
.t-logo { flex: none; padding: 4px 8px !important; }
.t-logo img { width: 118px; height: auto; }
.t-entrega { display: flex; align-items: flex-end; gap: 3px; line-height: 1.15; flex: none; }
.t-entrega .ic { color: #fff; margin-bottom: 1px; }
.t-entrega small, .t-nav-item small { display: block; font-size: 12px; color: #ccc; }
.t-entrega strong, .t-nav-item strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.t-buscador { flex: 1; display: flex; min-width: 0; height: 42px; border-radius: 6px; overflow: hidden; background: #fff; margin: 0 6px; }
.t-buscador:focus-within { box-shadow: 0 0 0 3px var(--naranja); }
.t-buscador-cat select { height: 100%; border: 0; border-right: 1px solid #cdcdcd; background: #e6e6e6; color: #555; font: inherit; font-size: 12px; padding: 0 6px; max-width: 160px; cursor: pointer; }
.t-buscador input { flex: 1; min-width: 0; border: 0; padding: 0 12px; font: inherit; font-size: 15px; color: var(--texto); outline: none; }
.t-buscador button { width: 48px; border: 0; background: var(--oro); color: var(--nav); cursor: pointer; }
.t-buscador button:hover { background: var(--oro-claro); }
.t-buscador button .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.t-nav-item { line-height: 1.15; flex: none; }
.t-cuenta { position: relative; flex: none; }
.t-menu-cuenta { position: absolute; right: -60px; top: 100%; width: 460px; background: #fff; color: var(--texto); border-radius: var(--radio); box-shadow: 0 6px 26px rgba(0, 0, 0, .3); padding: 16px 20px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; z-index: 50; }
.t-menu-cuenta::before { content: ''; position: absolute; top: -8px; right: 96px; border: 8px solid transparent; border-top: 0; border-bottom-color: #fff; }
.t-cuenta:hover .t-menu-cuenta, .t-cuenta:focus-within .t-menu-cuenta, .t-cuenta.abierto .t-menu-cuenta { opacity: 1; visibility: visible; transform: none; }
.t-menu-entrar { text-align: center; border-bottom: 1px solid var(--borde); padding-bottom: 12px; margin-bottom: 12px; }
.t-menu-entrar .btn { width: 220px; margin: 0 auto 6px; }
.t-menu-entrar small { font-size: 12px; }
.t-menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.t-menu-cols > div + div { border-left: 1px solid var(--borde); padding-left: 20px; }
.t-menu-cols h4 { margin: 0 0 6px; font-size: 16px; }
.t-menu-cols a, .t-menu-cols .enlace { display: block; color: #444; font-size: 13px; padding: 3px 0; text-align: left; }
.t-menu-cols a:hover, .t-menu-cols .enlace:hover { color: var(--enlace-hover); }
.t-carrito { display: flex; align-items: flex-end; gap: 2px; flex: none; }
.t-carrito-ic { position: relative; display: block; }
.t-carrito-ic .ic { width: 38px; height: 34px; stroke-width: 1.6; }
.t-carrito-ic b { position: absolute; top: -3px; left: 15px; min-width: 18px; text-align: center; font-size: 15px; color: var(--oro); font-weight: 800; }
.t-carrito-ic b.lleno { color: var(--naranja); }
.t-carrito strong { font-size: 14px; padding-bottom: 3px; }
.t-subbarra { display: flex; align-items: center; gap: 2px; padding: 0 12px; height: 39px; background: var(--nav-2); overflow-x: auto; scrollbar-width: none; }
.t-subbarra::-webkit-scrollbar { display: none; }
.t-subbarra a { color: #fff; font-size: 14px; padding: 6px 9px; border: 1px solid transparent; border-radius: 3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.t-subbarra a:hover { border-color: #fff; color: #fff; text-decoration: none; }
.t-todo { font-weight: 700; }
.t-tasa { margin-left: auto; color: var(--oro-claro); font-size: 13px; white-space: nowrap; padding-left: 12px; }
.t-tasa b { color: #fff; }

/* ---------- Estructura ---------- */
.t-main { min-height: 60vh; }
.t-ancho { max-width: var(--ancho); margin: 0 auto; padding: 0 18px; }
.caja-blanca { background: #fff; border-radius: var(--radio); padding: 20px 22px; margin-bottom: 18px; }
.t-avisos { max-width: var(--ancho); margin: 14px auto 0; padding: 0 18px; display: grid; gap: 8px; }
.t-aviso { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--radio); background: #fff; border: 1px solid; border-left-width: 6px; }
.t-aviso.ok { border-color: #067d62; }
.t-aviso.ok .ic { color: #067d62; }
.t-aviso.error { border-color: #cc0c39; }
.t-aviso.error .ic { color: #cc0c39; }
.migas { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--sutil); padding: 14px 0 6px; }
.migas a { color: var(--sutil); }
.migas span { color: var(--enlace-hover); }

/* ---------- Precios y disponibilidad ---------- */
.precio { font-size: 22px; font-weight: 500; white-space: nowrap; line-height: 1; }
.precio sup { font-size: .5em; top: -.75em; position: relative; vertical-align: baseline; margin: 0 1px; }
.precio.grande { font-size: 30px; }
.disp { display: block; font-size: 13px; margin: 4px 0; }
.disp-stock { color: var(--verde); font-weight: 600; }
.disp-pocas { color: var(--precio-rojo); font-weight: 600; }
.disp-agotado { color: var(--precio-rojo); }
.disp-consultar { color: var(--sutil); }

/* ---------- Tarjeta de producto ---------- */
.tarjeta { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radio); overflow: hidden; border: 1px solid #eee; transition: box-shadow .2s; }
.tarjeta:hover { box-shadow: 0 4px 16px rgba(15, 17, 17, .12); }
.tarjeta-foto { display: grid; place-items: center; aspect-ratio: 1; background: var(--fondo-claro); padding: 14px; }
.tarjeta-foto img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.tarjeta:hover .tarjeta-foto img { transform: scale(1.04); }
.tarjeta-cuerpo { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px 14px; flex: 1; }
.tarjeta-nombre { color: var(--texto); font-size: 15px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tarjeta-nombre:hover { color: var(--enlace-hover); }
.tarjeta-linea { font-size: 12px; color: var(--sutil); }
.tarjeta-precio { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.tarjeta-precio .por { font-size: 12px; color: var(--sutil); }
.tarjeta-bs, .tarjeta-mas { font-size: 12px; color: var(--sutil); }
.tarjeta .btn { margin-top: auto; align-self: flex-start; }
.tarjeta .disp { margin-bottom: 8px; }
.cinta { position: absolute; top: 10px; left: 0; z-index: 2; background: #c45500; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px 3px 8px; clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); }
.form-corazon { position: absolute; top: 8px; right: 8px; z-index: 2; margin: 0; }
.corazon { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); box-shadow: var(--sombra); color: #888; cursor: pointer; display: grid; place-items: center; transition: transform .15s, color .15s; }
.corazon:hover { transform: scale(1.1); color: #cc0c39; }
.corazon.activo { color: #cc0c39; }
.corazon.activo .ic { fill: currentColor; }
.foto-vacia { display: grid; place-items: center; width: 100%; aspect-ratio: 1; color: #bbb; background: var(--fondo-claro); }
.foto-vacia .ic { width: 40%; height: 40%; }
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

/* ---------- Portada de la tienda ---------- */
.portada-t { position: relative; min-height: 340px; display: flex; align-items: flex-start; padding: 46px 0 120px; overflow: hidden; background: linear-gradient(115deg, #0b0b0c 0%, #1b1b1e 55%, #1d2209 100%); color: #fff; }
.portada-t-fondo { position: absolute; inset: 0; background:
    radial-gradient(60% 90% at 85% 10%, rgba(227, 255, 0, .17), transparent 60%),
    repeating-linear-gradient(135deg, rgba(238, 255, 102, .06) 0 1px, transparent 1px 22px); }
.portada-t::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(230, 230, 228, 0), var(--fondo)); }
.portada-t-texto { position: relative; z-index: 1; max-width: var(--ancho); width: 100%; margin: 0 auto; padding: 0 36px; }
.portada-t .sobre { display: inline-block; color: var(--oro-claro); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.portada-t h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; max-width: 760px; margin-bottom: 12px; }
.portada-t h1 em { font-style: normal; color: var(--oro); }
.portada-t p { font-size: 17px; max-width: 600px; color: #d6d6d2; margin: 0 0 20px; }
.portada-t-acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.portada-t-acciones .btn { min-height: 42px; padding: 8px 24px; font-size: 15px; }
.mosaico { position: relative; z-index: 2; margin-top: -110px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 18px; }
.caja-mosaico { background: #fff; padding: 18px 20px; display: flex; flex-direction: column; }
.caja-mosaico h2 { font-size: 20px; }
.mosaico-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; flex: 1; }
.mosaico-4 a { color: var(--texto); font-size: 12px; }
.mosaico-4 img, .mosaico-4 .foto-vacia { aspect-ratio: 1; width: 100%; object-fit: contain; background: var(--fondo-claro); padding: 6px; margin-bottom: 4px; }
.mosaico-4 span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ver-mas { font-size: 13px; margin-top: auto; padding-top: 6px; }
.caja-cuenta p { color: var(--sutil); }
.atajos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.atajos a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; background: var(--fondo-claro); border-radius: var(--radio); color: var(--texto); font-size: 13px; text-align: center; }
.atajos a .ic { width: 28px; height: 28px; color: var(--nav-2); }
.beneficios { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--borde); display: grid; gap: 6px; font-size: 13px; color: var(--sutil); }
.beneficios .ic { color: var(--oro); width: 18px; height: 18px; margin-right: 4px; }
.fila-productos { background: #fff; padding: 18px 20px; margin-bottom: 18px; }
.fila-productos > header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.fila-productos > header h2 { margin: 0; }
.fila-productos > header p { margin: 2px 0 0; color: var(--sutil); font-size: 13px; }
.carrusel { position: relative; }
.carrusel-pista { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 230px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.carrusel-pista > * { scroll-snap-align: start; }
.carrusel-flecha { position: absolute; top: 35%; z-index: 3; width: 44px; height: 92px; border: 1px solid var(--borde); background: rgba(255, 255, 255, .95); box-shadow: var(--sombra); border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.carrusel-flecha.izq { left: -8px; }
.carrusel-flecha.oculta { opacity: 0; pointer-events: none; }
.carrusel-flecha { transition: opacity .15s; top: 22%; height: 72px; }
.carrusel-flecha.der { right: -8px; }
.carrusel-flecha .ic { width: 26px; height: 26px; }
.franja-confianza { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 0 0 24px; }
.franja-confianza > div { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--radio); padding: 16px; }
.franja-confianza .ic { width: 30px; height: 30px; color: var(--oro); }
.franja-confianza strong { display: block; }
.franja-confianza span { font-size: 13px; color: var(--sutil); }

/* ---------- Portada (/): banner rotativo al estilo Amazon ---------- */
.banner { position: relative; height: 500px; overflow: hidden; background: var(--nav); }
.banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(230, 230, 228, 0), var(--fondo)); }
.banner-pista { position: relative; height: 100%; }
.banner-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 30px; padding: 34px max(84px, calc((100% - var(--ancho)) / 2 + 84px)) 0; color: #fff; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
    background: radial-gradient(60% 90% at 85% 10%, rgba(227, 255, 0, .16), transparent 60%), repeating-linear-gradient(135deg, rgba(238, 255, 102, .05) 0 1px, transparent 1px 22px), linear-gradient(115deg, #0b0b0c 0%, #1b1b1e 55%, #1d2209 100%); }
.banner-slide:nth-child(3n+2) { background: radial-gradient(60% 90% at 80% 20%, rgba(227, 255, 0, .15), transparent 60%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 18px), linear-gradient(115deg, #141416, #26262a 60%, #0b0b0c); }
.banner-slide:nth-child(3n+3) { background: radial-gradient(60% 90% at 80% 20%, rgba(227, 255, 0, .18), transparent 60%), linear-gradient(115deg, #0b0b0c, #1a1e0b 60%, #0b0b0c); }
.banner-slide:nth-child(3n+4) { background: radial-gradient(60% 90% at 80% 20%, rgba(238, 255, 102, .16), transparent 60%), linear-gradient(115deg, #1d2209, #1b1b1e 60%, #0b0b0c); }
.banner-slide.activo { opacity: 1; visibility: visible; }
.banner-texto { position: relative; z-index: 3; max-width: 620px; }
.banner .sobre { display: inline-block; color: var(--oro-claro); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.banner h1, .banner-h { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 12px; color: #fff; }
.banner h1 em { font-style: normal; color: var(--oro); }
.banner p { font-size: 17px; color: #d6d6d2; margin: 0 0 20px; }
.banner .btn { min-height: 42px; padding: 8px 26px; font-size: 15px; }
.banner-fotos { position: relative; height: 250px; max-width: 520px; justify-self: end; width: 100%; }
.banner-fotos span { position: absolute; top: calc(var(--i) * 16px); left: calc(var(--i) * 31%); width: 38%; aspect-ratio: 1; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transform: rotate(calc((var(--i) - 1) * 4deg)); }
.banner-fotos img { width: 100%; height: 100%; object-fit: contain; }
.banner-flecha { position: absolute; top: 40px; z-index: 4; height: 220px; width: 64px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.banner-flecha .ic { width: 40px; height: 40px; stroke-width: 1.4; }
.banner-flecha:hover { background: rgba(255, 255, 255, .06); }
.banner-flecha:focus-visible { outline: 3px solid var(--oro); outline-offset: -6px; }
.banner-flecha.izq { left: 0; } .banner-flecha.der { right: 0; }
.pag-portada .mosaico { margin-top: -160px; z-index: 3; }
.caja-pdf { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; background: var(--fondo-claro); border-radius: var(--radio); }
.caja-pdf > .ic { color: var(--oro); width: 28px; height: 28px; }
.caja-pdf span { flex: 1; display: flex; flex-direction: column; font-size: 13px; }
.caja-pdf small { color: var(--sutil); }
.caja-pdf .btn { margin: 0; }
.catalogo-portada { scroll-margin-top: 110px; margin-bottom: 18px; }
.caja-plana { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 18px; border-radius: var(--radio); }
.celda { display: flex; }
.celda > .tarjeta { flex: 1; }
.filtro-buscar { display: flex; align-items: center; gap: 6px; border: 1px solid #888c8c; border-radius: 6px; padding: 0 8px; background: #fff; }
.filtro-buscar input { border: 0; outline: none; font: inherit; height: 32px; width: 100%; min-width: 0; }
.filtro-buscar:focus-within { border-color: #007185; box-shadow: 0 0 0 3px #c8f3fa; }
.filtro-nota { font-size: 12px; color: var(--sutil); border-top: 1px solid var(--borde); padding-top: 10px; margin: 14px 0 0; }
.atencion { scroll-margin-top: 110px; }
.atencion-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.atencion-caja { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--borde); border-radius: var(--radio); padding: 16px; color: var(--texto); }
.atencion-caja:hover { background: var(--fondo-claro); text-decoration: none; color: var(--texto); }
.atencion-caja > .ic { width: 34px; height: 34px; color: var(--nav-2); }
.atencion-caja span { display: flex; flex-direction: column; font-size: 14px; }
.atencion-caja b { font-size: 16px; }
.atencion-caja small { color: #067d62; }
.atencion-caja.ancha { grid-column: 1 / -1; }

/* ---------- Resultados de búsqueda ---------- */
.resultados-barra { background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .08); margin-bottom: 14px; }
.resultados-barra .t-ancho { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; flex-wrap: wrap; }
.ordenar select { font: inherit; font-size: 13px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--borde); background: var(--fondo-claro); box-shadow: var(--sombra); margin-left: 4px; }
.resultados { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; padding-bottom: 30px; }
.filtros { background: #fff; border-radius: var(--radio); padding: 14px 16px; position: sticky; top: 118px; }
.filtros h3 { font-size: 14px; margin: 14px 0 6px; }
.filtros h3:first-child { margin-top: 0; }
.filtros a { display: block; color: var(--texto); font-size: 14px; padding: 3px 0; }
.filtros a span { color: var(--sutil); }
.filtros a.activo { font-weight: 700; color: var(--enlace-hover); }
.filtros .casilla { display: flex; align-items: center; gap: 8px; }
.filtros .casilla i { width: 16px; height: 16px; border: 1px solid #888; border-radius: 3px; display: inline-block; }
.filtros .casilla.activo i { background: #007185; border-color: #007185; box-shadow: inset 0 0 0 3px #fff; }
.filtros .limpiar { margin-top: 12px; color: var(--enlace); font-size: 13px; }
.vacio-busqueda { text-align: center; padding: 48px 20px; }
.vacio-busqueda > .ic { width: 56px; height: 56px; color: #aaa; }
.vacio-busqueda .btn { margin: 4px; }

/* ---------- Ficha de producto ---------- */
.ficha-producto { position: relative; display: grid; grid-template-columns: minmax(300px, 1.05fr) minmax(300px, 1fr) 300px; gap: 28px; background: #fff; padding: 24px; border-radius: var(--radio); margin-bottom: 18px; align-items: start; }
.galeria { position: sticky; top: 124px; }
.galeria-foto { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--fondo-claro); border-radius: var(--radio); overflow: hidden; cursor: crosshair; }
.galeria-foto img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.lente { position: absolute; width: 34%; height: 34%; transform: translate(-50%, -50%); border: 1px solid rgba(0, 0, 0, .3); background: rgba(255, 255, 255, .35); pointer-events: none; opacity: 0; }
.lente.activo { opacity: 1; }
.galeria-ayuda { text-align: center; font-size: 12px; color: var(--sutil); margin: 8px 0 0; }
.galeria-zoom { position: absolute; left: calc(100% + 18px); top: 0; width: 140%; aspect-ratio: 1; z-index: 20; background: #fff no-repeat; background-size: 300%; border: 1px solid var(--borde); box-shadow: 0 6px 26px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transition: opacity .15s; }
.galeria-zoom.activo { opacity: 1; visibility: visible; }
.info h1 { font-size: 24px; font-weight: 500; line-height: 1.3; }
.info h1 span { color: var(--sutil); }
.marca-link { font-size: 13px; }
.info-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--sutil); margin-top: 6px; }
.vendidos { color: var(--texto); font-weight: 600; }
.info-precio { display: flex; align-items: baseline; gap: 6px; }
.info-precio .por { color: var(--sutil); }
.info-por-pieza { margin: 2px 0; color: var(--sutil); font-size: 13px; }
.info-bs { margin: 6px 0; }
.presentaciones { margin: 14px 0; }
.presentaciones-opc { display: flex; flex-wrap: wrap; gap: 10px; }
.opc { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 150px; padding: 8px 12px; border: 1px solid var(--borde); border-radius: var(--radio); background: #fff; font: inherit; text-align: left; cursor: pointer; }
.opc:hover { background: var(--fondo-claro); }
.opc.activo { border: 2px solid #007185; background: #edfdff; padding: 7px 11px; }
.opc strong { font-size: 13px; }
.opc span { font-size: 15px; }
.opc small { font-size: 12px; color: var(--sutil); }
.opc small.agotado { color: var(--precio-rojo); }
.opc[data-agotado] { opacity: .6; }
.acerca { font-size: 17px; }
.acerca-lista { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.aviso-consulta { display: flex; gap: 8px; background: var(--fondo-claro); padding: 10px 12px; border-radius: var(--radio); }
.caja-compra { border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; position: sticky; top: 124px; }
.caja-precio .precio { font-size: 28px; }
.caja-entrega, .caja-ubicacion { font-size: 13px; margin: 10px 0; }
.caja-entrega .ic, .caja-ubicacion .ic { color: var(--nav-2); }
.caja-compra .disp { font-size: 18px; margin: 10px 0; }
.caja-cantidad { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 8px; }
.caja-max { display: block; color: var(--sutil); font-size: 12px; margin: 4px 0 6px; }
.paso-cant { display: inline-flex; align-items: center; border: 1px solid var(--borde); border-radius: 100px; box-shadow: var(--sombra); background: var(--fondo-claro); overflow: hidden; }
.paso-cant button { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.paso-cant button:hover { background: #e3e6e6; }
.paso-cant button .ic { width: 16px; height: 16px; }
.paso-cant input { width: 64px; height: 32px; border: 0; border-left: 1px solid var(--borde); border-right: 1px solid var(--borde); text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.paso-cant input::-webkit-inner-spin-button { -webkit-appearance: none; }
.paso-cant.mini button { width: 30px; height: 28px; }
.paso-cant.mini input { width: 52px; height: 28px; }
.caja-datos { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 12px; margin: 14px 0 0; }
.caja-datos dt { color: var(--sutil); }
.caja-datos dd { margin: 0; }
.caja-deseos { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--borde); margin-top: 14px; padding-top: 12px; font-size: 13px; }
.caja-deseos .form-corazon { position: static; }

/* ---------- Carrito ---------- */
.carrito-pagina { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; padding-top: 20px; padding-bottom: 30px; }
.carrito-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--borde); padding-bottom: 8px; }
.carrito-cab h1 { margin: 0; }
.carrito-col-precio { margin-left: auto; color: var(--sutil); font-size: 13px; }
.linea-carrito { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--borde); }
.lc-foto img { width: 180px; height: 180px; object-fit: contain; background: var(--fondo-claro); border-radius: var(--radio); padding: 10px; mix-blend-mode: multiply; }
.lc-info { display: flex; flex-direction: column; gap: 4px; }
.lc-nombre { color: var(--texto); font-size: 18px; font-weight: 500; }
.lc-acciones { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 8px; font-size: 13px; }
.lc-acciones .enlace { font-size: 13px; padding-left: 14px; border-left: 1px solid var(--borde); }
.lc-precio { font-size: 18px; font-weight: 700; text-align: right; }
.carrito-subtotal-linea { text-align: right; font-size: 18px; margin: 12px 0 0; }
.carrito-subtotal { font-size: 18px; margin: 6px 0; }
.carrito-bs { font-size: 13px; margin: 0 0 8px; }
.envio-ok { display: flex; gap: 6px; color: #067d62; font-size: 13px; margin: 0 0 6px; }
.carrito-vacio { display: flex; gap: 24px; align-items: center; padding: 26px 0; }
.carrito-vacio > .ic { width: 120px; height: 120px; color: #c7cccc; stroke-width: 1; }
.carrito-vacio .btn { margin: 4px 6px 4px 0; }
.cargando { color: var(--sutil); padding: 20px 0; }
.sugeridos h3 { font-size: 15px; }
.sugerido { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--texto); font-size: 13px; border-top: 1px solid #eee; }
.sugerido img { width: 64px; height: 64px; object-fit: contain; background: var(--fondo-claro); border-radius: 6px; }
.sugerido b { display: block; color: var(--precio-rojo); }

/* ---------- Pago ---------- */
.pagar-titulo { display: flex; align-items: center; gap: 10px; padding: 22px 0 6px; }
.pagar-titulo .ic { width: 26px; height: 26px; color: var(--oro); }
.pagar-titulo span { color: var(--sutil); font-size: 18px; }
.pagar-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; padding-bottom: 30px; }
.paso h2 { display: flex; align-items: center; gap: 10px; }
.paso .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nav-2); color: #fff; font-size: 14px; }
.opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-bottom: 10px; }
.opcion { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--borde); border-radius: var(--radio); padding: 12px 14px; cursor: pointer; }
.opcion:has(input:checked) { border-color: #e77600; background: #fcf5ee; box-shadow: 0 0 0 1px #e77600; }
.opcion input { margin-top: 3px; accent-color: #e77600; }
.opcion > span { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; }
.opcion > span .ic { grid-row: span 3; color: var(--nav-2); }
.opcion small { color: var(--sutil); font-size: 12px; }
.opcion-total { font-style: normal; font-weight: 700; margin-top: 4px; }
.direcciones-pago { display: grid; gap: 8px; }
.direcciones-pago .sub { margin: 4px 0 0; font-weight: 700; }
.opcion.direccion > span { display: block; }
.opcion.direccion small { display: block; }
.revisar { list-style: none; padding: 0; margin: 0 0 12px; }
.revisar li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee; }
.revisar img { width: 72px; height: 72px; object-fit: contain; background: var(--fondo-claro); border-radius: 6px; }
.revisar li > div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.revisar a { color: var(--texto); }
.precio-linea { color: var(--precio-rojo); font-weight: 700; }
.pagar-resumen { position: sticky; top: 124px; }
.pagar-resumen dl, .resumen-pedido dl { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 8px 0; font-size: 13px; }
.pagar-resumen dd, .resumen-pedido dd { margin: 0; text-align: right; }
dl.total { border-top: 1px solid var(--borde); padding-top: 8px; font-size: 18px; font-weight: 700; color: var(--precio-rojo); }
.res-bs { font-size: 13px; background: var(--fondo-claro); padding: 8px 10px; border-radius: 6px; }

/* ---------- Pedido realizado ---------- */
.realizado { padding-top: 22px; padding-bottom: 30px; }
.realizado-cab { display: flex; gap: 18px; border-left: 6px solid #067d62; }
.realizado-ok .ic { width: 44px; height: 44px; color: #067d62; }
.realizado-cab h1 { color: #067d62; font-weight: 700; font-size: 22px; }
.realizado-acc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Acceso: entrar, registro ---------- */
.pag-acceso .t-subbarra { display: none; }
.acceso { width: min(380px, 100%); margin: 26px auto 40px; padding: 0 12px; }
.acceso-caja { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px 26px; }
.acceso-caja h1 { font-size: 28px; font-weight: 500; }
.campo { display: block; margin-bottom: 14px; }
.campo > span:first-child { display: block; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.campo input, .campo select, .campo textarea { width: 100%; font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid #888c8c; border-radius: 6px; box-shadow: 0 1px 2px rgba(15, 17, 17, .15) inset; background: #fff; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: #007185; box-shadow: 0 0 0 3px #c8f3fa, 0 1px 2px rgba(15, 17, 17, .15) inset; }
.campo input:disabled { background: var(--fondo-claro); color: var(--sutil); }
.campo .ayuda { display: block; color: var(--sutil); font-size: 12px; margin-top: 4px; }
.clave-caja { position: relative; display: block; }
.clave-caja input { padding-right: 44px; }
.ojo { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 32px; border: 0; background: none; border-radius: 6px; color: var(--sutil); cursor: pointer; display: grid; place-items: center; }
.ojo:hover { background: var(--fondo-claro); color: var(--texto); }
.ojo .ocultar { display: none; }
.ojo.visible .ver { display: none; }
.ojo.visible .ocultar { display: block; }
.ojo.visible { color: #007185; }
.medidor { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.medidor i { flex: 1; height: 4px; border-radius: 4px; background: #e3e6e6; transition: background .2s; }
.medidor em { font-style: normal; font-size: 12px; min-width: 64px; text-align: right; color: var(--sutil); }
.medidor[data-nivel="1"] i:nth-child(-n+1) { background: #cc0c39; }
.medidor[data-nivel="2"] i:nth-child(-n+2) { background: #e77600; }
.medidor[data-nivel="3"] i:nth-child(-n+3) { background: #7fb800; }
.medidor[data-nivel="4"] i { background: #067d62; }
.legal { font-size: 12px; color: var(--sutil); }
.ayuda-clave summary { color: var(--enlace); cursor: pointer; font-size: 13px; }
.ayuda-clave p { font-size: 13px; color: var(--sutil); }
.acceso-separador { position: relative; text-align: center; margin: 22px 0 12px; font-size: 12px; color: #767676; }
.acceso-separador::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #e7e7e7; }
.acceso-separador span { position: relative; background: var(--fondo); padding: 0 8px; }
.acceso-pie { font-size: 13px; margin: 14px 0 0; }
.tipo-cliente { border: 0; padding: 0; margin: 0 0 12px; display: flex; gap: 18px; align-items: center; }
.tipo-cliente legend { font-weight: 700; font-size: 13px; float: left; margin-right: 6px; }
.tipo-cliente label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.casilla-acepto { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 4px 0 12px; cursor: pointer; }
.casilla-acepto input { margin-top: 3px; }

/* ---------- Tu cuenta ---------- */
.cuenta { padding-bottom: 30px; }
.cuenta > h1 { margin-top: 10px; }
.cuenta-estrecha { max-width: 760px; }
.cuenta-hola { color: var(--sutil); margin: -6px 0 18px; }
.cuenta-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 26px; }
.tile { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; color: var(--texto); }
.tile:hover { background: var(--fondo-claro); text-decoration: none; color: var(--texto); }
.tile > .ic { width: 44px; height: 44px; color: var(--nav-2); stroke-width: 1.3; }
.tile b { display: block; font-size: 17px; font-weight: 500; }
.tile small { color: var(--sutil); font-size: 13px; }
.tile em { display: inline-block; font-style: normal; background: var(--oro-claro); color: var(--nav); font-weight: 700; padding: 0 8px; border-radius: 100px; margin-left: 2px; }
.cuenta-recientes > header, .pedidos-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cuenta-recientes h2 { margin: 0; }
.buscar-pedidos { display: flex; align-items: center; gap: 8px; border: 1px solid #888; border-radius: 8px; padding: 0 4px 0 10px; background: #fff; }
.buscar-pedidos input { border: 0; font: inherit; height: 34px; width: 240px; outline: none; }
.pestanas { display: flex; gap: 2px; border-bottom: 1px solid var(--borde); margin-bottom: 14px; overflow-x: auto; }
.pestanas a { padding: 8px 16px; color: var(--enlace); border-bottom: 3px solid transparent; white-space: nowrap; }
.pestanas a.activo { color: var(--texto); font-weight: 700; border-bottom-color: var(--naranja); }
.pestanas a span { color: var(--sutil); font-weight: 400; font-size: 12px; }
.pedidos-cuenta { margin: 0 0 10px; }
.pedido-tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); margin-bottom: 16px; overflow: hidden; }
.pedido-cab { display: flex; flex-wrap: wrap; gap: 8px 34px; background: #f0f2f2; border-bottom: 1px solid var(--borde); padding: 12px 18px; font-size: 13px; color: var(--sutil); }
.pedido-cab small { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: .02em; }
.pedido-cab span { color: var(--texto); }
.pedido-num { margin-left: auto; text-align: right; }
.pedido-cuerpo { display: grid; grid-template-columns: 1fr 240px; gap: 18px; padding: 16px 18px; }
.pedido-items h3 { font-size: 18px; margin: 0; }
.estado-curso { color: #c45500; }
.estado-enviado { color: #067d62; }
.estado-cerrado { color: var(--sutil); }
.pedido-item { display: flex; gap: 14px; padding: 10px 0; }
.pedido-item img, .pedido-item .foto-vacia { width: 90px; height: 90px; object-fit: contain; background: var(--fondo-claro); border-radius: 6px; flex: none; }
.pedido-item > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pedido-item small { color: var(--sutil); }
.pedido-acciones .btn { margin: 0 0 8px; }
.resumen-pedido { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.resumen-pedido h3 { font-size: 14px; margin-bottom: 4px; }
.resumen-pedido p { margin: 0 0 10px; }
.seguimiento p { color: var(--sutil); }
.linea-tiempo { --avance: 0; position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 22px 0 6px; }
.linea-tiempo::before, .linea-tiempo::after { content: ''; position: absolute; top: 9px; left: 12.5%; height: 4px; border-radius: 4px; }
.linea-tiempo::before { right: 12.5%; background: #e3e6e6; }
.linea-tiempo::after { width: calc(75% * var(--avance)); background: #067d62; }
.linea-tiempo li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--sutil); text-align: center; }
.linea-tiempo i { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #d5d9d9; }
.linea-tiempo li.hecho i { background: #067d62; border-color: #067d62; }
.linea-tiempo li.hecho { color: var(--texto); }
.linea-tiempo li.actual span { font-weight: 700; color: #067d62; }
.linea-tiempo li.actual i { box-shadow: 0 0 0 5px rgba(6, 125, 98, .18); }
.cancelar { border-left: 6px solid #e77600; }
.cancelar .campo { max-width: 360px; }
.ajustes h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.ajustes h2 .ic { color: var(--nav-2); }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.direcciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dir, .dir-nueva { min-height: 250px; border-radius: var(--radio); background: #fff; }
.dir-nueva { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #c7c7c7; color: #565959; font-size: 18px; }
.dir-nueva .ic { width: 44px; height: 44px; color: #c7c7c7; }
.dir-nueva:hover { text-decoration: none; color: var(--texto); }
.dir { border: 1px solid #c7c7c7; display: flex; flex-direction: column; }
.dir.pred { border-color: var(--oro); }
.dir-pred { display: block; padding: 6px 18px; border-bottom: 1px solid var(--borde); font-size: 12px; color: var(--sutil); }
.dir-texto { padding: 14px 18px; flex: 1; }
.dir-texto p { margin: 4px 0 0; font-size: 13px; }
.dir-acc { padding: 0 18px 14px; font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--borde); }
.dir-acc form { display: inline; margin: 0; }
.dir-acc .enlace { font-size: 13px; }

/* ---------- Pie ---------- */
.t-pie { background: var(--nav-2); color: #ddd; margin-top: 20px; }
.t-pie-arriba { display: block; background: #2b2b30; color: #fff; text-align: center; padding: 14px; font-size: 13px; }
.t-pie-arriba:hover { background: #38383e; color: #fff; text-decoration: none; }
.t-pie-cols { max-width: 1200px; margin: 0 auto; padding: 36px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.t-pie-cols h4 { color: #fff; margin: 0 0 10px; font-size: 16px; }
.t-pie-cols a, .t-pie-cols span { display: block; color: #ddd; font-size: 13px; padding: 2px 0; }
.t-pie-base { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; background: var(--nav); padding: 18px; font-size: 12px; color: #aaa; }
.t-pie-base img { width: 120px; height: auto; }
.t-intranet { color: #888; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Aviso flotante ---------- */
.t-toast { position: fixed; right: 20px; top: 116px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: 380px; background: #fff; border-radius: var(--radio); border-left: 6px solid #067d62; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); padding: 14px 16px; animation: entra .2s ease-out; }
.t-toast > .ic { color: #067d62; width: 26px; height: 26px; }
.t-toast span { display: flex; flex-direction: column; font-size: 13px; }
.t-toast .btn { margin-left: auto; white-space: nowrap; }
@keyframes entra { from { transform: translateY(-10px); opacity: 0; } }

/* ---------- Comprobante imprimible ---------- */
body.comprobante { background: #fff; }
.comp { max-width: 800px; margin: 24px auto; padding: 0 20px; }
.comp header { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 3px solid var(--oro); padding-bottom: 14px; }
.comp header h1 { font-size: 22px; font-weight: 700; margin: 0; text-align: right; }
.comp header p { text-align: right; margin: 4px 0 0; }
.comp-aviso { font-size: 12px; color: var(--sutil); }
.comp-datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.comp-datos h3 { font-size: 12px; text-transform: uppercase; color: var(--sutil); margin-bottom: 2px; }
.comp-datos p { margin: 0; font-size: 13px; }
.comp table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comp th, .comp td { padding: 7px 8px; border-bottom: 1px solid var(--borde); text-align: left; }
.comp th { background: var(--nav); color: #fff; }
.comp .num { text-align: right; }
.comp tfoot td { font-weight: 700; border: 0; }
.comp footer { margin-top: 24px; font-size: 12px; color: var(--sutil); text-align: center; }
.comp .no-imprimir { margin-top: 16px; }

@media print {
    .no-imprimir { display: none !important; }
    .comp th { background: #eee !important; color: #000; }
}

/* ---------- Identidad ISCO ----------
   La silueta de la «S» del logo (su contorno, sacado del .ai) se usa de marca de agua en
   los banners; las cajas llevan dos esquinas cortadas a 45° como la S (clip-path: por eso
   sus realces son sombras interiores, que el recorte no se come). */
:root { --radio: 4px; --s-contorno: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 834 767'%3E%3Cpolygon points='660,272%20404,272%20702,570%20453,570%20453,443%20192,181%20639,181%20818,3%20818,0%2070,0%200,70%200,181%20101,181%20101,347%20324,570%2070,570%200,640%200,751%20639,751%20766,624%20818,624%20818,430' fill='none' stroke='%23e3ff00' stroke-width='7'/%3E%3C/svg%3E"); }
.corte { clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, var(--corte) 100%, 0 calc(100% - var(--corte))); }
h1, h2, h3, .banner-h, .t-pie-cols h4, .t-menu-cols h4 { font-family: var(--titular); letter-spacing: .01em; }
h1 { font-weight: 600; }
.banner h1, .banner-h, .portada-t h1 { font-weight: 700; letter-spacing: 0; line-height: 1.08; }
.btn { border-radius: 3px; font-weight: 700; letter-spacing: .01em; }
.btn-amarillo { background: var(--dorado); border-color: var(--amarillo-borde); color: #111; }
.btn-amarillo:hover { background: linear-gradient(90deg, #d9f21a, #c4e000); color: #111; }
.btn-naranja, .btn-naranja:hover { color: #fff; }
.btn-naranja:hover { box-shadow: inset 0 -2px 0 var(--oro); }
/* Sobre los banners oscuros el botón negro se perdería: ahí va en dorado. */
.banner .btn-naranja, .portada-t .btn-naranja { background: var(--dorado); border-color: var(--amarillo-borde); color: #111; }
.banner .btn-naranja:hover, .portada-t .btn-naranja:hover { background: linear-gradient(90deg, #d9f21a, #c4e000); color: #111; box-shadow: none; }
.t-cabecera::after { content: ''; display: block; height: 3px; background: var(--dorado); }
.t-buscador button { background: var(--dorado); color: #111; }
.t-buscador button:hover { background: var(--oro-claro); }
.t-buscador:focus-within { box-shadow: 0 0 0 3px rgba(227, 255, 0, .55); }
.t-subbarra a.t-todo { font-weight: 700; }
.t-tasa { font-family: var(--titular); }
.banner-slide::before, .portada-t-fondo::after { content: ''; position: absolute; right: max(-60px, calc((100% - var(--ancho)) / 2 - 60px)); top: -70px; width: 560px; aspect-ratio: 834 / 767; background: var(--s-contorno) no-repeat center / contain; opacity: .16; pointer-events: none; }
.banner .sobre, .portada-t .sobre { font-family: var(--titular); color: var(--oro); border-left: 3px solid var(--oro); padding-left: 10px; letter-spacing: .18em; }
.banner h1 em, .portada-t h1 em { background: var(--dorado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner-fotos span { border-radius: 4px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.caja-mosaico, .fila-productos, .caja-blanca, .franja-confianza > div, .ficha-producto { clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, var(--corte) 100%, 0 calc(100% - var(--corte))); }
.caja-mosaico h2, .fila-productos h2 { display: flex; align-items: center; gap: 10px; }
.caja-mosaico h2::before, .fila-productos h2::before { content: ''; flex: none; width: 10px; height: 16px; background: var(--dorado); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); }
.tarjeta { border-radius: var(--radio); }
.tarjeta:hover { box-shadow: inset 0 0 0 1px var(--oro), 0 4px 16px rgba(15, 17, 17, .12); }
.opc.activo { border-color: var(--oro); background: #fbffe0; }
.filtros .casilla.activo i { background: #141416; border-color: #141416; }
.cinta { background: #141416; color: var(--oro-claro); letter-spacing: .02em; }
.paso .num { background: #141416; color: var(--oro); font-family: var(--titular); }
.t-pie { background: #141416; }
.t-pie-cols h4 { color: var(--oro-claro); text-transform: uppercase; font-size: 14px; letter-spacing: .12em; }
.t-pie-base { border-top: 3px solid transparent; border-image: var(--dorado) 1; }

/* ---------- Vida ISCO (static/js/isco-vida.js) ----------
   Detalles animados: canvas de trazas de circuito y contorno de la S en los banners,
   entrada escalonada de cada diapositiva, brillo del logo y de la línea dorada, tarjetas
   con visor de seguridad, secciones que aparecen al bajar, iconos que se dibujan y la
   foto que vuela al carrito. Todo lo que se mueve está dentro de
   «prefers-reduced-motion: no-preference». */
.t-carrito-ic b.lleno { color: var(--oro-claro); }
/* Las fotos y el texto del banner quedan por encima de las trazas. */
.banner-fotos { z-index: 3; }
.vida-red { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.portada-t .vida-red { z-index: 0; mix-blend-mode: normal; }
.vida-s { position: absolute; z-index: 2; right: max(-40px, calc((100% - var(--ancho)) / 2 - 40px)); top: -60px; width: 540px; height: auto; pointer-events: none; mix-blend-mode: screen; overflow: visible; }
.portada-t .vida-s { z-index: 0; }
.vida-s polygon { fill: none; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.vida-s .s-base { stroke: rgba(227, 255, 0, .13); stroke-width: 2; }
.vida-s .s-traza { stroke: url(#vida-s-oro); stroke-width: 2.4; opacity: .55; }
.vida-s .s-brillo { stroke: #f8ffc4; stroke-width: 3; stroke-dasharray: 70 930; opacity: 0; filter: drop-shadow(0 0 6px rgba(227, 255, 0, .9)); }
.con-vida .banner-slide::before, .con-vida .portada-t-fondo::after { display: none; }
.t-tasa { display: inline-flex; align-items: center; gap: 6px; }
.t-tasa::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
.t-logo { position: relative; overflow: hidden; }
.t-logo::after { content: ''; position: absolute; inset: 4px 8px; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
    -webkit-mask: url('../img/isco-logo-blanco.svg') center / contain no-repeat; mask: url('../img/isco-logo-blanco.svg') center / contain no-repeat; }
.tarjeta-foto { position: relative; }
.tarjeta-foto::before, .tarjeta-foto::after { content: ''; position: absolute; inset: 8px; pointer-events: none; opacity: 0; }
/* Visor de seguridad: cuatro esquinas doradas en L. */
.tarjeta-foto::after { transform: scale(1.06); transition: opacity .25s, transform .35s cubic-bezier(.2, .8, .2, 1);
    --l: 16px; --g: 2px;
    background:
        linear-gradient(var(--oro), var(--oro)) left top / var(--l) var(--g), linear-gradient(var(--oro), var(--oro)) left top / var(--g) var(--l),
        linear-gradient(var(--oro), var(--oro)) right top / var(--l) var(--g), linear-gradient(var(--oro), var(--oro)) right top / var(--g) var(--l),
        linear-gradient(var(--oro), var(--oro)) left bottom / var(--l) var(--g), linear-gradient(var(--oro), var(--oro)) left bottom / var(--g) var(--l),
        linear-gradient(var(--oro), var(--oro)) right bottom / var(--l) var(--g), linear-gradient(var(--oro), var(--oro)) right bottom / var(--g) var(--l);
    background-repeat: no-repeat; }
.tarjeta:hover .tarjeta-foto::after, .tarjeta:focus-within .tarjeta-foto::after { opacity: 1; transform: none; }
/* Línea de escaneo que baja una vez por la foto. */
.tarjeta-foto::before { background: linear-gradient(to bottom, rgba(227, 255, 0, 0), rgba(227, 255, 0, .28) 70%, rgba(246, 255, 170, .9) 96%, rgba(227, 255, 0, 0)) 0 -70px / 100% 70px no-repeat; }
.vida-vuela { position: fixed; z-index: 90; object-fit: contain; background: #fff; border-radius: 6px; padding: 8px; pointer-events: none;
    box-shadow: 0 0 0 2px var(--oro), 0 18px 40px rgba(0, 0, 0, .35); will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
    /* Diapositivas: el texto entra escalonado y las fotos caen en su sitio y flotan. */
    @keyframes vida-sube { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
    @keyframes vida-foto { from { opacity: 0; translate: 0 46px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
    @keyframes vida-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
    .banner-slide.activo .banner-texto > *, .portada-t-texto > * { animation: vida-sube .75s cubic-bezier(.2, .7, .2, 1) both; }
    .banner-slide.activo .banner-texto > :nth-child(2), .portada-t-texto > :nth-child(2) { animation-delay: .09s; }
    .banner-slide.activo .banner-texto > :nth-child(3), .portada-t-texto > :nth-child(3) { animation-delay: .18s; }
    .banner-slide.activo .banner-texto > :nth-child(4), .portada-t-texto > :nth-child(4) { animation-delay: .27s; }
    .banner-slide.activo .banner-fotos span { animation: vida-foto .95s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .12s + .2s); }
    .banner-fotos span img { animation: vida-flota 6.5s ease-in-out infinite; animation-delay: calc(var(--i) * -2.1s); }
    .con-vida .banner-fotos { translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -12px); transition: translate .5s cubic-bezier(.2, .7, .2, 1); }
    /* «a un clic» con un reflejo que lo recorre. */
    @keyframes vida-reflejo { from { background-position: 120% 0; } to { background-position: -120% 0; } }
    .banner h1 em, .portada-t h1 em { background: linear-gradient(100deg, #e3ff00 0%, #ecff3a 35%, #f6ffb3 50%, #ecff3a 65%, #e3ff00 100%) 120% 0 / 220% 100%;
        -webkit-background-clip: text; background-clip: text; animation: vida-reflejo 4.5s ease-in-out infinite; }
    /* El contorno de la S se dibuja y un destello le da la vuelta. */
    @keyframes vida-traza { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
    @keyframes vida-vuelta { from { stroke-dashoffset: 1000; opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
    .vida-s .s-traza { stroke-dasharray: 1000; animation: vida-traza 2.8s cubic-bezier(.65, 0, .35, 1) .3s both; }
    .vida-s .s-brillo { animation: vida-vuelta 9s linear 3.1s infinite; }
    /* Línea dorada de la cabecera con un destello que pasa. */
    @keyframes vida-linea { 0%, 55% { background-position: -30% 0, 0 0; } 100% { background-position: 130% 0, 0 0; } }
    .t-cabecera::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 252, 230, .95), rgba(255, 255, 255, 0)) -30% 0 / 16% 100% no-repeat, var(--dorado);
        animation: vida-linea 8s ease-in-out 1.2s infinite; }
    /* Brillo del logo: al cargar y al pasar el cursor. */
    @keyframes vida-logo { from { background-position: 130% 0; } to { background-position: -30% 0; } }
    @keyframes vida-logo-2 { from { background-position: 130% 0; } to { background-position: -30% 0; } }
    .t-logo::after { animation: vida-logo 1.5s cubic-bezier(.4, 0, .2, 1) .5s both; }
    .t-logo:hover::after { animation: vida-logo-2 1.1s cubic-bezier(.4, 0, .2, 1) both; }
    /* Tasa BCV «en vivo». */
    @keyframes vida-latido { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } }
    .t-tasa::before { animation: vida-latido 2.2s ease-out infinite; }
    /* Tarjetas: escaneo al pasar el cursor. */
    @keyframes vida-escaneo { 0% { opacity: 1; background-position: 0 -70px; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0 calc(100% + 70px); } }
    .tarjeta:hover .tarjeta-foto::before { animation: vida-escaneo 1.15s cubic-bezier(.4, 0, .3, 1) both; }
    /* Botones dorados: un brillo los cruza al pasar el cursor. */
    .btn-amarillo, .banner .btn-naranja, .portada-t .btn-naranja { position: relative; overflow: hidden; isolation: isolate; }
    .btn-amarillo::after, .banner .btn-naranja::after, .portada-t .btn-naranja::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
        background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%) 160% 0 / 250% 100% no-repeat; transition: background-position 0s; }
    .btn-amarillo:hover::after, .banner .btn-naranja:hover::after, .portada-t .btn-naranja:hover::after { background-position: -60% 0; transition: background-position .75s cubic-bezier(.4, 0, .2, 1); }
    /* Aparecer al bajar (la clase .revela la pone el JS solo a lo que está fuera de la vista). */
    .revela { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
    .revela.visto { opacity: 1; transform: none; }
    .revela h2::before { transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0s) + .35s); }
    .revela.visto h2::before { transform: none; }
    /* Iconos que se dibujan con su trazo (el trazo se hereda dentro del <use>). */
    @keyframes vida-dibuja { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
    @keyframes vida-halo { 0% { filter: drop-shadow(0 0 0 rgba(227, 255, 0, 0)); } 40% { filter: drop-shadow(0 0 7px rgba(227, 255, 0, .75)); } 100% { filter: drop-shadow(0 0 0 rgba(227, 255, 0, 0)); } }
    .ic.dibuja { stroke-dasharray: 100; stroke-dashoffset: 100; }
    .visto > .ic.dibuja { animation: vida-dibuja 1.6s cubic-bezier(.6, 0, .3, 1) calc(var(--d, 0s) + .25s) both, vida-halo 1.6s ease-out calc(var(--d, 0s) + 1.2s); }
    /* El carrito salta cuando llega un producto. */
    @keyframes vida-salto { 0% { transform: none; } 30% { transform: translateY(-5px) scale(1.12) rotate(-6deg); } 55% { transform: translateY(1px) scale(.96); } 100% { transform: none; } }
    @keyframes vida-onda { from { opacity: .9; transform: translate(-50%, -50%) scale(.3); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
    .t-carrito-ic.vida-salto { animation: vida-salto .6s cubic-bezier(.3, .7, .3, 1); }
    .t-carrito-ic.vida-salto::after { content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--oro); pointer-events: none; animation: vida-onda .7s ease-out both; }
    /* «Volver arriba» con franjas de seguridad en movimiento. */
    @keyframes vida-franjas { from { background-position: 0 0; } to { background-position: 33.94px 0; } }
    .t-pie-arriba:hover { background-image: repeating-linear-gradient(135deg, rgba(227, 255, 0, .2) 0 12px, transparent 12px 24px); animation: vida-franjas 1s linear infinite; }
    /* El pie lleva la S de marca de agua, a la deriva. */
    @keyframes vida-deriva { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-40px, 24px) rotate(-4deg); } }
    .t-pie { position: relative; overflow: hidden; }
    .t-pie > * { position: relative; z-index: 1; }
    .t-pie::before { content: ''; position: absolute; right: -80px; top: 30px; width: 520px; aspect-ratio: 834 / 767; background: var(--s-contorno) no-repeat center / contain; opacity: .07; pointer-events: none; animation: vida-deriva 26s ease-in-out infinite alternate; }
}
@media (max-width: 700px) { .vida-s { width: 300px; right: -120px; top: -20px; opacity: .4; } }
@media print { .revela { opacity: 1 !important; transform: none !important; } .vida-red, .vida-s { display: none; } }

/* ---------- Lima ISCO sobre fondo claro ----------
   El lima (#E3FF00) va sobre negro/grafito o de relleno con texto negro (17:1). Sobre blanco
   no se lee (1,1:1): ahí iconos, bordes y realces usan el oliva --lima-tinta (5,5:1). */
:root { --lima: #e3ff00; --lima-tinta: #5f7000; --dorado: linear-gradient(90deg, #ecff3a, #d6f500); }
.beneficios .ic, .franja-confianza .ic, .caja-pdf > .ic, .pagar-titulo .ic { color: var(--lima-tinta); }
.dir.pred { border-color: var(--lima-tinta); }
.comp header { border-bottom-color: #141416; }
.tarjeta:hover { box-shadow: inset 0 0 0 1px var(--lima-tinta), 0 4px 16px rgba(15, 17, 17, .12); }
.opc.activo { border-color: var(--lima-tinta); background: #fbffe0; }
/* Marca de los títulos: medio negro, medio lima, como una franja de seguridad. */
.caja-mosaico h2::before, .fila-productos h2::before { width: 12px; background: linear-gradient(90deg, #141416 0 46%, var(--lima) 46%); }
.tarjeta-foto::after { --oro: var(--lima-tinta); }
.tarjeta-foto::before { background: linear-gradient(to bottom, rgba(95, 112, 0, 0), rgba(160, 190, 0, .22) 70%, rgba(95, 112, 0, .85) 96%, rgba(95, 112, 0, 0)) 0 -70px / 100% 70px no-repeat; }
.vida-vuela { box-shadow: 0 0 0 2px #141416, 0 0 0 4px var(--lima), 0 18px 40px rgba(0, 0, 0, .35); }

/* ---------- Pantallas medianas y pequeñas ---------- */
@media (max-width: 1100px) {
    .ficha-producto { grid-template-columns: 1fr 1fr; }
    .caja-compra { grid-column: 2; position: static; }
    .galeria-zoom, .galeria-ayuda { display: none; }
    .t-entrega { display: none; }
}
@media (max-width: 860px) {
    .t-barra { flex-wrap: wrap; gap: 4px; padding: 6px 8px 8px; }
    .t-logo img { width: 92px; }
    .t-buscador { order: 10; flex-basis: 100%; margin: 4px 0 0; }
    .t-buscador-cat { display: none; }
    .t-cuenta { margin-left: auto; }
    .t-pedidos { display: none; }
    .t-menu-cuenta { right: -70px; width: min(92vw, 420px); }
    .t-menu-cuenta::before { right: 110px; }
    .t-tasa { display: none; }
    .resultados, .carrito-pagina, .pagar-grid { grid-template-columns: 1fr; }
    .filtros { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
    .filtros h3 { flex-basis: 100%; margin: 6px 0 0; }
    .ficha-producto { grid-template-columns: 1fr; padding: 16px; }
    .galeria, .caja-compra { position: static; grid-column: auto; }
    .linea-carrito { grid-template-columns: 96px 1fr; }
    .lc-foto img { width: 96px; height: 96px; }
    .lc-precio { grid-column: 2; text-align: left; }
    .pedido-cuerpo { grid-template-columns: 1fr; }
    .pedido-num { margin-left: 0; text-align: left; }
    .pedido-cab .ocultable { display: none; }
    .dos-col, .comp-datos { grid-template-columns: 1fr; }
    .portada-t { padding: 30px 0 110px; }
    .portada-t-texto { padding: 0 18px; }
    .carrusel-flecha { display: none; }
    .banner { height: 430px; }
    .banner-slide { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px 0; }
    .banner-fotos { display: none; }
    .banner-flecha { display: none; }
    .pag-portada .mosaico { margin-top: -110px; }
    .atencion-rejilla { grid-template-columns: 1fr; }
    .t-toast { left: 12px; right: 12px; top: auto; bottom: 16px; max-width: none; }
    .buscar-pedidos input { width: 150px; }
    .carrito-vacio { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
