/* Escaparate v2: secciones inspiradas en las tiendas líderes del sector + animaciones propias */

/* ---------- Barra de anuncios ---------- */
.announce { background: var(--accent); color: var(--accent-fg); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-align: center; height: 34px; overflow: hidden; position: relative; }
.announce span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; opacity: 0; transform: translateY(100%); transition: opacity .4s, transform .4s; }
.announce span.on { opacity: 1; transform: none; }
.announce span.off { opacity: 0; transform: translateY(-100%); }

/* ---------- Header v2 ---------- */
.site-header .wrap { gap: 20px; }
.nav { gap: 24px; }
.nav-drop { position: relative; }
.nav-drop > a::after { content: '▾'; font-size: 10px; margin-left: 5px; opacity: .7; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 90vw);
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  padding: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 20px;
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; z-index: 60;
}
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.mega h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mega a { display: block; font-size: 13.5px; color: var(--fg-muted); padding: 2px 0; font-weight: 500; }
.mega a:hover { color: var(--fg); }
.mega .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 12px; color: var(--accent); font-weight: 700; }
.head-actions { display: flex; align-items: center; gap: 6px; }
.icon-action { background: none; border: 0; color: var(--fg); width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.icon-action:hover { background: var(--card); }
.icon-action .badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; font-size: 11px; }

/* ---------- Hero v2 ---------- */
.hero2 { position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background: radial-gradient(1200px 500px at 80% 40%, oklch(0.64 0.2 27 / .12), transparent 60%), var(--bg); }
.hero2 .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero2 .hero-title { font-size: clamp(38px, 5.4vw, 64px); }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 6px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--head-font); font-size: 30px; line-height: 1; }
.hero-stats span { font-size: 12.5px; color: var(--fg-muted); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > img, .hero-visual > video { width: 100%; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); display: block; }

