/* Drive Launcher Shop. A standard store layout (Shopify Dawn / Impulse pattern): white page, near-black type and buttons,
   light-grey panels, one dark band and a dark footer. Orange is the brand accent, used for small things only.
   Text colours meet WCAG AA contrast. Phone first. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); }
:root {
  --bg: #ffffff; --panel: #f5f5f4; --panel2: #ececea; --line: #e7e7e5; --text: #121212; --sub: #5f5f5f; --faint: #717171;
  --ink: #121212; --night: #111317; --accent: #f06a1e; --accent-ink: #b9480c; --sale: #b9480c;
  --ok: #18794e; --err: #b42318; --warn: #8a5300; --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text);
  font: 15px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.muted { color: var(--sub); }
.small { font-size: 13.5px; }
.ic { flex: none; display: block; }
[hidden] { display: none !important; }

/* ── announcement + header ─────────────────────────────── */
.announce { background: var(--night); color: #fff; text-align: center; font-size: 13px; font-weight: 500; padding: 9px 16px; }
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 32px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 16.5px; letter-spacing: -.02em; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand b { font-weight: 400; color: var(--sub); }
.main-nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; min-width: 0; overflow: hidden; }
.main-nav a { text-decoration: none; color: var(--text); white-space: nowrap; padding: 24px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.search { margin-left: auto; position: relative; display: flex; align-items: center; color: var(--faint); }
.search .ic { position: absolute; left: 14px; pointer-events: none; }
.search input { width: 220px; height: 42px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 0 16px 0 40px; font: inherit; font-size: 14px; outline: none; transition: width .2s, background .15s, border-color .15s; }
.search input:focus { width: 280px; background: #fff; border-color: var(--text); }
.search input::placeholder { color: var(--faint); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 99px; color: var(--text); flex: none; }
.cart-link:hover { background: var(--panel); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.menu-btn { display: none; border: 0; background: none; padding: 9px; margin-left: -9px; color: var(--text); border-radius: 99px; cursor: pointer; }
@media (max-width: 1080px) { .main-nav { display: none; } .menu-btn { display: grid; place-items: center; } .top-row { gap: 12px; } }
@media (max-width: 640px) { .top-row { min-height: 60px; } .search { display: none; } .cart-link { margin-left: auto; } .brand { font-size: 15.5px; } .brand svg { width: 30px; height: 30px; } }

.drawer-back { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 41; width: min(86vw, 380px); background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-head button { border: 0; background: var(--panel); width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; color: var(--text); cursor: pointer; }
.drawer-search { position: relative; display: flex; align-items: center; color: var(--faint); margin-bottom: 6px; }
.drawer-search .ic { position: absolute; left: 14px; }
.drawer-search input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); padding: 0 14px 0 40px; font: 16px Inter, sans-serif; outline: none; color: var(--text); }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16.5px; font-weight: 500; }
.drawer nav a .ic { color: var(--faint); }
.drawer-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 14px; font-size: 14.5px; }
.drawer-foot a { color: var(--sub); text-decoration: none; display: flex; align-items: center; gap: 8px; }

