/* ============================================================
   JONSON — B2B accesorios móvil · hoja de estilos única
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --blue-50: #F5F8FF; --blue-100: #EEF4FF; --blue-200: #D6E4FF; --blue-300: #A9C4FA;
  --blue-500: #1A6FE8; --blue-600: #0B57D0; --blue-700: #0842A0; --blue-800: #06306F;
  --navy: #0A2540; --navy-800: #12345E; --navy-900: #061A30;
  --accent: #F04E23; --accent-2: #F5A623;
  --green: #16A34A; --green-100: #DCFCE7; --red: #DC2626; --red-100: #FEE2E2; --amber: #D97706; --amber-100: #FEF3C7;
  --g-50: #F8FAFC; --g-100: #F1F5F9; --g-200: #E2E8F0; --g-300: #CBD5E1; --g-400: #94A3B8; --g-500: #64748B; --g-600: #475569; --g-700: #334155; --g-800: #1E293B; --g-900: #0F172A;
  --bg: #FFFFFF; --bg-soft: #F6F8FB; --text: #0F172A; --muted: #64748B; --border: #E2E8F0;
  --radius: 10px; --radius-sm: 6px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06); --shadow: 0 4px 16px rgba(15,23,42,.08); --shadow-lg: 0 16px 40px rgba(6,26,48,.18);
  --font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1280px; --header-h: 64px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
@media (min-width: 1024px) { body { font-size: 15px; } }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.1rem; } h4 { font-size: 1rem; }
@media (min-width: 768px) { h1 { font-size: 2.1rem; } h2 { font-size: 1.65rem; } }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hide-mobile { display: none !important; }
@media (min-width: 1024px) { .hide-mobile { display: initial !important; } .hide-desktop { display: none !important; } }
.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.i.lg { width: 1.6em; height: 1.6em; }
.i.xl { width: 2.2em; height: 2.2em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s; text-decoration: none !important; min-height: 42px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-accent:hover { filter: brightness(1.06); }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-800); }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-300); }
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-500); }
.btn-ghost { background: transparent; color: var(--g-700); }
.btn-ghost:hover { background: var(--g-100); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); }
.btn-sm { padding: 7px 12px; font-size: .9em; min-height: 34px; }
.btn-lg { padding: 14px 26px; font-size: 1.05em; min-height: 50px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-icon { padding: 8px; min-width: 40px; min-height: 40px; border-radius: 50%; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.badge-new { background: var(--blue-600); color: #fff; }
.badge-sale { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.badge-top { background: var(--navy); color: #fff; }
.badge-universal { background: var(--g-100); color: var(--g-600); }
.badge-magsafe { background: var(--blue-100); color: var(--blue-700); }
.badge-stock { background: var(--green-100); color: #166534; }
.badge-low { background: var(--amber-100); color: #92400E; }
.badge-out { background: var(--red-100); color: #991B1B; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--g-700); font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: all .15s; text-decoration: none !important; }
.chip:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.chip.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chip .x { font-size: 15px; line-height: 1; opacity: .7; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips.scroll::-webkit-scrollbar { display: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 13px; color: var(--g-700); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .select, .textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--g-300); border-radius: var(--radius-sm); background: #fff; min-height: 42px; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-200); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px; }
.textarea { min-height: 110px; resize: vertical; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400 !important; padding: 4px 0; }
.check input { width: 16px; height: 16px; accent-color: var(--blue-600); margin: 0; }
.form-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--g-300); border-radius: var(--radius-sm); overflow: hidden; background: #fff; height: 40px; }
.qty button { width: 36px; border: 0; background: var(--g-50); color: var(--g-700); font-size: 18px; font-weight: 600; }
.qty button:hover { background: var(--blue-100); color: var(--blue-700); }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 34px; } .qty.sm button { width: 30px; } .qty.sm input { width: 42px; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #C9D6E8; font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar ul { display: flex; gap: 18px; align-items: center; }
.topbar li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar a { color: inherit; }
.topbar .tb-promo { color: #fff; font-weight: 600; }
.topbar .tb-promo b { color: var(--accent-2); }
@media (max-width: 1023px) { .topbar .tb-contact, .topbar .tb-delivery { display: none; } .topbar .container { justify-content: center; text-align: center; padding: 8px 16px; min-height: 0; } .topbar .tb-promo { font-size: 12px; white-space: normal; line-height: 1.45; } }

.header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--border); }
.header.scrolled { box-shadow: var(--shadow); }
.mainbar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 52px; } }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: transparent; border-radius: var(--radius-sm); color: var(--navy); }
.burger:hover { background: var(--g-100); }
.search { flex: 1; position: relative; }
.search form { display: flex; border: 2px solid var(--blue-200); border-radius: 999px; overflow: hidden; background: #fff; transition: border-color .15s; }
.search form:focus-within { border-color: var(--blue-500); }
.search input { flex: 1; border: 0; padding: 9px 16px; min-width: 0; background: transparent; }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--blue-600); color: #fff; padding: 0 16px; display: flex; align-items: center; }
.search button:hover { background: var(--blue-700); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 70; overflow: hidden; display: none; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: var(--text); border-bottom: 1px solid var(--g-100); }
.suggest a:hover { background: var(--blue-50); text-decoration: none; }
.suggest img { width: 40px; height: 40px; object-fit: contain; border-radius: 4px; background: var(--g-50); }
.suggest .t { flex: 1; min-width: 0; } .suggest .t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .suggest .t span { font-size: 12px; color: var(--muted); }
.suggest .p { font-weight: 700; color: var(--blue-700); white-space: nowrap; }
.suggest .all { display: block; padding: 10px; text-align: center; font-weight: 600; color: var(--blue-600); background: var(--g-50); }
.actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.action { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 44px; height: 46px; padding: 0 8px; border-radius: var(--radius-sm); color: var(--navy); font-size: 11px; font-weight: 600; text-decoration: none !important; border: 0; background: transparent; }
.action:hover { background: var(--g-100); }
.action .i { width: 22px; height: 22px; }
.action .count { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.action .count:empty, .action .count.zero { display: none; }
@media (max-width: 1023px) { .search { display: none; } .header.search-open .search { display: block; position: absolute; left: 0; right: 0; top: var(--header-h); padding: 10px 16px 12px; background: #fff; box-shadow: var(--shadow); } .action span.lbl { display: none; } }
@media (min-width: 1024px) { .burger, .action.search-toggle { display: none; } }

/* mini cart */
.minicart { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 70; padding: 12px; display: none; text-align: left; }
.cart-wrap { position: relative; }
@media (min-width: 1024px) { .cart-wrap:hover .minicart, .minicart.open { display: block; } }
.minicart h4 { margin: 0 0 8px; font-size: 14px; }
.minicart .rows { max-height: 260px; overflow: auto; }
.minicart .row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--g-100); font-weight: 400; font-size: 13px; }
.minicart .row img { width: 46px; height: 46px; object-fit: contain; border-radius: 4px; background: var(--g-50); }
.minicart .row .t { flex: 1; min-width: 0; } .minicart .row .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; } .minicart .row .t span { color: var(--muted); font-size: 12px; }
.minicart .tot { display: flex; justify-content: space-between; padding: 10px 0; font-weight: 700; }
.minicart .empty { padding: 16px; text-align: center; color: var(--muted); font-weight: 400; }

