/* Tienda FIXU: diseño propio, primero para celular. Colores de la marca, fondos suaves, animaciones breves que respetan
   «reducir movimiento». */
@font-face { font-family: "Inter"; src: url("InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e3e8f1; --page: #f3f5fa; --surface: #fff; --soft: #f6f8fc;
  --brand: #2347e0; --brand-600: #1b37c0; --brand-50: #eef2ff; --brand-100: #dfe6ff; --navy: #0b1530; --navy-2: #172656;
  --accent: #ff6b2c; --ok: #0d8f50; --ok-50: #e6f7ee; --warn: #a15c07; --warn-50: #fff4e0; --off: #64748b; --off-50: #eef1f5;
  --wa: #1faa59; --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 1px 2px #0f172a0d, 0 6px 18px #0f172a0f; --shadow-lg: 0 18px 44px #0b153029; --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: white; color: var(--brand); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; border-radius: 8px; }
.ic { width: 1.4em; height: 1.4em; flex: none; }
.ic-inline { width: 1.1em; height: 1.1em; vertical-align: -.2em; }
.wrap { width: min(100%, 1240px); margin: 0 auto; padding: 0 16px 48px; }

/* Aviso superior */
.announce { padding: 8px 16px; background: var(--accent); color: white; font-weight: 650; font-size: .9rem; text-align: center; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 30; background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 70%, #23317a 100%); color: white; box-shadow: 0 4px 18px #0b15302e; }
.top-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 14px; width: min(100%, 1240px); margin: 0 auto; padding: 10px 16px; }
.logo img { width: 70px; height: auto; }
.search { position: relative; display: flex; grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.search input { width: 100%; min-height: 46px; padding: 0 52px 0 18px; border: 0; border-radius: 999px; background: white; color: var(--ink); font-size: 1rem; box-shadow: inset 0 0 0 1px #ffffff40; }
.search input::placeholder { color: #8391a7; }
.search input::-webkit-search-cancel-button { display: none; }
.search > button { position: absolute; right: 5px; top: 5px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--brand); color: white; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.search > button:hover { background: var(--brand-600); transform: scale(1.06); }
.search > button .ic { width: 1.15em; height: 1.15em; }
.top-actions { display: flex; gap: 6px; justify-self: end; }
.top-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px; border-radius: 12px; color: #dfe7ff; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s; }
.top-link:hover { background: #ffffff1a; color: white; }
.top-link span { display: none; }
.cats { background: white; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cats-in { display: flex; gap: 6px; width: min(100%, 1240px); margin: 0 auto; padding: 8px 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cats-in::-webkit-scrollbar { display: none; }
.cat { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 36px; padding: 6px 13px; border-radius: 999px; background: var(--soft); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .88rem; white-space: nowrap; scroll-snap-align: start; transition: background .2s, color .2s, transform .2s var(--ease); }
.cat .ic { width: 1.1em; height: 1.1em; color: var(--brand); }
.cat:hover { background: var(--brand-50); color: var(--brand-600); transform: translateY(-1px); }
.cat-hot { background: var(--brand); color: white; }
.cat-hot .ic { color: white; }
.cat-hot:hover { background: var(--brand-600); color: white; }

/* Sugerencias del buscador */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; max-height: min(70vh, 460px); overflow: auto; padding: 6px; border-radius: 16px; background: white; color: var(--ink); box-shadow: var(--shadow-lg); animation: pop .16s var(--ease); }
.suggest[hidden] { display: none; }
.suggest h3 { padding: 8px 10px 4px; color: var(--muted); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; text-decoration: none; }
.suggest a[aria-selected="true"], .suggest a:hover { background: var(--brand-50); }
.suggest .s-img { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); object-fit: contain; display: grid; place-items: center; color: var(--brand); }
.suggest .s-name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.suggest small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.suggest .s-price { font-weight: 750; font-size: .9rem; }
.suggest .s-all { display: block; padding: 10px; text-align: center; color: var(--brand); font-weight: 700; }

/* Carrusel principal */
.hero { position: relative; width: min(100%, 1240px); margin: 14px auto 0; padding: 0 16px; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); scroll-behavior: smooth; }
.hero-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; min-height: clamp(300px, 46vw, 430px); display: grid; align-items: end; overflow: hidden; scroll-snap-align: start; color: white; isolation: isolate; }
.slide-azul { background: radial-gradient(120% 120% at 85% 15%, #6f95ff 0%, #2f56ea 38%, #1b37c0 70%, #13227a 100%); }
.slide-noche { background: radial-gradient(120% 120% at 85% 20%, #4a3da8 0%, #22306b 45%, #0b1530 100%); }
.slide-naranja { background: radial-gradient(120% 120% at 85% 20%, #ffc163 0%, #ff8a3d 40%, #ec5a1c 100%); }
.slide-verde { background: radial-gradient(120% 120% at 85% 20%, #5ee2a9 0%, #13a866 45%, #0a6d42 100%); }
.slide-morado { background: radial-gradient(120% 120% at 85% 20%, #e879f9 0%, #a034e6 45%, #5b21b6 100%); }
.slide picture, .slide > picture img { position: absolute; inset: 0; z-index: -2; }
.slide picture img { width: 100%; height: 100%; object-fit: cover; }
.slide-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b1530cc 0%, #0b153066 45%, #0b153000 75%), linear-gradient(0deg, #0b153099, #0b153000 50%); }
.slide-copy { display: grid; gap: 12px; justify-items: start; max-width: 34rem; padding: clamp(22px, 5vw, 56px); }
.slide-copy h2 { font-size: clamp(1.75rem, 5.2vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 18px #0b153030; }
.slide-copy p { max-width: 30rem; color: #ffffffe0; font-size: clamp(.98rem, 1.8vw, 1.15rem); text-wrap: pretty; }
.slide-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.art-phone { position: absolute; right: clamp(-40px, 4vw, 70px); top: 50%; width: clamp(120px, 22vw, 210px); aspect-ratio: 9 / 18; transform: translateY(-50%) rotate(-12deg); border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #ffffff40, #ffffff12); box-shadow: 0 30px 60px #0000004d, inset 0 0 0 1.5px #ffffff59; backdrop-filter: blur(4px); animation: float 7s ease-in-out infinite; }
.art-screen { position: relative; display: grid; place-items: center; height: 100%; border-radius: 24px; background: linear-gradient(170deg, #ffffff38, #ffffff0d); overflow: hidden; }
.art-screen::before { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 40%, #ffffff55 50%, transparent 60%); animation: shine 4.8s ease-in-out infinite; }
.art-dot { position: absolute; top: 10px; width: 34%; height: 7px; border-radius: 99px; background: #0b153059; }
.art-glyph { width: 46%; height: auto; color: white; stroke-width: 1.5; filter: drop-shadow(0 6px 14px #0000004d); }
.art-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: float 9s ease-in-out infinite; }
.art-a { right: 30%; top: 12%; width: 70px; height: 70px; background: #ffffff40; animation-delay: -2s; }
.art-b { right: 6%; bottom: 10%; width: 110px; height: 110px; background: #ffffff26; animation-delay: -5s; }
.art-ring { position: absolute; right: 12%; top: 18%; width: clamp(160px, 30vw, 300px); aspect-ratio: 1; border-radius: 50%; border: 2px dashed #ffffff40; animation: spin 40s linear infinite; }
.hero-ui { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.hero-dots { display: flex; gap: 7px; padding: 7px 10px; border-radius: 99px; background: #0b153040; backdrop-filter: blur(6px); }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #ffffff8c; cursor: pointer; transition: width .35s var(--ease), background .3s; }
.hero-dots button[aria-selected="true"] { width: 26px; background: white; }
.hero-btn { display: none; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ffffffd9; color: var(--navy); cursor: pointer; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.hero-btn:hover { transform: scale(1.08); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 14px; background: var(--brand); color: white; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px #2347e033; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 10px 22px #2347e040; }
.btn:active { transform: scale(.98); }
.btn-light { background: white; color: var(--brand-600); box-shadow: 0 10px 24px #0b153033; }
.btn-light:hover { background: #f3f6ff; color: var(--brand-600); }
.btn-ghost { background: white; color: var(--brand-600); box-shadow: inset 0 0 0 1.5px var(--brand-100); }
.btn-ghost:hover { background: var(--brand-50); box-shadow: inset 0 0 0 1.5px #c6d3ff; }
.btn-wa { background: var(--wa); box-shadow: 0 6px 16px #1faa5933; }
.btn-wa:hover { background: #178d49; box-shadow: 0 10px 22px #1faa5940; }
.btn-icon { width: 46px; padding: 0; background: var(--soft); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.btn-icon:hover { background: var(--brand-50); color: var(--brand); }

/* Cotizador */
.quote { position: relative; display: grid; gap: 16px; margin-top: 22px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%); box-shadow: var(--shadow), inset 0 0 0 1px var(--brand-100); overflow: visible; }
.quote::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--brand), #7c9bff, var(--accent)); }
.kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: .8rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.quote h2 { margin-top: 6px; font-size: clamp(1.35rem, 3.4vw, 1.9rem); font-weight: 800; }
.quote-copy p { margin-top: 6px; color: var(--muted); }
.quote-form { display: grid; gap: 8px; }
.quote-form label { font-weight: 700; font-size: .9rem; }
.quote-field { position: relative; }
.quote-field > .ic { position: absolute; left: 14px; top: 13px; color: var(--muted); width: 1.2em; height: 1.2em; }
.quote-field input { width: 100%; min-height: 50px; padding: 0 14px 0 44px; border: 1.5px solid #cfd8ea; border-radius: 14px; background: white; font-size: 1.02rem; transition: border-color .2s, box-shadow .2s; }
.quote-field input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px #2347e01f; }
.quote-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.quote-brands a { padding: 6px 11px; border-radius: 99px; background: white; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.quote-brands a:hover { background: var(--brand-50); color: var(--brand-600); }

/* Mosaico de categorías */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.tile { display: grid; gap: 4px; justify-items: start; padding: 14px; border-radius: var(--r); background: white; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-50), #fff); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-100); }
.tile strong { font-size: .98rem; line-height: 1.25; }
.tile small { color: var(--muted); font-weight: 500; }

/* Rieles */
.rail { margin-top: 30px; }
.rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rail-head h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 800; }
.rail-head a { color: var(--brand); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.rail-wrap { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 38%; z-index: 2; display: none; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: white; color: var(--ink); box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s var(--ease), opacity .2s; }
.rail-btn:hover { transform: scale(1.08); }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail-prev { left: -14px; }
.rail-next { right: -14px; }

/* Tarjeta de producto */
.card { min-width: 0; border-radius: var(--r); background: white; box-shadow: var(--shadow); overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-link { display: grid; height: 100%; text-decoration: none; }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(circle at 50% 35%, #ffffff, #f1f4fa 75%); overflow: hidden; }
.card-media img { width: 86%; height: 86%; object-fit: contain; transition: transform .45s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-ph { display: grid; place-items: center; width: 100%; height: 100%; color: #b7c3dc; }
.ic-ph { width: 38%; height: 38%; stroke-width: 1.3; }
.card-link { grid-template-rows: auto 1fr; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 11px 12px 14px; }
.card-body .pill { align-self: flex-start; }
.card-body .price { margin-top: auto; }
.card-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .93rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; min-height: 2.6em; }
.card-models { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-disponible { background: var(--ok-50); color: var(--ok); }
.pill-ultimas { background: var(--warn-50); color: var(--warn); }
.pill-agotado { background: var(--off-50); color: var(--off); }

/* Resultados */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 6px; color: var(--muted); font-size: .86rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.results-head { display: grid; gap: 12px; margin: 8px 0 16px; }
.results-head h1 { font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; }
.results-head p { color: var(--muted); margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters select { min-height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; font-weight: 600; font-size: .9rem; max-width: 100%; }
.switch { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 12px; background: white; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9rem; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--brand); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; color: var(--muted); font-weight: 600; }
.pager a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: white; box-shadow: var(--shadow); color: var(--brand-600); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: white; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-weight: 600; font-size: .88rem; text-decoration: none; transition: background .2s, color .2s; }
a.chip:hover { background: var(--brand-50); color: var(--brand-600); }
.chip-static { background: var(--soft); }
.empty { display: grid; justify-items: center; gap: 10px; margin: 24px auto; padding: 36px 20px; max-width: 560px; border-radius: var(--r-lg); background: white; box-shadow: var(--shadow); text-align: center; }
.empty p { color: var(--muted); }
.ic-big { width: 54px; height: 54px; color: var(--brand); padding: 12px; border-radius: 18px; background: var(--brand-50); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

/* Ficha de producto */
.pdp { display: grid; gap: 18px; margin-top: 8px; }
.pdp-media { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 30%, #fff, #eef2f9 80%); box-shadow: var(--shadow); overflow: hidden; }
.pdp-media img { width: 84%; height: 84%; object-fit: contain; }
.pdp-info { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: white; box-shadow: var(--shadow); }
.pdp-info h1 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; text-wrap: balance; }
.pdp-price { font-size: clamp(1.8rem, 4.4vw, 2.4rem); font-weight: 850; letter-spacing: -.03em; }
.pdp-block { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.pdp-block h2 { font-size: .9rem; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.pdp-meta, .pdp-desc { color: var(--ink-2); }
.stores { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stores li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-weight: 600; }
.stores .ic { color: var(--brand); }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.pdp-actions .btn:not(.btn-icon) { flex: 1 1 200px; }
.perks { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .92rem; }
.perks .ic { color: var(--ok); }

/* Reparaciones */
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.brand { display: grid; gap: 2px; padding: 16px; border-radius: var(--r); background: white; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.brand:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand strong { font-size: 1.05rem; }
.brand small { color: var(--muted); }
.filter-models { position: relative; display: flex; align-items: center; }
.filter-models .ic { position: absolute; left: 12px; color: var(--muted); width: 1.1em; }
.filter-models input { width: 100%; min-height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.models a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border-radius: 14px; background: white; box-shadow: var(--shadow); text-decoration: none; font-weight: 600; transition: transform .2s var(--ease), background .2s; }
.models a:hover { transform: translateX(3px); background: var(--brand-50); }
.models .ic { color: var(--brand); }
.models small { color: var(--muted); font-weight: 600; }
.model-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy), var(--navy-2) 60%, #2a3a8c); color: white; box-shadow: var(--shadow-lg); }
.model-head h1 { font-size: clamp(1.4rem, 3.6vw, 2.1rem); font-weight: 800; }
.model-head p:last-child { color: #c9d4f2; margin-top: 4px; }
.model-head .kicker { color: #9fb6ff; }
.model-ic { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; background: #ffffff1f; }
.repairs { display: grid; gap: 12px; }
.repair { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-lg); background: white; box-shadow: var(--shadow); scroll-margin-top: 140px; }
.repair h2 { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; font-weight: 800; }
.repair h2 .ic { color: var(--brand); }
.options { display: grid; gap: 8px; }
.option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); cursor: pointer; transition: background .2s, box-shadow .2s; }
.option input { width: 20px; height: 20px; accent-color: var(--brand); }
.option span { display: grid; gap: 2px; }
.option small { color: var(--muted); font-size: .82rem; }
.option b { font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
.option:has(input:checked) { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand); }
.repair-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Accesos a cada tipo de reparación y barra fija con la reparación elegida. */
.jump { position: sticky; top: var(--top-h, 112px); z-index: 5; display: flex; gap: 6px; margin: 0 -16px 12px; padding: 8px 16px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--page) 70%, #f3f5fa00); }
.jump::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px; border-radius: 99px; background: white; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-weight: 650; font-size: .85rem; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.jump a .ic { color: var(--brand); }
.jump a:hover { background: var(--brand-50); color: var(--brand-600); }
.wrap-bar { padding-bottom: 110px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: #ffffffeb; backdrop-filter: blur(12px); box-shadow: 0 -8px 30px #0b153024; transform: translateY(0); transition: transform .35s var(--ease); }
.bar-in { display: flex; align-items: center; gap: 10px; width: min(100%, 1240px); margin: 0 auto; }
.bar-text { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.bar-text span { overflow: hidden; color: var(--muted); font-size: .86rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.bar-text strong { font-size: 1.25rem; font-weight: 850; letter-spacing: -.02em; }
.bar-text strong:empty { display: none; }
.bar .btn-wa { flex: none; }
body:not(.bar-ready) .bar .btn-wa { opacity: .55; pointer-events: none; box-shadow: none; }
body.bar-ready .bar-text span { color: var(--ink); }
.repair-actions .btn { flex: 1 1 220px; }

/* Confianza */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.trust div { display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: white; box-shadow: var(--shadow); }
.trust .ic { color: var(--brand); width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--brand-50); }
.trust strong { margin-top: 6px; }
.trust span { color: var(--muted); font-size: .9rem; }

/* Garantía y factura */
.policy { display: grid; gap: 12px; }
.policy article { display: grid; gap: 8px; padding: 18px; border-radius: var(--r-lg); background: white; box-shadow: var(--shadow); }
.policy h2 { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; font-weight: 800; }
.policy h2 .ic { color: var(--brand); }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }

/* Pie */
.foot { margin-top: 40px; background: var(--navy); color: #c8d3ee; }
.foot-in { display: grid; gap: 24px; width: min(100%, 1240px); margin: 0 auto; padding: 32px 16px 18px; }
.foot h2 { margin-bottom: 8px; color: white; font-size: 1rem; }
.foot nav, .foot section { display: grid; gap: 6px; align-content: start; }
.foot a { color: #c8d3ee; text-decoration: none; }
.foot a:hover { color: white; text-decoration: underline; }
.foot-brand img { width: 80px; }
.foot-brand p { max-width: 26rem; margin-top: 8px; }
.social { display: flex; gap: 8px; margin-top: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #ffffff14; transition: background .2s, transform .2s var(--ease); }
.social a:hover { background: #ffffff26; transform: translateY(-2px); }
.foot-map { color: white !important; font-weight: 700; }
.foot-legal { width: min(100%, 1240px); margin: 0 auto; padding: 14px 16px 26px; border-top: 1px solid #ffffff1a; color: #8f9cc0; font-size: .82rem; }

/* Animaciones */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes shine { 0%, 55% { translate: -60% 0; } 100% { translate: 60% 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Tableta y computadora */
@media (min-width: 700px) {
  .top-in { grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px 20px; }
  .search { grid-column: 2; grid-row: 1; }
  .logo img { width: 84px; }
  .top-link span { display: inline; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .rail-track { grid-auto-columns: 210px; gap: 16px; }
  .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote { grid-template-columns: 1fr 1fr; align-items: center; padding: 28px; }
  .results-head { grid-template-columns: 1fr auto; align-items: end; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .hero-btn { display: grid; }
}
@media (min-width: 980px) {
  .rail-btn { display: grid; }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .pdp-media { position: sticky; top: 140px; }
  .rail-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
}
/* Teléfono: la ilustración del carrusel arriba a la derecha y el texto abajo; categorías en 4 columnas compactas. */
@media (max-width: 699px) {
  .hero { margin-top: 10px; }
  .slide { min-height: 360px; }
  .art-phone { top: 18px; right: 18px; width: 96px; transform: rotate(-10deg); border-radius: 22px; padding: 6px; }
  .art-screen { border-radius: 17px; }
  .art-ring { width: 170px; right: -30px; top: -24px; }
  .art-a { right: 42%; top: 10%; width: 44px; height: 44px; }
  .art-b { right: -18px; top: 150px; bottom: auto; width: 84px; height: 84px; }
  .slide-copy { gap: 10px; padding: 150px 20px 52px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .tile { justify-items: center; gap: 6px; padding: 12px 4px 10px; text-align: center; }
  .tile-ic { width: 44px; height: 44px; margin: 0; border-radius: 14px; }
  .tile strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .74rem; font-weight: 650; line-height: 1.2; }
  .tile small { display: none; }
  .quote { margin-top: 16px; padding: 18px 16px; }
}
@media (max-width: 380px) {
  .grid { gap: 8px; }
  .card-body { padding: 9px 10px 12px; }
  .price { font-size: 1.1rem; }
}
