/* Mega Store Kenya — #1 Smart Gadgets in East Africa storefront
   Forest green + lime on warm ivory. Playfair Display for display type,
   Poppins for the interface. Mobile first; no build step. */

:root {
  --ink: #0f1f1a;
  --ink-2: #33433d;
  --muted: #64716b;
  --forest: #123c2f;
  --forest-2: #1a5240;
  --forest-3: #0b2b21;
  --lime: #d4ef7d;
  --lime-2: #c2e35a;
  --lime-soft: #f0f8d6;
  --ivory: #f7f5ee;
  --ivory-2: #efece1;
  --paper: #ffffff;
  --tile: #f3f3ef;
  --line: #e7e4d9;
  --line-2: #d9d5c7;
  --sale: #d93f3f;
  --ok: #1f8a4c;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --star: #f5b301;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 32, 26, .05), 0 6px 18px rgba(16, 32, 26, .06);
  --shadow-lg: 0 18px 50px rgba(16, 32, 26, .16);
  --max: 1320px;
  --gutter: 16px;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ui: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; font-family: var(--ui); font-size: 15px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.si { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); box-shadow: 0 8px 20px rgba(18, 60, 47, .25); }
.btn-lime { background: var(--lime); color: var(--forest-3); }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { background: var(--paper); color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn-wa { background: var(--wa); color: #06331b; }
.btn-wa:hover { background: #1fc15c; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-wa .si { fill: currentColor; stroke: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest); }
.link-arrow:hover { gap: 9px; }
.link-arrow .si { width: 18px; height: 18px; transition: transform .15s; }

/* ---------- announcement + header ---------- */
.announce { background: var(--forest-3); color: #dfe9e3; font-size: 12.5px; }
.announce .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.announce-track { display: flex; gap: 28px; overflow: hidden; white-space: nowrap; }
.announce-track span { display: inline-flex; align-items: center; gap: 7px; }
.announce-track .si { width: 15px; height: 15px; color: var(--lime); }
.announce a { color: var(--lime); font-weight: 600; white-space: nowrap; }
.announce-track span:nth-child(n+2) { display: none; }
@media (min-width: 900px) { .announce-track span:nth-child(n+2) { display: inline-flex; } }
@media (max-width: 520px) { .announce .call { display: none; } .announce .wrap { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--forest); letter-spacing: -.02em; }
.logo-text small { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); transition: background-color .15s; }
.icon-btn:hover { background: var(--ivory); }
.icon-btn .si { width: 23px; height: 23px; }
.badge-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--lime); color: var(--forest-3); font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.badge-count[data-count="0"] { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header-link { display: none; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; font-size: 13px; line-height: 1.2; }
.header-link:hover { background: var(--ivory); }
.header-link .si { width: 24px; height: 24px; color: var(--forest); }
.header-link small { display: block; color: var(--muted); font-size: 11.5px; }
.header-link b { font-weight: 600; }
.header-link.wa .si { color: var(--wa-dark); fill: currentColor; stroke: none; }
.menu-btn { margin-left: -8px; }

.search { position: relative; flex: 1; min-width: 0; }
.search form { display: flex; align-items: center; height: 46px; background: var(--ivory); border: 1.5px solid transparent; border-radius: 999px; padding: 0 6px 0 16px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.search form:focus-within { background: #fff; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(212, 239, 125, .45); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; height: 100%; font-size: 14.5px; }
.search input::placeholder { color: #8a948f; }
.search .si { color: var(--muted); margin-right: 10px; }
.search button[type=submit] { height: 36px; padding: 0 18px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; font-size: 13.5px; }
.search-desktop { display: none; max-width: 640px; margin: 0 auto; }
.search-mobile { padding-bottom: 10px; }
.search-mobile form { height: 44px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; display: none; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 9px 14px; }
.suggest a:hover, .suggest a.active { background: var(--ivory); }
.suggest img { width: 46px; height: 46px; object-fit: contain; background: var(--tile); border-radius: 10px; mix-blend-mode: multiply; }
.suggest .s-name { font-size: 13.5px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.suggest .s-meta { font-size: 12px; color: var(--muted); }
.suggest .s-all { justify-content: center; font-weight: 600; color: var(--forest); border-top: 1px solid var(--line); font-size: 13.5px; }
.suggest .s-empty { padding: 16px; color: var(--muted); font-size: 13.5px; }

.navbar { display: none; border-top: 1px solid var(--line); }
.navbar > .wrap { display: flex; align-items: center; gap: 22px; height: 54px; }
.cat-trigger { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 10px; background: var(--forest); color: #fff; font-weight: 600; font-size: 14px; }
.cat-trigger .si { width: 18px; height: 18px; }
.cat-trigger[aria-expanded=true] .chev { transform: rotate(180deg); }
.chev { transition: transform .2s; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--forest); background: var(--ivory); }
.nav-links a.active { color: var(--forest); font-weight: 600; box-shadow: inset 0 -2px 0 var(--lime-2); border-radius: 0; }
.nav-links .hot { display: inline-flex; align-items: center; gap: 4px; }
.nav-links .hot .si { width: 16px; height: 16px; color: var(--sale); fill: currentColor; stroke: none; }
.nav-deal { margin-left: auto; display: none; white-space: nowrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.nav-deal b { color: var(--forest); font-variant-numeric: tabular-nums; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
.mega.open { display: block; animation: drop .18s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  .menu-btn, .search-mobile, .header-cart-mobile { display: none; }
  .search-desktop { display: block; }
  .header-link { display: inline-flex; }
  .navbar { display: block; }
  .cat-trigger { white-space: nowrap; }
  .logo-mark { width: 46px; height: 46px; }
  .logo-text b { font-size: 24px; }
}

/* ---------- drawer (mobile menu, filters, cart) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(9, 22, 17, .45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 90; width: min(400px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); }
.drawer.left { left: 0; transform: translateX(-102%); }
.drawer.right { right: 0; transform: translateX(102%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; font-weight: 700; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 16px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.m-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-radius: 12px; font-weight: 500; }
.m-nav a:hover { background: var(--ivory); }
.m-nav .si { color: var(--forest); }
.m-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 18px 6px 8px; }
.m-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--ivory); font-size: 12.5px; font-weight: 500; }
.m-cats img { width: 54px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.m-contact { margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--forest); color: #fff; }
.m-contact p { font-size: 13px; color: #cfe0d7; margin: 4px 0 12px; }

/* ---------- bottom nav (phones) ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; font-size: 11px; font-weight: 500; color: var(--muted); position: relative; }
.bottom-nav .si { width: 23px; height: 23px; }
.bottom-nav .active { color: var(--forest); }
.bottom-nav .active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--forest); }
.bottom-nav .wa-tab .si { color: var(--wa-dark); fill: currentColor; stroke: none; }
.bottom-nav .badge-count { top: 6px; right: calc(50% - 22px); }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

.wa-fab { position: fixed; left: 18px; bottom: 22px; z-index: 44; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 10px 28px rgba(18, 140, 75, .38); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .si { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: ping 2.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 44; width: 48px; height: 48px; border-radius: 14px; background: var(--forest); color: #fff; display: none; place-items: center; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.to-top.show { opacity: 1; }
.to-top .si { transform: rotate(-90deg); }
@media (min-width: 1024px) { .wa-fab, .to-top { display: grid; } }

/* ---------- sections ---------- */
.section { padding: 34px 0; }
.section-tight { padding: 22px 0; }
.section-ivory { background: var(--ivory); }
@media (min-width: 768px) { .section { padding: 54px 0; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 36px); position: relative; padding-bottom: 12px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; border-radius: 3px; background: var(--forest); }
.sec-head h2::before { content: ""; position: absolute; left: 56px; bottom: 0; width: 10px; height: 3px; border-radius: 3px; background: var(--lime-2); }
.sec-head p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-2); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--lime-2); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 16px 0 6px; }
.hero-grid { display: grid; gap: 14px; }
@media (min-width: 1024px) { .hero { padding: 24px 0 10px; } }
@media (min-width: 1280px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; } }
.hero-main {
  position: relative; overflow: hidden; border-radius: 26px; padding: 28px 22px 0;
  background: radial-gradient(120% 120% at 100% 0%, #e7f4bf 0%, rgba(231, 244, 191, 0) 45%), linear-gradient(135deg, #f8f6ee 0%, #efeadb 100%);
  display: grid; gap: 10px;
}
@media (min-width: 768px) { .hero-main { padding: 46px 46px 40px; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; min-height: 440px; } }
.hero-copy h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -.025em; color: var(--forest-3); margin: 14px 0 14px; }
.hero-copy h1 em { font-style: italic; color: var(--forest-2); position: relative; white-space: nowrap; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .2em; background: var(--lime); z-index: -1; border-radius: 4px; }
.hero-copy h1 em { z-index: 0; }
.hero-copy > p { color: var(--ink-2); font-size: 15.5px; max-width: 470px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .si { width: 17px; height: 17px; color: var(--forest-2); }
.hero-art { position: relative; height: 290px; margin: 6px -6px 0; }
@media (min-width: 768px) { .hero-art { height: 380px; margin: 0; } }
.hero-orb { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 20px 50px rgba(18, 60, 47, .12); display: grid; place-items: center; overflow: hidden; }
.hero-orb img { width: 74%; height: auto; max-height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.hero-orb.o1 { width: 62%; aspect-ratio: 1; left: 4%; top: 8%; background: #fff; }
.hero-orb.o2 { width: 40%; aspect-ratio: 1; right: 2%; top: 0; background: var(--lime-soft); }
.hero-orb.o3 { width: 42%; aspect-ratio: 1; right: 8%; bottom: 0; background: #f4f1e6; }
.hero-tag { position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow); font-size: 12px; line-height: 1.3; max-width: 170px; }
.hero-tag b { display: block; font-size: 14px; color: var(--forest); }
.hero-tag.t1 { left: 0; bottom: 12%; }
.hero-tag.t2 { right: 0; top: 46%; }
.hero-side { display: grid; gap: 14px; }
@media (min-width: 640px) and (max-width: 1279px) { .hero-side { grid-template-columns: 1fr 1fr; } }
.promo-tile { position: relative; overflow: hidden; border-radius: 22px; padding: 22px; min-height: 196px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s; }
.promo-tile:hover { transform: translateY(-3px); }
.promo-tile h3 { font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.1; max-width: 70%; }
.promo-tile p { font-size: 13px; margin-top: 6px; max-width: 62%; }
.promo-tile img { position: absolute; right: -14px; bottom: -10px; width: 46%; mix-blend-mode: multiply; }
.promo-tile.dark { background: var(--forest); color: #fff; }
.promo-tile.dark p { color: #cfe0d7; }
.promo-tile.dark img { mix-blend-mode: normal; border-radius: 50%; background: #fff; width: 40%; right: 14px; bottom: 16px; aspect-ratio: 1; object-fit: contain; padding: 10px; }
.promo-tile.lime { background: var(--lime); color: var(--forest-3); }
.promo-tile .pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; margin-top: 14px; }
.promo-tile.lime .pill { background: rgba(18, 60, 47, .1); }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.trust div { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--ivory); }
.trust .ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--forest); flex: none; }
.trust b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.trust small { color: var(--muted); font-size: 12px; line-height: 1.3; display: block; }

/* ---------- category cards (circle tiles) ---------- */
.scroller { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; margin: 0 -2px; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-auto-columns: 156px; gap: 16px; } }
.rail-btn { position: absolute; top: 40%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: none; place-items: center; color: var(--forest); }
.rail-btn.prev { left: -18px; } .rail-btn.next { right: -18px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .rail-btn { display: grid; } }
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card:hover { border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card .disc { width: 96px; height: 96px; border-radius: 50%; background: var(--lime-soft); display: grid; place-items: center; margin-bottom: 10px; transition: background-color .2s; }
.cat-card:nth-child(3n+2) .disc { background: #eef1f7; }
.cat-card:nth-child(3n) .disc { background: #f6efe2; }
.cat-card:hover .disc { background: var(--lime); }
.cat-card img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card b { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.cat-card small { color: var(--muted); font-size: 11.5px; }
@media (min-width: 768px) { .cat-card .disc { width: 112px; height: 112px; } .cat-card img { width: 84px; height: 84px; } }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1280px) { .grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rail.products { grid-auto-columns: 172px; }
@media (min-width: 768px) { .rail.products { grid-auto-columns: 232px; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(16, 32, 26, .1); border-color: #d6d2c4; transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 1; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 94%; height: 94%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease, opacity .35s; }
.card-media img.alt { position: absolute; opacity: 0; }
.card:hover .card-media img:first-child { transform: scale(1.05); }
.card:hover .card-media img.alt + img, .card:hover .card-media .has-alt { opacity: 0; }
@media (hover: hover) { .card:hover .card-media img.alt { opacity: 1; } .card:hover .card-media img.main.swap { opacity: 0; } }
.deal-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px 4px 7px; border-radius: 999px; background: var(--lime); color: var(--forest-3); font-size: 12px; font-weight: 700; }
.deal-badge .si { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.cond-badge { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--forest-2); }
.quick { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; }
.quick button, .quick a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: #fff; box-shadow: 0 6px 16px rgba(18, 60, 47, .25); transition: transform .15s, background-color .15s; }
.quick button:hover { background: var(--forest-2); transform: scale(1.08); }
.quick a { background: var(--wa); color: #fff; }
.quick a .si { fill: currentColor; stroke: none; width: 19px; height: 19px; }
.quick .si { width: 19px; height: 19px; }
@media (hover: hover) and (min-width: 1024px) { .quick a { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; } .card:hover .quick a { opacity: 1; transform: none; } }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
@media (min-width: 768px) { .card-body { padding: 14px 16px 16px; } }
.card-brand { font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.card-name { font-size: 13.5px; font-weight: 500; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.card-name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (min-width: 768px) { .card-name { font-size: 14px; } }
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--star); font-size: 12px; }
.stars .si { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.stars .off { color: #d8d8d2; }
.stars span { color: var(--muted); margin-left: 4px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
@media (min-width: 768px) { .price { font-size: 17px; } }
.was { color: #8e9792; font-size: 12.5px; text-decoration: line-through; }
.save { font-size: 11.5px; color: var(--ok); font-weight: 600; width: 100%; }
.stock-low { font-size: 11.5px; color: #b45309; font-weight: 600; }

/* ---------- flash sale ---------- */
.flash { display: grid; gap: 16px; }
.flash > *, .shop > *, .pdp > *, .article > *, .cart-layout > *, .hero-grid > *, .visit > * { min-width: 0; }
@media (min-width: 1024px) { .flash { grid-template-columns: 380px minmax(0, 1fr); gap: 22px; } }
.flash-feature { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.flash-feature .card-name { -webkit-line-clamp: 2; font-size: 15.5px; min-height: 0; }
.flash-feature .card-name::after { display: none; }
.flash-feature .media { position: relative; border-radius: 16px; background: var(--tile); aspect-ratio: 1.05; display: grid; place-items: center; }
.flash-feature .media img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.flash-feature .price { font-size: 22px; }
.countdown { display: flex; gap: 8px; justify-content: center; }
.countdown div { width: 54px; height: 54px; border-radius: 50%; background: var(--ivory); display: grid; place-content: center; text-align: center; line-height: 1.05; }
.countdown b { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.countdown small { font-size: 9.5px; color: var(--forest-2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.countdown.sm div { width: 46px; height: 46px; }
.countdown.sm b { font-size: 13.5px; }
.flash-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.flash-ends { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.flash .rail.products { grid-auto-columns: 180px; }
@media (min-width: 768px) { .flash .rail.products { grid-auto-columns: 236px; } }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; margin-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: #fff; transition: all .15s; }
.tab:hover { border-color: var(--forest); color: var(--forest); }
.tab[aria-selected=true] { background: var(--forest); border-color: var(--forest); color: #fff; }
.tab-panel[hidden] { display: none; }

/* ---------- banners ---------- */
.duo { display: grid; gap: 14px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 18px; } }
.banner { position: relative; overflow: hidden; border-radius: 24px; padding: 28px 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
.banner h3 { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; max-width: 60%; line-height: 1.1; }
.banner p { max-width: 54%; margin: 10px 0 18px; font-size: 14px; }
.banner img { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 38%; max-width: 230px; aspect-ratio: 1; object-fit: contain; }
.banner.forest { background: linear-gradient(135deg, var(--forest) 0%, #0e3428 100%); color: #fff; }
.banner.forest p { color: #cfe0d7; }
.banner.forest img { background: #fff; border-radius: 50%; padding: 14px; }
.banner.ivory { background: linear-gradient(135deg, #f1edde 0%, #e6f1c4 100%); }
.banner.ivory img { mix-blend-mode: multiply; }
.banner .btn { align-self: flex-start; }

/* ---------- brands ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .brand-wall { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1024px) { .brand-wall { grid-template-columns: repeat(7, 1fr); gap: 12px; } }
.brand-wall a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 78px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: all .15s; text-align: center; padding: 6px; }
.brand-wall a:hover { border-color: var(--forest); box-shadow: var(--shadow); }
.brand-wall b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--forest-3); }
.brand-wall small { font-size: 11.5px; color: var(--muted); }

/* ---------- guide cards ---------- */
.guide-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.guide-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; position: relative; }
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guide-card .gimg { aspect-ratio: 16/9; background: var(--ivory-2); overflow: hidden; }
.guide-card .gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.guide-card:hover .gimg img { transform: scale(1.04); }
.guide-card .gbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--forest-2); font-weight: 600; font-size: 11.5px; }
.guide-card h3 { font-size: 16.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- location ---------- */
.visit { display: grid; gap: 16px; border-radius: 26px; overflow: hidden; background: var(--forest); color: #fff; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr 1fr; gap: 0; } }
.visit-map { position: relative; min-height: 280px; background: #0e3428; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.visit-map .map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #cfe0d7; font-size: 14px; }
.visit-info { padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .visit-info { padding: 40px 38px; } }
.visit-info h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.visit-info .addr { display: flex; gap: 12px; font-size: 15px; color: #e7efe9; }
.visit-info .addr .si { color: var(--lime); margin-top: 2px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours td { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #d6e3dc; }
.hours td:last-child { text-align: right; color: #fff; font-weight: 500; }
.hours tr.today td { color: var(--lime); font-weight: 600; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(212, 239, 125, .14); color: var(--lime); font-size: 12.5px; font-weight: 600; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(212, 239, 125, .2); }
.open-badge.closed { background: rgba(255, 255, 255, .08); color: #f3c6c6; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-ctas .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.visit-ctas .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }

/* header map popover (desktop, like City Gadgets) */
.map-pop { position: relative; }
.map-pop .pop { position: absolute; right: 0; top: 100%; padding-top: 10px; width: 340px; display: none; z-index: 70; }
.map-pop:hover .pop, .map-pop:focus-within .pop { display: block; }
.map-pop .pop-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.map-pop iframe { display: block; width: 100%; height: 190px; border: 0; }
.map-pop .pop-body { padding: 14px 16px 16px; font-size: 13.5px; }
.map-pop .pop-body b { font-size: 15px; }
.map-pop .pop-body p { color: var(--muted); margin: 4px 0 12px; }

/* ---------- footer ---------- */
.footer { background: var(--forest-3); color: #c9d8d0; margin-top: 30px; }
.footer-top { display: grid; gap: 28px; padding-top: 46px; padding-bottom: 30px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 60px; padding-bottom: 40px; } }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.footer a:hover { color: var(--lime); }
.footer .logo-text b { color: #fff; }
.footer .logo-text small { color: #9fb6aa; }
.footer-about p { font-size: 14px; margin: 14px 0 18px; max-width: 360px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .si { width: 18px; height: 18px; color: var(--lime); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #8fa89b; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chips span { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #dfe9e3; font-weight: 600; font-size: 11.5px; }
.pay-chips .mpesa { background: #4caf50; color: #fff; }

/* ---------- breadcrumbs + page head ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); padding: 16px 0 8px; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs .si { width: 14px; height: 14px; }
.page-head { padding: 6px 0 18px; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 42px); }
.page-head p { color: var(--muted); margin-top: 6px; max-width: 720px; }
.cat-hero { border-radius: 24px; background: linear-gradient(135deg, #f6f3e8 0%, #e9f3c9 100%); padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; overflow: hidden; }
.cat-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 40px); color: var(--forest-3); }
.cat-hero p { color: var(--ink-2); margin-top: 6px; }
.cat-hero img { width: 120px; height: 120px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
@media (min-width: 768px) { .cat-hero { padding: 30px 38px; } .cat-hero img { width: 170px; height: 170px; } }

/* ---------- shop layout ---------- */
.shop { display: grid; gap: 22px; padding-bottom: 30px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 260px 1fr; gap: 30px; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 70px); align-self: start; max-height: calc(100vh - var(--header-h) - 90px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; } }
.f-group { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.f-group:first-child { padding-top: 0; }
.f-group h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 10px; }
.f-list { display: grid; gap: 2px; }
.f-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.f-list a:hover { background: var(--ivory); color: var(--forest); }
.f-list a.on { background: var(--forest); color: #fff; font-weight: 500; }
.f-list a.on small { color: #cfe0d7; }
.f-list small { color: var(--muted); font-size: 12px; }
.f-more { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--forest); padding: 4px 10px; }
.f-collapsed a:nth-child(n+9) { display: none; }
.price-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-form input { width: 100%; height: 40px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 10px; font-size: 13.5px; background: #fff; }
.price-form input:focus { outline: none; border-color: var(--forest); }
.price-form button { grid-column: span 2; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-presets a { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; }
.price-presets a:hover, .price-presets a.on { border-color: var(--forest); background: var(--forest); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.toolbar .count { font-size: 14px; color: var(--muted); }
.toolbar .count b { color: var(--ink); }
.toolbar-r { display: flex; gap: 8px; align-items: center; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 36px 0 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.select .si { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 600; background: #fff; }
.filter-btn .si { width: 17px; height: 17px; }
@media (min-width: 1024px) { .filter-btn { display: none; } }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--lime-soft); color: var(--forest-3); font-size: 12.5px; font-weight: 500; }
.active-chips a .si { width: 14px; height: 14px; }
.active-chips a.clear { background: transparent; text-decoration: underline; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line-2); border-radius: 22px; }
.empty h2 { font-family: var(--display); font-size: 26px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }
.pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
.pager .bar { width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pager .bar i { display: block; height: 100%; background: var(--forest); border-radius: 4px; }
.pager small { color: var(--muted); font-size: 13px; }
.pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pages a, .pages span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; }
.pages a:hover { border-color: var(--forest); color: var(--forest); }
.pages .on { background: var(--forest); border-color: var(--forest); color: #fff; }
.pages .gap { border: 0; min-width: 20px; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 22px; padding-bottom: 20px; }
@media (min-width: 1024px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 1024px) { .gallery { position: sticky; top: calc(var(--header-h) + 70px); grid-template-columns: 76px 1fr; } }
.g-main { position: relative; border-radius: 24px; background: var(--tile); aspect-ratio: 1; overflow: hidden; }
.g-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; padding: 7%; scroll-snap-align: center; mix-blend-mode: multiply; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.g-dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(18, 60, 47, .25); transition: all .2s; }
.g-dots i.on { width: 20px; background: var(--forest); }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 1024px) { .g-thumbs { flex-direction: column; order: -1; } .g-dots { display: none; } }
.g-thumbs button { flex: none; width: 70px; height: 70px; border-radius: 14px; background: var(--tile); border: 2px solid transparent; overflow: hidden; }
.g-thumbs button.on { border-color: var(--forest); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pdp-info h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.pdp-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.pdp-brand a { font-weight: 600; color: var(--forest); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 16px 0 6px; }
.pdp-price .price { font-size: 30px; font-weight: 700; }
.pdp-price .was { font-size: 16px; }
.pdp-price .off { padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--forest-3); font-weight: 700; font-size: 13px; }
.pdp-sub { font-size: 13.5px; color: var(--muted); }
.pdp-sub b { color: var(--ok); }
.pdp-summary { margin: 16px 0; color: var(--ink-2); font-size: 14.5px; }
.pdp-buy { display: grid; gap: 10px; margin: 20px 0 16px; }
.pdp-buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 6px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: var(--ivory); }
.qty input { width: 34px; text-align: center; border: 0; font-weight: 600; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; } .qty.sm button { width: 30px; height: 30px; } .qty.sm input { width: 28px; font-size: 14px; }
.perks { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--ivory); margin: 18px 0; }
.perks div { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; }
.perks .si { color: var(--forest); margin-top: 1px; }
.perks b { font-weight: 600; }
.perks small { display: block; color: var(--muted); font-size: 12.5px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 11px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.specs th { width: 38%; color: var(--muted); font-weight: 500; background: #fbfaf6; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.pdp-tabs { margin-top: 10px; }
.acc { border-bottom: 1px solid var(--line); }
.acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 16px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .si { transition: transform .2s; }
.acc[open] > summary .si { transform: rotate(180deg); }
.acc-body { padding-bottom: 22px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 43; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 32, 26, .08); padding: 10px var(--gutter); display: flex; align-items: center; gap: 10px; transform: translateY(140%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .sb-price { flex: 1; min-width: 0; }
.sticky-buy .sb-price b { display: block; font-size: 16px; }
.sticky-buy .sb-price small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { height: 44px; padding: 0 14px; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }

/* ---------- prose (descriptions + guides) ---------- */
.prose { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h1 { font-family: var(--display); font-size: 28px; color: var(--ink); margin-top: 1.4em; }
.prose h2 { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); margin-top: 1.7em; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 1.5em; }
.prose h4 { font-size: 16px; font-weight: 600; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--forest-2); text-decoration: underline; text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--forest-3); background: var(--lime-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--forest-2); }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--lime-2); background: var(--ivory); border-radius: 0 14px 14px 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose img { border-radius: 14px; }
.prose code { background: var(--ivory); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.md-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 1.2em 0; }
.md-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; min-width: 460px; }
.md-table th, .md-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.md-table th { background: var(--ivory); color: var(--ink); font-weight: 600; }
.md-table tr:last-child td { border-bottom: 0; }

/* ---------- guide page ---------- */
.article { display: grid; gap: 30px; padding-bottom: 20px; }
@media (min-width: 1024px) { .article { grid-template-columns: minmax(0, 1fr) 310px; gap: 54px; } }
.article-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.article-head .lead { font-size: 17px; color: var(--ink-2); margin-top: 14px; }
.article-hero { margin: 22px 0 28px; border-radius: 22px; overflow: hidden; aspect-ratio: 16/8; background: var(--ivory-2); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.aside-card { position: sticky; top: calc(var(--header-h) + 74px); border-radius: 22px; background: var(--forest); color: #fff; padding: 22px; }
.aside-card h3 { font-family: var(--display); font-size: 22px; }
.aside-card p { color: #cfe0d7; font-size: 14px; margin: 8px 0 16px; }
.aside-card .btn + .btn { margin-top: 8px; }
.aside-card .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.toc { margin-top: 16px; border-radius: 20px; border: 1px solid var(--line); padding: 18px; }
.toc h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; font-size: 13.5px; padding: 6px 0; color: var(--ink-2); line-height: 1.35; }
.toc a:hover { color: var(--forest); }

/* ---------- cart ---------- */
.cart-layout { display: grid; gap: 22px; padding-bottom: 30px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 400px; gap: 34px; align-items: start; } }
.cart-lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.line img { width: 82px; height: 82px; object-fit: contain; background: var(--tile); border-radius: 14px; padding: 6px; mix-blend-mode: multiply; }
.line-name { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-meta { font-size: 12px; color: var(--muted); }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.line-remove { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; }
.line-remove:hover { color: var(--sale); }
.line-remove .si { width: 16px; height: 16px; }
.summary { border-radius: 22px; background: var(--ivory); padding: 20px; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 74px); } }
.summary h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sum-row.total { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; height: 46px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 14.5px; }
.field textarea { height: 80px; padding: 10px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(212, 239, 125, .45); }
.field .err { font-size: 12px; color: var(--sale); display: none; }
.field.invalid input { border-color: var(--sale); }
.field.invalid .err { display: block; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; }
.note .si { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--forest); }
.mini-lines { display: grid; gap: 10px; }
.mini-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.mini-line img { width: 64px; height: 64px; border-radius: 12px; background: var(--tile); object-fit: contain; padding: 4px; mix-blend-mode: multiply; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 120; background: var(--forest-3); color: #fff; padding: 10px 12px 10px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; width: max-content; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .si { color: var(--lime); }
.toast a { color: var(--lime); font-weight: 600; white-space: nowrap; }
@media (min-width: 1024px) { .toast { bottom: 28px; } }

/* ---------- misc pages ---------- */
.info-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--forest); margin-bottom: 12px; }
.info-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--muted); }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .si { transform: rotate(180deg); }
.faq summary .si { transition: transform .2s; flex: none; }
.faq details p { padding-bottom: 16px; color: var(--ink-2); font-size: 14.5px; }
.narrow { max-width: 820px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row div { padding: 18px; border-radius: 18px; background: var(--ivory); }
.stat-row b { display: block; font-family: var(--display); font-size: 30px; color: var(--forest); }
.stat-row small { color: var(--muted); font-size: 13px; }

.fade-in { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

@media (min-width: 1280px) { .nav-deal { display: flex; } }
@media (min-width: 1024px) and (max-width: 1199px) { .nav-links a { padding: 8px 9px; font-size: 14px; } .header-link.wa small { display: none; } }

/* ---------- phone refinements ---------- */
@media (max-width: 1279px) { .hero-side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .hero { padding-top: 10px; }
  .hero-main { padding: 22px 18px 0; border-radius: 22px; }
  .hero-copy h1 { margin: 10px 0 10px; }
  .hero-copy > p { font-size: 14.5px; }
  .hero-ctas { margin-top: 18px; gap: 8px; }
  .hero-ctas .btn { flex: 1 1 auto; height: 50px; padding: 0 16px; font-size: 14.5px; }
  .hero-facts { margin-top: 16px; font-size: 12.5px; gap: 6px 14px; }
  .hero-art { height: 240px; }
  .hero-tag { font-size: 11px; padding: 6px 10px; max-width: 150px; }
  .hero-tag b { font-size: 13px; }
  .hero-side { gap: 10px; }
  .promo-tile { min-height: 168px; padding: 16px 14px; border-radius: 18px; }
  .promo-tile h3 { font-size: 18px; max-width: 100%; }
  .promo-tile p { display: none; }
  .promo-tile .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .promo-tile .eyebrow::before { display: none; }
  .promo-tile .pill { font-size: 11.5px; padding: 5px 10px; margin-top: 8px; position: relative; z-index: 1; }
  .promo-tile img { width: 44%; right: -8px; bottom: -6px; }
  .promo-tile.dark img { width: 36%; right: 10px; bottom: 44px; padding: 6px; }
  .rail { grid-auto-columns: 112px; gap: 10px; }
  .cat-card { padding: 10px 6px 12px; border-radius: 16px; }
  .cat-card .disc { width: 80px; height: 80px; margin-bottom: 8px; }
  .cat-card img { width: 58px; height: 58px; }
  .cat-card b { font-size: 12.5px; }
  .flash-feature { padding: 16px; }
  .flash-feature .media { aspect-ratio: 1.35; }
  .flash-feature .price { font-size: 20px; }
  .sec-head { margin-bottom: 14px; }
  .banner { min-height: 210px; padding: 22px 18px; }
  .banner img { width: 34%; right: 12px; }
  .banner p { font-size: 13px; }
  .trust div { padding: 12px 10px; gap: 10px; }
  .trust .ic { width: 36px; height: 36px; }
  .trust b { font-size: 12.5px; }
  .trust small { font-size: 11px; }
  .visit-info .btn { flex: 1 1 auto; }
}
@media (max-width: 639px) {
  .cat-hero { flex-wrap: wrap; padding: 18px; }
  .cat-hero img { width: 92px; height: 92px; }
  .cat-hero .countdown { width: 100%; justify-content: flex-start; }
}

/* =====================================================================
   v2 — bigger product imagery, full category grid, flash sale, mega menu,
   filter panel, search, brand hero carousel, brand wall, favourites tabs
   ===================================================================== */

/* product cards: image fills the tile */
.card-media img { padding: 0; }
.card-body { gap: 3px; }
@media (min-width: 1024px) { .card-name { font-size: 14.5px; } .price { font-size: 18px; } }

/* section heads: titles only (less copy) */
.sec-head p { display: none; }

/* hero: bigger product photography, less copy */
.hero-orb img { width: 88%; max-height: 88%; }
.hero-copy h1 { font-size: clamp(34px, 5.4vw, 62px); margin-top: 0; }
.hero-copy .lead { font-size: 16px; color: var(--ink-2); max-width: 420px; }
@media (max-width: 639px) { .hero-copy .lead { display: none; } .hero-art { height: 260px; } }
.promo-tile h3 { max-width: 62%; }

/* ---- category grid (all categories visible) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; } }
.cat-grid .cat-card { padding: 12px 6px; }
.cat-grid .cat-card .disc { width: 100%; max-width: 116px; height: auto; aspect-ratio: 1; }
.cat-grid .cat-card img { width: 86%; height: 86%; }
.cat-grid .cat-card b { font-size: 13px; }
@media (max-width: 639px) {
  .cat-grid .cat-card { padding: 8px 4px 10px; border-radius: 14px; }
  .cat-grid .cat-card .disc { margin-bottom: 6px; }
  .cat-grid .cat-card b { font-size: 11.5px; }
  .cat-grid .cat-card small { display: none; }
}

/* ---- flash sale ---- */
.fs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.fs-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.fs-title h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); display: inline-flex; align-items: center; gap: 10px; }
.fs-title h2 .si { width: 30px; height: 30px; color: var(--forest); }
.fs-clock { display: inline-flex; align-items: center; gap: 6px; }
.fs-clock span { min-width: 46px; padding: 6px 8px; border-radius: 10px; background: var(--forest); color: #fff; text-align: center; line-height: 1.05; }
.fs-clock b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.fs-clock small { font-size: 9.5px; color: var(--lime); text-transform: uppercase; letter-spacing: .06em; }
.fs-grid { display: grid; gap: 14px; }
@media (min-width: 1024px) { .fs-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: stretch; } }
.fs-feature { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #123c2f 0%, #0b2b21 100%); color: #fff; }
.fs-feature .fm { position: relative; flex: 1; min-height: 230px; margin: 14px 14px 0; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.fs-feature .fm img { width: 94%; height: 94%; max-height: 360px; object-fit: contain; }
.fs-feature .deal-badge { font-size: 14px; padding: 6px 12px; }
.fs-feature .fb { padding: 16px 18px 18px; display: grid; gap: 8px; }
.fs-feature .fb a.n { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fs-feature .price { color: #fff; font-size: 24px; }
.fs-feature .was { color: #9fb6aa; }
.fs-feature .save { color: var(--lime); width: auto; }
.fs-feature .fa { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.fs-deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .fs-deals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fs-deals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.fs-deals .card-body { padding: 10px 12px 12px; }
.fs-deals .card-name { font-size: 13.5px; }
@media (min-width: 640px) and (max-width: 1023px) { .fs-deals > :nth-child(n+7) { display: none; } }
@media (max-width: 639px) {
  .fs-feature { flex-direction: row; }
  .fs-feature .fm { flex: 0 0 42%; min-height: 0; margin: 10px 0 10px 10px; }
  .fs-feature .fb { padding: 12px; align-content: center; }
  .fs-feature .price { font-size: 19px; }
  .fs-feature .fa { grid-template-columns: 1fr; }
  .fs-feature .fa .btn-wa { display: none; }
  .fs-deals > :nth-child(n+7) { display: none; }
  .fs-clock span { min-width: 40px; padding: 5px 6px; }
  .fs-clock b { font-size: 14px; }
}

/* ---- two-pane mega menu ---- */
.mega-inner { display: grid; grid-template-columns: 290px minmax(0, 1fr); padding-top: 14px; padding-bottom: 18px; gap: 22px; }
.mega-list { display: grid; align-content: start; gap: 1px; max-height: calc(100vh - 200px); overflow-y: auto; padding-right: 8px; border-right: 1px solid var(--line); scrollbar-width: thin; }
.mega-list a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.mega-list a .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--ivory); display: grid; place-items: center; color: var(--forest); flex: none; }
.mega-list a .ic .si { width: 17px; height: 17px; }
.mega-list a small { margin-left: auto; color: var(--muted); font-size: 12px; }
.mega-list a.on { background: var(--lime-soft); color: var(--forest-3); }
.mega-list a.on .ic { background: var(--forest); color: var(--lime); }
.mega-pane { display: none; min-width: 0; }
.mega-pane.on { display: block; animation: fade .2s ease both; }
.mega-pane-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mega-pane-head h3 { font-family: var(--display); font-size: 26px; }
.mega-pane-head p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.mega-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mega-brands a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.mega-brands a:hover { border-color: var(--forest); background: var(--forest); color: #fff; }
.mega-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-products a { display: grid; gap: 6px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.mega-products a:hover { border-color: var(--forest); box-shadow: var(--shadow); }
.mega-products img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--tile); border-radius: 12px; }
.mega-products span { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-products b { font-size: 14px; }

/* ---- filter panel ---- */
.fpanel { border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.drawer .fpanel { border: 0; border-radius: 0; }
.drawer .fpanel-head { display: none; }
.fpanel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfaf6; }
.fpanel-head b { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.fpanel-head b .si { width: 18px; height: 18px; color: var(--forest); }
.fpanel-head a { font-size: 13px; color: var(--sale); font-weight: 600; }
.fpanel-head .n { background: var(--forest); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.fsec { border-bottom: 1px solid var(--line); }
.fsec:last-child { border-bottom: 0; }
.fsec > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; font-size: 14px; font-weight: 600; }
.fsec > summary::-webkit-details-marker { display: none; }
.fsec > summary .si { width: 18px; height: 18px; transition: transform .2s; color: var(--muted); }
.fsec[open] > summary .si { transform: rotate(180deg); }
.fsec-body { padding: 0 10px 14px; }
.fcat { display: grid; gap: 2px; }
.fcat a { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; font-size: 13.5px; color: var(--ink-2); }
.fcat a .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--ivory); display: grid; place-items: center; color: var(--forest-2); flex: none; }
.fcat a .ic .si { width: 16px; height: 16px; }
.fcat a .ct { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--ivory); border-radius: 99px; padding: 2px 8px; }
.fcat a:hover { background: var(--ivory); color: var(--forest); }
.fcat a.on { background: var(--lime-soft); color: var(--forest-3); font-weight: 600; }
.fcat a.on::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--forest); }
.fcat a.on .ic { background: var(--forest); color: var(--lime); }
.fcat a.on .ct { background: #fff; color: var(--forest); }
.fsearch { display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 6px 8px; padding: 0 12px; border-radius: 10px; background: var(--ivory); }
.fsearch .si { width: 16px; height: 16px; color: var(--muted); }
.fsearch input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 13px; }
.fcheck { display: grid; gap: 1px; }
.fcheck a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 13.5px; color: var(--ink-2); }
.fcheck a:hover { background: var(--ivory); }
.fcheck a i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; }
.fcheck a.on i { background: var(--forest); border-color: var(--forest); }
.fcheck a.on i::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.fcheck a small { margin-left: auto; color: var(--muted); font-size: 12px; }
.fcheck.collapsed a:nth-child(n+9) { display: none; }
.fcheck.searching a { display: flex; }
.fcheck a.miss { display: none !important; }
.fmore { margin: 6px 8px 0; font-size: 13px; font-weight: 600; color: var(--forest); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 0 6px; border-radius: 12px; background: var(--ivory); }
.seg a { text-align: center; padding: 7px 4px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.seg a.on { background: #fff; color: var(--forest-3); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 32, 26, .12); }
.fsec .price-form, .fsec .price-presets { margin-left: 6px; margin-right: 6px; }
@media (min-width: 1024px) { .filters { position: static; max-height: none; overflow: visible; padding-right: 0; } }

/* ---- search suggestions: bigger product rows ---- */
.suggest { max-height: min(72vh, 660px); overflow-y: auto; }
.suggest a { gap: 14px; padding: 10px 14px; }
.suggest img { width: 72px; height: 72px; border-radius: 12px; padding: 4px; }
.suggest .s-name { font-size: 14px; -webkit-line-clamp: 2; line-height: 1.35; }
.suggest .s-meta { font-size: 12.5px; margin-top: 3px; display: block; }
.suggest .s-meta b { color: var(--forest); font-size: 14px; }
.suggest .s-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; }
.suggest .s-cats a { padding: 5px 12px; border-radius: 99px; background: var(--lime-soft); color: var(--forest-3); font-size: 12.5px; font-weight: 600; }
.suggest .s-label { padding: 10px 14px 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---- brand hero carousel (City Gadgets-style) ---- */
.hc { position: relative; margin-bottom: 22px; }
.hc-top { display: flex; justify-content: flex-end; margin-bottom: 6px; font-size: 12px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.hc-top b { color: var(--ink); }
.hc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; display: flex; align-items: center; height: 236px; overflow: hidden; background: #f5f5f2; border-radius: 22px; }
.hc-slide .wash { position: absolute; right: -8%; top: 50%; height: 220%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: var(--accent); opacity: .1; }
.hc-slide .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.hc-copy { position: relative; flex: 0 0 44%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-left: 54px; }
.hc-logo { height: 42px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }
.hc-word { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); line-height: 1; }
.hc-copy h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.hc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 14px; color: var(--muted); }
.hc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #111114; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hc-pill .si { width: 16px; height: 16px; }
.hc-pics { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding-right: 54px; }
.hc-pic { height: 80%; aspect-ratio: 1; border-radius: 18px; background: #fff; box-shadow: 0 2px 8px rgba(16, 32, 26, .06); border: 1px solid rgba(0, 0, 0, .05); display: grid; place-items: center; overflow: hidden; flex: none; }
.hc-pic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.hc-slide.art img { width: 100%; height: 100%; object-fit: cover; }
.hc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.hc-dots button { width: 22px; height: 5px; border-radius: 5px; background: var(--line-2); transition: width .2s, background-color .2s; }
.hc-dots button.on { width: 36px; background: #111114; }
.hc-nav { position: absolute; top: calc(50% + 4px); transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: none; place-items: center; color: var(--ink); }
.hc-nav.prev { left: -18px; } .hc-nav.next { right: -18px; }
@media (min-width: 1024px) { .hc-nav { display: grid; } }
@media (max-width: 1023px) {
  .hc-slide { height: 190px; }
  .hc-copy { padding-left: 28px; }
  .hc-pics { padding-right: 20px; gap: 10px; }
  .hc-pic:nth-child(3) { display: none; }
}
@media (max-width: 639px) {
  .hc-slide { height: 150px; border-radius: 18px; }
  .hc-track { border-radius: 18px; }
  .hc-copy { flex-basis: 56%; padding-left: 20px; gap: 6px; }
  .hc-logo { height: 26px; max-width: 100px; }
  .hc-word { font-size: 20px; }
  .hc-copy h3 { display: none; }
  .hc-meta { font-size: 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hc-pill { padding: 6px 12px; font-size: 12px; }
  .hc-pics { padding-right: 12px; }
  .hc-pic { height: 76%; border-radius: 14px; }
  .hc-pic:nth-child(2) { display: none; }
  .hc-slide.art img { object-fit: contain; }
}
.hc.art-only .hc-slide { height: auto; aspect-ratio: 5 / 1; }
@media (max-width: 639px) { .hc.art-only .hc-slide { aspect-ratio: 3 / 1; } .hc.art-only .hc-slide img { object-fit: cover; } }

/* listing page head (City Gadgets style) */
.list-head { padding: 4px 0 6px; }
.list-head h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.list-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---- brand wall: real logos in brand colour ---- */
.brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .brand-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .brand-wall { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.brand-wall a { position: relative; height: 104px; gap: 8px; overflow: hidden; border-radius: 18px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.brand-wall a::before { content: ""; position: absolute; inset: 0; background: var(--bc); opacity: 0; transition: opacity .2s; }
.brand-wall a:hover { border-color: var(--bc); transform: translateY(-2px); box-shadow: var(--shadow); }
.brand-wall a:hover::before { opacity: .06; }
.brand-wall .bm { position: relative; height: 34px; display: grid; place-items: center; }
.brand-wall .bm img { height: 30px; width: auto; max-width: 112px; object-fit: contain; }
.brand-wall .bm.wide img { height: 18px; max-width: 120px; }
.brand-wall .bw { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--bc); line-height: 1; }
.brand-wall small { position: relative; font-size: 11.5px; color: var(--muted); }

/* ---- favourites: icon tabs on an underline rail ---- */
.fav-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 4px; }
.fav-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.fav-tabs::-webkit-scrollbar { display: none; }
.fav-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 14px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.fav-tab .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--ivory); display: grid; place-items: center; color: var(--forest-2); transition: background-color .15s, color .15s; }
.fav-tab .ic .si { width: 18px; height: 18px; }
.fav-tab small { font-size: 11.5px; color: var(--muted); font-weight: 500; display: block; line-height: 1.1; }
.fav-tab span { text-align: left; line-height: 1.2; }
.fav-tab:hover { color: var(--forest); }
.fav-tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.fav-tab[aria-selected=true] { color: var(--ink); font-weight: 600; }
.fav-tab[aria-selected=true]::after { background: var(--forest); }
.fav-tab[aria-selected=true] .ic { background: var(--forest); color: var(--lime); }
@media (max-width: 639px) { .fav-tab { padding: 10px 10px 12px; gap: 8px; font-size: 13px; } .fav-tab .ic { width: 30px; height: 30px; } .fav-tab small { display: none; } }

/* trust strip: one line each */
.trust small { display: none; }
.trust div { padding: 14px 16px; }

/* category thumbnails (real product photos) instead of icons */
.fcat a .ic, .mega-list a .ic, .fav-tab .ic { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.fcat a .ic { width: 38px; height: 38px; border-radius: 10px; }
.mega-list a .ic { width: 38px; height: 38px; border-radius: 10px; }
.fav-tab .ic { width: 42px; height: 42px; border-radius: 12px; }
.fcat a .ic img, .mega-list a .ic img, .fav-tab .ic img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.fcat a.on .ic, .mega-list a.on .ic, .fav-tab[aria-selected=true] .ic { background: #fff; border-color: var(--forest); box-shadow: 0 0 0 2px var(--lime); }
@media (max-width: 639px) { .fav-tab .ic { width: 36px; height: 36px; } }

/* mega menu v3: fills its height — logo chips, 2 product rows, deal + help strip */
.mega-inner { grid-template-columns: 280px minmax(0, 1fr); align-items: stretch; }
.mega-list a { padding: 5px 10px; font-size: 13.5px; }
.mega-list a .ic { width: 34px; height: 34px; }
.mega-pane.on { display: flex; flex-direction: column; height: 100%; }
.mega-pane-head h3 { font-size: 24px; }
.mega-brands { gap: 6px; margin-bottom: 14px; }
.mega-brands a { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; background: #fff; }
.mega-brands a img { height: 18px !important; width: auto; max-width: 84px; object-fit: contain; }
.mega-brands a:hover { background: var(--ivory); color: var(--ink); border-color: var(--forest); }
.mega-brands .mb-word { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.mega-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mega-products a { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 2px; padding: 8px; }
.mega-products img { grid-row: span 2; width: 64px; height: 64px; }
.mega-products span { font-size: 12.5px; align-self: end; }
.mega-products b { font-size: 13.5px; align-self: start; color: var(--forest); }
.mega-foot { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.mega-deal, .mega-help { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; }
.mega-deal { background: linear-gradient(135deg, var(--forest) 0%, #0b2b21 100%); color: #fff; }
.mega-deal img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; flex: none; }
.mega-deal span { min-width: 0; display: grid; gap: 2px; }
.mega-deal small { display: inline-flex; align-items: center; gap: 4px; color: var(--lime); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.mega-deal small .si { width: 13px; height: 13px; }
.mega-deal b { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-deal em { font-style: normal; font-weight: 700; font-size: 15px; }
.mega-deal em s { color: #9fb6aa; font-weight: 400; font-size: 12.5px; margin-left: 4px; }
.mega-help { background: #e7f9ee; color: #0d5a32; }
.mega-help .si { width: 30px; height: 30px; color: var(--wa-dark); flex: none; }
.mega-help b { display: block; font-size: 14px; }
.mega-help small { font-size: 12.5px; color: #2f6b4b; }

/* mega menu: image-on-top product tiles so 2 rows fill the pane */
.mega-products a { grid-template-columns: 1fr; grid-template-rows: auto; padding: 10px; row-gap: 6px; align-items: start; }
.mega-products img { grid-row: auto; width: 100%; height: 132px; object-fit: contain; }
.mega-products span { align-self: start; min-height: 2.7em; }
@media (max-height: 820px) { .mega-products img { height: 96px; } }

/* search: always prominent — bordered field + visible button on every screen */
.search form { background: #fff; border: 1.5px solid var(--line-2); box-shadow: 0 1px 2px rgba(16, 32, 26, .04); }
.search form:hover { border-color: var(--forest-2); }
.search .si { color: var(--forest); }
.search-mobile { padding-bottom: 12px; }
.search-mobile form { height: 48px; padding-right: 5px; }
.search-mobile button[type=submit] { height: 38px; padding: 0 16px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; font-size: 13.5px; }
.search-mobile .suggest { left: var(--gutter); right: var(--gutter); }
@media (min-width: 1024px) { .search-desktop form { height: 50px; } .search-desktop { max-width: 680px; } }

/* in-place listing navigation */
#main.swapping .shop > div:last-child, #main.swapping .hc, #main.swapping .list-head { opacity: .45; transition: opacity .15s; pointer-events: none; }
#main.swapping::before { content: ""; position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 200; background: linear-gradient(90deg, var(--lime-2), var(--forest)); transform-origin: left; animation: swapbar 1.2s ease-in-out infinite; }
@keyframes swapbar { 0% { transform: scaleX(0); } 60% { transform: scaleX(.8); } 100% { transform: scaleX(1); opacity: 0; } }

/* product cards: full "Order on WhatsApp" button instead of the icon */
.card-wa { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; margin-top: 10px; border-radius: 999px; background: var(--wa); color: #06331b; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background-color .15s, box-shadow .15s; }
.card-wa:hover { background: #1fc15c; box-shadow: 0 6px 16px rgba(37, 211, 102, .28); }
.card-wa .si { width: 18px; height: 18px; fill: currentColor; stroke: none; }
@media (max-width: 639px) { .card-wa { height: 36px; font-size: 12.5px; gap: 5px; } .card-wa .si { width: 16px; height: 16px; } }
.fs-feature .fa .btn-wa { display: inline-flex !important; }
.fs-feature .fa .btn-lime { padding: 0 16px; }
@media (max-width: 639px) { .fs-feature .fa { grid-template-columns: 1fr auto; } }

/* "Order on WhatsApp" appears on hover (mouse devices); always shown on touch screens */
@media (hover: hover) and (pointer: fine) {
  .card { container-type: inline-size; }
  .card-wa { position: absolute; left: 10px; right: 56px; top: calc(100cqw - 50px); margin: 0; height: 38px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease, background-color .15s; box-shadow: 0 6px 18px rgba(18, 140, 75, .3); }
  .card:hover .card-wa, .card:focus-within .card-wa { opacity: 1; transform: none; pointer-events: auto; }
}

/* phones & tablets (touch): refined WhatsApp pill, aligned to the card bottom */
@media (hover: none), (pointer: coarse) {
  .card-body { display: flex; flex-direction: column; }
  .price-row { margin-top: 2px; }
  .card-wa { margin-top: auto; position: static; height: 34px; border-radius: 10px; background: #effcf3; color: #0f7a3d; border: 1.5px solid #bfeccd; font-size: 12.5px; font-weight: 600; gap: 6px; box-shadow: none; }
  .card-wa .si { width: 15px; height: 15px; color: #1fae55; }
  .card-wa:active { background: #dcf7e5; }
  .price-row + .card-wa { margin-top: auto; }
  .card-body::after { content: none; }
  .card-body > .price-row { padding-bottom: 10px; }
}
@media (max-width: 639px) {
  .grid { gap: 8px; }
  .card { border-radius: 16px; }
  .card-body { padding: 10px 10px 10px; gap: 2px; }
  .card-brand { font-size: 11px; }
  .card-name { font-size: 13px; line-height: 1.35; }
  .price { font-size: 15px; }
  .was { font-size: 11.5px; }
  .save { font-size: 11px; }
  .deal-badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px 3px 6px; }
  .cond-badge { top: 8px; right: 8px; font-size: 10px; padding: 2px 7px; }
  .quick { right: 8px; bottom: 8px; }
  .quick button { width: 34px; height: 34px; }
}

/* WhatsApp card button: sized by its own card (container queries) on every screen */
.card { container-type: inline-size; }
.card-wa { min-width: 0; max-width: 100%; overflow: hidden; padding: 0 12px; }
.card-wa .si { flex: none; }
.card-wa .wa-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .card-wa { left: 10px; right: 54px; height: 38px; font-size: clamp(12px, 6.2cqw, 14px); gap: 6px; }
  @container (max-width: 250px) { .card-wa .wa-long { display: none; } .card-wa { right: auto; padding: 0 16px; } }
}
@media (hover: none), (pointer: coarse) {
  .card-wa { font-size: clamp(11.5px, 7.4cqw, 13.5px); padding: 0 8px; }
  @container (max-width: 150px) { .card-wa .wa-long { display: none; } }
}
@media (hover: hover) and (pointer: fine) {
  .card-wa { right: 52px; padding: 0 10px; gap: 5px; font-size: clamp(12px, 5.5cqw, 13.5px); }
  @container (min-width: 215px) { .card-wa .wa-long { display: inline; } .card-wa { right: 52px; padding: 0 10px; } }
}
@media (hover: hover) and (pointer: fine) {
  .card-wa { font-size: clamp(11.5px, 5.1cqw, 13.5px); gap: 4px; padding: 0 8px; letter-spacing: -.005em; }
  .card-wa .si { width: 16px; height: 16px; }
}
@media (max-width: 639px) {
  .fs-feature { flex-direction: column; }
  .fs-feature .fm { flex: none; height: 210px; margin: 12px 12px 0; min-height: 0; }
  .fs-feature .fb { padding: 12px 14px 14px; }
  .fs-feature .fa { grid-template-columns: 1fr auto; }
  .fs-feature .fa .btn { height: 44px; font-size: 14px; }
}

/* =====================================================================
   Apple-style hero banners
   ===================================================================== */
.ah { padding: 14px 0 6px; }
@media (min-width: 1024px) { .ah { padding: 22px 0 8px; } }
.ah-stage { position: relative; border-radius: 30px; overflow: hidden; height: 600px; isolation: isolate; }
.ah-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px 70px; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.ah-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.ah-mist { background: #f5f5f7; }
.ah-white { background: #fbfbfd; }
.ah-sand { background: linear-gradient(180deg, #f7f4ec 0%, #efe9da 100%); }
.ah-sage { background: linear-gradient(180deg, #f1f6ea 0%, #e3edd5 100%); }
.ah-copy { position: relative; z-index: 2; max-width: 760px; }
.ah-eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: #b64400; letter-spacing: -.01em; margin-bottom: 6px; }
.ah h2 { font-family: var(--ui); font-weight: 600; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; color: #1d1d1f; }
.ah-tag { font-size: clamp(19px, 2.2vw, 27px); font-weight: 400; letter-spacing: -.015em; color: #1d1d1f; margin-top: 8px; }
.ah-price { font-size: 17px; color: #424245; margin-top: 10px; }
.ah-price s { color: #86868b; margin-left: 6px; }
.ah-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.ah-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; height: 44px; padding: 0 22px; border-radius: 980px; background: var(--forest); color: #fff; font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; transition: background-color .2s, color .2s, box-shadow .2s; }
.ah-btn:hover { background: var(--forest-2); }
.ah-btn.ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.ah-btn.ghost:hover { background: var(--forest); color: #fff; }
.ah-media { position: relative; z-index: 1; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; margin-top: 18px; }
.ah-media img { max-height: 100%; max-width: min(560px, 90%); width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transform: translateY(16px) scale(.97); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.ah-slide.on .ah-media img { transform: none; }
.ah-slide.on .ah-copy > * { animation: ahUp .7s cubic-bezier(.2, .8, .2, 1) both; }
.ah-slide.on .ah-copy > :nth-child(2) { animation-delay: .05s; }
.ah-slide.on .ah-copy > :nth-child(3) { animation-delay: .1s; }
.ah-slide.on .ah-copy > :nth-child(4) { animation-delay: .14s; }
.ah-slide.on .ah-copy > :nth-child(5) { animation-delay: .18s; }
@keyframes ahUp { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .ah-slide, .ah-media img { transition: none; } .ah-slide.on .ah-copy > * { animation: none; } }
.ah-controls { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.ah-dots { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(210, 210, 215, .64); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.ah-dots button { width: 22px; height: 44px; display: grid; place-items: center; }
.ah-dots i { display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .42); transition: width .3s, background-color .3s; position: relative; overflow: hidden; }
.ah-dots button.on { width: 54px; }
.ah-dots button.on i { width: 46px; background: rgba(0, 0, 0, .2); }
.ah-dots button.on i::after { content: ""; position: absolute; inset: 0; background: #1d1d1f; border-radius: inherit; transform-origin: left; animation: ahProg var(--ah-ms, 6000ms) linear forwards; }
.ah.paused .ah-dots button.on i::after { animation-play-state: paused; }
@keyframes ahProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ah-pause { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(210, 210, 215, .64); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: #1d1d1f; }
.ah-pause svg { width: 18px; height: 18px; fill: currentColor; }
.ah-pause .pl, .ah.paused .ah-pause .p { display: none; }
.ah.paused .ah-pause .pl { display: block; }

.ah-duo { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 768px) { .ah-duo { grid-template-columns: 1fr 1fr; } }
.ah-tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; height: 400px; padding: 40px 24px 0; border-radius: 30px; background: #f5f5f7; color: #1d1d1f; }
.ah-tile.dark { background: #111; color: #f5f5f7; }
.ah-tile.sand { background: linear-gradient(180deg, #f7f4ec 0%, #efe9da 100%); }
.ah-tile h3 { font-family: var(--ui); font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.ah-tile p { font-size: 17px; margin-top: 8px; color: inherit; opacity: .82; }
.ah-tile .ah-eyebrow { color: #b64400; }
.ah-tile.dark .ah-eyebrow { color: var(--lime); }
.ah-link { display: inline-flex; align-items: center; gap: 2px; margin-top: 12px; font-size: 16.5px; color: #0b6b3a; font-weight: 500; }
.ah-tile.dark .ah-link { color: var(--lime); }
.ah-link .si { width: 16px; height: 16px; transition: transform .2s; }
.ah-tile:hover .ah-link .si { transform: translateX(3px); }
.ah-tile img { position: relative; margin-top: auto; width: auto; max-width: 70%; height: 190px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ah-tile.dark img { mix-blend-mode: normal; height: 170px; border-radius: 22px 22px 0 0; background: #fff; padding: 12px 18px 0; }
.ah-tile:hover img { transform: scale(1.04); }

@media (max-width: 767px) {
  .ah-stage { height: 560px; border-radius: 24px; }
  .ah-slide { padding: 40px 18px 74px; }
  .ah-eyebrow { font-size: 13.5px; }
  .ah-tag { font-size: 18px; }
  .ah-price { font-size: 15px; }
  .ah-ctas { gap: 8px; margin-top: 16px; }
  .ah-btn { min-width: 0; height: 40px; padding: 0 18px; font-size: 14.5px; }
  .ah-media img { max-width: 92%; }
  .ah-tile { height: 340px; border-radius: 24px; padding-top: 32px; }
  .ah-tile p { font-size: 15px; }
  .ah-tile img { height: 150px; }
  .ah-dots { height: 38px; padding: 0 10px; }
  .ah-dots button { height: 38px; width: 18px; }
  .ah-dots button.on { width: 44px; }
  .ah-dots button.on i { width: 36px; }
  .ah-pause { width: 38px; height: 38px; }
}

/* hero photo fills the space under the copy; feathered edges hide off-white photo backdrops */
.ah-stage { height: 640px; }
.ah-media { position: relative; margin-top: 14px; }
.ah-media img { position: absolute; inset: 0; margin: auto; max-width: min(620px, 92%); max-height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%); mask-composite: intersect; }
@media (max-width: 767px) { .ah-stage { height: 580px; } }

/* hero media: no stacking context, so the photo's white multiplies into the slide colour */
.ah-media { z-index: auto; }
.ah-media img { max-width: min(640px, 86%); max-height: 94%; }
@media (max-width: 767px) { .ah-media img { max-width: 88%; } }

/* wider layout: roomier product cards on laptops and desktops */
:root { --max: 1480px; }
@media (min-width: 1280px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { .shop { grid-template-columns: 248px minmax(0, 1fr); gap: 28px; } }
@media (min-width: 1440px) { .grid:not(.g5) { gap: 20px; } }

/* one-photo products: no thumbnail column, the photo gets the full gallery width */
@media (min-width: 1024px) { .gallery.single { grid-template-columns: minmax(0, 1fr); } }

/* card photos: pinned inside the square so tall/wide shots are never clipped */
.card-media img, .card-media img.alt { position: absolute; inset: 8%; width: 84%; height: 84%; max-width: none; object-fit: contain; object-position: center; }
.fs-feature .fm img { position: absolute; inset: 6%; width: 88%; height: 88%; max-height: none; object-fit: contain; }
/* touch: drop "Order on" before it can be cut off on two-column phone grids */
@media (hover: none), (pointer: coarse) { @container (max-width: 200px) { .card-wa .wa-long { display: none; } } }
/* tagline "#1 Smart Gadgets in East Africa" — tighter tracking so it sits under the wordmark */
.logo-text small { font-size: 9px; letter-spacing: .085em; white-space: nowrap; }
@media (max-width: 380px) { .logo-text small { font-size: 8px; letter-spacing: .05em; } }

/* category / brand landing copy: price list, related links, FAQ */
.seo-land { margin: 56px 0 8px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; display: grid; gap: 28px; }
@media (min-width: 1024px) { .seo-land { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; padding: 36px 40px; } }
.seo-land h2 { font-family: var(--display); font-size: clamp(21px, 2.2vw, 27px); color: var(--forest); margin: 0 0 12px; letter-spacing: -.01em; }
.seo-land h3 { font-size: 15px; font-weight: 700; color: var(--forest); margin: 0 0 12px; }
.seo-land .seo-side h3 + * { margin-bottom: 26px; }
.seo-copy p { color: #4a5a53; font-size: 14.5px; line-height: 1.75; margin: 0 0 12px; }
.seo-copy p b { color: var(--forest); font-weight: 600; }
.price-list { margin-top: 18px; }
.price-list table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-list caption { text-align: left; font-weight: 700; color: var(--forest); font-size: 15px; padding-bottom: 10px; }
.price-list th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 9px 12px; background: var(--tile); }
.price-list th:last-child, .price-list td:last-child { text-align: right; white-space: nowrap; }
.price-list td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: #2c3a34; }
.price-list td:last-child { font-weight: 600; color: var(--forest); }
.price-list td a { color: inherit; }
.price-list td a:hover { color: var(--forest); text-decoration: underline; }
.price-list small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.seo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #2c3a34; background: #fbfaf6; transition: border-color .15s, background-color .15s; }
.seo-chips a:hover { border-color: var(--forest); background: var(--lime-soft); }
.seo-chips small { color: var(--muted); font-size: 11.5px; }
.seo-more { margin: -12px 0 24px; }
.seo-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.seo-faq summary { cursor: pointer; font-weight: 600; font-size: 14px; color: #22302a; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: '+'; color: var(--forest); font-size: 18px; line-height: 1; }
.seo-faq details[open] summary::after { content: '–'; }
.seo-faq p { margin: 8px 0 0; color: #4a5a53; font-size: 13.5px; line-height: 1.7; }
@media (max-width: 639px) { .seo-land { padding: 20px 16px; margin-top: 36px; border-radius: 18px; } .price-list td, .price-list th { padding: 9px 8px; } }
.seo-home { margin: 0; }

/* ===== Apple-style page banner (deals, guides) ===== */
.ph { position: relative; display: grid; align-items: center; gap: 8px; margin: 6px 0 22px; padding: 44px 28px 0; border-radius: 30px; overflow: hidden; text-align: center; isolation: isolate; }
.ph-mist { background: #f5f5f7; }
.ph-sand { background: linear-gradient(180deg, #fbfaf7 0%, #f3f0e8 100%); }
.ph-sage { background: linear-gradient(180deg, #f6f8f3 0%, #eaf0e3 100%); }
.ph-eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: #b64400; letter-spacing: -.01em; margin-bottom: 4px; }
.ph h1 { font-family: var(--ui); font-weight: 600; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; color: #1d1d1f; }
.ph-sub { max-width: 560px; margin: 10px auto 0; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.4; letter-spacing: -.012em; color: #424245; }
.ph-count { display: inline-flex; align-items: baseline; gap: 2px; margin-top: 20px; padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06); font-variant-numeric: tabular-nums; color: #1d1d1f; }
.ph-count span { font-size: 13px; color: #6e6e73; margin-right: 8px; }
.ph-count b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.ph-count i { font-style: normal; font-size: 12.5px; color: #6e6e73; margin: 0 8px 0 1px; }
.ph-count i:last-child { margin-right: 0; }
.ph-search { position: relative; max-width: 460px; margin: 22px auto 0; }
.ph-search .si { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #6e6e73; fill: none; stroke: currentColor; stroke-width: 2; }
.ph-search input { width: 100%; height: 52px; padding: 0 20px 0 48px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 999px; background: #fff; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.ph-search input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.ph-media { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 3vw, 44px); height: 230px; margin-top: 26px; }
.ph-media::before { content: ''; position: absolute; left: 12%; right: 12%; bottom: 4px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .13), transparent); z-index: -1; }
.ph-item { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; flex: 0 1 260px; }
.ph-item img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transform: translateY(10px); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ph-item:hover img { transform: translateY(0) scale(1.03); }
.ph-media.n3 .ph-item:nth-child(2) { flex-basis: 300px; }
.ph-media.n3 .ph-item:nth-child(1), .ph-media.n3 .ph-item:nth-child(3) { height: 82%; }
.ph-off { position: absolute; top: 6px; right: 6%; padding: 4px 10px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 1024px) {
  .ph { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); text-align: left; padding: 0 0 0 64px; min-height: 340px; gap: 24px; }
  .ph-sub { margin-left: 0; }
  .ph-search { margin-left: 0; }
  .ph-media { height: 300px; margin: 32px 32px 0 0; align-self: end; }
}
@media (max-width: 639px) {
  .ph { padding: 32px 18px 0; border-radius: 22px; margin-bottom: 16px; }
  .ph-media { height: 160px; margin-top: 20px; }
  .ph-count { padding: 8px 14px; }
  .ph-count b { font-size: 17px; }
  .ph-off { font-size: 11px; padding: 3px 8px; }
}

/* listing title: Apple-style type */
.list-head h1 { font-family: var(--ui); font-weight: 600; letter-spacing: -.035em; color: #1d1d1f; }
.list-head p { color: #6e6e73; }

/* ===== brand pages: "All Apple · Smartphones · Laptops …" chapter nav ===== */
.bnav { display: flex; gap: 6px; overflow-x: auto; margin: 6px 0 18px; padding: 4px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.bnav::-webkit-scrollbar { display: none; }
.bnav a { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 112px; padding: 12px 8px; border-radius: 18px; text-align: center; scroll-snap-align: start; transition: background-color .2s; }
.bnav a:hover { background: #f5f5f7; }
.bnav .bi { width: 64px; height: 64px; display: grid; place-items: center; }
.bnav .bi img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.bnav a:hover .bi img { transform: scale(1.06); }
.bnav .bi-all { border-radius: 18px; background: #f5f5f7; }
.bnav .bi-all img, .bnav .bi-all svg { max-width: 46px; max-height: 26px; }
.bnav b { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: #1d1d1f; letter-spacing: -.01em; }
.bnav small { font-size: 11.5px; color: #6e6e73; margin-top: -4px; }
.bnav a.on b { font-weight: 600; }
.bnav a.on::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 2px; height: 2px; border-radius: 2px; background: #1d1d1f; }
@media (max-width: 639px) { .bnav a { width: 92px; padding: 10px 4px; } .bnav .bi { width: 52px; height: 52px; } }

/* ===== filter sidebar v3: quiet, Apple-store style ===== */
.fpanel { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.fpanel-head { padding: 2px 4px 14px; border: 0; background: none; }
.fpanel-head b { font-size: 21px; font-weight: 600; letter-spacing: -.025em; color: #1d1d1f; gap: 10px; }
.fpanel-head .n { background: #1d1d1f; font-size: 11.5px; padding: 2px 8px; }
.fpanel-head a { color: #0066cc; font-weight: 500; font-size: 13.5px; }
.fsec { border: 0; border-top: 1px solid #e8e8ed; }
.fsec:last-child { border-bottom: 1px solid #e8e8ed; }
.fsec > summary { padding: 16px 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6e6e73; }
.fsec > summary .si { width: 16px; height: 16px; color: #86868b; }
.fsec-body { padding: 0 0 16px; }
.fcat { gap: 1px; }
.fcat a { gap: 12px; padding: 6px 8px 6px 6px; border-radius: 12px; font-size: 14px; color: #1d1d1f; letter-spacing: -.01em; }
.fcat a .nm { flex: 1; min-width: 0; line-height: 1.3; }
.fcat a .ic { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f5f5f7; }
.fcat a .ic img { padding: 4px; mix-blend-mode: multiply; }
.fcat a .ct { background: none; padding: 0; font-weight: 400; font-size: 12.5px; color: #86868b; font-variant-numeric: tabular-nums; }
.fcat a:hover { background: #f5f5f7; color: #1d1d1f; }
.fcat a.on { background: #1d1d1f; color: #fff; font-weight: 500; }
.fcat a.on::before { content: none; }
.fcat a.on .ic { background: #fff; border: 0; box-shadow: none; color: #1d1d1f; }
.fcat a.on .ct { background: none; color: rgba(255, 255, 255, .7); }
.fcat.collapsed a:nth-child(n+10):not(.on) { display: none; }
.fmore { display: inline-flex; align-items: center; gap: 4px; margin: 8px 6px 0; font-size: 13.5px; font-weight: 500; color: #0066cc; }
.fmore .si { width: 15px; height: 15px; }
.fsearch { height: 40px; margin: 0 0 10px; border-radius: 12px; background: #f5f5f7; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #d2d2d7; border-radius: 999px; font-size: 13px; color: #1d1d1f; background: #fff; transition: border-color .15s, background-color .15s; }
.fchips a small { font-size: 11px; color: #86868b; }
.fchips a:hover { border-color: #1d1d1f; }
.fchips a.on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.fchips a.on small { color: rgba(255, 255, 255, .65); }
.fchips a .si { width: 13px; height: 13px; }
.fchips.collapsed a:nth-child(n+13):not(.on) { display: none; }
.fchips.searching a { display: inline-flex; }
.seg { margin: 0; padding: 3px; border-radius: 11px; background: #e8e8ed; gap: 2px; }
.seg a { padding: 7px 4px; border-radius: 9px; font-size: 13px; color: #1d1d1f; }
.seg a.on { background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 3px 8px rgba(0, 0, 0, .06); }
.fprice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.fprice a { padding: 9px 8px; border: 1px solid #d2d2d7; border-radius: 12px; font-size: 13px; text-align: center; color: #1d1d1f; transition: border-color .15s, background-color .15s; }
.fprice a:last-child:nth-child(odd) { grid-column: span 2; }
.fprice a:hover { border-color: #1d1d1f; }
.fprice a.on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.frange { display: flex; align-items: flex-end; gap: 6px; }
.frange label { flex: 1; min-width: 0; display: grid; gap: 4px; }
.frange label span { font-size: 11px; color: #86868b; padding-left: 2px; }
.frange input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid #d2d2d7; border-radius: 10px; font-size: 13.5px; background: #fff; -moz-appearance: textfield; }
.frange input::-webkit-outer-spin-button, .frange input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.frange input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0, 113, 227, .15); }
.frange i { font-style: normal; color: #86868b; padding-bottom: 10px; }
.frange button { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #1d1d1f; color: #fff; display: grid; place-items: center; }
.frange button .si { width: 17px; height: 17px; }
.drawer .fsec > summary { padding-left: 0; }

/* ===== motion layer (public/store/motion.js adds html.motion; reduced-motion users never get it) ===== */
@keyframes rvIn { from { opacity: 0; transform: translateY(30px) scale(.975); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes phUp { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes phRise { from { opacity: 0; transform: translateY(70px) scale(.88); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes phFloat { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(-2px); } }
@keyframes phPop { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 70% { transform: scale(1.12) rotate(3deg); } 100% { opacity: 1; transform: none; } }
@keyframes phShadow { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(227, 52, 47, .5); } 70% { box-shadow: 0 0 0 9px rgba(227, 52, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 52, 47, 0); } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(220%) skewX(-18deg); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px) scale(.995); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

/* scroll reveal — only below-the-fold elements are armed (.rv), so nothing on screen ever blinks */
.motion .rv:not(.in) { opacity: 0; }
.motion .rv.in { animation: rvIn .85s cubic-bezier(.16, 1, .3, 1) var(--rv-d, 0ms) backwards; }

/* banner entrance: copy rises line by line, products glide up and settle, shadow grows under them */
.motion .ph-copy > * { animation: phUp .9s cubic-bezier(.16, 1, .3, 1) backwards; }
.motion .ph-copy > :nth-child(2) { animation-delay: .08s; }
.motion .ph-copy > :nth-child(3) { animation-delay: .16s; }
.motion .ph-copy > :nth-child(4) { animation-delay: .26s; }
.motion .ph-item { animation: phRise 1.2s cubic-bezier(.16, 1, .3, 1) backwards; }
.motion .ph-item:nth-child(1) { animation-delay: .18s; }
.motion .ph-item:nth-child(2) { animation-delay: .05s; }
.motion .ph-item:nth-child(3) { animation-delay: .3s; }
.motion .ph-media::before { animation: phShadow 1.4s cubic-bezier(.16, 1, .3, 1) .2s backwards; }
.motion .ph-item img { animation: phFloat 7s ease-in-out 1.4s infinite; translate: var(--px, 0) var(--py, 0); transition: translate .5s cubic-bezier(.2, .8, .2, 1); }
.motion .ph-item:nth-child(2) img { animation-duration: 8s; animation-delay: 1.8s; }
.motion .ph-item:nth-child(3) img { animation-duration: 6.5s; animation-delay: 2.1s; }
.motion .ph-off { animation: phPop .7s cubic-bezier(.34, 1.56, .64, 1) 1s backwards; }
.motion .ah-media img { translate: var(--px, 0) var(--py, 0); }
.ph-count span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #e3342f; vertical-align: 1px; }
.motion .ph-count span::before { animation: livePulse 1.8s ease-out infinite; }

/* listing title + brand chapter nav cascade in */
.motion .list-head > * { animation: phUp .8s cubic-bezier(.16, 1, .3, 1) backwards; }
.motion .list-head > :nth-child(2) { animation-delay: .08s; }
.motion .bnav a { animation: phUp .7s cubic-bezier(.16, 1, .3, 1) backwards; }
.motion .bnav a:nth-child(2) { animation-delay: .05s; } .motion .bnav a:nth-child(3) { animation-delay: .1s; }
.motion .bnav a:nth-child(4) { animation-delay: .15s; } .motion .bnav a:nth-child(5) { animation-delay: .2s; }
.motion .bnav a:nth-child(6) { animation-delay: .25s; } .motion .bnav a:nth-child(7) { animation-delay: .3s; }
.motion .bnav a:nth-child(n+8) { animation-delay: .35s; }

/* cards: springy lift, soft spotlight that follows the cursor, sheen across deal badges */
.card { transition: box-shadow .45s cubic-bezier(.2, .8, .2, 1), border-color .3s, transform .45s cubic-bezier(.34, 1.4, .64, 1); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px -18px rgba(16, 32, 26, .28); }
  .card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 0), rgba(255, 255, 255, .55), transparent 55%); mix-blend-mode: soft-light; }
  .card:hover::after { opacity: 1; }
  .card:hover .card-media img.main { transform: scale(1.06); }
  .deal-badge { overflow: hidden; }
  .deal-badge::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); transform: translateX(-120%) skewX(-18deg); }
  .card:hover .deal-badge::after { animation: sheen .9s ease; }
  .guide-card { transition: transform .45s cubic-bezier(.34, 1.4, .64, 1), box-shadow .45s; }
  .guide-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -20px rgba(16, 32, 26, .3); }
}
.card-media img { transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .35s; }

/* magnetic buttons */
.motion .btn-primary, .motion .btn-wa, .motion .frange button { translate: var(--mx, 0) var(--my, 0); transition: translate .3s cubic-bezier(.2, .8, .2, 1), background-color .2s, box-shadow .2s, transform .2s; }
.btn-primary:active, .btn-wa:active, .frange button:active { transform: scale(.96); }

/* filters: silky state changes */
.fcat a, .fchips a, .fprice a, .seg a { transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .2s; }
.fchips a:active, .fprice a:active, .fcat a:active { transform: scale(.96); }
.fsec > summary .si { transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }

/* header depth on scroll */
.header { transition: box-shadow .3s, background-color .3s; }
.scrolled .header { box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 30px -18px rgba(16, 32, 26, .35); }

/* listing swap: View Transitions cross-fade */
::view-transition-old(root) { animation: vtOut .22s ease both; }
::view-transition-new(root) { animation: vtIn .5s cubic-bezier(.16, 1, .3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .ph-count span::before, .ph-item img { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
/* banner discount chips sit under each product, centred on the floor shadow */
.ph-media:has(.ph-off) { padding-bottom: 42px; }
.ph-media:has(.ph-off)::before { bottom: 42px; }
.ph-off { top: auto; bottom: -34px; left: 50%; right: auto; translate: -50% 0; }
.motion .ph-off { animation-name: phPop; }

/* ===== filter brands: real logos / brand-coloured wordmarks on tiles ===== */
.fbrands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fbrands a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 64px; padding: 8px 6px 6px; border: 1px solid #e8e8ed; border-radius: 14px; background: #fff; overflow: hidden; isolation: isolate; transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.34, 1.4, .64, 1); }
.fbrands a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bc); opacity: 0; transition: opacity .25s; }
.fbrands a:hover { border-color: var(--bc); transform: translateY(-2px); box-shadow: 0 8px 20px -12px var(--bc); }
.fbrands a:hover::before { opacity: .05; }
.fbrands .fb-mark { height: 22px; display: grid; place-items: center; max-width: 100%; }
.fbrands .fb-mark img { max-width: 64px; max-height: 22px; object-fit: contain; }
.fbrands .fb-word { font-size: 13px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--bc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fbrands small { font-size: 10.5px; color: #86868b; font-variant-numeric: tabular-nums; line-height: 1; }
.fbrands a.on { border: 1.5px solid var(--bc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bc) 18%, transparent); }
.fbrands a.on::before { opacity: .08; }
.fbrands a.on::after { content: ''; position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.fbrands.collapsed a:nth-child(n+13):not(.on) { display: none; }
.fbrands.searching a { display: flex; }
.drawer .fbrands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 379px) { .drawer .fbrands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* brand tiles v2: larger marks, even rhythm */
.fbrands { gap: 8px; }
.fbrands a { height: 72px; gap: 6px; padding: 10px 6px 8px; border-radius: 16px; }
.fbrands .fb-mark { height: 28px; width: 100%; }
.fbrands .fb-mark img { max-width: 78%; max-height: 28px; min-height: 12px; }
.fbrands .fb-word { font-size: 14.5px; }
.fbrands small { font-size: 11px; font-weight: 500; }

/* footer payment marks: real logos on white cards */
.pay-chips { gap: 8px; align-items: center; }
.pay-chips .pc-logo { display: inline-grid; place-items: center; height: 34px; min-width: 58px; padding: 0 12px; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pay-chips .pc-logo img { display: block; height: 20px; width: auto; }
.pay-chips .pc-logo img[alt="Visa"] { height: 14px; }
.pay-chips .pc-logo img[alt="Mastercard"] { height: 22px; }
.pay-chips .pc-cod { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #e8f0eb; font-weight: 600; font-size: 12px; }
.pay-chips .pc-cod .si { width: 16px; height: 16px; color: var(--lime); }

/* ===== after-sale programme: Launch Edition, Upgrade Promise, gift mode ===== */
:root { --gold: #b8892b; --gold-2: #8a6416; --gold-soft: #fbf4e4; }
.lb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: linear-gradient(135deg, #f7e2ad, #e8c46d 55%, #d9aa45); color: #4a3409; font-size: 12px; font-weight: 700; letter-spacing: .01em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.lb-badge .si { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.cond-badge.launch { display: inline-flex; align-items: center; gap: 4px; border: 0; background: linear-gradient(135deg, #f7e2ad, #e2b955); color: #4a3409; font-weight: 700; }
.cond-badge.launch .si { width: 11px; height: 11px; fill: currentColor; stroke: none; }

.launch-box { position: relative; margin: 18px 0 6px; padding: 18px 18px 16px; border-radius: 20px; background: linear-gradient(160deg, #fffaf0 0%, #fbf1dc 100%); border: 1px solid #efdcae; overflow: hidden; isolation: isolate; }
.launch-box::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 196, 109, .45), transparent); z-index: -1; }
.lb-head h2 { margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #2b2109; line-height: 1.3; }
.lb-perks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.lb-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #3d321a; line-height: 1.4; }
.lb-perks .si { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: #fff; color: var(--gold-2); box-shadow: 0 1px 2px rgba(138, 100, 22, .15); }
@media (min-width: 640px) { .lb-perks { grid-template-columns: 1fr 1fr; } }

.promise { margin: 16px 0 4px; border: 1px solid #dfe6e2; border-radius: 16px; background: #fff; }
.promise > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.promise > summary::-webkit-details-marker { display: none; }
.pr-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--forest); }
.pr-ic .si { width: 20px; height: 20px; }
.pr-txt { flex: 1; min-width: 0; display: grid; }
.pr-txt b { font-size: 14px; }
.pr-txt small { font-size: 12px; color: var(--muted); }
.pr-vals { display: flex; gap: 14px; text-align: right; }
.pr-vals span { display: grid; }
.pr-vals b { font-size: 14.5px; color: var(--forest); font-variant-numeric: tabular-nums; }
.pr-vals small { font-size: 11px; color: var(--muted); }
.promise p { margin: 0; padding: 0 14px 14px 64px; font-size: 12.5px; line-height: 1.6; color: #4a5a53; }
@media (max-width: 479px) { .promise > summary { flex-wrap: wrap; } .pr-vals { width: 100%; justify-content: flex-start; padding-left: 50px; text-align: left; } .promise p { padding-left: 14px; } }

/* basket: launch note + gift mode */
.launch-note { margin-top: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, #fffaf0, #fbf1dc); border: 1px solid #efdcae; }
.launch-note p { margin: 8px 0 6px; font-size: 13px; color: #3d321a; }
.launch-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.launch-note li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #3d321a; }
.launch-note li .si { flex: none; width: 15px; height: 15px; margin-top: 1px; color: var(--gold-2); }

.gift { margin: 18px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gift-toggle { display: flex; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer; background: #fff; }
.gift-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.gt-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fdeaea; color: #c0392b; }
.gt-ic .si { width: 20px; height: 20px; }
.gift-toggle > span:not(.gt-ic) { flex: 1; display: grid; }
.gift-toggle b { font-size: 14px; }
.gift-toggle small { font-size: 12px; color: var(--muted); }
.switch { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d2d2d7; transition: background-color .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.34, 1.4, .64, 1); }
.gift-toggle input:checked ~ .switch { background: var(--forest); }
.gift-toggle input:checked ~ .switch::after { transform: translateX(18px); }
.gift-toggle input:focus-visible ~ .switch { box-shadow: 0 0 0 3px var(--lime); }
.gift-body { padding: 4px 14px 14px; border-top: 1px solid var(--line); background: #fbfaf6; }
.gift-lbl { margin: 12px 0 8px; font-size: 13px; font-weight: 600; }
.wraps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wrap-opt { position: relative; display: grid; gap: 2px; padding: 8px 8px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.wrap-opt input { position: absolute; opacity: 0; }
.wrap-opt b { font-size: 12.5px; margin-top: 6px; }
.wrap-opt small { font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.wrap-opt:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 3px var(--lime-soft); }
.sw { display: block; height: 46px; border-radius: 10px; }
.sw-kitenge { background: repeating-radial-gradient(circle at 30% 40%, #e85d1a 0 5px, #f2b705 5px 9px, #1b4b8f 9px 13px, #f2b705 13px 15px), #e85d1a; }
.sw-kraft { background: linear-gradient(90deg, transparent 44%, #d4ef7d 44% 56%, transparent 56%), linear-gradient(0deg, transparent 42%, #d4ef7d 42% 58%, transparent 58%), #c8a27a; }
.sw-season { background: radial-gradient(circle at 25% 30%, #fff 0 2px, transparent 3px) 0 0 / 14px 14px, linear-gradient(135deg, #b3122e, #7d0b1f); }
.gift .field { margin-top: 12px; }
.gift .opt { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.gift .hint { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.gift .check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 380px) { .wraps, .gift-grid { grid-template-columns: 1fr; } .sw { height: 30px; } }

/* ===== basket v2: two balanced columns, Launch Edition showcase ===== */
.sum-row[hidden], .cart-card[hidden], .launch-show[hidden], .sum-launch[hidden] { display: none !important; }

.cart-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding: 4px 0 22px; }
.cart-head h1 { font-family: var(--ui); font-weight: 600; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; color: #1d1d1f; }
.cart-head p { margin-top: 6px; max-width: 620px; color: #6e6e73; font-size: 15px; line-height: 1.55; }
.cart-steps { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #86868b; }
.cart-steps li { display: inline-flex; align-items: center; gap: 8px; }
.cart-steps li + li::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: #e0e0e5; margin-right: 2px; }
.cart-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #d2d2d7; font-weight: 600; font-size: 12px; }
.cart-steps .done span { background: var(--forest); border-color: var(--forest); color: #fff; }
.cart-steps .done + li::before { background: var(--forest); }
.cart-steps .now { color: #1d1d1f; font-weight: 600; }
.cart-steps .now span { border-color: var(--forest); color: var(--forest); box-shadow: 0 0 0 4px var(--lime-soft); }

.cart-layout { padding-bottom: 40px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; } }
.cart-main { display: grid; gap: 16px; align-content: start; }
.cart-card { padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-card h2 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.cart-card .link-arrow { font-size: 13.5px; }
.cart-card .line { border-color: #ececf0; border-radius: 16px; }
.cc-grid { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .cc-grid { grid-template-columns: 1fr 1fr; } }
.cc-grid .field { margin-top: 10px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 11.5px; }

/* how ordering works */
.how h2 { margin-bottom: 14px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: how; }
@media (min-width: 640px) { .how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.how-steps li { position: relative; display: grid; gap: 4px; align-content: start; }
.how-steps b { font-size: 13.5px; }
.how-steps small { font-size: 12px; line-height: 1.45; color: var(--muted); }
.how-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--lime-soft); color: var(--forest); margin-bottom: 4px; }
.how-ic .si { width: 20px; height: 20px; }
.how-steps li:first-child .how-ic { background: #e3f8ea; color: #128c4b; }
.how-steps li:first-child .how-ic .si { fill: currentColor; stroke: none; }
@media (min-width: 640px) { .how-steps li:not(:last-child)::after { content: ''; position: absolute; top: 20px; left: 48px; right: 4px; height: 2px; background: repeating-linear-gradient(90deg, #d9d5c7 0 5px, transparent 5px 10px); } }

/* ---------- Launch Edition showcase ---------- */
@property --ls-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lsSpin { to { --ls-a: 360deg; } }
@keyframes lsFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes lsHalo { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: .9; transform: scale(1.06); } }
@keyframes lsTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }
@keyframes lsPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lsFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lsShine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.launch-show { position: relative; isolation: isolate; overflow: hidden; padding: 24px; border-radius: 26px; color: #f5efe0;
  background: radial-gradient(120% 90% at 85% 0%, #3a2e14 0%, #1c1710 45%, #0f0d0a 100%); }
.launch-show::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ls-a), transparent 0 55%, #f7e2ad 70%, #d9aa45 78%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lsSpin 6s linear infinite; }
.launch-show::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -60%; height: 90%; z-index: -2; background: radial-gradient(closest-side, rgba(217, 170, 69, .22), transparent); }
.ls-top { display: grid; gap: 18px; align-items: center; }
@media (min-width: 640px) { .ls-top { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; } }
.ls-media { position: relative; height: 210px; display: grid; place-items: center; }
.ls-halo { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 226, 173, .55), rgba(217, 170, 69, .12) 60%, transparent); filter: blur(4px); animation: lsHalo 4.5s ease-in-out infinite; }
.ls-media img { position: relative; max-height: 190px; max-width: 190px; width: auto; height: auto; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)); animation: lsFloat 6s ease-in-out infinite; }
.ls-copy h2 { margin-top: 12px; font-size: clamp(21px, 2.6vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: #fff; }
.ls-copy h2 span { background: linear-gradient(90deg, #f7e2ad, #ffffff 35%, #e8c46d 50%, #ffffff 65%, #f7e2ad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lsShine 5s linear infinite; }
.ls-copy p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: #cfc6b1; }
.ls-spark { position: absolute; width: 14px; height: 14px; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle, #fff 0 18%, transparent 20%), conic-gradient(from 45deg, transparent 0 20%, #f7e2ad 25%, transparent 30% 45%, #f7e2ad 50%, transparent 55% 70%, #f7e2ad 75%, transparent 80% 95%, #f7e2ad 100%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: lsTwinkle 2.8s ease-in-out infinite; }
.ls-spark.s1 { top: 14%; left: 8%; } .ls-spark.s2 { top: 8%; left: 34%; width: 10px; height: 10px; animation-delay: .9s; }
.ls-spark.s3 { top: 46%; left: 30%; width: 9px; height: 9px; animation-delay: 1.6s; } .ls-spark.s4 { top: 10%; right: 9%; width: 12px; height: 12px; animation-delay: 2.2s; }

.ls-perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .ls-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ls-perks li:last-child:nth-child(odd) { grid-column: span 2; } }
.ls-perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(247, 226, 173, .14); font-size: 13.5px; line-height: 1.4; color: #efe7d4; backdrop-filter: blur(6px); }
.ls-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #f7e2ad, #d9aa45); color: #3a2a08; box-shadow: 0 6px 16px -6px rgba(217, 170, 69, .7); }
.ls-ic .si { width: 19px; height: 19px; }

.ls-time { list-style: none; margin: 22px 0 0; padding: 18px 0 0; position: relative; display: grid; gap: 14px; border-top: 1px solid rgba(247, 226, 173, .14); }
@media (min-width: 640px) { .ls-time { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.ls-time li { position: relative; padding-left: 22px; display: grid; gap: 2px; }
.ls-time li::before { content: ''; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #d9aa45; box-shadow: 0 0 0 4px rgba(217, 170, 69, .22); }
.ls-time b { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #e8c46d; }
.ls-time span { font-size: 12.5px; line-height: 1.45; color: #cfc6b1; }
@media (min-width: 640px) {
  .ls-time::before { content: ''; position: absolute; top: 22px; left: 5px; right: 5px; height: 2px; background: rgba(247, 226, 173, .16); }
  .ls-time::after { content: ''; position: absolute; top: 22px; left: 5px; right: 5px; height: 2px; background: linear-gradient(90deg, #d9aa45, #f7e2ad); transform-origin: left; transform: scaleX(0); }
  .ls-time li { padding: 18px 0 0; }
  .ls-time li::before { top: 0; z-index: 1; }
}

/* entrance once the showcase appears */
.launch-show.in .ls-media { animation: lsPop .9s cubic-bezier(.16, 1, .3, 1) both; }
.launch-show.in .ls-copy > * { animation: lsPop .8s cubic-bezier(.16, 1, .3, 1) both; }
.launch-show.in .ls-copy > :nth-child(2) { animation-delay: .08s; } .launch-show.in .ls-copy > :nth-child(3) { animation-delay: .16s; }
.launch-show.in .ls-perks li { animation: lsPop .7s cubic-bezier(.34, 1.3, .64, 1) both; animation-delay: calc(.25s + var(--i, 0) * .09s); }
.launch-show.in .ls-time::after { animation: lsFill 1.6s cubic-bezier(.65, 0, .35, 1) .9s both; }
.launch-show.in .ls-time li { animation: lsPop .6s cubic-bezier(.16, 1, .3, 1) both; }
.launch-show.in .ls-time li:nth-child(1) { animation-delay: .9s; } .launch-show.in .ls-time li:nth-child(2) { animation-delay: 1.25s; }
.launch-show.in .ls-time li:nth-child(3) { animation-delay: 1.6s; } .launch-show.in .ls-time li:nth-child(4) { animation-delay: 1.95s; }
@media (prefers-reduced-motion: reduce) { .launch-show *, .launch-show::before { animation: none !important; } .ls-time::after { transform: none; } }

/* gift card sits in the main column now */
.cart-main .gift { margin: 0; border-radius: 22px; background: #fff; }
.cart-main .gift-toggle { padding: 16px 20px; }
.cart-main .gift-body { padding: 4px 20px 20px; }
@media (min-width: 640px) { .cart-main .wraps .sw { height: 64px; } .gift-grid { grid-template-columns: 1fr 1fr; } .gift-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gift-grid .field textarea { height: 96px; }

/* slim sticky summary */
.summary { padding: 22px; background: #fbfaf6; border: 1px solid var(--line); }
.summary .btn-block { margin-top: 18px; }
.summary .note { display: flex; gap: 8px; margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.summary .note .si { flex: none; width: 16px; height: 16px; color: var(--forest); margin-top: 1px; }
.sum-launch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #1c1710, #3a2e14); }
.sum-launch small { color: #e8c46d; font-size: 12px; font-weight: 600; }
.sum-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-pay img { height: 26px; width: auto; padding: 5px 8px; border-radius: 8px; background: #fff; border: 1px solid #ececf0; box-sizing: content-box; max-height: 16px; }
.sum-pay span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: #fff; border: 1px solid #ececf0; font-size: 11.5px; font-weight: 600; }
.sum-pay span .si { width: 14px; height: 14px; color: var(--forest); }
.sum-trust { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 12px; color: #4a5a53; }
.sum-trust li { display: flex; align-items: center; gap: 8px; }
.sum-trust .si { width: 15px; height: 15px; color: var(--forest); }
/* showcase product on a lit ivory pedestal (studio shots have white backgrounds) */
.ls-media { height: 220px; }
.ls-media::before { content: ''; position: absolute; width: 196px; height: 196px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #fffdf7 0%, #f6ecd4 62%, #e9d4a3 100%); box-shadow: 0 0 0 1px rgba(247, 226, 173, .5), 0 0 0 9px rgba(217, 170, 69, .12), 0 30px 60px -20px rgba(217, 170, 69, .55); }
.ls-media img { max-height: 150px; max-width: 150px; border-radius: 0; mix-blend-mode: multiply; filter: none; }
.ls-halo { width: 250px; height: 250px; }
.cc-head .muted-s { font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 639px) { .cc-head .muted-s { display: none; } .ls-media { height: 210px; } }
.ls-media img { max-height: 128px; max-width: 128px; }
.ls-media::before { background: radial-gradient(circle, #ffffff 0 68%, #f8efda 84%, #ead39d 100%); }

@property --fill { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* ===== basket effects (public/store/cart-fx.js adds html.cart-fx) ===== */
@keyframes fxRise { from { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fxWord { from { transform: translateY(105%) rotate(4deg); } to { transform: none; } }
@keyframes fxSlideIn { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes fxOut { to { opacity: 0; transform: translateX(60px) scale(.96); height: 0; padding-top: 0; padding-bottom: 0; margin-top: -10px; border-width: 0; } }
@keyframes fxBump { 0% { box-shadow: 0 0 0 0 rgba(212, 239, 125, .9); } 100% { box-shadow: 0 0 0 14px rgba(212, 239, 125, 0); } }
@keyframes fxTick { 0% { transform: translateY(0); } 30% { transform: translateY(-3px) scale(1.06); color: var(--ok); } 100% { transform: none; } }
@keyframes fxShake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
@keyframes fxRipple { from { transform: scale(0); opacity: .45; } to { transform: scale(1); opacity: 0; } }
@keyframes fxAurora { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(6%, -10%) scale(1.12); } 66% { transform: translate(-6%, 6%) scale(.94); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes fxSheen { 0%, 70% { transform: translateX(-130%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes fxBreathe { 0%, 100% { box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .55); } 50% { box-shadow: 0 14px 36px -8px rgba(37, 211, 102, .85); } }
@keyframes fxPulse { 0% { box-shadow: 0 0 0 0 rgba(18, 60, 47, .45); } 100% { box-shadow: 0 0 0 10px rgba(18, 60, 47, 0); } }
@keyframes fxCheckDraw { to { stroke-dashoffset: 0; } }
@keyframes fxHop { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-9px) rotate(-12deg) scale(1.12); } 55% { transform: translateY(0) rotate(8deg); } 75% { transform: translateY(-3px) rotate(-4deg); } 100% { transform: none; } }
@keyframes fxOpen { from { opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes fxPopIn { 0% { transform: scale(0) rotate(-30deg); opacity: 0; } 70% { transform: scale(1.25) rotate(6deg); } 100% { transform: none; opacity: 1; } }

/* header: aurora glow + words rise */
.cart-fx .cart-head { position: relative; isolation: isolate; }
.cart-fx .cart-head::before, .cart-fx .cart-head::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(48px); opacity: .55; pointer-events: none; }
.cart-fx .cart-head::before { width: 340px; height: 220px; left: -60px; top: -70px; background: radial-gradient(closest-side, rgba(212, 239, 125, .9), transparent); animation: fxAurora 14s ease-in-out infinite; }
.cart-fx .cart-head::after { width: 300px; height: 200px; left: 260px; top: -40px; background: radial-gradient(closest-side, rgba(37, 211, 102, .35), transparent); animation: fxAurora 18s ease-in-out -6s infinite reverse; }
.fx-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.fx-word > span { display: inline-block; animation: fxWord .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms) both; }
.cart-fx .cart-head p { animation: fxRise .8s cubic-bezier(.16, 1, .3, 1) .2s both; }
.cart-fx .cart-steps li { animation: fxRise .6s cubic-bezier(.16, 1, .3, 1) both; }
.cart-fx .cart-steps li:nth-child(2) { animation-delay: .35s; } .cart-fx .cart-steps li:nth-child(3) { animation-delay: .5s; }
.cart-fx .cart-steps li:nth-child(1) { animation-delay: .2s; }

/* step progress: connector fills as details become valid, step 3 lights up */
.cart-steps li + li::before { position: relative; background: linear-gradient(90deg, var(--forest) 0 var(--fill, 0%), #e0e0e5 var(--fill, 0%)); transition: --fill .6s; }
.cart-steps .done + li::before { --fill: 100%; }
.cart-steps .now span { animation: fxPulse 1.8s ease-out infinite; }
.cart-steps.fx-ready li:nth-child(3)::before { --fill: 100%; background: var(--forest); transition: background .6s; }
.cart-steps.fx-ready li:nth-child(2) span { background: var(--forest); color: #fff; animation: none; }
.cart-steps.fx-ready li:nth-child(3) { color: #1d1d1f; font-weight: 600; }
.cart-steps.fx-ready li:nth-child(3) span { border-color: #25d366; color: #128c4b; box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); animation: fxPulse 1.8s ease-out infinite; }
.cart-steps.fx-sent li span { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }

/* cards rise in, one after another */
.cart-fx .cart-layout:not([hidden]) .cart-main > * { animation: fxRise .8s cubic-bezier(.16, 1, .3, 1) both; }
.cart-fx .cart-layout:not([hidden]) .cart-main > :nth-child(2) { animation-delay: .1s; }
.cart-fx .cart-layout:not([hidden]) .cart-main > :nth-child(3) { animation-delay: .2s; }
.cart-fx .cart-layout:not([hidden]) .cart-main > :nth-child(4) { animation-delay: .3s; }
.cart-fx .cart-layout:not([hidden]) .cart-main > :nth-child(5) { animation-delay: .4s; }
.cart-fx .cart-layout:not([hidden]) .summary { animation: fxRise .9s cubic-bezier(.16, 1, .3, 1) .15s both; }

/* items */
.line.fx-in { animation: fxSlideIn .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms) both; }
.line.fx-bump { animation: fxBump .8s ease-out; }
.line.fx-out { overflow: hidden; animation: fxOut .42s cubic-bezier(.55, 0, .45, 1) forwards; }
.line img { transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.line:hover img { transform: scale(1.06) rotate(-2deg); }
.fx-tick { display: inline-block; animation: fxTick .65s cubic-bezier(.34, 1.4, .64, 1); }

/* fields: green tick when valid, shake when missing */
.cart-fx .field { position: relative; }
.cart-fx .field.fx-ok::after { content: ''; position: absolute; right: 12px; bottom: 13px; width: 20px; height: 20px; border-radius: 50%; background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; animation: fxPopIn .5s cubic-bezier(.34, 1.4, .64, 1) both; pointer-events: none; }
.cart-fx .field.fx-ok input { border-color: #9fdcb4; padding-right: 40px; }
.field.fx-shake { animation: fxShake .5s cubic-bezier(.36, .07, .19, .97) both; }
.cart-fx .field input:focus, .cart-fx .field select:focus, .cart-fx .field textarea:focus { transform: translateY(-1px); transition: transform .2s, box-shadow .2s, border-color .2s; }

/* gift */
.gift-toggle input:checked ~ .gt-ic { animation: fxHop .8s cubic-bezier(.34, 1.4, .64, 1); background: #c0392b; color: #fff; }
.gt-ic { transition: background-color .3s, color .3s; }
.gift-body:not([hidden]) { animation: fxOpen .55s cubic-bezier(.16, 1, .3, 1) both; }
.wrap-opt { transition: transform .35s cubic-bezier(.34, 1.4, .64, 1), border-color .2s, box-shadow .2s; }
.wrap-opt:hover { transform: translateY(-3px); }
.wrap-opt:has(input:checked) { transform: translateY(-3px); }
.wrap-opt:has(input:checked)::after { content: ''; position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ef7d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; animation: fxPopIn .45s cubic-bezier(.34, 1.4, .64, 1) both; }
.sw { transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); background-size: auto; }
.wrap-opt:has(input:checked) .sw { transform: scale(1.03); }
.sw-kitenge { animation: fxSpinBg 14s linear infinite; }
@keyframes fxSpinBg { to { background-position: 60px 30px; } }

/* summary: subtle 3D tilt + light that follows the pointer; the send button breathes and shines */
.cart-fx .summary { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); background-image: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(212, 239, 125, .22), transparent 60%); }
.cart-fx .summary .btn-wa { position: relative; overflow: hidden; animation: fxBreathe 2.8s ease-in-out infinite; }
.cart-fx .summary .btn-wa::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: fxSheen 3.6s ease-in-out infinite; pointer-events: none; }
.btn-wa.fx-sent { background: #128c4b; }
.fx-check { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: fxCheckDraw .5s .1s ease forwards; }
.sum-launch { position: relative; overflow: hidden; }
.sum-launch::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgba(247, 226, 173, .35), transparent); animation: fxSheen 4.5s ease-in-out 1s infinite; }
.sum-pay img, .sum-pay span { transition: transform .3s cubic-bezier(.34, 1.4, .64, 1); }
.sum-pay img:hover, .sum-pay span:hover { transform: translateY(-3px); }

/* how-it-works: dashed connectors march */
@keyframes fxMarch { to { background-position: 20px 0; } }
.cart-fx .how-steps li:not(:last-child)::after { animation: fxMarch 1s linear infinite; }
.cart-fx .how-ic { transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.cart-fx .how-steps li:hover .how-ic { transform: translateY(-4px) rotate(-6deg); }

/* ripples + confetti canvas */
.fx-ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .3; pointer-events: none; transform: scale(0); animation: fxRipple .7s ease-out forwards; }
.fx-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .cart-fx *, .cart-fx *::before, .cart-fx *::after { animation: none !important; }
  .cart-fx .summary { transform: none; }
}

/* ===== gift wraps: illustrated boxes (partials/gift-wraps) ===== */
.gw-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.giftwraps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gw { position: relative; display: flex; flex-direction: column; border: 1.5px solid #e6e3d8; border-radius: 18px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .25s, box-shadow .3s, transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.gw input { position: absolute; opacity: 0; pointer-events: none; }
.gw-stage { position: relative; display: grid; place-items: center; height: 118px; overflow: hidden; }
.gw-kitenge .gw-stage { background: radial-gradient(120% 100% at 50% 0%, #fff6ec 0%, #ffe9d4 100%); }
.gw-kraft .gw-stage { background: radial-gradient(120% 100% at 50% 0%, #fbf7ef 0%, #f1e7d6 100%); }
.gw-seasonal .gw-stage { background: radial-gradient(120% 100% at 50% 0%, #fff2f2 0%, #f9dfe2 100%); }
.gw-stage::before { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(255, 255, 255, .55)); }
.gw-box { position: relative; width: 112px; height: auto; transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.gw-lid { transform-origin: 60px 45px; transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.gw-bow { transform-origin: 60px 31px; }
.gw-shadow { transition: opacity .4s, transform .5s; transform-origin: 60px 88px; }
.gw-text { display: grid; gap: 2px; padding: 12px 14px 4px; }
.gw-text b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1f; }
.gw-text small { font-size: 12px; line-height: 1.4; color: #6e6e73; }
.gw-price { align-self: flex-start; margin: 8px 14px 14px; padding: 3px 9px; border-radius: 999px; background: #f2f2f4; color: #1d1d1f; font-size: 11.5px; font-weight: 600; }
.gw::after { content: ''; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(0, 0, 0, .15); background: rgba(255, 255, 255, .9); transition: all .25s; }

.gw:hover { border-color: #cfcabb; transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(16, 32, 26, .35); }
.gw:hover .gw-box { transform: translateY(-4px); }
.gw:hover .gw-lid { transform: translateY(-5px) rotate(-3deg); }
.gw:hover .gw-shadow { opacity: .07; transform: scaleX(.86); }
.gw:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(212, 239, 125, .55), 0 16px 32px -20px rgba(18, 60, 47, .5); }
.gw:has(input:checked)::after { border-color: var(--forest); background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ef7d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.gw:has(input:checked) .gw-price { background: var(--forest); color: var(--lime); }
.gw:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px; }
@keyframes gwWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg) scale(1.06); } 60% { transform: rotate(5deg); } }
@keyframes gwPop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-10px) scale(1.06); } 70% { transform: translateY(2px) scale(.98); } 100% { transform: none; } }
.gw:has(input:checked) .gw-box { animation: gwPop .6s cubic-bezier(.34, 1.4, .64, 1); }
.gw:has(input:checked) .gw-bow { animation: gwWiggle .8s cubic-bezier(.34, 1.4, .64, 1) .1s; }

/* compact (product page) */
.giftwraps.compact { gap: 8px; }
.giftwraps.compact .gw { border-radius: 14px; }
.giftwraps.compact .gw-stage { height: 84px; }
.giftwraps.compact .gw-box { width: 84px; }
.giftwraps.compact .gw-text { padding: 8px 10px 2px; }
.giftwraps.compact .gw-text b { font-size: 12.5px; }
.giftwraps.compact .gw-text small, .giftwraps.compact .gw-price { display: none; }
.giftwraps.compact .gw-text { padding-bottom: 10px; }
.giftwraps.compact .gw::after { width: 20px; height: 20px; top: 7px; right: 7px; background-size: 11px; }
@media (max-width: 479px) {
  .giftwraps { gap: 7px; }
  .gw-stage { height: 92px; } .gw-box { width: 86px; }
  .gw-text { padding: 10px 10px 2px; } .gw-text b { font-size: 12.5px; } .gw-text small { display: none; }
  .gw-price { margin: 6px 10px 10px; }
  .gw::after { width: 20px; height: 20px; top: 7px; right: 7px; background-size: 11px; }
}

/* product page gift card */
.gift-pdp { margin: 16px 0 4px; padding: 16px; border: 1px solid #f0dcdc; border-radius: 20px; background: linear-gradient(170deg, #fffafa 0%, #fff 60%); }
.gp-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.gp-head .gt-ic { flex: none; }
.gp-head h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; }
.gp-head p { margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: #6e6e73; }
.gp-head > div { flex: 1; min-width: 0; }
.gp-fee { flex: none; padding: 4px 10px; border-radius: 999px; background: #fdeaea; color: #a3172f; font-size: 12px; font-weight: 700; white-space: nowrap; }
.btn-gift { margin-top: 12px; background: #fff; color: #a3172f; border: 1.5px solid #f1c9cf; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn-gift .si { width: 18px; height: 18px; }
.btn-gift:hover { background: #a3172f; border-color: #a3172f; color: #fff; }
.btn-gift:hover .si { animation: fxHop .7s cubic-bezier(.34, 1.4, .64, 1); }

/* ===== basket drawer (minicart) ===== */
@keyframes mcIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes mcUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mcOut { to { opacity: 0; transform: translateX(50px) scale(.96); height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -10px; border-width: 0; } }
@keyframes mcBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes mcOrbit { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(var(--ox), var(--oy)) scale(1.06); } }
@keyframes mcShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes mcBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes mcBar { from { width: 0; } }

.scrim { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: opacity .3s; }
.drawer.minicart { width: min(430px, 94vw); background: #fbfaf6; transition: transform .55s cubic-bezier(.16, 1, .3, 1); box-shadow: -24px 0 60px -20px rgba(9, 22, 17, .35); }
@media (min-width: 640px) { .drawer.minicart { top: 10px; bottom: 10px; right: 10px; border-radius: 26px; overflow: hidden; } .drawer.minicart.right { transform: translateX(calc(100% + 24px)); } .drawer.minicart.open { transform: none; } }

.mc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; background: #fff; }
.mc-title { display: flex; align-items: center; gap: 10px; }
.mc-title h2 { font-family: var(--ui); font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: #1d1d1f; }
.mc-count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--forest); color: var(--lime); font-size: 12.5px; font-weight: 700; }
.mc-count.bump { animation: mcBump .45s cubic-bezier(.34, 1.4, .64, 1); }
.mc-close { width: 38px; height: 38px; border-radius: 50%; background: #f2f2f4; transition: background-color .2s, transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.mc-close:hover { background: #e8e8ed; transform: rotate(90deg); }

.mc-eta { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 20px 14px; background: #fff; border-bottom: 1px solid #ecebe4; font-size: 13px; color: #3d4a44; }
.mc-eta b { color: var(--forest); }
.mc-eta-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--lime-soft); color: var(--forest); }
.mc-eta-ic .si { width: 17px; height: 17px; }
.mc-eta-bar { position: absolute; left: 20px; right: 20px; bottom: 7px; height: 3px; border-radius: 3px; background: #ecebe4; overflow: hidden; }
.mc-eta-bar b { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--forest), #4caf50, var(--lime)); background-size: 200% 100%; animation: mcShimmer 3s linear infinite; transition: width .8s cubic-bezier(.16, 1, .3, 1); }

.mc-body { padding: 14px 16px 20px; }
.mini-lines { gap: 10px; }
.mc-line { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; padding-right: 40px; border-radius: 18px; background: #fff; border: 1px solid #ecebe4; transition: box-shadow .3s, border-color .3s; }
.mc-line:hover { border-color: #dcd9cc; box-shadow: 0 12px 26px -18px rgba(16, 32, 26, .35); }
.mc-img { display: block; width: 72px; height: 72px; border-radius: 14px; background: var(--tile); overflow: hidden; }
.mc-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.34, 1.4, .64, 1); }
.mc-line:hover .mc-img img { transform: scale(1.08) rotate(-3deg); }
.mc-info { min-width: 0; display: grid; gap: 3px; align-content: start; }
.mc-meta { font-size: 11.5px; color: #86868b; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mc-launch { font-style: normal; padding: 1px 7px; border-radius: 999px; background: linear-gradient(135deg, #f7e2ad, #e2b955); color: #4a3409; font-size: 10.5px; font-weight: 700; }
.mc-name { font-size: 13.5px; font-weight: 500; line-height: 1.35; color: #1d1d1f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.mc-price { display: grid; line-height: 1.2; }
.mc-price b { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.mc-price s { font-size: 11.5px; color: #a1a1a6; }
.mc-remove { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #a1a1a6; transition: background-color .2s, color .2s; }
.mc-remove:hover { background: #fdeaea; color: var(--sale); }
.mc-remove .si { width: 15px; height: 15px; }
.mc-line.fx-in { animation: mcIn .6s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms) both; }
.mc-line.fx-out { overflow: hidden; animation: mcOut .38s cubic-bezier(.55, 0, .45, 1) forwards; }
.mc-skel { height: 98px; border-radius: 18px; background: linear-gradient(90deg, #f0efe9 25%, #faf9f5 50%, #f0efe9 75%); background-size: 200% 100%; animation: mcShimmer 1.4s linear infinite; }

/* empty state */
.mc-empty { display: grid; justify-items: center; text-align: center; padding: 14px 4px 6px; }
.mc-empty-art { position: relative; width: 170px; height: 150px; margin-bottom: 8px; }
.mc-bag { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(145deg, #1a5240, #0b2b21); color: var(--lime); box-shadow: 0 22px 40px -16px rgba(18, 60, 47, .7); animation: mcBob 4s ease-in-out infinite; }
.mc-bag .si { width: 40px; height: 40px; }
.mc-orbit { position: absolute; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--forest); box-shadow: 0 10px 22px -12px rgba(16, 32, 26, .45); animation: mcOrbit 5s ease-in-out infinite; }
.mc-orbit .si { width: 19px; height: 19px; }
.mc-orbit.o1 { left: 4px; top: 18px; --ox: 6px; --oy: -8px; }
.mc-orbit.o2 { right: 2px; top: 6px; --ox: -6px; --oy: 8px; animation-delay: -1.2s; color: #b45309; }
.mc-orbit.o3 { left: 14px; bottom: 4px; --ox: 8px; --oy: 6px; animation-delay: -2.4s; color: #1d4f91; }
.mc-orbit.o4 { right: 10px; bottom: 12px; --ox: -8px; --oy: -6px; animation-delay: -3.4s; color: #a3172f; }
.mc-empty h3 { font-family: var(--ui); font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: #1d1d1f; }
.mc-empty > p { margin-top: 4px; max-width: 280px; font-size: 13.5px; line-height: 1.5; color: #6e6e73; }
.mc-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.mc-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid #ecebe4; font-size: 12.5px; font-weight: 500; transition: border-color .2s, transform .3s cubic-bezier(.34, 1.4, .64, 1); }
.mc-cats a:hover { border-color: var(--forest); transform: translateY(-2px); }
.mc-cats img { width: 28px; height: 28px; border-radius: 50%; background: var(--tile); object-fit: contain; padding: 2px; mix-blend-mode: multiply; }
.mc-cats .mc-deals { padding-left: 10px; background: var(--forest); color: #fff; border-color: var(--forest); }
.mc-cats .mc-deals .si { width: 14px; height: 14px; color: var(--lime); fill: currentColor; stroke: none; }
.mc-picks { width: 100%; margin-top: 22px; text-align: left; }
.mc-picks-title { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #86868b; }
.mc-pick { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px; margin-bottom: 6px; border-radius: 16px; background: #fff; border: 1px solid #ecebe4; }
.mc-pick img { width: 56px; height: 56px; border-radius: 12px; background: var(--tile); object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.mc-pick div { min-width: 0; display: grid; gap: 2px; }
.mc-pick div a { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-pick span { font-size: 12.5px; display: flex; gap: 6px; align-items: baseline; }
.mc-pick s { color: #a1a1a6; font-size: 11.5px; }
.mc-add { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-soft); color: var(--forest); transition: background-color .2s, color .2s, transform .3s cubic-bezier(.34, 1.4, .64, 1); }
.mc-add:hover { background: var(--forest); color: var(--lime); transform: rotate(90deg) scale(1.08); }
.mc-add .si { width: 17px; height: 17px; }

/* footer */
.mc-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ecebe4; box-shadow: 0 -16px 30px -24px rgba(16, 32, 26, .35); }
.mc-foot[hidden] { display: none; }
.mc-gift { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 12px; border-radius: 12px; background: #fff4f4; color: #8f1d2e; font-size: 12px; font-weight: 500; }
.mc-gift .si { flex: none; width: 16px; height: 16px; }
.mc-rows .sum-row { padding: 3px 0; font-size: 13.5px; color: #3d4a44; }
.mc-rows .sum-row.total { margin-top: 6px; padding-top: 10px; font-size: 18px; color: #1d1d1f; }
.mc-save { color: var(--ok); font-weight: 600; }
.mc-checkout { margin-top: 12px; height: 52px; font-size: 15px; gap: 8px; position: relative; overflow: hidden; }
.mc-checkout .si { width: 18px; height: 18px; transition: transform .3s; }
.mc-checkout:hover .si { transform: translateX(4px); }
.mc-checkout::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); animation: fxSheen 3.8s ease-in-out infinite; pointer-events: none; }
.mc-continue { margin-top: 8px; height: 44px; font-size: 14px; }
.mc-pay { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mc-pay img { height: 14px; width: auto; padding: 5px 8px; border-radius: 7px; background: #fff; border: 1px solid #ecebe4; box-sizing: content-box; }
.mc-pay span { font-size: 11.5px; color: #86868b; margin-left: 4px; }

/* staggered contents each time the drawer opens */
.minicart.open .mc-head, .minicart.open .mc-eta { animation: mcUp .55s cubic-bezier(.16, 1, .3, 1) .08s both; }
.minicart.open .mc-eta { animation-delay: .14s; }
.minicart.open .mc-eta-bar b { animation: mcBar 1.1s cubic-bezier(.16, 1, .3, 1) .3s both, mcShimmer 3s linear infinite; }
.minicart.open .mc-empty > * { animation: mcUp .6s cubic-bezier(.16, 1, .3, 1) both; }
.minicart.open .mc-empty > :nth-child(2) { animation-delay: .12s; } .minicart.open .mc-empty > :nth-child(3) { animation-delay: .18s; }
.minicart.open .mc-empty > :nth-child(4) { animation-delay: .24s; } .minicart.open .mc-empty > :nth-child(5) { animation-delay: .32s; }
.minicart.open .mc-foot { animation: mcUp .6s cubic-bezier(.16, 1, .3, 1) .2s both; }
@media (prefers-reduced-motion: reduce) { .minicart *, .minicart *::before, .minicart *::after { animation: none !important; } }
.mc-count[hidden] { display: none; }
.mc-price b { white-space: nowrap; }
@media (max-width: 479px) { .mc-row { flex-wrap: wrap; } .mc-line { grid-template-columns: 64px minmax(0, 1fr); } .mc-img { width: 64px; height: 64px; } }
.gw-box { width: 136px; }
.gw-stage { height: 126px; }
.giftwraps.compact .gw-box { width: 96px; }
@media (max-width: 479px) { .gw-box { width: 100px; } .gw-stage { height: 96px; } }

/* ===== brand chapter nav v2: tiles that fill the row, contained photos ===== */
.bnav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 10px; margin: 8px 0 22px; padding: 4px 2px 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.bnav a { width: auto; position: relative; display: grid; grid-template-rows: 92px auto auto; justify-items: center; align-content: start; gap: 4px; padding: 10px 10px 12px; border: 1px solid #e8e6dd; border-radius: 20px; background: #fff; text-align: center; scroll-snap-align: start;
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1), box-shadow .3s, border-color .25s; }
.bnav a:hover { background: #fff; border-color: #cfcabb; transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(16, 32, 26, .4); }
.bnav .bi { width: 100%; height: 92px; display: block; position: relative; border-radius: 14px; background: #f5f5f7; overflow: hidden; }
.bnav .bi img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; max-height: none; object-fit: contain; mix-blend-mode: multiply; }
.bnav a:hover .bi img { transform: scale(1.07); }
.bnav .bi-all { display: grid; place-items: center; background: linear-gradient(145deg, #f7f7f9, #eceef1); }
.bnav .bi-all img, .bnav .bi-all svg { position: static; width: auto; height: 34px; max-width: 70%; }
.bnav .bi-all .bw { font-size: 22px; }
.bnav b { margin-top: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.25; color: #1d1d1f; letter-spacing: -.01em; }
.bnav small { margin: 2px 0 0; padding: 2px 9px; border-radius: 999px; background: #f2f2f4; font-size: 11.5px; font-weight: 600; color: #6e6e73; }
.bnav a.on { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(212, 239, 125, .7), 0 16px 30px -22px rgba(18, 60, 47, .6); }
.bnav a.on::after { content: none; }
.bnav a.on small { background: var(--forest); color: var(--lime); }
.bnav a.on b { color: var(--forest); }
@media (max-width: 639px) { .bnav { grid-auto-columns: 116px; gap: 8px; } .bnav a { grid-template-rows: 74px auto auto; padding: 8px 8px 10px; border-radius: 16px; } .bnav .bi { height: 74px; } .bnav b { font-size: 12.5px; } }
.bnav .bi-all img { height: 40px !important; width: auto !important; max-width: 72%; } .bnav .bi-all .bw { font-size: 24px; }
/* product-type row under the category tabs (e.g. JBL › Audio › Speakers / Headphones) */
.bnav.bnav-sub { grid-auto-columns: minmax(118px, 1fr); margin-top: -8px; }
.bnav.bnav-sub a { grid-template-rows: 64px auto auto; padding: 8px 8px 10px; border-radius: 16px; }
.bnav.bnav-sub .bi { height: 64px; }
.bnav.bnav-sub b { font-size: 12.5px; }

/* ===== customer reviews (product page) ===== */
.rv-first { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--forest); }
.rv-first .si { width: 15px; height: 15px; color: var(--star); fill: currentColor; stroke: none; }
.rv-first:hover { text-decoration: underline; }
a.stars:hover span { text-decoration: underline; }
.reviews { scroll-margin-top: calc(var(--header-h) + 70px); }
.rv-grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .rv-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; } }
.rv-summary { padding: 22px; border-radius: 22px; background: #fbfaf6; border: 1px solid var(--line); }
@media (min-width: 1024px) { .rv-summary { position: sticky; top: calc(var(--header-h) + 74px); } }
.rv-summary h2 { font-family: var(--ui); font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #1d1d1f; }
.rv-score { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.rv-score > b { font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #1d1d1f; }
.rv-score small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.stars.lg .si { width: 20px; height: 20px; }
.rv-dist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.rv-dist li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 8px; font-size: 12.5px; color: #4a5a53; }
.rv-dist span { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.rv-dist span .si { width: 12px; height: 12px; color: var(--star); fill: currentColor; stroke: none; }
.rv-dist i { height: 8px; border-radius: 8px; background: #ebe8dd; overflow: hidden; }
.rv-dist i b { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #f5b301, #f8cf4a); }
.rv-dist small { text-align: right; color: var(--muted); }
.rv-empty { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #4a5a53; }
.rv-trust { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.55; color: var(--muted); }
.rv-trust .si { flex: none; width: 16px; height: 16px; color: var(--forest); margin-top: 1px; }
.rv-trust b { color: #2c3a34; }

.rv-main { display: grid; gap: 16px; align-content: start; }
.rv-flash { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #e3f5ea; color: #17663a; font-size: 13.5px; line-height: 1.5; animation: fxRise .6s cubic-bezier(.16, 1, .3, 1) both; }
.rv-flash .si { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.rv-write > summary { list-style: none; display: inline-flex; gap: 8px; cursor: pointer; }
.rv-write > summary::-webkit-details-marker { display: none; }
.rv-write > summary .si { width: 17px; height: 17px; fill: currentColor; stroke: none; color: var(--lime); }
.rv-write[open] > summary { display: none; }
.rv-form { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; animation: fxRise .5s cubic-bezier(.16, 1, .3, 1) both; }
.rv-form .field { margin-top: 10px; }
.rv-form .hint { font-size: 11.5px; color: var(--muted); }
.rv-form .opt { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.rv-form .btn { justify-self: start; margin-top: 14px; }
.rv-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .rv-row { grid-template-columns: 1fr 1fr; } }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-stars-in { margin: 0; padding: 0; border: 0; }
.rv-stars-in legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.rv-stars-in .err { display: none; font-size: 12px; color: var(--sale); }
.rv-stars-in.invalid .err { display: block; }
.rv-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rv-pick label { cursor: pointer; padding: 2px; color: #d9d6cc; transition: color .15s, transform .25s cubic-bezier(.34, 1.4, .64, 1); }
.rv-pick label .si { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.rv-pick label:hover, .rv-pick label:hover ~ label, .rv-pick input:checked ~ label { color: var(--star); }
.rv-pick label:hover { transform: scale(1.15) rotate(-6deg); }
.rv-pick input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 8px; }

.rv-list { display: grid; gap: 12px; }
.rv-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.rv-item header { display: grid; gap: 6px; }
.rv-item h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1f; }
.rv-item > p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: #2c3a34; white-space: pre-line; }
.rv-item footer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.rv-item footer b { color: #1d1d1f; font-weight: 600; }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: #e3f5ea; color: #17663a; font-weight: 600; font-size: 11.5px; }
.rv-verified .si { width: 12px; height: 12px; }
.rv-reply { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #f7f5ee; border-left: 3px solid var(--forest); }
.rv-reply b { font-size: 12.5px; color: var(--forest); }
.rv-reply p { margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: #2c3a34; }

/* Business Profile links under the visit-us block */
.visit-gbp { margin-top: -2px; font-size: 13px; color: #cfdcd4; }
.visit-gbp a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.visit-gbp a:hover { color: var(--lime); }