/* nav */
.nav { border-top: 1px solid var(--g-100); display: none; }
@media (min-width: 1024px) { .nav { display: block; } }
.nav > .container > ul { display: flex; align-items: stretch; gap: 4px; }
.nav li.item { position: relative; }
.nav li.item > a { display: flex; align-items: center; gap: 6px; padding: 12px 14px; color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none !important; border-bottom: 3px solid transparent; }
.nav li.item > a:hover, .nav li.item.open > a { color: var(--blue-600); border-bottom-color: var(--blue-600); }
.nav li.item > a.hl { color: var(--accent); }
.nav li.item.cats > a { background: var(--blue-600); color: #fff; border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding-left: 16px; padding-right: 16px; }
.nav li.item.cats > a:hover { background: var(--blue-700); color: #fff; }
.mega { position: absolute; left: 0; top: 100%; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--blue-600); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); padding: 20px; display: none; z-index: 65; }
.nav li.item:hover .mega, .nav li.item.open .mega { display: grid; }
.mega.cats { width: 900px; grid-template-columns: repeat(4, 1fr); gap: 18px 24px; }
.mega.cats .col h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; }
.mega.cats .col h4 a { color: var(--navy); }
.mega.cats .col h4 .i { color: var(--blue-600); }
.mega.cats .col li a { display: block; padding: 4px 0; color: var(--g-600); font-size: 13px; }
.mega.cats .col li a:hover { color: var(--blue-600); }
.mega.brands { width: 980px; grid-template-columns: 180px 1fr; gap: 0; padding: 0; overflow: hidden; }
.mega.brands .list { background: var(--g-50); padding: 10px 0; border-right: 1px solid var(--border); }
.mega.brands .list button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; border: 0; background: transparent; text-align: left; font-weight: 600; color: var(--g-700); }
.mega.brands .list button.active, .mega.brands .list button:hover { background: #fff; color: var(--blue-600); }
.mega.brands .models { padding: 18px 22px; }
.mega.brands .models h4 { font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.mega.brands .models ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
.mega.brands .models li a { display: block; padding: 5px 0; color: var(--g-600); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega.brands .models li a:hover { color: var(--blue-600); }
.mega.brands .models li a .badge { margin-left: 6px; font-size: 9px; padding: 1px 5px; }

/* mobile drawer */
.overlay { position: fixed; inset: 0; background: rgba(6,26,48,.55); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .2s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); background: #fff; z-index: 90; transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; overflow: hidden; }
.drawer.open { transform: translateX(0); }
.drawer .head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--navy); color: #fff; }
.drawer .head img { height: 36px; }
.drawer .head button { background: transparent; border: 0; color: #fff; display: flex; padding: 6px; }
.drawer .body { overflow-y: auto; flex: 1; }
.drawer .sec { border-bottom: 1px solid var(--g-100); }
.drawer .sec > .lbl { padding: 12px 16px 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.drawer .acc > button { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 12px 16px; border: 0; background: transparent; font-weight: 600; color: var(--navy); text-align: left; }
.drawer .acc > button .lbl { flex: 1; text-align: left; min-width: 0; }
.drawer .acc > button small { font-weight: 400; margin-left: auto; margin-right: 8px; }
.drawer .acc > button .i.chev { transition: transform .2s; color: var(--g-400); }
.drawer .acc.open > button .i.chev { transform: rotate(180deg); }
.drawer .acc > ul { display: none; background: var(--g-50); padding: 4px 0 8px; }
.drawer .acc.open > ul { display: block; }
.drawer .acc > ul a { display: block; padding: 9px 16px 9px 44px; color: var(--g-700); }
.drawer .acc > ul a.all { color: var(--blue-600); font-weight: 600; }
.drawer .link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--navy); font-weight: 600; }
.drawer .foot { padding: 14px 16px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.drawer .foot .btn { flex: 1; }

/* ---------- Sections ---------- */
.section { padding: 36px 0; }
@media (min-width: 1024px) { .section { padding: 52px 0; } }
.section.soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.section-head .more { font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero .slides { display: flex; transition: transform .5s ease; }
.hero .slide { flex: 0 0 100%; min-height: 380px; position: relative; color: #fff; display: flex; align-items: center; }
.hero .slide .bg { position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% 50%, rgba(26,111,232,.55), transparent 60%), linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 45%, var(--blue-700) 100%); }
.hero .slide.s2 .bg { background: radial-gradient(900px 500px at 80% 40%, rgba(245,166,35,.35), transparent 60%), linear-gradient(120deg, #061A30 0%, #0A2540 50%, #0B57D0 100%); }
.hero .slide.s3 .bg { background: radial-gradient(900px 500px at 20% 80%, rgba(26,111,232,.5), transparent 60%), linear-gradient(120deg, var(--blue-800) 0%, var(--blue-600) 60%, var(--blue-500) 100%); }
.hero .slide .bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.hero .inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; padding: 36px 16px; width: 100%; }
.hero .copy .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.hero .copy h1 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.hero .copy p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 520px; }
.hero .copy .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero .art { position: relative; display: none; justify-content: center; align-items: center; }
.hero .art img { max-height: 340px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); border-radius: 16px; }
.hero .art .float { position: absolute; background: #fff; color: var(--navy); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero .art .float b { color: var(--blue-600); font-size: 16px; }
.hero .art .float.f1 { top: 10%; left: 0; } .hero .art .float.f2 { bottom: 12%; right: 0; }
@media (min-width: 768px) { .hero .inner { grid-template-columns: 1.1fr .9fr; padding: 48px 24px; } .hero .art { display: flex; } .hero .copy h1 { font-size: 2.6rem; } }
@media (min-width: 1024px) { .hero .slide { min-height: 480px; } .hero .copy h1 { font-size: 3rem; } .hero .art img { max-height: 400px; } }
.hero .dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); padding: 0; }
.hero .dots button.active { background: #fff; width: 26px; border-radius: 6px; }
.hero .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: none; align-items: center; justify-content: center; }
.hero .arrow:hover { background: rgba(255,255,255,.3); }
.hero .arrow.prev { left: 14px; } .hero .arrow.next { right: 14px; }
@media (min-width: 1024px) { .hero .arrow { display: flex; } }

/* usp */
.usp { background: #fff; border-bottom: 1px solid var(--border); }
.usp ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.usp li { display: flex; align-items: center; gap: 12px; padding: 14px 8px; font-size: 13px; }
.usp li .i { width: 28px; height: 28px; color: var(--blue-600); }
.usp li b { display: block; color: var(--navy); }
.usp li span { color: var(--muted); font-size: 12px; }
@media (min-width: 1024px) { .usp ul { grid-template-columns: repeat(4, 1fr); } .usp li { padding: 18px 12px; font-size: 14px; } }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(7, 1fr); gap: 14px; } }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--navy); font-weight: 600; transition: all .2s; text-decoration: none !important; }
.tile:hover { border-color: var(--blue-300); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--blue-700); }
.tile .img { width: 96px; height: 96px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile .img img { width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.tile small { color: var(--muted); font-weight: 400; font-size: 12px; }

/* brand row */
.brand-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .brand-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .brand-row { grid-template-columns: repeat(6, 1fr); } }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none !important; transition: all .2s; }
.brand-tile:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }
.brand-tile .wm { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -.02em; }
.brand-tile .wm.apple::before { content: ""; }
.brand-tile small { color: var(--muted); font-size: 12px; }