/* ── notices + buttons ─────────────────────────────── */
.notice { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; margin: 16px 0 0; font-size: 14.5px; background: var(--panel); }
.notice.ok { background: #ebf6f0; color: var(--ok); }
.notice.err { background: #fdf0ef; color: var(--err); }
.notice.warn { background: #fdf5e7; color: var(--warn); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 99px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font: 500 15px Inter, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:hover { background: #2b2b2b; border-color: #2b2b2b; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--panel2); border-color: var(--panel2); color: var(--faint); cursor: default; transform: none; }
.btn-lg { min-height: 54px; font-size: 16px; padding: 0 30px; }
.btn-block { width: 100%; }
.btn-dark, .btn-line { background: #fff; color: var(--ink); }
.btn-dark:hover, .btn-line:hover { background: var(--panel); color: var(--ink); border-color: var(--ink); }
.btn-line { border-color: var(--line); }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-white:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }
.linklike { background: none; border: 0; padding: 0; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; margin-bottom: 10px; }

/* ── home ─────────────────────────────── */
.hero { position: relative; overflow: hidden; background: #191a1d; color: #fff; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.78) 0%, rgba(10,10,12,.45) 45%, rgba(10,10,12,0) 75%); }
.hero-inner { position: relative; z-index: 1; min-height: clamp(460px, 62vh, 640px); display: flex; align-items: center; }
.hero-copy { max-width: 560px; padding: 64px 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.035em; line-height: 1.02; color: #fff; margin-bottom: 18px; }
.hero p { font-size: 18px; color: rgba(255,255,255,.86); margin: 0 0 30px; max-width: 30em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(0deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,.5) 50%, rgba(10,10,12,.15) 100%); }
  .hero-inner { min-height: 560px; align-items: flex-end; }
  .hero-copy { padding: 0 0 36px; }
  .hero p { font-size: 16px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

.trust { border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { display: flex; gap: 12px; align-items: center; padding: 22px 20px; font-size: 13.5px; color: var(--sub); border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust b { display: block; color: var(--text); font-weight: 600; font-size: 14.5px; }
.trust .ic { color: var(--text); }
@media (max-width: 960px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:nth-child(odd) { border-left: 0; padding-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust li { padding: 16px 0 16px 14px; gap: 10px; } .trust li .ic { display: none; } }

.section { padding-top: 64px; }
@media (max-width: 640px) { .section { padding-top: 44px; } }
.sec-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.sec-head > div { flex: 1; }
.sec-head h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--sub); }
.sec-head > a { font-size: 14.5px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid var(--text); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; } .cat-tile { flex: 0 0 64%; scroll-snap-align: start; } }
.cat-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--panel); color: #fff; text-decoration: none; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.66), rgba(0,0,0,0) 55%); }
.cat-name { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.cat-name small { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 500; opacity: .9; }
.cat-tile.no-img { color: var(--text); }
.cat-tile.no-img::after { display: none; }
.cat-ic { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 40px; opacity: .65; }

.band { background: var(--night); color: #fff; margin-top: 72px; }
.band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; }
.band p { color: #b4bac3; margin: 0 0 28px; max-width: 32em; font-size: 16px; }
.band .eyebrow { color: #ff9b5c; }
.band-img img { border-radius: 16px; box-shadow: 0 40px 90px -40px rgba(240,106,30,.55), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 900px) { .band-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 48px; } .band-img { order: -1; } }
@media (max-width: 640px) { .band { margin-top: 48px; } }

.soon { text-align: center; padding: 56px 24px; border: 1px dashed #d8d8d6; border-radius: 20px; color: var(--sub); }
.soon .ic { margin: 0 auto 12px; color: var(--text); }
.soon h2 { color: var(--text); font-size: 22px; }
.soon p { margin: 0 auto; max-width: 34em; }

.steps-band { background: var(--panel); border-radius: 20px; padding: 40px; }
.steps-band h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; margin-bottom: 24px; }
.steps-band ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps-band li { display: flex; gap: 14px; color: var(--sub); font-size: 14.5px; }
.steps-band li span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.steps-band b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 760px) { .steps-band { padding: 28px 20px; } .steps-band ol { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ── product grid + card ─────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; } }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile .media { position: relative; }
.tile .ph { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s cubic-bezier(.2,.7,.2,1); }
.tile .ph img.alt { opacity: 0; }
@media (hover: hover) { .tile:hover .ph img.alt { opacity: 1; } .tile:hover .ph img { transform: scale(1.03); } }
.tile.soldout .ph img { opacity: .55; }
.tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--text); letter-spacing: .01em; }
.tag.sale { background: var(--accent); color: #fff; }
.tag.out { background: rgba(255,255,255,.94); color: var(--sub); }
.tag.sample { background: var(--night); color: #fff; }
.quick { position: absolute; right: 10px; bottom: 10px; z-index: 2; }
.quick button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 99px; border: 0; background: #fff; color: var(--text);
  font: 500 13.5px Inter, sans-serif; cursor: pointer; box-shadow: 0 6px 20px -8px rgba(0,0,0,.4); transition: background .15s, color .15s, opacity .2s, transform .2s; }
.quick button:hover { background: var(--ink); color: #fff; }
@media (hover: hover) { .quick button { opacity: 0; transform: translateY(6px); } .tile:hover .quick button, .quick button:focus-visible { opacity: 1; transform: none; } }
@media (max-width: 640px) { .quick button { width: 40px; padding: 0; justify-content: center; } .quick button span { display: none; } }
.tile .body { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; text-decoration: none; }
.tile .name { font-size: 15px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .sub { font-size: 13px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .price { margin-top: 4px; font-size: 15px; font-weight: 600; }
.price.on-sale { color: var(--sale); }
.was { color: var(--faint); font-weight: 400; font-size: 13.5px; margin-left: 8px; }
.empty-state { background: var(--panel); border-radius: var(--radius); padding: 56px 24px; text-align: center; color: var(--sub); }
.empty-state h2 { color: var(--text); font-size: 22px; }

/* listing */
.page-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; margin: 32px 0 8px; }
.list-intro { margin: 0 0 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; }
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 22px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { color: var(--sub); }
.sort select { border: 1px solid var(--line); border-radius: 99px; height: 38px; padding: 0 34px 0 14px; font: 500 14px Inter, sans-serif; color: var(--text); -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat; }

/* ── product page ─────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--sub); margin: 22px 0; }
.crumbs a { text-decoration: none; color: var(--sub); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-current] { color: var(--text); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.gallery .main-img { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--panel); }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { flex: none; width: 80px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--panel); cursor: pointer; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 96px; }
@media (max-width: 900px) { .buy { position: static; } }
.buy h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; margin-bottom: 8px; }
.buy .subtitle { color: var(--sub); margin: 0 0 16px; font-size: 16px; }
.price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.price-row .price { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.price-row .was { font-size: 17px; margin: 0; }
.stock { font-size: 14px; font-weight: 500; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.ok { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--err); }
.sample-note { background: var(--panel); border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; font-size: 14.5px; color: var(--sub); }
.sample-note b { color: var(--text); }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: #fff; flex: none; }
.qty button { width: 44px; height: 52px; border: 0; background: none; font-size: 19px; cursor: pointer; color: var(--text); }
.qty input { width: 32px; text-align: center; border: 0; font: 500 16px Inter, sans-serif; background: none; -moz-appearance: textfield; color: var(--text); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.assure { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.assure li { display: flex; gap: 12px; align-items: center; padding: 13px 16px; background: #fff; font-size: 13.5px; color: var(--sub); }
.assure b { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.acc { margin-top: 22px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 2px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--sub); }
.acc details[open] summary::after { content: "−"; }
.acc details > div { padding: 0 2px 16px; color: #333; }
.acc details p { margin: 0 0 10px; }
@media (max-width: 900px) {
  .sticky-buy { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
}

/* ── cart + checkout ─────────────────────────────── */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.box + .box { margin-top: 16px; }
.box h2 { font-size: 18px; margin-bottom: 16px; }
.summary-sticky { background: var(--panel); border-color: var(--panel); position: sticky; top: 92px; }
.line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; padding-top: 0; }
.summary-sticky .line { border-top-color: rgba(0,0,0,.07); }
.line img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; background: var(--panel); flex: none; }
.line .info { flex: 1; min-width: 0; }
.line .info a { text-decoration: none; font-weight: 500; }
.line .amt { font-weight: 600; white-space: nowrap; }
.line .qty { transform: scale(.82); transform-origin: left center; margin-top: 6px; }
.totals { display: grid; gap: 8px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; color: var(--sub); }
.totals .grand { border-top: 1px solid rgba(0,0,0,.09); padding-top: 12px; margin-top: 4px; font-size: 18px; font-weight: 600; color: var(--text); }
.hint { font-size: 13.5px; color: var(--sub); background: #fff; border-radius: 10px; padding: 10px 12px; }
.hint b { color: var(--text); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label.lbl { display: block; font-size: 13.5px; font-weight: 500; color: var(--sub); margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; height: 50px; border: 1px solid #d9d9d7; border-radius: 12px; padding: 0 14px; font: 16px Inter, sans-serif; background: #fff; color: var(--text); }
textarea.input { height: 84px; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,18,18,.08); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; cursor: pointer; background: #fff; }
.pay-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-opt input { margin-top: 4px; accent-color: var(--ink); }
.pay-opt b { display: block; font-weight: 600; }
.pay-opt span { font-size: 13.5px; color: var(--sub); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--sub); }
.check input { margin-top: 4px; accent-color: var(--ink); }
.errors { background: #fdf0ef; color: var(--err); border-radius: 12px; padding: 12px 16px 12px 34px; margin: 0 0 18px; font-size: 14.5px; }

/* ── order page ─────────────────────────────── */
.steps { display: flex; margin: 8px 0 20px; }
.step { flex: 1; text-align: center; font-size: 12.5px; color: var(--faint); position: relative; padding-top: 24px; }
.step::before { content: ""; position: absolute; top: 5px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #d4d4d2; z-index: 1; }
.step::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: #d4d4d2; }
.step:first-child::after { display: none; }
.step.done { color: var(--text); font-weight: 500; }
.step.done::before, .step.done::after { background: var(--ok); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14.5px; }
.kv dt { color: var(--sub); }
.kv dd { margin: 0; }
.bank { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 14px 0; }
.bank div { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 14px; }
.bank span { color: var(--sub); font-size: 13.5px; width: 120px; flex: none; }
.bank b { flex: 1; font-weight: 600; }
.copy { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 12px; font: 500 12.5px Inter, sans-serif; cursor: pointer; color: var(--text); }
.file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border: 1.5px dashed #d0d0ce; border-radius: 14px; padding: 16px; cursor: pointer; }
.file:hover { border-color: var(--ink); }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-btn { background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 16px; font-weight: 500; font-size: 14px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 12px; padding: 6px 0; font-size: 14px; }
.timeline time { color: var(--sub); width: 120px; flex: none; }

/* ── policy pages ─────────────────────────────── */
.prose { max-width: 740px; margin: 40px 0 24px; }
.prose h1 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.035em; }
.prose h2 { font-size: 19px; margin-top: 1.6em; }
.prose p, .prose li { color: #333; }
.prose li { margin-bottom: 6px; }
.prose a { text-underline-offset: 3px; }

/* ── footer ─────────────────────────────── */
.foot { background: var(--night); color: #a3a9b2; margin-top: 88px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .foot-about { grid-column: 1 / -1; } }
.foot h4 { margin: 4px 0 16px; font-size: 14px; color: #fff; letter-spacing: 0; }
.foot .brand, .foot .brand b { color: #fff; }
.foot .brand b { color: #a3a9b2; }
.foot .brand svg rect { stroke: rgba(255,255,255,.2); stroke-width: 2; }
.foot a { color: #a3a9b2; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot nav { display: grid; gap: 11px; align-content: start; }
.foot-about p { margin: 16px 0 0; max-width: 30em; line-height: 1.65; }
.foot-about p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ic { color: #fff; }
.foot-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 28px; }
.pay-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: 7px 14px; font-size: 13px; color: #e4e7eb; }
.pay-note { font-size: 13px; color: #8a9099; margin-left: 4px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.09); padding-top: 20px;
  padding-bottom: calc(26px + env(safe-area-inset-bottom)); font-size: 13px; color: #8a9099; }

/* ── adopted from the classic Sri Lankan store layout: two-row header, help button, card details, practical footer ── */
.top-row { gap: 24px; min-height: 76px; }
.search { flex: 1; max-width: 620px; margin: 0 auto; }
.search input { width: 100%; height: 46px; padding-right: 108px; background: #fff; border: 1.5px solid var(--ink); }
.search input:focus { width: 100%; box-shadow: 0 0 0 3px rgba(18,18,18,.08); }
.search button { position: absolute; right: 4px; top: 4px; height: 38px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 500 14px Inter, sans-serif; cursor: pointer; }
.search button:hover { background: var(--accent); }
.hdr-help { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: 14.5px; }
.hdr-help small, .cart-total small { display: block; font-weight: 400; font-size: 12px; color: var(--sub); line-height: 1.2; }
.cart-link { width: auto; height: auto; padding: 6px 8px; gap: 10px; display: flex; align-items: center; border-radius: 12px; text-decoration: none; }
.cart-ic { position: relative; display: grid; place-items: center; width: 34px; height: 34px; }
.cart-ic .badge { top: -4px; right: -6px; }
.cart-total { font-weight: 600; font-size: 14.5px; white-space: nowrap; line-height: 1.2; }
.cat-bar { border-top: 1px solid var(--line); background: #fff; }
.cat-bar .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-bar .wrap::-webkit-scrollbar { display: none; }
.cat-bar a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 13px 14px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--text); border-bottom: 2px solid transparent; white-space: nowrap; }
.cat-bar a:first-child { padding-left: 0; }
.cat-bar a:hover, .cat-bar a.on { border-bottom-color: var(--accent); }
.cat-bar .sale-link { color: var(--accent-ink); }
.cat-bar .track-link { margin-left: auto; color: var(--sub); }
.main-nav { display: none; }
@media (max-width: 1080px) { .hdr-help { display: none; } }
@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 8px 12px; }
  .search { display: flex; order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; font-size: 16px; }
  .cart-link { margin-left: auto; }
  .cart-total small { display: none; }
  .cat-bar a { padding: 11px 12px; font-size: 14px; }
  .cat-bar .track-link { margin-left: 0; }
}
@media (max-width: 380px) { .cart-total { display: none; } }

/* product card: category label, warranty, price row with an always-visible cart button */
.tile .body { padding-top: 12px; }
.tile .cat { font-size: 12px; font-weight: 500; color: var(--sub); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.tile .warranty { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; color: var(--ok); font-weight: 500; }
.tile .sub { display: none; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.foot-row .price { font-size: 15.5px; font-weight: 600; }
.foot-row .was { display: block; margin: 0; font-size: 12.5px; }
.tile .quick { position: static; }
.tile .quick button { opacity: 1; transform: none; width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: none; }
.tile .quick button:hover { background: var(--accent); }
@media (hover: hover) { .tile .quick button { opacity: 1; transform: none; } }

/* compact lists */
.mini-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .mini-lists { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.mini-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 4px; }
.mini-head h3 { margin: 0; font-size: 18px; }
.mini-head a { font-size: 13.5px; color: var(--sub); text-decoration: none; }
.mini-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mini-row img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--panel); flex: none; }
.mini-row .n { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.35; margin-bottom: 4px; }
.mini-row .price { font-weight: 600; font-size: 14.5px; }
.mini-row:hover .n { text-decoration: underline; }

/* floating help */
.help-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 35; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.help-fab > button { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 0 0 0 18px; height: 56px; border-radius: 99px; background: #fff; color: var(--text);
  font: 600 14.5px Inter, sans-serif; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); }
.help-fab > button .ic { width: 56px; height: 56px; padding: 15px; border-radius: 50%; background: #1fa855; color: #fff; }
.help-menu { width: 290px; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); display: grid; gap: 10px; }
.help-menu > b { font-size: 16px; }
.help-menu > span { font-size: 13.5px; color: var(--sub); margin-top: -6px; }
@media (max-width: 640px) { .help-fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); } .help-fab > button span { display: none; } .help-fab > button { padding: 0; } }
@media (max-width: 900px) { body:has(.sticky-buy) .help-fab { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* footer details */
.foot-call { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: #fff !important; text-decoration: none; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.foot-call .ic { color: var(--accent); }
.foot-call small { display: block; font-size: 13px; font-weight: 400; color: #a3a9b2; letter-spacing: 0; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours dt { color: #fff; font-weight: 500; margin-top: 8px; }
.hours dt:first-child { margin-top: 0; }
.hours dd { margin: 0; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.payhere { background: #fff; border-radius: 10px; padding: 6px; width: 100%; max-width: 260px; }
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* PayHere's official badge (from payhere.lk), shown where card payment is offered */
.payhere-badge { display: inline-block; border-radius: 10px; line-height: 0; }
.payhere-badge img { width: 150px; height: auto; border-radius: 10px; }
.payhere-badge:hover img { opacity: .92; }
.foot .payhere-badge { margin-top: 2px; }
.pay-opt .pay-logos { width: 150px; height: auto; margin-top: 10px; border-radius: 8px; }
.payhere { display: none; }
