/* Walmrt Auto — Walmart.com look for Nissan of Bowie inventory */
:root {
  --blue: #0053e2; --navy: #001e60; --spark: #ffc220; --green: #2a8703; --promo: #0b2fa8; --banner: #f7ecd9;
  --ink: #2e2f32; --ink2: #46474a; --mute: #74767c; --line: #e3e4e5; --bg2: #f8f8f8; --soft: #f2f8fd;
  --r: 8px; --pill: 1000px;
  --font: "Everyday Sans", "Bogle", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 14px; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; }
.u { text-decoration: underline; }
.wrap { max-width: 1520px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.hdr { background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 50; }
.hdr-in { max-width: 1520px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.logo { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; }
.logo:hover, .hdr-link:hover, .cart:hover { background: rgba(0,0,0,.18); }
.logo img { width: 34px; height: 34px; }
.hdr-pill { display: flex; align-items: center; gap: 10px; background: #002d9c; border-radius: var(--pill); height: 48px; padding: 0 14px 0 6px; color: #fff; text-align: left; }
.hdr-pill:hover { background: #00267f; }
.how { width: 290px; flex: none; }
.how-ico { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; }
.how-ico.sm { width: 22px; height: 22px; }
.how-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.how-txt b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.how-txt small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .95; }
.chev { width: 18px; height: 18px; stroke-width: 2; flex: none; }
.search { flex: 1; position: relative; display: flex; align-items: center; background: #fff; border-radius: var(--pill); height: 44px; min-width: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; padding: 0 16px 0 20px; color: var(--ink); height: 100%; border-radius: var(--pill); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin-right: 4px; flex: none; }
.search button svg { width: 20px; height: 20px; stroke-width: 2.2; }
.suggest { position: absolute; top: 50px; left: 0; right: 0; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 8px 0; z-index: 5; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 20px; font-size: 15px; }
.suggest a:hover, .suggest a.on { background: var(--bg2); }
.suggest a svg { width: 16px; height: 16px; color: var(--mute); }
.suggest a small { color: var(--mute); margin-left: auto; }
.lang { height: 44px; padding: 0 14px; gap: 8px; font-weight: 700; flex: none; }
.flag { width: 22px; height: 15px; border-radius: 2px; background: repeating-linear-gradient(#b22234 0 1.15px, #fff 1.15px 2.3px); position: relative; overflow: hidden; }
.flag::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 8px; background: #3c3b6e; }
.hdr-link { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 10px; border-radius: var(--pill); flex: none; }
.hdr-link svg { width: 20px; height: 20px; }
.hdr-link span { display: flex; flex-direction: column; line-height: 1.15; }
.hdr-link small { font-size: 12px; } .hdr-link b { font-size: 14px; }
.cart { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; padding: 0 10px; border-radius: 12px; flex: none; min-width: 64px; }
.cart-ico { position: relative; }
.cart-ico svg { width: 28px; height: 28px; }
.cart-ico i { position: absolute; top: -6px; right: -10px; background: var(--spark); color: var(--ink); font-style: normal; font-weight: 700; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart b { font-size: 12px; font-weight: 400; }
.m-how { display: none; }

/* ---------- sub nav chips ---------- */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 40; }
.subnav-in { max-width: 1520px; margin: 0 auto; padding: 8px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #babbbe; border-radius: var(--pill); background: #fff; font-size: 14px; white-space: nowrap; }
.chip:hover { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip.dd { font-weight: 700; border-color: var(--line); background: var(--bg2); }
.chip.dd svg { width: 16px; height: 16px; stroke-width: 2.2; }
.chip .ci { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.chip .ci svg { width: 14px; height: 14px; stroke-width: 2; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.ci.tag { background: #dbe8ff; color: var(--blue); } .ci.car { background: #e7f4ff; color: #0f4c9c; } .ci.key { background: #fff1c7; color: #8a5a00; }
.ci.shield { background: #e5f6e8; color: var(--green); } .ci.truck { background: #efe7ff; color: #5b2bb5; } .ci.bolt { background: #e2fbf3; color: #0c7a57; }
.ci.dollar { background: #e9f7df; color: var(--green); } .ci.wrench { background: #ffe9e2; color: #b33c12; } .ci.flash { background: #fff6cc; color: #c47f00; }

/* ---------- beige banner ---------- */
.banner { max-width: 1488px; margin: 12px auto 0; background: var(--banner); border-radius: 6px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 16px; font-size: 14px; overflow: hidden; position: relative; }
.banner b { font-size: 18px; font-weight: 700; }
.banner .leaf { width: 26px; height: 26px; }

/* ---------- hero tiles ---------- */
.heroes { max-width: 1520px; margin: 0 auto; padding: 16px 16px 0; position: relative; }
.hero-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3.25); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero-track::-webkit-scrollbar { display: none; }
.hero { scroll-snap-align: start; position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 4.1; color: #fff; background: var(--promo); display: flex; flex-direction: column; }
.hero.blue { background: linear-gradient(180deg, #0b2fa8 0%, #0a2a96 55%, #071f73 100%); }
.hero.light { background: linear-gradient(180deg, #f1efed 0%, #e6e3e0 100%); color: var(--ink); }
.hero-txt { padding: 14px 18px 0; position: relative; z-index: 2; }
.hero-txt small { display: block; font-size: 15px; font-weight: 700; }
.hero-txt h2 { font-size: 34px; line-height: 1.08; font-weight: 700; letter-spacing: -.3px; margin: 4px 0 8px; }
.hero-txt a { font-size: 14px; text-decoration: underline; }
.hero-car { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; display: flex; align-items: flex-end; justify-content: center; }
.hero-car img { width: 100%; height: 100%; object-fit: cover; }
.hero.blue .hero-car::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a2a96 0%, rgba(10,42,150,0) 26%); }
.hero.light .hero-car::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #e9e6e3 0%, rgba(233,230,227,0) 25%); }
.hero .stamp { position: absolute; left: 18px; bottom: 16px; z-index: 3; font-weight: 800; font-size: 26px; line-height: .98; text-transform: uppercase; letter-spacing: -.3px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.bf-badge { display: inline-flex; align-items: stretch; background: var(--blue); border: 3px solid #fff; outline: 3px solid var(--blue); border-radius: 6px; color: #fff; margin: 0 0 12px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.bf-badge .l { background: var(--navy); border-radius: 3px; margin: 4px; padding: 3px 8px; display: flex; flex-direction: column; justify-content: center; font-weight: 800; text-transform: uppercase; line-height: .95; }
.bf-badge .l small { font-size: 10px; } .bf-badge .l b { font-size: 21px; }
.bf-badge .r { padding: 4px 10px 4px 2px; display: flex; flex-direction: column; justify-content: center; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: .98; }
.hero-arrow { position: absolute; top: 50%; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.3); display: grid; place-items: center; z-index: 4; }
.hero-arrow svg { width: 18px; height: 18px; stroke-width: 2.2; }
.hero-arrow.next { right: 6px; } .hero-arrow.prev { left: 6px; }
.hero-pause { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; z-index: 3; }
.hero-pause svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }

/* ---------- section / rows ---------- */
.sec { max-width: 1520px; margin: 0 auto; padding: 28px 16px 0; }
.sec + .sec { }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-hd h2 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.sec-hd p { margin: 2px 0 0; color: var(--ink2); font-size: 14px; }
.sec-hd a.va { font-size: 14px; text-decoration: underline; white-space: nowrap; }
.divider { max-width: 1488px; margin: 28px auto 0; border: 0; border-top: 1px solid var(--line); }
.row { position: relative; }
.row-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.row-track::-webkit-scrollbar { display: none; }
.row .hero-arrow { top: 34%; } .row .hero-arrow.next { right: -4px; } .row .hero-arrow.prev { left: -4px; }

/* ---------- product card ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card .tag { position: absolute; left: 0; top: 0; z-index: 2; }
.tagb { display: inline-block; background: #001e60; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 3px; line-height: 1.4; }
.tagb.roll { background: #ffd6d6; color: #c00; } .tagb.blue { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.tagb.green { background: #eaf6e3; color: var(--green); } .tagb.yellow { background: #fff3c4; color: #6b4b00; }
.card .heart { position: absolute; right: 8px; top: 24px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.heart svg { width: 18px; height: 18px; stroke-width: 1.8; }
.heart.on svg { fill: var(--blue); stroke: var(--blue); }
.card .pic { margin-top: 22px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--bg2); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .pic img { transform: scale(1.03); }
.card .dots { display: flex; gap: 4px; align-items: center; margin: 8px 0 0; height: 14px; font-size: 12px; color: var(--ink2); }
.card .dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.add { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 32px; padding: 0 16px; border-radius: var(--pill); font-weight: 700; font-size: 14px; border: 1px solid var(--ink); background: #fff; align-self: flex-start; margin-top: 8px; white-space: nowrap; }
.add:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.add.solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.add.solid:hover { background: #0047c2; box-shadow: none; }
.add.in { background: var(--green); border-color: var(--green); color: #fff; }
.add svg { width: 14px; height: 14px; stroke-width: 2.6; }
.price { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.price .now { color: var(--green); font-weight: 700; font-size: 20px; letter-spacing: -.2px; }
.price .reg { font-weight: 700; font-size: 20px; letter-spacing: -.2px; }
.price sup { font-size: 13px; top: -.45em; position: relative; vertical-align: baseline; margin-right: 1px; }
.price s { color: var(--ink2); font-size: 14px; }
.save { display: inline-block; background: #eaf6e3; color: var(--green); font-weight: 700; font-size: 13px; padding: 1px 4px; border-radius: 3px; margin-top: 2px; }
.card .ttl { margin-top: 4px; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.card .ful { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.card .ful b { color: var(--ink); }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink2); }
.stars .st { --p: 100%; width: 70px; height: 13px; background: linear-gradient(90deg, var(--ink) var(--p), #c7c8ca var(--p)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.3 4.6.4-3.5 3 1.1 4.6-4.1-2.5-4.1 2.5 1.1-4.6-3.5-3 4.6-.4z'/%3E%3Cuse href='%23s' x='14'/%3E%3Cuse href='%23s' x='28'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='56'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 70px 13px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.3 4.6.4-3.5 3 1.1 4.6-4.1-2.5-4.1 2.5 1.1-4.6-3.5-3 4.6-.4z'/%3E%3Cuse href='%23s' x='14'/%3E%3Cuse href='%23s' x='28'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='56'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 70px 13px no-repeat; }
.nophoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--mute); font-size: 13px; background: var(--bg2); }
.nophoto img { width: 34px; opacity: .55; }

/* ---------- category bubbles ---------- */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 700; padding: 6px 2px; border-radius: 8px; }
.cat:hover { text-decoration: underline; }
.cat .cimg { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--soft); display: grid; place-items: center; }
.cat .cimg img { width: 100%; height: 100%; object-fit: cover; }
.cats.sq .cimg { border-radius: 10px; background: var(--blue); width: 72px; height: 72px; padding: 0; }
.cats.sq .cimg img { border-radius: 8px; }
.cats.sq .cat { font-weight: 400; font-size: 13px; }
.cimg.top { color: #fff; font-weight: 800; line-height: .95; font-size: 18px; text-transform: uppercase; }

/* ---------- promo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.6fr 1.3fr .95fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.tile { position: relative; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #0b2fa8, #071f73); color: #fff; padding: 16px 18px; display: flex; flex-direction: column; }
.tile.big { grid-row: span 2; } .tile.tall { grid-column: 3; grid-row: 1 / span 2; background: #e9e7e5; color: var(--ink); }
.tile.split { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; background: none; }
.tile.split > .tile { height: 100%; }
.tile h3 { font-size: 22px; line-height: 1.12; font-weight: 700; position: relative; z-index: 2; }
.tile.big h3 { font-size: 46px; letter-spacing: -.5px; line-height: 1.04; }
.tile small { font-size: 14px; font-weight: 700; position: relative; z-index: 2; }
.tile .lnk { font-size: 13px; text-decoration: underline; margin-top: 6px; position: relative; z-index: 2; }
.tile .btn-w { align-self: flex-start; background: #fff; color: var(--ink); border-radius: var(--pill); padding: 8px 16px; font-weight: 700; margin-top: 14px; position: relative; z-index: 2; }
.tile .timg { position: absolute; inset: auto 0 0 0; height: 62%; }
.tile.big .timg { height: 60%; }
.tile .timg img { width: 100%; height: 100%; object-fit: cover; }
.tile:not(.tall) .timg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a2a96 0%, rgba(10,42,150,0) 30%); }
.tile.tall .timg { height: 78%; }
.tile.tall .timg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #e9e7e5 0%, rgba(233,231,229,0) 25%); }
.tile .upto { position: absolute; left: 18px; bottom: 14px; z-index: 3; font-weight: 800; color: var(--ink); line-height: .9; text-shadow: 0 0 12px rgba(255,255,255,.8); }
.tile .upto small { display: block; font-size: 16px; } .tile .upto b { font-size: 64px; letter-spacing: -2px; } .tile .upto i { font-style: normal; font-size: 22px; display: inline-block; line-height: .9; vertical-align: top; margin-top: 6px; }

/* ---------- top-100 blue boxes ---------- */
.boxes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scrollbar-width: none; }
.boxes::-webkit-scrollbar { display: none; }
.box { background: var(--blue); border-radius: 8px; padding: 10px 10px 12px; }
.box-hd { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 2px 2px 8px; }
.box-hd b { font-size: 15px; } .box-hd a { font-size: 13px; text-decoration: underline; }
.box-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.box-in .card { background: #fff; border-radius: 6px; padding: 8px; }
.box-in .card .tag { left: 8px; top: 8px; } .box-in .card .heart { top: 32px; right: 14px; }
.box-in .card .price .now, .box-in .card .price .reg { font-size: 16px; }

/* ---------- services (Auto Care Center) ---------- */
.svc-hero { background: var(--bg2); border-radius: 8px; display: grid; grid-template-columns: 240px 1fr 240px; align-items: center; gap: 24px; padding: 12px 20px; text-align: center; }
.svc-hero img { border-radius: 6px; width: 100%; height: 130px; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.svc-hero h1 { font-size: 26px; font-weight: 700; } .svc-hero p { margin: 4px 0 0; font-size: 15px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc { display: flex; align-items: center; gap: 16px; padding: 18px 16px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.16); background: #fff; text-align: left; width: 100%; }
.svc:hover { box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.svc .si { width: 32px; height: 32px; color: var(--blue); flex: none; display: grid; place-items: center; }
.svc .si svg { width: 28px; height: 28px; stroke-width: 1.7; }
.svc div { flex: 1; } .svc b { display: block; font-size: 16px; } .svc span { font-size: 13px; color: var(--ink2); }
.svc .go { width: 20px; height: 20px; stroke-width: 2; }

/* ---------- search page ---------- */
.srch { max-width: 1520px; margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; gap: 0 20px; padding: 0 16px; }
.facets { padding-top: 8px; border-right: 1px solid var(--line); padding-right: 16px; }
.facet { border-bottom: 1px solid var(--line); }
.facet > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; font-size: 16px; text-align: left; }
.facet > button svg { width: 18px; height: 18px; stroke-width: 2; transition: transform .15s; }
.facet.open > button svg { transform: rotate(180deg); }
.facet-body { padding: 0 0 14px; display: none; }
.facet.open .facet-body { display: block; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: none; }
.opt small { color: var(--mute); margin-left: auto; }
.opt .sw { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); flex: none; }
.more-opt { color: var(--ink); text-decoration: underline; font-size: 14px; padding: 4px 0; }
.rng { display: flex; gap: 8px; align-items: center; }
.rng input { width: 100%; height: 36px; border: 1px solid #909196; border-radius: 4px; padding: 0 8px; font: inherit; }
.rng button { height: 36px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--ink); font-weight: 700; }
.res-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 6px; flex-wrap: wrap; }
.res-hd h1 { font-size: 18px; font-weight: 700; } .res-hd h1 small { font-weight: 400; color: var(--ink2); font-size: 14px; }
.res-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 0 12px; }
.res-chips .chip { height: 32px; }
.res-chips .chip.x { background: var(--soft); border-color: var(--blue); color: var(--navy); }
.res-chips .chip.x svg { width: 14px; height: 14px; stroke-width: 2.4; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { height: 36px; border-radius: var(--pill); border: 1px solid #909196; padding: 0 30px 0 14px; font: inherit; font-weight: 700; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2f32' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; -webkit-appearance: none; color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; padding-bottom: 24px; }
.grid .card { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.grid .card .pic { margin-top: 0; aspect-ratio: 1 / .82; }
.grid .card .heart { top: 8px; }
.grid .card .tag { top: auto; position: static; margin-top: 8px; }
.empty { padding: 60px 0; text-align: center; color: var(--ink2); }
.empty h2 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.pager { display: flex; justify-content: center; gap: 6px; padding: 8px 0 30px; align-items: center; }
.pager a, .pager span { min-width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.pager a:hover { background: var(--bg2); }
.pager .on { background: var(--ink); color: #fff; font-weight: 700; }
.pager svg { width: 18px; height: 18px; stroke-width: 2.2; }

/* ---------- product page ---------- */
.crumb { max-width: 1520px; margin: 0 auto; padding: 12px 16px 0; font-size: 13px; color: var(--ink2); }
.crumb a { text-decoration: underline; } .crumb span { margin: 0 6px; }
.ip { max-width: 1520px; margin: 0 auto; padding: 12px 16px 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.gal { display: grid; grid-template-columns: 64px 1fr; gap: 16px; position: sticky; top: 130px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { box-shadow: 0 0 0 2px var(--ink); }
.thumbs .all { background: rgba(0,0,0,.65); color: #fff; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.thumbs .all b { font-size: 18px; }
.stage { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--bg2); cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-tools { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 10px; }
.stage-tools button, .stage .arw { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.stage-tools svg, .stage .arw svg { width: 18px; height: 18px; }
.stage .arw { position: absolute; top: 50%; transform: translateY(-50%); }
.stage .arw.n { right: 12px; } .stage .arw.p { left: 12px; }
.stage .count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.hear { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ink); border-radius: var(--pill); padding: 4px 12px; font-size: 13px; font-weight: 700; margin: 12px 0 0 80px; }
.hear svg { width: 16px; height: 16px; }
.info .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.info .store { display: inline-block; margin-top: 8px; font-size: 14px; text-decoration: underline; }
.info h1 { font-size: 20px; line-height: 1.3; font-weight: 700; margin-top: 4px; }
.info .rate { margin-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.info .rate a { text-decoration: underline; }
.info .stockno { color: var(--ink2); font-size: 13px; margin-top: 2px; }
.colors { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.colors .lbl { font-size: 14px; } .colors .lbl b { font-weight: 700; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.swatches a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; width: 62px; text-align: center; }
.swatches a i { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); outline: 2px solid transparent; outline-offset: 3px; }
.swatches a.on i { outline-color: var(--ink); }
.swatches a b { color: var(--green); font-size: 13px; }
.trims { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.trims a { border: 1px solid #909196; border-radius: 6px; padding: 6px 12px; font-size: 13px; text-align: center; }
.trims a.on { box-shadow: inset 0 0 0 2px var(--ink); border-color: var(--ink); font-weight: 700; }
.trims a small { display: block; color: var(--ink2); }
.acc { margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; }
.acc + .acc { margin-top: 12px; }
.acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 700; font-size: 16px; text-align: left; }
.acc > button svg { width: 20px; height: 20px; stroke-width: 2; transition: transform .15s; }
.acc.open > button svg { transform: rotate(180deg); }
.acc-body { padding: 0 16px 16px; display: none; font-size: 14px; }
.acc.open .acc-body { display: block; }
.acc-body ul { margin: 0; padding-left: 20px; } .acc-body li { margin: 4px 0; }
.acc-body .lnk { display: inline-block; margin-top: 10px; text-decoration: underline; }
.spec { display: grid; grid-template-columns: 1fr; }
.spec div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec div:last-child { border: 0; }
.spec dt { font-weight: 700; font-size: 14px; } .spec dd { margin: 2px 0 0; }
.safety { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.safety .big { font-size: 40px; font-weight: 700; line-height: 1; }
.buybox { position: sticky; top: 130px; }
.bb { background: var(--bg2); border-radius: 8px; padding: 16px; }
.bb .pnow { color: var(--green); font-size: 28px; font-weight: 700; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bb .pnow.reg { color: var(--ink); }
.bb .pnow sup { font-size: 16px; position: relative; top: -.5em; vertical-align: baseline; }
.bb .pnow s { color: var(--ink2); font-size: 14px; font-weight: 400; }
.bb .pnow .i { width: 15px; height: 15px; color: var(--ink2); }
.bb .note { font-size: 13px; color: var(--ink2); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.bb .promo { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin-top: 10px; }
.bb .promo .cc { width: 34px; height: 22px; border-radius: 3px; background: linear-gradient(135deg, #0053e2, #001e60); flex: none; position: relative; }
.bb .promo .cc::after { content: ""; position: absolute; left: 5px; top: 7px; width: 7px; height: 6px; background: var(--spark); border-radius: 1px; }
.bb .promo a { text-decoration: underline; display: block; }
.bb .ret { display: flex; gap: 6px; align-items: center; font-size: 13px; margin-top: 8px; }
.bb .ret svg { width: 16px; height: 16px; color: var(--blue); }
.btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; border-radius: var(--pill); font-weight: 700; font-size: 16px; border: 1px solid var(--ink); background: #fff; margin-top: 12px; }
.btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.solid:hover { background: #0047c2; box-shadow: none; }
.btn.in { background: var(--green); border-color: var(--green); color: #fff; }
.bb h3 { font-size: 16px; margin-top: 18px; }
.bb .chk { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-top: 10px; }
.bb .chk i { width: 20px; height: 20px; background: var(--ink); border-radius: 3px; display: grid; place-items: center; color: #fff; flex: none; }
.bb .chk i svg { width: 14px; height: 14px; stroke-width: 3; }
.ful-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ful-opt { background: #fff; border: 1px solid #909196; border-radius: 8px; padding: 10px 6px; text-align: center; font-size: 13px; min-height: 100px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ful-opt.on { box-shadow: inset 0 0 0 2px var(--ink); border-color: var(--ink); }
.ful-opt .fi { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--blue); margin-bottom: 2px; }
.ful-opt .fi svg { width: 22px; height: 22px; }
.ful-opt b { font-size: 14px; } .ful-opt small { color: var(--ink2); font-size: 12px; line-height: 1.25; }
.ful-opt .wp { color: var(--blue); font-weight: 700; font-size: 12px; }
.bb .ships { font-size: 13px; margin-top: 10px; } .bb .ships a { text-decoration: underline; font-weight: 700; }
.bb .sep { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.bb .line { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-top: 8px; }
.bb .line svg { width: 18px; height: 18px; color: var(--ink2); flex: none; }
.bb .line a { text-decoration: underline; }
.bb .links { display: flex; justify-content: space-around; margin-top: 14px; font-size: 13px; }
.bb .links button { display: flex; gap: 6px; align-items: center; text-decoration: underline; }
.bb .links svg { width: 16px; height: 16px; }
.pay { background: #fff; border-radius: 8px; padding: 12px; margin-top: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-size: 13px; }
.pay b { font-size: 18px; } .pay small { color: var(--ink2); display: block; }
.ad { margin-top: 12px; border-radius: 8px; padding: 12px 14px; background: linear-gradient(90deg, #fff 60%, #e8f1ff); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-size: 13px; }
.ad b { display: block; font-size: 14px; } .ad a { text-decoration: underline; }
.rebates { margin-top: 12px; background: #fff; border-radius: 8px; padding: 10px 12px; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rebates div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.rebates div + div { border-top: 1px solid var(--line); }
.rebates .ends { color: #c00; font-weight: 700; font-size: 12px; white-space: nowrap; }
.rebates .amt { color: var(--green); font-weight: 700; white-space: nowrap; }
.about { max-width: 1520px; margin: 0 auto; padding: 28px 16px 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
.about h2 { font-size: 20px; margin-bottom: 10px; }
.about p { white-space: pre-line; margin: 0; color: var(--ink2); }

/* ---------- cart / garage ---------- */
.cartpg { max-width: 1280px; margin: 0 auto; padding: 20px 16px 30px; display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cartpg h1 { font-size: 24px; } .cartpg h1 small { font-size: 16px; font-weight: 400; color: var(--ink2); }
.cbox { border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.16); padding: 16px; margin-top: 16px; }
.cbox-hd { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cbox-hd .fi { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.cbox-hd .fi svg { width: 24px; height: 24px; }
.cbox-hd b { font-size: 16px; display: block; } .cbox-hd small { color: var(--ink2); }
.citem { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.citem:last-child { border: 0; }
.citem img, .citem .nophoto { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; }
.citem a.t { font-size: 14px; } .citem a.t:hover { text-decoration: underline; }
.citem .acts { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.citem .acts button { text-decoration: underline; }
.citem .pr { text-align: right; } .citem .pr b { color: var(--green); font-size: 18px; display: block; } .citem .pr s { color: var(--ink2); font-size: 13px; }
.cside { position: sticky; top: 130px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.16); padding: 16px; }
.cside .row2 { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.cside .row2.tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 18px; }
.cside .row2 .g { color: var(--green); font-weight: 700; }
.cside small { color: var(--ink2); display: block; margin-top: 10px; font-size: 12px; }

/* ---------- forms / modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; }
.drawer { position: fixed; left: 0; top: 0; bottom: 0; width: 360px; max-width: 88vw; background: #fff; z-index: 90; overflow-y: auto; box-shadow: 2px 0 12px rgba(0,0,0,.2); }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer-hd b { font-size: 18px; } .drawer-hd button svg { width: 22px; height: 22px; }
.drawer h4 { margin: 0; padding: 16px 16px 6px; font-size: 14px; color: var(--ink2); }
.drawer a { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 15px; }
.drawer a:hover { background: var(--bg2); } .drawer a small { color: var(--mute); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: #fff; border-radius: 12px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; position: relative; }
.modal-box.wide { max-width: 1000px; }
.mx { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; z-index: 3; background: #fff; }
.mx:hover { background: var(--bg2); } .mx svg { width: 22px; height: 22px; stroke-width: 2; }
.mhd { background: var(--blue); color: #fff; padding: 14px 56px 14px 20px; font-weight: 700; font-size: 16px; border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; }
.mhd + .mx { color: #fff; background: none; } .mhd + .mx:hover { background: rgba(0,0,0,.15); }
.mbody { padding: 20px; }
.mbody h2 { font-size: 20px; margin-bottom: 4px; }
.mbody p { margin: 6px 0; color: var(--ink2); }
.step { font-size: 13px; color: var(--ink2); }
.mhd .step { color: #fff; opacity: .85; font-weight: 400; }
.garage-ill { display: grid; place-items: center; padding: 10px 0 4px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { height: 44px; border: 1px solid #909196; border-radius: 4px; padding: 0 12px; font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); background: #fff; }
.field textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ok { text-align: center; padding: 30px 20px; }
.ok .tick { width: 64px; height: 64px; border-radius: 50%; background: #eaf6e3; color: var(--green); display: grid; place-items: center; margin: 0 auto 12px; }
.ok .tick svg { width: 34px; height: 34px; stroke-width: 2.6; }
.viewall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; padding: 56px 16px 16px; }
.viewall img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.zoom img { width: 100%; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; z-index: 120; font-size: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.3); display: flex; gap: 12px; align-items: center; max-width: calc(100vw - 32px); }
.toast a { text-decoration: underline; font-weight: 700; white-space: nowrap; }

/* ---------- Sparky assistant ---------- */
.sparky { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; z-index: 60; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .15s; }
.sparky:hover { transform: scale(1.06); }
.sparky img { width: 100%; height: 100%; }
.chat { position: fixed; right: 22px; bottom: 90px; width: 400px; max-width: calc(100vw - 24px); height: min(640px, calc(100vh - 130px)); background: #fff; border-radius: 16px; box-shadow: 0 8px 36px rgba(0,0,0,.28); z-index: 70; display: flex; flex-direction: column; overflow: hidden; }
.chat-hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-hd img { width: 28px; height: 28px; } .chat-hd b { font-size: 16px; flex: 1; }
.chat-hd button svg { width: 22px; height: 22px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; font-size: 14px; line-height: 1.45; }
.msg.bot { align-self: flex-start; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; padding: 9px 14px; border-radius: 18px 18px 4px 18px; }
.msg .about-item { background: var(--bg2); border-radius: 10px; padding: 10px; display: flex; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 8px; }
.msg .about-item img { width: 48px; height: 36px; object-fit: cover; border-radius: 4px; }
.sugs { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 8px; }
.sugs button { border: 1px solid var(--blue); color: var(--blue); border-radius: var(--pill); padding: 6px 12px; font-size: 13px; text-align: left; background: #fff; }
.sugs button:hover { background: var(--soft); }
.picks { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pick { display: grid; grid-template-columns: 76px 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: 13px; }
.pick img, .pick .nophoto { width: 76px; height: 57px; object-fit: cover; border-radius: 6px; }
.pick b.g { color: var(--green); }
.chat-in { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-in input { flex: 1; height: 42px; border: 1px solid #909196; border-radius: var(--pill); padding: 0 16px; font: inherit; font-size: 15px; outline: 0; }
.chat-in input:focus { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.chat-in button { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.chat-in button svg { width: 18px; height: 18px; stroke-width: 2.4; }
.typing { display: flex; gap: 4px; padding: 6px 0; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: #b5b7bb; animation: bl 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bl { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

/* ---------- footer ---------- */
.fb { background: #f2f8fd; text-align: center; padding: 28px 16px 30px; margin-top: 40px; }
.fb p { margin: 0 0 12px; font-size: 16px; }
.fb button { border: 1px solid var(--ink); border-radius: var(--pill); padding: 8px 18px; font-weight: 700; background: #fff; }
.ftr-main { background: var(--blue); color: #fff; padding: 22px 16px 26px; text-align: center; font-size: 13px; }
.ftr-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 1100px; margin: 0 auto 16px; }
.ftr-links a:hover { text-decoration: underline; }
.ftr-main p { margin: 6px auto 0; opacity: .9; max-width: 900px; }
.tabbar { display: none; }

/* ---------- page helpers ---------- */
.pg-hd { max-width: 1520px; margin: 0 auto; padding: 20px 16px 0; }
.pg-hd h1 { font-size: 24px; } .pg-hd p { margin: 4px 0 0; color: var(--ink2); }
.bf-banner { border-radius: 8px; background: radial-gradient(120% 140% at 70% 20%, #1a55e8 0%, #0b2fa8 45%, #071f73 100%); color: #fff; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 20px 50px; min-height: 120px; }
.bf-banner h1 { font-size: 30px; } .bf-banner p { margin: 4px 0 10px; font-size: 16px; }
.bf-banner .btn-w { background: #fff; color: var(--ink); border-radius: var(--pill); padding: 8px 18px; font-weight: 700; display: inline-block; }
.bf-banner .cd { text-align: center; } .bf-banner .cd small { display: block; font-size: 13px; opacity: .9; }
.bf-banner .cd b { font-size: 30px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.acct-box { max-width: 520px; margin: 30px auto; text-align: center; padding: 0 16px; }
.acct-box img { width: 64px; margin: 0 auto 12px; }
.acct-box h1 { font-size: 24px; } .acct-box p { color: var(--ink2); }
.hours { margin: 14px auto 0; font-size: 14px; border-collapse: collapse; }
.hours td { padding: 4px 10px; text-align: left; } .hours td:last-child { font-weight: 700; }

/* ============================ PHONE (app layout) ============================ */
@media (max-width: 1100px) {
  .lang, .hdr-link.acct small { display: none; }
  .how { width: 210px; }
  .ip { grid-template-columns: minmax(0, 1fr) 340px; }
  .ip .info { grid-column: 1; } .gal { position: static; } .buybox { grid-column: 2; grid-row: 1 / span 2; }
  .row-track { grid-auto-columns: calc((100% - 3 * 16px) / 4.3); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .boxes { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); font-size: 15px; }
  .hdr-in { height: auto; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; gap: 10px; flex-wrap: nowrap; }
  .logo, .how, .lang, .hdr-link { display: none; }
  .search { height: 42px; }
  .search input { font-size: 16px; padding-left: 40px; }
  .search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2f32' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .search button { background: none; color: var(--ink); margin-right: 8px; }
  .search button svg { display: none; }
  .search button::after { content: ""; width: 24px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2f32' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 8h4l2-3h6l2 3h4v11H3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .cart { height: 46px; min-width: 52px; padding: 0 4px; }
  .cart-ico svg { width: 26px; height: 26px; }
  .m-how { display: flex; align-items: center; gap: 8px; padding: 0 14px 10px; font-size: 14px; color: #fff; cursor: pointer; }
  .m-how span:not(.how-ico) { white-space: nowrap; }
  .m-how b { margin-left: auto; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .subnav { position: static; border: 0; }
  .subnav-in { padding: 12px 12px 4px; }
  .subnav-in .chip.dd { display: none; }
  .mcats { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 6px; overflow-x: auto; padding: 14px 12px 0; scrollbar-width: none; }
  .mcats::-webkit-scrollbar { display: none; }
  .mcats a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; text-align: center; }
  .mcats .ic { width: 56px; height: 46px; display: grid; place-items: center; }
  .mcats .ic img { width: 56px; height: 42px; object-fit: cover; border-radius: 10px; }
  .banner { margin: 12px 12px 0; flex-direction: column; gap: 0; align-items: flex-start; padding: 10px 16px; border-radius: 12px; font-size: 14px; }
  .banner .leaf { display: none; }
  .banner b { font-size: 17px; }
  .heroes { padding: 12px 12px 0; }
  .hero-track { grid-auto-columns: 84%; gap: 10px; }
  .hero { border-radius: 12px; aspect-ratio: 3 / 4.15; }
  .hero-txt h2 { font-size: 29px; }
  .hero-arrow { display: none; }
  .sec { padding: 22px 12px 0; }
  .sec-hd h2 { font-size: 19px; }
  .row-track { grid-auto-columns: 42%; gap: 12px; }
  .boxes { grid-auto-columns: 86%; }
  .cats { grid-auto-columns: 84px; }
  .cat .cimg { width: 72px; height: 72px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 260px; height: auto; gap: 10px; }
  .tile.big { grid-column: span 2; grid-row: auto; } .tile.big h3 { font-size: 32px; }
  .tile.split { grid-column: span 2; gap: 10px; }
  .tile.tall { grid-column: span 2; grid-row: auto; }
  .tile:not(.big):not(.split) { grid-column: span 2; }
  .svc-hero { grid-template-columns: 1fr; padding: 16px; } .svc-hero img:first-child { height: 150px; } .svc-hero img:last-child { display: none; }
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .srch { grid-template-columns: 1fr; padding: 0 12px; }
  .facets { display: none; }
  .facets.show { display: block; position: fixed; inset: 0; z-index: 110; background: #fff; overflow-y: auto; padding: 0 16px 90px; border: 0; }
  .facets-hd { display: flex !important; position: sticky; top: 0; background: #fff; z-index: 2; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .facets-ft { display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.1); }
  .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .grid .card .ttl { font-size: 13px; }
  .grid .card .price .now, .grid .card .price .reg { font-size: 18px; }
  .res-hd { padding-top: 12px; } .res-hd h1 { font-size: 16px; }
  .m-filter { display: inline-flex !important; }
  .crumb { display: none; }
  .ip { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .gal { grid-template-columns: 1fr; gap: 0; }
  .thumbs { display: none; }
  .stage { border-radius: 0; aspect-ratio: 4 / 3; cursor: default; }
  .stage .arw { display: none; }
  .stage-tools { top: 10px; right: 10px; }
  .m-swipe { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
  .m-swipe::-webkit-scrollbar { display: none; }
  .m-swipe img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
  .stage > img.main { display: none; }
  .hear { margin: 10px 12px 0; }
  .info { padding: 12px 12px 0; }
  .info h1 { font-size: 18px; }
  .buybox { position: static; padding: 12px; grid-column: auto; grid-row: auto; }
  .bb { background: #fff; padding: 0; }
  .bb .btn.solid.main-add { display: none; }
  .about { grid-template-columns: 1fr; padding: 20px 12px 0; }
  .m-buy { display: flex !important; position: fixed; left: 0; right: 0; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 55; background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.12); padding: 10px 12px; gap: 12px; align-items: center; }
  .m-buy .mp { flex: 1; line-height: 1.2; } .m-buy .mp b { font-size: 20px; color: var(--green); display: block; } .m-buy .mp b.reg { color: var(--ink); } .m-buy .mp s { font-size: 12px; color: var(--ink2); }
  .m-buy .btn { margin: 0; width: auto; flex: 1.4; }
  .cartpg { grid-template-columns: 1fr; padding: 16px 12px 30px; }
  .cside { position: static; }
  .citem { grid-template-columns: 96px 1fr; } .citem img, .citem .nophoto { width: 96px; height: 72px; } .citem .pr { grid-column: 2; text-align: left; }
  .bf-banner { grid-template-columns: 1fr; padding: 20px; gap: 12px; text-align: center; }
  .bf-banner .bfl { display: none; }
  .sparky { display: none; }
  .chat { right: 0; left: 0; bottom: 0; top: 0; width: auto; max-width: none; height: auto; border-radius: 0; z-index: 105; }
  .fb { margin-top: 30px; }
  .ftr-main { padding-bottom: 30px; }
  .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 58; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border-radius: 36px; box-shadow: 0 2px 16px rgba(0,0,0,.16), inset 0 0 0 1px rgba(0,0,0,.05); padding: 6px; justify-content: space-between; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; padding: 6px 0 4px; border-radius: 30px; color: var(--ink); }
  .tabbar a svg { width: 24px; height: 24px; stroke-width: 1.7; }
  .tabbar a img { width: 26px; height: 26px; }
  .tabbar a.on { background: rgba(0,83,226,.1); color: var(--blue); }
  .tabbar a.on svg { fill: var(--blue); stroke: var(--blue); }
  .tabbar a[data-tab="services"].on svg, .tabbar a[data-tab="account"].on svg { fill: none; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { border-radius: 16px 16px 0 0; max-height: 92vh; }
  .mhd { border-radius: 16px 16px 0 0; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.m-swipe, .m-buy, .facets-hd, .facets-ft, .m-filter { display: none; }
@media (min-width: 769px) { .mcats { display: none; } }