/* promo banners */
.promos { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .promos { grid-template-columns: 1fr 1fr; } }
.promo { position: relative; display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; min-height: 180px; }
.promo.blue { background: linear-gradient(120deg, var(--blue-800), var(--blue-500)); }
.promo.navy { background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); }
.promo.orange { background: linear-gradient(120deg, #B3361A, var(--accent)); }
.promo .txt { flex: 1; position: relative; z-index: 1; }
.promo .txt .kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.promo .txt h3 { color: #fff; font-size: 1.4rem; margin: 6px 0 8px; }
.promo .txt p { opacity: .85; margin-bottom: 14px; }
.promo img { width: 150px; height: 150px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,.9); padding: 8px; flex: none; }
@media (max-width: 480px) { .promo img { width: 100px; height: 100px; } }

/* stats / trust */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 18px; text-align: center; }
.stat b { display: block; font-size: 2rem; color: var(--blue-600); font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13px; }
.trust { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .trust { grid-template-columns: 1fr 1fr; gap: 48px; } }
.trust .lead { font-size: 1.05rem; color: var(--g-600); }
.trust ul.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.trust ul.ticks .i { color: var(--green); margin-top: 2px; }

/* steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px 22px; }
.step .n { position: absolute; top: -14px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); margin: 0; }

/* newsletter */
.newsletter { background: linear-gradient(120deg, var(--navy-900), var(--blue-800)); color: #fff; border-radius: var(--radius-lg); padding: 28px 22px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; padding: 36px; } }
.newsletter h2 { color: #fff; margin-bottom: 6px; }
.newsletter p { color: rgba(255,255,255,.8); margin: 0; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius-sm); border: 0; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid.cols-5 { grid-template-columns: repeat(5, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--blue-200); transform: translateY(-2px); }
.card .flags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.card .pic { display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.card:hover .pic img { transform: scale(1.04); }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .title { font-weight: 600; color: var(--navy); font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card .title:hover { color: var(--blue-600); text-decoration: none; }
.card .ref { font-size: 11.5px; color: var(--muted); }
.card .compat { font-size: 11.5px; color: var(--g-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .compat b { color: var(--g-600); font-weight: 600; }
.card .price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card .price .from { font-size: 11px; color: var(--muted); }
.card .price .v { font-size: 17px; font-weight: 800; color: var(--blue-700); }
.card .price .ud { font-size: 11px; color: var(--muted); }
.card .price .pvp { width: 100%; font-size: 11px; color: var(--muted); }
.card .price .pvp s { color: var(--g-400); }
.card .stock { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--g-600); }
.card .stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.card .stock.low::before { background: var(--amber); }
.card .stock.out::before { background: var(--red); }
.card .foot { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.card .foot .btn { flex: 1; padding: 8px 10px; min-height: 36px; font-size: 13px; }
.card .foot .qty { display: none; }
@media (min-width: 640px) { .card.simple .foot .qty { display: inline-flex; } }

/* list view */
.grid.list { grid-template-columns: 1fr; gap: 10px; }
.grid.list .card { flex-direction: row; align-items: stretch; }
.grid.list .card .pic { width: 130px; flex: none; aspect-ratio: auto; }
.grid.list .card .body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 12px 16px; }
.grid.list .card .body .t { flex: 1 1 260px; min-width: 0; }
.grid.list .card .title { -webkit-line-clamp: 1; min-height: 0; font-size: 15px; }
.grid.list .card .price { margin: 0; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 0; padding: 0; }
.grid.list .card .price .pvp { width: auto; }
.grid.list .card .foot { margin: 0; flex: 0 0 auto; }
.grid.list .card .foot .qty { display: inline-flex; }
@media (max-width: 640px) { .grid.list .card .pic { width: 100px; } .grid.list .card .body { padding: 10px; } }

/* product carousel row */
.row-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: thin; }
.row-scroll > * { flex: 0 0 calc(50% - 8px); scroll-snap-align: start; }
@media (min-width: 640px) { .row-scroll > * { flex-basis: calc(33.33% - 9px); } }
@media (min-width: 1024px) { .row-scroll > * { flex-basis: calc(20% - 10px); } }

/* ---------- Catálogo ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 14px 0 6px; }
.breadcrumb a { color: var(--g-600); }
.breadcrumb .sep { color: var(--g-300); }
.breadcrumb .cur { color: var(--navy); font-weight: 600; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 14px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head .count { color: var(--muted); }
.catalog { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
@media (min-width: 1024px) { .catalog { grid-template-columns: 260px 1fr; gap: 32px; } }
.sidebar { display: none; }
@media (min-width: 1024px) { .sidebar { display: block; position: sticky; top: calc(var(--header-h) + 52px); align-self: start; max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto; padding-right: 4px; } }
.fbox { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.fbox > button.h { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: transparent; border: 0; font-weight: 700; color: var(--navy); text-align: left; }
.fbox > button.h .i { color: var(--g-400); transition: transform .2s; }
.fbox.open > button.h .i { transform: rotate(180deg); }
.fbox .b { display: none; padding: 0 14px 12px; }
.fbox.open .b { display: block; }
.fbox .b .check { font-size: 13.5px; }
.fbox .b .check .n { margin-left: auto; color: var(--g-400); font-size: 12px; }
.cat-tree li a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--g-700); font-size: 13.5px; }
.cat-tree li a.active { color: var(--blue-600); font-weight: 700; }
.cat-tree li ul { padding-left: 14px; border-left: 2px solid var(--g-100); margin: 2px 0 6px 4px; }
.cat-tree li ul a { font-size: 13px; color: var(--g-600); padding: 4px 0; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.toolbar .left { display: flex; gap: 8px; align-items: center; flex: 1; }
.toolbar .select { width: auto; min-height: 38px; padding: 6px 32px 6px 10px; font-size: 13px; }
.toolbar .views { display: none; gap: 2px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
@media (min-width: 768px) { .toolbar .views { display: inline-flex; } }
.toolbar .views button { border: 0; background: #fff; padding: 7px 9px; color: var(--g-500); display: flex; }
.toolbar .views button.active { background: var(--blue-100); color: var(--blue-700); }
.toolbar .btn-filters { display: inline-flex; }
@media (min-width: 1024px) { .toolbar .btn-filters { display: none; } }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.pagination { display: flex; justify-content: center; gap: 6px; padding: 28px 0 8px; flex-wrap: wrap; }
.pagination button { min-width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; color: var(--g-700); font-weight: 600; }
.pagination button.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.pagination button[disabled] { opacity: .4; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .i { width: 56px; height: 56px; color: var(--g-300); margin-bottom: 12px; }
.subcats { margin-bottom: 14px; }
/* mobile filter sheet */
.sheet { position: fixed; inset: 0; z-index: 90; background: #fff; transform: translateY(100%); transition: transform .28s; display: flex; flex-direction: column; }
.sheet.open { transform: translateY(0); }
.sheet .head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sheet .head h3 { margin: 0; }
.sheet .body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.sheet .foot { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: #fff; }
.sheet .foot .btn { flex: 1; }
@media (min-width: 1024px) { .sheet { display: none; } }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1200px) { .product { grid-template-columns: 1.05fr .95fr; } }
.gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 72px 1fr; } }
.gallery .main { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; order: 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery .main .flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.gallery .thumbs { display: flex; gap: 8px; order: 2; overflow-x: auto; }
@media (min-width: 640px) { .gallery .thumbs { flex-direction: column; order: 0; overflow: visible; } }
.gallery .thumbs button { width: 72px; height: 72px; flex: none; border: 2px solid var(--border); border-radius: var(--radius-sm); background: #fff; padding: 4px; overflow: hidden; }
.gallery .thumbs button.active { border-color: var(--blue-600); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo .flags { display: flex; gap: 6px; margin-bottom: 10px; }
.pinfo h1 { font-size: 1.5rem; margin-bottom: 6px; }
@media (min-width: 1024px) { .pinfo h1 { font-size: 1.8rem; } }
.pinfo .sub { color: var(--muted); margin-bottom: 8px; }
.pinfo .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--g-600); margin-bottom: 16px; }
.pinfo .meta b { color: var(--navy); }
.pricebox { border: 1px solid var(--blue-200); background: var(--blue-50); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.pricebox .main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pricebox .main .v { font-size: 2rem; font-weight: 800; color: var(--blue-700); letter-spacing: -.02em; }
.pricebox .main .ud { color: var(--muted); }
.pricebox .main .pvp { margin-left: auto; font-size: 13px; color: var(--g-600); text-align: right; }
.pricebox .main .pvp b { display: block; color: var(--navy); font-size: 15px; }
.pricebox .margin { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px; background: var(--green-100); color: #166534; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pricebox .note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.tiers { margin-top: 12px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--blue-200); background: #fff; }
.tiers th, .tiers td { padding: 8px 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--g-100); }
.tiers th { background: var(--g-50); color: var(--g-600); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.tiers tr:last-child td { border-bottom: 0; }
.tiers td b { color: var(--blue-700); }
.tiers td .save { color: var(--green); font-weight: 700; }
.tiers tr.active td { background: var(--blue-100); }
.options .opt { margin-bottom: 14px; }
.options .opt label { display: flex; justify-content: space-between; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--g-700); }
.options .opt label span { font-weight: 400; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--g-700); }
.swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }
.swatch.active { border-color: var(--blue-600); color: var(--blue-700); background: var(--blue-50); }
.buybox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0 10px; }
.buybox .btn { flex: 1; min-width: 180px; }
.avail { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.avail .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.avail .dot.low { background: var(--amber); } .avail .dot.out { background: var(--red); }
.notes { display: grid; gap: 8px; margin-top: 14px; }
.notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--g-600); }
.notes li .i { color: var(--blue-600); margin-top: 2px; }
.matrix-wrap { border: 1px solid var(--border); border-radius: var(--radius); margin-top: 14px; overflow: hidden; }
.matrix-wrap > button.h { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 0; background: var(--g-50); font-weight: 700; color: var(--navy); text-align: left; }
.matrix-wrap > button.h .i { transition: transform .2s; color: var(--g-400); }
.matrix-wrap.open > button.h .i { transform: rotate(180deg); }
.matrix-wrap .b { display: none; }
.matrix-wrap.open .b { display: block; }
.matrix { font-size: 13px; }
.matrix th, .matrix td { padding: 7px 10px; border-bottom: 1px solid var(--g-100); text-align: left; vertical-align: middle; }
.matrix th { background: #fff; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); position: sticky; top: 0; }
.matrix td.q { width: 120px; }
.matrix .grp td { background: var(--blue-50); font-weight: 700; color: var(--navy); }
.matrix-scroll { max-height: 360px; overflow: auto; }
.matrix-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--g-50); border-top: 1px solid var(--border); flex-wrap: wrap; }
.matrix-foot .sum b { color: var(--blue-700); font-size: 15px; }
.tabs { margin-top: 10px; }
.tabs .tl { display: flex; gap: 2px; border-bottom: 2px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs .tl button { border: 0; background: transparent; padding: 12px 16px; font-weight: 600; color: var(--g-500); white-space: nowrap; margin-bottom: -2px; border-bottom: 2px solid transparent; }
.tabs .tl button.active { color: var(--blue-600); border-bottom-color: var(--blue-600); }
.tabs .tp { display: none; padding: 20px 4px; }
.tabs .tp.active { display: block; }
.specs { max-width: 640px; }
.specs th, .specs td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--g-100); font-size: 14px; }
.specs th { width: 38%; color: var(--g-600); font-weight: 600; background: var(--g-50); }
.compat-list { display: flex; flex-wrap: wrap; gap: 6px; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(15,23,42,.08); padding: 10px 16px; display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s; }
.stickybar.show { transform: translateY(0); }
.stickybar .p { flex: 1; } .stickybar .p b { font-size: 18px; color: var(--blue-700); display: block; line-height: 1.1; } .stickybar .p span { font-size: 11px; color: var(--muted); }
@media (min-width: 900px) { .stickybar { display: none; } }