/* Buscador «Encuentra tu casco» */
.finder { position: relative; max-width: 520px; }
.finder-box { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 6px 6px 6px 14px; transition: border-color .15s, box-shadow .15s; }
.finder-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.finder-box svg { color: var(--fg-muted); flex-shrink: 0; }
.finder-box input { flex: 1; background: none; border: 0; outline: none; font-size: 16px; padding: 10px 0; min-width: 0; }
.finder-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 8px; display: block; }
.finder-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 24px 48px rgba(0, 0, 0, .5); z-index: 40; max-height: 360px; overflow-y: auto; padding: 6px; }
.finder-results[hidden] { display: none; }
.fr-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.fr-item:hover, .fr-item.is-active { background: var(--bg-alt); }
.fr-item .t-thumb { width: 44px; height: 44px; border-radius: 4px; overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.fr-item .t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fr-item .t-thumb .ph { font-size: 7px; padding: 2px; }
.fr-item strong { display: block; font-size: 14.5px; }
.fr-item small { color: var(--fg-muted); font-size: 12px; }
.fr-item .price { margin-left: auto; font-size: 14px; }
.fr-empty { padding: 16px; text-align: center; color: var(--fg-muted); font-size: 14px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
mark { background: var(--accent-soft); color: var(--accent); border-radius: 2px; padding: 0 1px; }

/* Escena animada */
.hero-scene { position: relative; aspect-ratio: 640 / 520; border-radius: 14px; border: 1px solid var(--border);
  background: radial-gradient(circle at 70% 60%, oklch(0.24 0.02 250), oklch(0.13 0.006 250) 70%); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.scene-svg { width: 100%; height: 100%; display: block; }
.rig { animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
.speed-lines line { animation: dash 1.1s linear infinite; }
.speed-lines line:nth-child(2n) { animation-duration: .8s; animation-delay: -.3s; }
.speed-lines line:nth-child(3n) { animation-duration: 1.4s; animation-delay: -.6s; }
.scan { animation: scan 4.5s cubic-bezier(.6, 0, .4, 1) infinite; }
.scan-grid { opacity: 0; animation: gridflash 4.5s ease-in-out infinite; pointer-events: none; }
.mount { animation: mountin 4.5s ease-in-out infinite; }
.rec-dot { animation: blink 1s steps(2, start) infinite; }
.beam { animation: beam 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-.6deg); } }
@keyframes dash { from { transform: translateX(160px); opacity: 0; } 20% { opacity: 1; } to { transform: translateX(-200px); opacity: 0; } }
@keyframes scan { 0% { transform: translateX(80px); } 55%, 100% { transform: translateX(640px); } }
@keyframes gridflash { 0%, 8% { opacity: 0; } 25% { opacity: .55; } 55%, 100% { opacity: 0; } }
@keyframes mountin { 0%, 52% { filter: none; } 60% { filter: drop-shadow(0 0 10px oklch(0.64 0.2 27)); } 75%, 100% { filter: none; } }
@keyframes blink { to { visibility: hidden; } }
@keyframes beam { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.hud { position: absolute; inset: 14px; pointer-events: none; z-index: 2; font-family: ui-monospace, monospace; font-size: 12px; color: oklch(0.9 0.01 250 / .85); }
.hud-corner { position: absolute; width: 22px; height: 22px; border-color: oklch(0.9 0.01 250 / .6); border-style: solid; border-width: 0; }
.hud-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hud-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hud-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hud-rec { position: absolute; top: 8px; left: 34px; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.hud-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1s steps(2, start) infinite; }
.hud-meta { position: absolute; bottom: 8px; left: 34px; letter-spacing: .08em; opacity: .7; }

/* ---------- Franja de confianza ---------- */
.trust2 { border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust2 .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { font-size: 12.5px; color: var(--fg-muted); }

/* ---------- Tipos de casco ---------- */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.type-tile { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 22px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: border-color .2s, transform .2s; color: var(--fg-muted); }
.type-tile:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--fg); }
.type-tile .helmet-glyph { width: 104px; height: 86px; transition: transform .3s; }
.type-tile:hover .helmet-glyph { transform: scale(1.06) rotate(-3deg); }
.type-tile strong { font-family: var(--head-font); font-size: 19px; color: var(--fg); }
.type-tile span { font-size: 12.5px; }

/* ---------- Marquesina de marcas ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font-family: var(--head-font); font-weight: 700; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: oklch(0.5 0.01 250); white-space: nowrap; transition: color .15s; }
.marquee a:hover { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Carrusel ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 72px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.car-btns { display: flex; gap: 8px; }
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.car-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Tarjeta de producto v2 ---------- */
.card-media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.card:hover .card-media .alt { opacity: 1; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.bdg { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); color: var(--fg); }
.bdg.hot { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.bdg.sale { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.bdg.mto { color: var(--warn); border-color: oklch(0.80 0.14 80 / .45); }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-muted); }
.price-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.compare { color: var(--fg-muted); text-decoration: line-through; font-size: 14px; font-weight: 500; }
.dots { display: flex; gap: 5px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid oklch(0.5 0.01 250); }

.stars { display: inline-flex; gap: 1px; color: oklch(0.4 0.01 250); }
.stars span { display: inline-flex; }
.stars svg { width: var(--s); height: var(--s); }
.stars .on { color: oklch(0.80 0.15 80); }

/* ---------- USPs ---------- */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usp { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.usp::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 120px at 0 0, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .3s; }
.usp:hover::after { opacity: 1; }
.usp-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.usp h3 { font-size: 20px; }
.usp p { margin: 0; color: var(--fg-muted); font-size: 14.5px; }

/* ---------- Instalación ---------- */
.install-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.install-step { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.install-step .install-art { width: 100%; max-width: 150px; height: auto; align-self: center; }
.install-step .n { font-family: var(--head-font); font-weight: 700; color: var(--accent); font-size: 14px; }
.install-step h3 { font-size: 19px; }
.install-step p { margin: 0; color: var(--fg-muted); font-size: 14px; }
.ia-wipe { animation: wipe 1.6s ease-in-out infinite; }
.ia-sparkle { animation: sparkle 1.6s ease-in-out infinite; }
.ia-prime { stroke-dasharray: 60; animation: prime 2s ease-in-out infinite; }
.ia-press { animation: press 2s ease-in-out infinite; }
.ia-arrows { animation: arrows 2s ease-in-out infinite; }
.ia-hand { transform-origin: 16px 16px; animation: spin 2.4s linear infinite; }
@keyframes wipe { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(6px); } }
@keyframes sparkle { 0%, 40% { opacity: 0; } 60% { opacity: 1; } 100% { opacity: 0; } }
@keyframes prime { 0% { stroke-dashoffset: 60; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes press { 0% { transform: translateY(-26px); opacity: 0; } 35% { opacity: 1; } 55%, 100% { transform: translateY(-12px); } }
@keyframes arrows { 0%, 50% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reseñas ---------- */
.reviews-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating-big { font-family: var(--head-font); font-size: 44px; font-weight: 700; line-height: 1; }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.review-card h4 { margin: 0; font-size: 15.5px; }
.review-card p { margin: 0; color: var(--fg-muted); font-size: 14px; white-space: pre-line; }
.review-meta { font-size: 12.5px; color: var(--fg-muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.verified { color: var(--ok); font-weight: 700; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; width: 0; }
.rating-input label { cursor: pointer; color: oklch(0.4 0.01 250); }
.rating-input label svg { width: 28px; height: 28px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: oklch(0.80 0.15 80); }
.rating-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--accent); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--fg-muted); font-size: 14.5px; white-space: pre-line; }

/* ---------- Newsletter / Solicitud ---------- */
.band { background: linear-gradient(120deg, oklch(0.64 0.2 27 / .18), oklch(0.64 0.2 27 / .04)); border: 1px solid oklch(0.64 0.2 27 / .3); border-radius: 14px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.band h2 { font-size: 30px; margin-bottom: 8px; }
.band p { margin: 0; color: var(--fg-muted); }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { flex: 1; min-width: 0; }
.code-box { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 700; letter-spacing: .1em; border: 2px dashed var(--accent); border-radius: 8px; padding: 10px 16px; text-align: center; color: var(--accent); }

/* ---------- Catálogo v2 ---------- */
.cat-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.select { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; font-size: 14px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.az a, .az span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 700; }
.az a { background: var(--card); border: 1px solid var(--border); }
.az a:hover { border-color: var(--accent); color: var(--accent); }
.az span { color: oklch(0.38 0.01 250); }
.brand-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 24px; }
.brand-group h3 { font-size: 20px; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: baseline; }
.brand-group h3 small { font-family: var(--body-font); font-size: 12px; color: var(--fg-muted); font-weight: 600; }
.brand-group a { display: block; font-size: 14px; color: var(--fg-muted); padding: 3px 0; }
.brand-group a:hover { color: var(--accent); }

/* ---------- Ficha v2 ---------- */
.gallery-main { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); aspect-ratio: 1 / 1; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main .ph { font-size: 15px; }
.gallery-main .zoom { cursor: zoom-in; transition: transform .2s; }
.thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb { position: relative; }
.thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .35); }
.thumb .play svg { width: 18px; height: 18px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { border: 1px solid var(--border); background: var(--bg); border-radius: 999px; padding: 7px 14px 7px 8px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--fg-muted); }
.swatch .dot { width: 18px; height: 18px; }
.swatch.is-active { border-color: var(--accent); color: var(--fg); box-shadow: 0 0 0 3px var(--accent-soft); }
.opt-label { font-size: 13px; font-weight: 700; color: var(--fg-muted); }
.opt-label b { color: var(--fg); font-weight: 600; }
.variants { display: flex; flex-wrap: wrap; gap: 6px; }
.variants span { font-size: 12.5px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 4px 9px; }
.avail { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; padding: 12px 14px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border); }
.avail .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-top: 5px; box-shadow: 0 0 0 0 oklch(0.72 0.15 150 / .6); animation: pulse 1.8s infinite; flex-shrink: 0; }
.avail.mto .pulse { background: var(--warn); box-shadow: 0 0 0 0 oklch(0.80 0.14 80 / .6); }
.avail.out .pulse { background: var(--danger); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.upsell { border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.upsell h4 { margin: 0; font-size: 14px; }
.upsell label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.upsell label input { accent-color: var(--accent); width: 18px; height: 18px; }
.upsell label .price { margin-left: auto; font-size: 14px; }
.mini-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.mini-trust div { display: flex; gap: 8px; align-items: center; }
.mini-trust svg { color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.acc details[open] summary::after { content: '−'; }
.acc details > div { padding: 0 0 14px; color: var(--fg-muted); font-size: 14.5px; white-space: pre-line; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: oklch(0.19 0.007 250 / .96); backdrop-filter: blur(8px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.sticky-buy .t-thumb { width: 44px; height: 44px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.sticky-buy .t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sticky-buy .info { min-width: 0; flex: 1; }
.sticky-buy .info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .info span { font-size: 13px; color: var(--fg-muted); }

/* ---------- Cajón del carrito ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg-alt); border-left: 1px solid var(--border); z-index: 81; transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.ship-progress { font-size: 13px; color: var(--fg-muted); }
.ship-progress .bar { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; margin-top: 8px; }
.ship-progress .bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.d-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.d-line .t-thumb { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; background: var(--card); }
.d-line .t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-line .t-thumb .ph { font-size: 8px; padding: 2px; }
.d-line strong { font-size: 14.5px; display: block; }
.d-line small { color: var(--fg-muted); font-size: 12.5px; }
.d-line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.link-btn { background: none; border: 0; color: var(--fg-muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- Páginas de ayuda ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.help-card svg { color: var(--accent); }
.help-card h3 { font-size: 20px; }
.help-card p { margin: 0; color: var(--fg-muted); font-size: 14.5px; white-space: pre-line; }
.tip { border-left: 3px solid var(--accent); background: var(--card); padding: 14px 16px; border-radius: 0 8px 8px 0; color: var(--fg-muted); font-size: 14.5px; }

/* ---------- Revelado al hacer scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media (max-width: 960px) {
  .hero2 .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .trust2 .wrap { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: 1fr 1fr; }
  .usps { grid-template-columns: 1fr 1fr; }
  .install-row { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 24px; }
  .carousel-track { grid-auto-columns: minmax(220px, 46%); }
  .nav .hide-md { display: none; }
}
@media (max-width: 720px) {
  .usps { grid-template-columns: 1fr; }
  .trust-item span { display: none; }
  .carousel-track { grid-auto-columns: 72%; gap: 14px; }
  .marquee a { font-size: 20px; }
  .hero-stats strong { font-size: 24px; }
  .mini-trust { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .nav { gap: 10px; }
  .sticky-buy .info span { display: none; }
  .hud-meta { display: none; }
}