/* ---------- Carrito ---------- */
.cart { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
@media (min-width: 1024px) { .cart { grid-template-columns: 1fr 360px; gap: 32px; align-items: start; } }
.cart-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cart-table .hd { display: none; grid-template-columns: 1fr 120px 140px 110px 40px; gap: 12px; padding: 10px 16px; background: var(--g-50); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 768px) { .cart-table .hd { display: grid; } }
.cart-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--g-100); align-items: center; }
@media (min-width: 768px) { .cart-row { grid-template-columns: 1fr 120px 140px 110px 40px; } }
.cart-row .prod { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cart-row .prod img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--g-100); border-radius: var(--radius-sm); background: #fff; flex: none; }
.cart-row .prod .t { min-width: 0; } .cart-row .prod .t a { display: block; font-weight: 600; color: var(--navy); }
.cart-row .prod .t span { display: block; font-size: 12px; color: var(--muted); }
.cart-row .unit { font-size: 14px; } .cart-row .unit small { display: block; color: var(--green); font-size: 11px; font-weight: 600; }
.cart-row .sub { font-weight: 700; color: var(--navy); }
.cart-row .rm { border: 0; background: transparent; color: var(--g-400); padding: 6px; border-radius: 50%; display: flex; }
.cart-row .rm:hover { color: var(--red); background: var(--red-100); }
@media (max-width: 767px) {
  .cart-row { grid-template-columns: 1fr auto; grid-template-areas: "prod rm" "unit sub" "qty sub"; }
  .cart-row .prod { grid-area: prod; } .cart-row .rm { grid-area: rm; align-self: start; } .cart-row .unit { grid-area: unit; } .cart-row .qtyc { grid-area: qty; } .cart-row .sub { grid-area: sub; align-self: end; text-align: right; font-size: 16px; }
  .cart-row .prod img { width: 56px; height: 56px; }
}
.cart-actions { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--g-100); background: var(--g-50); flex-wrap: wrap; }
.summary { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { margin-bottom: 12px; }
.summary .ln { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--g-600); }
.summary .ln.total { border-top: 2px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 800; color: var(--navy); }
.summary .ln .free { color: var(--green); font-weight: 700; }
.progress { margin: 12px 0 14px; }
.progress .lbl { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; color: var(--g-600); }
.progress .bar { height: 8px; border-radius: 999px; background: var(--g-100); overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); border-radius: 999px; transition: width .3s; }
.progress.ok .bar i { background: linear-gradient(90deg, #22C55E, var(--green)); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13px; margin: 10px 0; }
.alert .i { flex: none; margin-top: 1px; }
.alert-warn { background: var(--amber-100); color: #92400E; }
.alert-info { background: var(--blue-100); color: var(--blue-800); }
.alert-ok { background: var(--green-100); color: #166534; }
.coupon { display: flex; gap: 6px; margin: 12px 0; }
.coupon input { flex: 1; min-width: 0; }

/* ---------- Login ---------- */
.auth { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px 0 48px; }
@media (min-width: 1024px) { .auth { grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; } }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 768px) { .panel { padding: 32px; } }
.panel h2 { margin-bottom: 4px; } .panel > p { color: var(--muted); }
.panel.hl { border-color: var(--blue-200); background: linear-gradient(180deg, var(--blue-50), #fff 120px); }
.benefits { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.benefit .i { color: var(--blue-600); flex: none; margin-top: 2px; width: 22px; height: 22px; }
.benefit b { display: block; color: var(--navy); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Marcas ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.brand-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; text-decoration: none !important; transition: all .2s; display: block; }
.brand-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-card .wm { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand-card small { display: block; color: var(--muted); margin-top: 4px; }
.brand-card .n { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--blue-600); font-weight: 600; }
.brand-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; scroll-margin-top: 90px; }
.brand-block .h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.brand-block .h h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.brand-block .h h2 small { font-size: 13px; color: var(--muted); font-weight: 400; }
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .models { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .models { grid-template-columns: repeat(5, 1fr); } }
.model { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--g-700); font-weight: 500; font-size: 13.5px; text-decoration: none !important; transition: all .15s; }
.model:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.model .badge { font-size: 9px; padding: 1px 6px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 8px 0 32px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; } }
.info-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .info-cards { grid-template-columns: 1fr 1fr; } }
.info-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.info-card .i { color: var(--blue-600); width: 26px; height: 26px; flex: none; }
.info-card b { display: block; color: var(--navy); margin-bottom: 2px; }
.info-card span { color: var(--g-600); font-size: 13.5px; }
.map { margin-top: 16px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); aspect-ratio: 16/9; position: relative; display: flex; align-items: center; justify-content: center; }
.map .pin { position: absolute; text-align: center; color: var(--navy); }
.map .pin .i { width: 42px; height: 42px; color: var(--accent); }
.map .roads { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,87,208,.1) 2px, transparent 2px), linear-gradient(90deg, rgba(11,87,208,.1) 2px, transparent 2px); background-size: 60px 60px; }
.conditions { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .conditions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .conditions { grid-template-columns: repeat(3, 1fr); } }
.cond { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.cond .i { color: var(--blue-600); width: 28px; height: 28px; margin-bottom: 8px; }
.cond h3 { font-size: 15px; margin-bottom: 6px; }
.cond p, .cond li { font-size: 13.5px; color: var(--g-600); margin: 0; }
.cond ul li { padding: 2px 0 2px 14px; position: relative; }
.cond ul li::before { content: "•"; position: absolute; left: 0; color: var(--blue-600); }
.faq { max-width: 860px; }
.faq .q { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; margin-bottom: 8px; overflow: hidden; }
.faq .q > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 0; background: transparent; text-align: left; font-weight: 600; color: var(--navy); }
.faq .q > button .i { color: var(--g-400); flex: none; transition: transform .2s; }
.faq .q.open > button .i { transform: rotate(180deg); }
.faq .q .a { display: none; padding: 0 16px 14px; color: var(--g-600); }
.faq .q.open .a { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #B7C6DB; margin-top: 40px; }
.footer .top { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
@media (min-width: 640px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer .top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; } }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer li { padding: 4px 0; font-size: 13.5px; }
.footer a { color: inherit; }
.footer a:hover { color: #fff; }
.footer .about img { height: 48px; margin-bottom: 12px; background: #fff; border-radius: 8px; padding: 4px 10px; }
.footer .about p { font-size: 13.5px; }
.footer .social { display: flex; gap: 8px; margin-top: 12px; }
.footer .social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer .social a:hover { background: var(--blue-600); }
.footer .ct li { display: flex; gap: 8px; align-items: flex-start; }
.footer .ct .i { color: var(--blue-300); margin-top: 2px; }
.footer .pay { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.footer .pay span { background: #fff; color: var(--navy); font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 4px; letter-spacing: .04em; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.footer .bottom ul { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Chat widget ---------- */
.chat-btn { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 0; border-radius: 999px; background: var(--blue-600); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(11,87,208,.4); transition: transform .2s, background .2s; }
.chat-btn:hover { background: var(--blue-700); transform: translateY(-2px); }
.chat-btn .av { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--blue-600); }
.chat-btn .av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #22C55E; border: 2px solid var(--blue-600); }
.chat-btn .lbl { display: none; }
@media (min-width: 640px) { .chat-btn .lbl { display: inline; } }
body.has-stickybar .chat-btn { bottom: 84px; }
.chat { position: fixed; right: 16px; bottom: 84px; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 110px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 75; display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(.98); opacity: 0; visibility: hidden; transition: all .2s; }
.chat.open { transform: none; opacity: 1; visibility: visible; }
@media (max-width: 639px) { .chat { right: 0; left: 0; bottom: 0; width: 100%; max-width: 100%; height: 78vh; max-height: 78vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; } }
.chat .head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--navy), var(--blue-700)); color: #fff; }
.chat .head .av { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue-600); display: flex; align-items: center; justify-content: center; position: relative; }
.chat .head .av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; }
.chat .head .t b { display: block; } .chat .head .t span { font-size: 12px; opacity: .85; }
.chat .head button { margin-left: auto; border: 0; background: rgba(255,255,255,.15); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 16px; background: var(--g-50); display: flex; flex-direction: column; gap: 10px; }
.chat .m { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.chat .m.bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat .m.user { background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat .m .time { display: block; font-size: 10.5px; opacity: .6; margin-top: 4px; }
.chat .typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.chat .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--g-400); animation: blink 1.2s infinite; }
.chat .typing i:nth-child(2) { animation-delay: .2s; } .chat .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat .quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; background: var(--g-50); }
.chat .quick button { border: 1px solid var(--blue-300); background: #fff; color: var(--blue-700); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.chat .quick button:hover { background: var(--blue-50); }
.chat form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.chat form input { flex: 1; min-width: 0; border: 1px solid var(--g-300); border-radius: 999px; padding: 9px 14px; }
.chat form button { border: 0; background: var(--blue-600); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chat .wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: #E8F8EE; color: #166534; font-size: 12.5px; font-weight: 600; }

/* ---------- Toast / modal / cookie / back-to-top ---------- */
.toasts { position: fixed; top: 14px; right: 14px; z-index: 120; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 360px; padding: 12px 14px; background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 13.5px; animation: toastIn .25s ease; }
.toast.ok { background: #166534; } .toast.err { background: #991B1B; } .toast.info { background: var(--blue-700); }
.toast a { color: #fff; font-weight: 700; text-decoration: underline; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.modal-bg { position: fixed; inset: 0; background: rgba(6,26,48,.6); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: all .2s; }
.modal-bg.open { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 480px; padding: 28px; box-shadow: var(--shadow-lg); position: relative; transform: translateY(10px); transition: transform .2s; }
.modal-bg.open .modal { transform: none; }
.modal .x { position: absolute; top: 12px; right: 12px; border: 0; background: var(--g-100); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.modal h3 { font-size: 1.25rem; }
.modal .acts { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal .acts .btn { flex: 1; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 65; background: var(--navy); color: #D5DFEE; border-radius: var(--radius-lg); padding: 14px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-lg); font-size: 13px; }
@media (min-width: 900px) { .cookie { right: auto; max-width: 560px; } }
.cookie p { margin: 0; flex: 1 1 260px; }
.cookie .btn-sm { min-height: 34px; }
.totop { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.totop.show { display: flex; }

/* ---------- Misc ---------- */
section[id], .panel[id], .brand-block[id], .tabs[id] { scroll-margin-top: 90px; }
@media (max-width: 899px) { body.has-cookie .chat-btn { bottom: 128px; } body.has-cookie .stickybar { bottom: 112px; } .cookie { padding: 12px 14px; font-size: 12.5px; gap: 8px; } }
.page-title { padding: 20px 0 10px; }
.page-title h1 { margin-bottom: 6px; } .page-title p { color: var(--muted); margin: 0; max-width: 720px; }
.banner-strip { background: linear-gradient(90deg, var(--blue-700), var(--blue-500)); color: #fff; padding: 14px 0; }
.banner-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.banner-strip b { font-size: 1.05rem; }
.skeleton { background: linear-gradient(90deg, var(--g-100), var(--g-50), var(--g-100)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.reveal.in { opacity: 1; transform: none; }
@media print { .header, .topbar, .footer, .chat-btn, .chat, .cookie, .totop, .stickybar { display: none !important; } }
