/* =====================================================================
   Usman Traders · website styles (v40, TaskGo inspired)
   Clean white pages, light grey cards with a soft blue corner glow,
   deep navy text, purple accent, sky gradients. Motion lives in js/motion.js.
   Old Liquid Glass design is kept in backups/site-v1/.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --surface: #f1f2f4;
  --surface-2: #f7f7fa;
  --card: #ffffff;
  --line: #e6e7ec;
  --line-blue: #cfdcf0;
  --ink: #0d062d;
  --ink-2: #4e4d53;
  --ink-3: #6c6b77;
  --accent: #6049e7;
  --accent-2: #8b7bff;
  --accent-soft: #eeebfd;
  --accent-ink: #ffffff;
  --wa: #25d366;
  --good: #1f9d74;
  --warn: #e8590c;
  --bad: #d92d45;
  --sky-1: #ffffff;
  --sky-2: #eef1ff;
  --sky-3: #dbe3ff;
  --sky-4: #c9cffb;
  --cloud: rgba(255,255,255,.95);
  --glow: rgba(183, 209, 255, .75);
  --tint: #ead3d6;              /* set by the hero finish picker */
  --hero-c: #5e1f2b;
  --r: 24px;
  --r-sm: 16px;
  --shadow: 0 1px 2px rgba(13,6,45,.04), 0 14px 34px -16px rgba(13,6,45,.22);
  --shadow-lg: 0 2px 4px rgba(13,6,45,.04), 0 30px 60px -24px rgba(13,6,45,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --wrap: 1240px;
  --gutter: 24px;
  /* product grid tokens */
  --gap: 18px; --card-min: 250px; --card-pad: 14px; --media-ratio: 1 / 1;
  --title-size: 17px; --price-size: 18px; --add-size: 42px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b0820; --surface: #15122b; --surface-2: #1a1633; --card: #1d1938; --line: #2b2748; --line-blue: #2f3a63; --ink: #f3f1ff; --ink-2: #bdb8d6; --ink-3: #8b86a8; --accent: #8b7bff; --accent-2: #a99dff; --accent-soft: rgba(139,123,255,.16); --sky-1: #0b0820; --sky-2: #120e33; --sky-3: #1a1550; --sky-4: #251d6b; --cloud: rgba(170,160,255,.10); --glow: rgba(90,110,220,.35); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -16px rgba(0,0,0,.7); --shadow-lg: 0 30px 60px -24px rgba(0,0,0,.8); color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0b0820; --surface: #15122b; --surface-2: #1a1633; --card: #1d1938; --line: #2b2748; --line-blue: #2f3a63; --ink: #f3f1ff; --ink-2: #bdb8d6; --ink-3: #8b86a8; --accent: #8b7bff; --accent-2: #a99dff; --accent-soft: rgba(139,123,255,.16); --sky-1: #0b0820; --sky-2: #120e33; --sky-3: #1a1550; --sky-4: #251d6b; --cloud: rgba(170,160,255,.10); --glow: rgba(90,110,220,.35); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -16px rgba(0,0,0,.7); --shadow-lg: 0 30px 60px -24px rgba(0,0,0,.8); color-scheme: dark; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .4s; }
img { max-width: 100%; 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; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, h4, .hero-h { margin: 0; letter-spacing: -.035em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
.muted { color: var(--ink-2); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; border-radius: 12px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- buttons: pill, glow sweeps across, text rolls up ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; letter-spacing: -.01em;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn svg { width: 19px; height: 19px; }
.btn .wa { fill: currentColor; stroke: none; }
.btn::after { content: ""; position: absolute; z-index: -1; left: -25%; top: -25%; width: 150%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 58%); transform: translate(-95%, -95%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translate(55%, 45%); }
.btn:active { transform: scale(.97); }
.btn .roll { display: inline-block; overflow: hidden; height: 1.5em; line-height: 1.5; vertical-align: middle; }
.btn .roll > i { display: block; font-style: normal; text-shadow: 0 1.5em 0 currentColor; transition: transform .5s var(--ease); }
.btn:hover .roll > i, .btn:focus-visible .roll > i { transform: translateY(-1.5em); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn-primary:hover { box-shadow: 0 20px 36px -14px color-mix(in srgb, var(--accent) 95%, transparent); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-outline { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline::after, .btn-soft::after { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 58%); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-wa { background: var(--wa); color: #05361b; box-shadow: 0 14px 28px -14px rgba(37,211,102,.8); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-lg { height: 58px; padding: 0 32px; font-size: 17px; }
.btn.full { width: 100%; }
.btn.grow { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .25s, transform .35s var(--spring); }
.icon-btn:hover { background: var(--surface); transform: translateY(-1px); }
.icon-btn:active { transform: scale(.92); }
.bag-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; animation: pop .45s var(--spring); }
@keyframes pop { from { transform: scale(.3); } }

/* ---------- layout ---------- */
main { overflow: clip; }
.section { width: min(var(--wrap), 100%); margin: 0 auto; padding: 110px var(--gutter) 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 62px); }
.section-head p { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; z-index: 60; top: 0; left: 0; right: 0; padding: 14px var(--gutter); transition: padding .4s var(--ease); }
.nav { width: min(var(--wrap), 100%); margin: 0 auto; display: flex; align-items: center; gap: 20px; height: 66px; padding: 0 10px 0 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.scrolled .nav { background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -16px rgba(13,6,45,.3), inset 0 0 0 1px var(--line); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
[data-theme="dark"] .brand img { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: invert(1); } }
.brand b { display: block; font-size: 17px; letter-spacing: -.02em; }
.brand small { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { position: relative; display: block; padding: 10px 14px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-cta { height: 48px; margin-left: 8px; }
@media (max-width: 1060px) { .nav-links { display: none; } }
@media (max-width: 640px) { .nav-cta, #searchBtn { display: none; } .nav { height: 58px; padding: 0 6px 0 12px; } .nav-wrap { padding: 10px 12px; } .brand small { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px var(--gutter) 40px; text-align: center; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 100%, var(--sky-4) 0%, transparent 70%), radial-gradient(40% 40% at 85% 70%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 35%, var(--sky-3) 75%, var(--sky-4) 100%); }
.hero .sky { bottom: 22%; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.cloud { position: absolute; display: block; border-radius: 50%; background: radial-gradient(ellipse at center, var(--cloud) 0%, color-mix(in srgb, var(--cloud) 60%, transparent) 35%, transparent 68%); }
.c1 { width: 620px; height: 260px; left: -180px; top: 46%; }
.c2 { width: 520px; height: 220px; right: -160px; top: 38%; }
.c3 { width: 760px; height: 300px; left: 18%; bottom: -120px; opacity: .8; }
.c4 { width: 420px; height: 180px; right: 8%; top: 8%; opacity: .7; }
.hero-copy { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 999px; background: var(--bg); font-size: 14.5px; font-weight: 500; box-shadow: 0 6px 20px -10px rgba(13,6,45,.25), inset 0 0 0 1px var(--line); }
.eyebrow .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48,209,88,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(48,209,88,0); } }
.hero h1, .hero .hero-h { margin: 26px auto 0; font-size: clamp(42px, 7vw, 92px); font-weight: 800; letter-spacing: -.05em; line-height: .98; }
.grad { background: linear-gradient(95deg, var(--hero-c) 0%, color-mix(in srgb, var(--hero-c) 40%, var(--accent)) 45%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 26px auto 0; max-width: 640px; font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
/* short protection line under the hero buttons (Store Manager > Home page) */
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; margin: 22px auto 0; max-width: 940px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.hero-trust[hidden] { display: none; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: ""; flex: none; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2330d158'/%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 560px) { .hero-trust { font-size: 13px; gap: 6px 12px; margin-top: 18px; padding: 0 8px; } .hero-trust span { gap: 6px; } .hero-trust span::before { width: 14px; height: 14px; } }

/* floating pill tags around the hero (gently bob) */
.pill-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--bg); font-size: 14.5px; font-weight: 500;
  box-shadow: 0 10px 26px -14px rgba(13,6,45,.35), inset 0 0 0 1px var(--line); animation: bob 6s ease-in-out infinite; }
.pill-tag i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 18%, var(--d) 60%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--d) 18%, transparent); }
.t1 { left: max(24px, calc(50% - 640px)); top: 250px; animation-delay: -1s; }
.t2 { right: max(24px, calc(50% - 640px)); top: 210px; animation-delay: -3s; }
.t3 { left: max(40px, calc(50% - 600px)); top: 470px; animation-delay: -2s; }
.t4 { right: max(40px, calc(50% - 600px)); top: 440px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@media (max-width: 1100px) { .pill-tag { display: none; } }

/* showcase frame (like a product dashboard), flattens while scrolling */
.frame-wrap { position: relative; z-index: 2; width: min(1120px, 100%); margin: 70px auto 0; perspective: 1600px; }
.frame { transform-origin: 50% 0; transform: rotateX(calc(var(--tilt, 0) * 24deg)) scale(calc(1 - var(--tilt, 0) * .08)); border-radius: 30px; padding: 12px; text-align: left;
  background: color-mix(in srgb, var(--bg) 55%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 80%, transparent), var(--shadow-lg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); will-change: transform; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 6px 12px 12px; }
.frame-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.frame-bar span:nth-child(2) { background: #febc2e; } .frame-bar span:nth-child(3) { background: #28c840; }
.frame-bar b { margin: 0 auto; padding: 4px 18px; border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.frame-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; border-radius: 22px; background: var(--bg); padding: 12px; }
.frame-photo { position: relative; display: grid; place-items: center; border-radius: 18px; background: var(--surface); min-height: 420px; overflow: hidden; isolation: isolate; }
.frame-glow { position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--tint) 0%, color-mix(in srgb, var(--tint) 40%, transparent) 40%, transparent 70%); transition: background 1s var(--ease); }
.frame-photo img { width: min(420px, 82%); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(30,20,40,.25)); }
.frame-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px 14px; }
.mini-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.frame-side h3, .frame-side .fs-title { font-size: clamp(26px, 3vw, 36px); }
.hero-finishes { display: flex; gap: 12px; flex-wrap: wrap; }
.finish-name { font-size: 14px; color: var(--ink-2); margin-top: -4px; }
.price-chip { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--surface); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.price-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-chip span { font-size: 13px; color: var(--ink-3); }
.price-chip b { font-size: 24px; letter-spacing: -.03em; }
.mini-list { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.mini-list i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); position: relative; flex: none; }
.mini-list i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: transform .35s var(--spring), box-shadow .3s; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.swatch.out { opacity: .35; }
/* featured window as a small shop counter: storage, exact price + stock, buy buttons, real shop proof */
.feat-seg { gap: 8px; } .feat-seg:empty { display: none; }
.feat-seg button { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.price-chip em { font-style: normal; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--good); }
.price-chip em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.price-chip em.low { color: var(--warn); } .price-chip em:empty { display: none; }
.feat-acts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.feat-acts .btn { min-height: 50px; padding: 12px 14px; font-size: 15px; white-space: nowrap; }
.feat-acts .btn svg.wa { width: 18px; height: 18px; fill: currentColor; flex: none; }
.feat-more { width: 100%; min-height: 50px; justify-content: center; gap: 8px; font-size: 15px; }
.feat-more::after { content: "→"; transition: transform .3s var(--ease); } .feat-more:hover::after { transform: translateX(3px); }
.feat-more[hidden] { display: none; }
.feat-proof { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feat-proof[hidden] { display: none; }
.feat-proof a, .feat-proof div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface); min-height: 54px; color: inherit; text-decoration: none; transition: transform .3s var(--ease); }
.feat-proof a:hover { transform: translateY(-2px); }
.feat-proof i { grid-row: span 2; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 800; background: var(--bg); }
.feat-proof b { font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-proof small { font-size: 12px; line-height: 1.25; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-proof .g i { color: #f5a623; } .feat-proof .f i { color: #1877f2; } .feat-proof .o i { color: var(--good); } .feat-proof .o.shut i { color: var(--ink-3); } .feat-proof .d i { color: var(--accent); }
#featPoints:has(~ .feat-proof:not([hidden])) { display: none; }
/* featured window: classical symmetry. One left edge, one 16px rhythm (labels sit 8px above their row),
   one corner (16px) for every box and button, equal columns for storage, buttons and proof tiles */
.frame-side { --fr: 16px; gap: 16px; padding: 22px 20px 20px; }
.frame-side .fs-title { margin-top: -6px; }
.feat-lbl { font-size: 13px; color: var(--ink-3); margin: 0 0 -8px; letter-spacing: .01em; }
.feat-lbl b { color: var(--ink); font-weight: 600; margin-left: 6px; }
.feat-lbl[hidden] { display: none; }
.frame-side .finish-name { margin-top: 0; }
.frame-side .hero-finishes { gap: 14px; padding: 5px; margin: -5px; }
.frame-side .hero-finishes .swatch { width: 36px; height: 36px; }
.frame-side .feat-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.frame-side .feat-seg:empty { display: none; }
.feat-seg button { min-height: 52px; border-radius: var(--fr); font-size: 15px; padding: 8px 10px; }
.frame-side .price-chip { border-radius: var(--fr); padding: 16px 18px; }
.feat-acts { grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-acts .btn, .frame-side .feat-more { min-height: 52px; border-radius: var(--fr); }
.feat-proof { gap: 10px; }
.feat-proof a, .feat-proof div { border-radius: var(--fr); padding: 10px 14px; }
@media (max-width: 1180px) and (min-width: 821px) { .feat-acts { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .frame-side { gap: 14px; padding: 10px 6px 6px; } .feat-lbl { margin-bottom: -6px; } .feat-seg button, .feat-acts .btn, .frame-side .feat-more { min-height: 50px; } .feat-proof a, .feat-proof div { padding: 9px 10px; } }
@media (max-width: 820px) {
  .frame-body { grid-template-columns: 1fr; }
  .frame-photo { min-height: 300px; }
  .mini-list { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 116px 16px 20px; }
  .frame-wrap { margin-top: 44px; }
  .frame { padding: 8px; border-radius: 24px; }
  .frame-bar { display: none; }
  .frame-body { padding: 8px; border-radius: 18px; }
  .frame-photo { min-height: 0; aspect-ratio: 1; }
  .frame-side { padding: 8px 6px 6px; gap: 10px; }
  .feat-acts { grid-template-columns: 1fr; } .feat-acts .btn, .feat-more { min-height: 48px; }
  .feat-proof a, .feat-proof div { padding: 9px 10px; column-gap: 8px; } .feat-proof i { width: 26px; height: 26px; font-size: 13px; }
  .feat-proof b { font-size: 13px; } .feat-proof small { font-size: 11.5px; }
  .c1, .c2 { display: none; }
}

/* ---------- brands marquee ---------- */
.brands { width: min(var(--wrap), 100%); margin: 70px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 26px; }
.brands-label { font-size: 16px; color: var(--ink-2); padding-right: 24px; border-right: 1px solid var(--line-blue); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; display: grid; place-items: center; height: 82px; min-width: 200px; padding: 0 30px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-blue);
  font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--ink-3); transition: color .3s, box-shadow .3s; }
.marquee-track span:hover { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; gap: 14px; text-align: center; } .brands-label { border: 0; padding: 0; } .marquee-track span { height: 64px; min-width: 150px; font-size: 18px; } }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fcard { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 28px 26px 0; border-radius: var(--r); background: var(--surface);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fcard::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: .55; transition: opacity .5s, transform .7s var(--ease); }
.fcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fcard:hover::before { opacity: 1; transform: scale(1.25); }
.fcard h3 { font-size: 24px; }
.fcard > p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.fcard .ui { margin-top: 26px; padding: 18px; border-radius: 18px 18px 0 0; background: var(--card); box-shadow: 0 -1px 0 var(--line), var(--shadow); flex: 1; transition: transform .6s var(--ease); }
.fcard:hover .ui { transform: translateY(-6px); }
.ui-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ui-row b { font-weight: 600; flex: 1; }
.ui-row small { color: var(--good); font-weight: 600; font-size: 12.5px; }
.ui-row .ok { width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(31,157,116,.15); }
.ui-bars { display: flex; gap: 6px; margin-top: 16px; }
.ui-bars i { height: 12px; width: var(--w); border-radius: 999px; background: var(--accent); }
.ui-bars i:nth-child(2) { background: #a855f7; } .ui-bars i:nth-child(3) { background: #0ea5e9; } .ui-bars i:nth-child(4) { background: #f59e0b; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.bubble.me { align-self: flex-end; background: #d9fdd3; color: #0b2b16; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; }
.typing { display: flex; gap: 4px; padding: 10px 14px; border-radius: 16px; background: var(--surface); width: max-content; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: .5; } }
.route { display: grid; gap: 4px; }
.stop { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: center; }
.stop i { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); justify-self: center; }
.stop i.to { background: var(--good); box-shadow: 0 0 0 5px rgba(31,157,116,.15); }
.stop b { font-size: 16px; }
.stop small { grid-column: 2; color: var(--ink-3); font-size: 13px; }
.route .line { height: 60px; width: 26px; display: grid; justify-items: center; }
.route .line span { width: 2px; height: 100%; background: repeating-linear-gradient(var(--accent) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 0 24px; } }
.fcard.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 40px; }
.fcard.wide h3 { font-size: clamp(26px, 3vw, 36px); }
.wide-copy p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.partner-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pbadge { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); transition: transform .45s var(--spring), box-shadow .45s; }
.pbadge:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.pbadge b { font-size: 26px; letter-spacing: -.03em; }
.pbadge span { font-weight: 600; }
.pbadge small { color: var(--ink-3); }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } .fcard.wide { grid-template-columns: 1fr; padding: 28px 24px; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; gap: 14px; } .partner-badges { grid-template-columns: 1fr 1fr; gap: 10px; } .pbadge { padding: 16px; } .pbadge b { font-size: 20px; } }

/* ---------- stats ---------- */
.stats-sec { padding-top: 70px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 30px 26px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line-blue); transition: transform .45s var(--ease), box-shadow .45s; }
.stat:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow); }
.stat b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; gap: 12px; } .stat { padding: 22px 18px; } }

/* ---------- categories ---------- */
/* ---------- category boxes ("Shop by category") ----------
   Title and line at the top, the photo gets the whole area under them; the arrow button sits in the bottom-left
   corner beside the photo (never over text). Big box (first category) and wide box put the photo on the right. */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 20px; }
.tile { position: relative; overflow: hidden; isolation: isolate; width: 100%; height: 100%; padding: 26px; border-radius: 28px; text-align: left;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent), 0 1px 2px rgba(13,6,45,.04), 0 18px 40px -28px rgba(13,6,45,.28);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "h" "p" "art";
  transition: transform .6s var(--spring), box-shadow .6s var(--ease); }
.tile::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(75% 85% at 100% 100%, color-mix(in srgb, var(--t) 90%, transparent), transparent 70%); opacity: .85; transition: opacity .6s, transform .9s var(--ease); }
.tile h3 { grid-area: h; font-size: 28px; letter-spacing: -.03em; line-height: 1.05; }
.tile p { grid-area: p; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.tile .go { position: absolute; z-index: 2; left: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink);
  box-shadow: 0 1px 2px rgba(13,6,45,.06), 0 10px 22px -10px rgba(13,6,45,.35); transition: transform .5s var(--spring), background .3s, color .3s, box-shadow .3s; }
.tile .art { grid-area: art; position: relative; min-height: 0; margin: 10px -8px -12px 52px; }
.tile .art > .pic { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; transition: transform .8s var(--ease); }
.tile .art img.pic { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 18px rgba(20,20,30,.2)); }
.tile .art svg { height: 100%; width: auto; max-width: 100%; }
.tile.big { grid-column: span 2; grid-row: span 2; padding: 36px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "h art" "p art" ". art"; column-gap: 12px; }
.tile.big h3 { font-size: clamp(36px, 4vw, 54px); }
.tile.big p { -webkit-line-clamp: 4; font-size: 15.5px; max-width: 30ch; }
.tile.big .go { left: 34px; bottom: 34px; width: 54px; height: 54px; background: var(--accent); color: #fff; }
.tile.big .art { margin: 30px -20px -26px -10px; }
.tile.wide { grid-column: span 2; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "h art" "p art" ". art"; column-gap: 12px; }
.tile.wide p { -webkit-line-clamp: 3; }
.tile.wide .art { margin: -6px -14px -18px 0; }
@media (hover: hover) {
  .tile:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 2px 4px rgba(13,6,45,.05), 0 34px 60px -30px rgba(13,6,45,.42); }
  .tile:hover::before { opacity: 1; transform: scale(1.08); }
  .tile:hover .art > .pic { transform: scale(1.06) translateY(-4px); }
  .tile:hover .go { transform: translateX(4px); background: var(--accent); color: #fff; box-shadow: 0 12px 26px -10px var(--accent); }
}
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; } .tile.big { grid-row: span 1; } }
@media (max-width: 640px) {
  .bento { gap: 12px; grid-auto-rows: 214px; }
  .tile { padding: 16px; border-radius: 22px; }
  .tile h3 { font-size: 20px; }
  .tile p { font-size: 12.5px; margin-top: 4px; }
  .tile .go { left: 12px; bottom: 12px; width: 36px; height: 36px; }
  .tile .go svg { width: 18px; height: 18px; }
  .tile .art { margin: 8px -6px -8px 34px; }
  .tile.big { padding: 20px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .tile.big h3 { font-size: 30px; }
  .tile.big p { font-size: 13px; -webkit-line-clamp: 3; }
  .tile.big .go { left: 16px; bottom: 16px; width: 42px; height: 42px; }
  .tile.big .art, .tile.wide .art { margin: -4px -12px -14px 0; }
  .tile.wide p { -webkit-line-clamp: 2; }
}

/* ---------- shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
/* category buttons: one row that scrolls sideways with a finger; extra bottom space so the glow of the chosen button is not cut */
.chips { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 16px; margin-bottom: -12px; min-width: 0; max-width: 100%; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.chips .chip { scroll-snap-align: start; }
/* phones: the row runs edge to edge and fades at the sides, so it is clear there are more buttons to swipe to */
@media (max-width: 640px) {
  .shop-bar { flex-wrap: nowrap; }   /* a wrapping column grows to its widest item, which stopped the row from scrolling */
  .shop-bar > .chips { width: calc(100% + 48px); margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; max-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent); }
}
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); background: var(--surface); transition: background .3s, color .3s, transform .35s var(--spring); }
.chip:hover { color: var(--ink); transform: translateY(-2px); }
.chip[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px var(--accent); }
.shop-tools { display: flex; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink-3); transition: box-shadow .3s; }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.search input { border: 0; outline: none; background: none; width: 210px; color: var(--ink); }
#sort { height: 46px; padding: 0 40px 0 18px; border-radius: 999px; border: 0; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8994' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; appearance: none; -webkit-appearance: none; font-weight: 500; cursor: pointer; }
@media (max-width: 640px) { .shop-bar { flex-direction: column; align-items: stretch; } .shop-tools { width: 100%; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } #sort { width: 100%; min-width: 0; text-overflow: ellipsis; } .search { flex: 1; min-width: 0; } .search input { width: 100%; min-width: 0; } #sort { padding: 0 34px 0 14px; } }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); background: var(--surface); border-radius: var(--r); }

/* product grid: fixed card slots so nothing ever overlaps */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(var(--card-min), 100%), 1fr)); }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; padding: var(--card-pad); border-radius: var(--r); background: var(--surface); cursor: pointer; text-align: left; min-width: 0;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s; isolation: isolate; overflow: hidden; }
.card::before { content: ""; position: absolute; z-index: -1; right: -40%; top: -40%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: 0; transition: opacity .5s; }
@media (hover: hover) { .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); } .card:hover::before { opacity: .9; } }
.card .media { position: relative; aspect-ratio: var(--media-ratio); border-radius: 18px; background: var(--card); display: grid; grid-template-rows: 26px minmax(0, 1fr); padding: 10px 10px 14px; isolation: isolate; }
.card .media::before { content: ""; position: absolute; z-index: -1; inset: 8% 10% 10%; background: radial-gradient(ellipse 50% 46% at 50% 54%, color-mix(in srgb, var(--ct) 90%, transparent) 0%, color-mix(in srgb, var(--ct) 30%, transparent) 45%, transparent 72%); }
.card .badges { display: flex; gap: 6px; align-items: start; }
.badge { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); line-height: 1.3; }
.badge.sold { background: #fde8eb; color: var(--bad); }
.card .media .dev { position: relative; width: 100%; height: 100%; min-height: 0; }
.card .media .dev > .pic { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.card .media .dev img.pic { object-fit: contain; filter: drop-shadow(0 8px 10px rgba(20,20,30,.12)); }
.card .media .dev svg { height: 100%; width: auto; max-width: 100%; }
.card .media .dev::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: -4%; height: 8%; z-index: -1; background: radial-gradient(ellipse at center, rgba(20,20,30,.2), transparent 70%); filter: blur(3px); }
.card.soldout .media .dev { opacity: .45; filter: grayscale(.6); }
.card .body { display: grid; grid-template-rows: 12px calc(var(--title-size) * 1.25 * 2) calc(13.5px * 1.35) 24px auto; row-gap: 7px; padding: 14px 6px 4px; min-width: 0; }
.card .dots { display: flex; gap: 6px; overflow: hidden; }
.card .dots i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.card h3 { font-size: var(--title-size); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.card .tag { color: var(--ink-2); font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.card .conds { display: flex; gap: 6px; align-items: center; overflow: hidden; }
.card .conds span { font-size: 11.5px; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); white-space: nowrap; }
.card .conds .c-new { color: var(--good); background: rgba(31,157,116,.12); }
/* iPhone protection badge (Store Manager > Home page > iPhone protection) */
.badge.prot { display: inline-flex; align-items: center; gap: 5px; padding-left: 6px; background: rgba(48,209,88,.13); color: #138a3e; white-space: nowrap; }
.badge.prot::before { content: ""; width: 13px; height: 13px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2 2.6 3.3v4.1c0 3.3 2.3 6.1 5.4 7.4 3.1-1.3 5.4-4.1 5.4-7.4V3.3z' fill='%2330d158'/%3E%3Cpath d='M5.4 8.1l1.8 1.8 3.5-3.7' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.card .badges { min-width: 0; overflow: hidden; }
.badge.prot i { font-style: normal; }
:root[data-theme="dark"] .badge.prot { color: #5ee68a; background: rgba(48,209,88,.16); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.prot { color: #5ee68a; background: rgba(48,209,88,.16); } }
@media (max-width: 640px) { .badge.prot { gap: 3px; padding-left: 4px; } .badge.prot::before { width: 11px; height: 11px; } .badge.prot i { display: none; } }
/* product window: fixed slot (kept empty for non-iPhones so every window is the same size) */
.p-prot { margin-top: 10px; min-height: 22px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; font-weight: 600; line-height: 22px; color: var(--ink); }
.p-prot span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.p-prot span::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2 2.6 3.3v4.1c0 3.3 2.3 6.1 5.4 7.4 3.1-1.3 5.4-4.1 5.4-7.4V3.3z' fill='%2330d158'/%3E%3Cpath d='M5.4 8.1l1.8 1.8 3.5-3.7' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 560px) { .p-prot { min-height: 44px; flex-direction: column; gap: 0; font-size: 13px; } }
.card .foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px; margin-top: 4px; }
.card .pricebox { min-width: 0; }
.card .from { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.card .price { display: block; font-weight: 800; font-size: var(--price-size); letter-spacing: -.03em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.soldout .price { color: var(--ink-3); }
.card .add { position: relative; width: var(--add-size); height: var(--add-size); border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: transform .45s var(--spring), background .3s, color .3s; }
.card .add::before { content: ""; position: absolute; inset: -6px; }
.card .add svg { width: 19px; }
.card .add:hover { background: var(--accent); color: #fff; transform: rotate(90deg) scale(1.08); }
@media (max-width: 640px) {
  :root { --gap: 10px; --card-pad: 8px; --title-size: clamp(13.5px, 3.9vw, 15px); --price-size: clamp(14px, 4vw, 16px); --add-size: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { border-radius: 22px; }
  .card .media { border-radius: 16px; padding: 6px 6px 10px; grid-template-rows: 22px minmax(0, 1fr); }
  .card .tag { display: none; }
  .card .body { grid-template-rows: 10px calc(var(--title-size) * 1.25 * 2) 24px auto; padding: 10px 4px 2px; }
  .card .dots i { width: 10px; height: 10px; }
  .badge { font-size: 9.5px; padding: 3px 8px; }
}

/* ---------- how to order ---------- */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.steps-visual { position: relative; display: grid; place-items: center; padding: 50px 20px; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-2) 55%, color-mix(in srgb, var(--accent-2) 30%, #fff) 100%); min-height: 520px; }
.steps-visual::before { content: ""; position: absolute; z-index: -1; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(ellipse, rgba(255,255,255,.55), transparent 65%); }
.phone { width: min(320px, 100%); border-radius: 36px; padding: 12px; background: #fff; box-shadow: 0 40px 80px -30px rgba(20,10,60,.6); transform: rotate(-4deg); transition: transform .8s var(--ease); color: #0d062d; }
.steps-visual:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 24px 24px 10px 10px; background: #075e54; color: #fff; }
.phone-top .avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #075e54; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.phone-top b { display: block; font-size: 14px; } .phone-top small { font-size: 11.5px; opacity: .8; }
.phone-chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 8px 20px; background: #efe7de; border-radius: 10px 10px 26px 26px; min-height: 300px; }
.phone-chat .bubble.them { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 20px; align-items: start; padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface-2), var(--bg)); box-shadow: inset 0 0 0 1px var(--line-blue); transition: transform .45s var(--ease), box-shadow .45s; }
.steps li:hover { transform: translateX(8px); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow); }
.num { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; box-shadow: 0 12px 24px -12px var(--accent); transition: transform .5s var(--spring); }
.steps li:hover .num { transform: rotate(-12deg) scale(1.06); }
.steps h3 { font-size: 23px; margin-top: 4px; }
.steps p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 900px) { .steps-wrap { grid-template-columns: 1fr; } .steps-visual { min-height: 420px; } }
@media (max-width: 640px) { .steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px; } .num { width: 46px; height: 46px; font-size: 16px; } .steps h3 { font-size: 19px; } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 28px; border-radius: var(--r); background: var(--surface); transition: transform .5s var(--spring), box-shadow .5s; position: relative; overflow: hidden; isolation: isolate; }
.review::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -50%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: .5; }
.review:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.review blockquote { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.review.big { grid-column: span 2; }
.review.big blockquote { font-size: clamp(20px, 2.2vw, 26px); }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; }
.review figcaption b { color: var(--ink); font-size: 16px; }
.stars { color: var(--accent); letter-spacing: 3px; }
.review.score { align-items: flex-start; justify-content: center; gap: 6px; background: var(--ink); color: var(--bg); }
.review.score::before { opacity: .25; }
.review.score > b { font-size: 64px; letter-spacing: -.05em; line-height: 1; }
.review.score p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.review.score .stars { color: #ffd60a; }
.review.score.fb { background: var(--accent); color: #fff; }
.review.score.fb p { color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } .review.big { grid-column: 1 / -1; } }
@media (max-width: 560px) { .reviews { grid-template-columns: 1fr; } .review { padding: 22px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: 20px; background: var(--surface); overflow: hidden; transition: background .3s, box-shadow .3s; }
.faq details:hover { box-shadow: inset 0 0 0 1px var(--line-blue); }
.faq details[open] { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--accent); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 24px 28px; cursor: pointer; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); transition: transform .45s var(--spring); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq details[open] .a { grid-template-rows: 1fr; }
.faq .a > p { overflow: hidden; padding: 0 28px 0 72px; color: var(--ink-2); font-size: 16px; }
.faq details[open] .a > p { padding-bottom: 24px; }
@media (max-width: 640px) { .faq summary { padding: 18px; font-size: 16px; gap: 12px; } .faq .a > p { padding: 0 18px 0 58px; } }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; }
.visit-card { padding: 40px; border-radius: var(--r); background: var(--surface); }
.visit-card h2 { font-size: clamp(30px, 3.6vw, 44px); }
.addr { margin: 16px 0 22px; color: var(--ink-2); font-size: 17px; }
.hours { list-style: none; padding: 0; margin: 0 0 26px; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.hours li > :last-child { white-space: nowrap; text-align: right; }
.visit .cta-row { justify-content: flex-start; margin-top: 0; }
.map-card { border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--surface); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit-card { padding: 26px; } .map-card, .map-card iframe { min-height: 300px; } }
@media (max-width: 640px) { .hours li { font-size: 14.5px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 120px auto 0; padding: 96px 24px; border-radius: 34px; text-align: center; }
.cta-band .sky { background: radial-gradient(50% 70% at 20% 100%, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 70%), radial-gradient(50% 70% at 85% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), linear-gradient(160deg, var(--sky-2), var(--sky-3) 55%, var(--sky-4)); }
.cta-band h2 { max-width: 820px; margin: 0 auto; font-size: clamp(34px, 5.4vw, 64px); }
.cta-band p { max-width: 560px; margin: 18px auto 0; color: var(--ink-2); font-size: 18px; }
@media (max-width: 640px) { .cta-band { padding: 64px 18px; border-radius: 26px; margin-top: 90px; width: calc(100% - 24px); } }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; margin-top: 110px; border-top: 1px solid var(--line-blue); }
.foot-grid { width: min(var(--wrap), 100%); margin: 0 auto; padding: 70px var(--gutter) 30px; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
.foot-brand p { margin-top: 18px; max-width: 320px; color: var(--ink-2); }
.footer h4, .footer .ft-h { font-size: 18px; margin-bottom: 18px; }
.footer .foot-grid > div:not(.foot-brand) a { display: block; width: max-content; max-width: 100%; padding: 6px 0; color: var(--ink-2); transition: color .25s, transform .35s var(--ease); }
.footer .foot-grid > div:not(.foot-brand) a:hover { color: var(--accent); transform: translateX(4px); }
.fine { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gutter) 20px; font-size: 13px; color: var(--ink-3); }
.wordmark { text-align: center; font-size: clamp(60px, 15vw, 230px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--surface); white-space: nowrap; margin-bottom: -.12em; padding-top: 20px; user-select: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } .footer .foot-grid > div:not(.foot-brand) a { width: auto; overflow-wrap: anywhere; } }
@media (max-width: 640px) { .footer { padding-bottom: 96px; } .foot-grid { padding-top: 50px; gap: 22px; } }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: none; justify-content: space-around; padding: 8px; border-radius: 26px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.tabbar a, .tabbar button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border-radius: 18px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s; }
.tabbar a:active, .tabbar button:active { background: var(--accent-soft); color: var(--accent); }
.tabbar .bag-count { top: 0; right: calc(50% - 22px); }
@media (max-width: 760px) { .tabbar { display: flex; } }

/* ---------- dialogs: product sheet + checkout ---------- */
dialog { color: var(--ink); }
.sheet { border: 0; padding: 0; background: var(--bg); color: var(--ink); width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border-radius: 30px; box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.sheet[open] { animation: sheetIn .5s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet::backdrop { background: rgba(13,6,45,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet .close { position: absolute; top: 14px; right: 14px; z-index: 5; background: var(--bg); box-shadow: var(--shadow); }
.product-sheet[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.p-visual { position: relative; display: grid; place-items: center; min-height: 560px; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, color-mix(in srgb, var(--pt, #eceef1) 55%, var(--surface)), var(--surface)); }
.p-halo { position: absolute; z-index: -1; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.75), transparent 65%); }
.p-device { position: relative; width: 78%; height: 440px; display: grid; place-items: center; }
.p-device .pic { width: 100%; height: 100%; display: grid; place-items: center; }
.p-device img.pic { object-fit: contain; max-height: 440px; filter: drop-shadow(0 24px 30px rgba(20,20,30,.22)); }
.p-device svg { height: 100%; width: auto; max-width: 100%; }
.p-visual:has(.p-thumbs:not([hidden])) { grid-template-rows: minmax(0, 1fr) auto; align-content: center; padding-bottom: 16px; }
.p-visual:has(.p-thumbs:not([hidden])) .p-device { height: 380px; }
.p-visual:has(.p-thumbs:not([hidden])) .p-device img.pic { max-height: 380px; }
.p-thumbs { display: flex; gap: 8px; max-width: calc(100% - 24px); overflow-x: auto; padding: 6px; margin: 10px auto 0; border-radius: 18px; background: color-mix(in srgb, var(--bg) 75%, transparent); scrollbar-width: none; }
.p-thumb { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--bg); padding: 4px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .35s var(--spring); }
.p-thumb img { width: 100%; height: 100%; object-fit: contain; }
.p-thumb:hover { transform: translateY(-2px); }
.p-thumb[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.p-info { padding: 40px 34px 30px; display: flex; flex-direction: column; }
.p-badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); min-height: 16px; }
.p-info h2, .p-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 6px; padding-right: 40px; }
.p-tag { margin-top: 10px; color: var(--ink-2); }
.p-price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.p-price b { font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.p-price s { color: var(--ink-3); }
.p-stock { margin-top: 6px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.p-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.p-stock.in { color: var(--good); } .p-stock.low { color: var(--warn); } .p-stock.out { color: var(--bad); }
.opt { margin-top: 20px; }
.opt-label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.opt-label b { color: var(--ink); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 10px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600; background: var(--surface); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background .25s, color .25s, transform .3s var(--spring); }
.seg button:hover { transform: translateY(-2px); }
.seg button.on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.seg button.out { opacity: .45; }
.seg button small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.specs { list-style: none; padding: 0; margin: 20px 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.specs li { font-size: 13.5px; padding: 11px 13px; border-radius: 14px; background: var(--surface); }
.p-actions { display: flex; gap: 10px; margin-top: 18px; }
.qty { display: flex; align-items: center; height: 50px; padding: 0 6px; border-radius: 999px; background: var(--surface); }
.qty button { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; transition: background .2s; }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
#pBuy { margin-top: 10px; }
.share-btn { margin-top: 10px; height: 46px; font-size: 15px; }
.share-menu { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 12px; padding: 14px 8px; border-radius: 20px; background: var(--surface); animation: sheetIn .35s var(--ease); }
.sh { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink); min-width: 0; white-space: nowrap; cursor: pointer; padding: 4px 0; }
.sh span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--spring); }
.sh:hover span { transform: translateY(-3px) scale(1.06); }
.sh svg { width: 20px; height: 20px; }
.sh-wa svg, .sh-fb svg, .sh-x svg, .sh-tg svg, .sh-more svg { fill: currentColor; stroke: none; }
.sh-wa span { background: #25d366; color: #fff; } .sh-fb span { background: #1877f2; color: #fff; } .sh-x span { background: #000; color: #fff; } .sh-tg span { background: #229ed9; color: #fff; }
@media (max-width: 400px) { .share-menu { padding: 12px 4px; } .sh { font-size: 10.5px; } .sh span { width: 40px; height: 40px; } }
@media (max-width: 860px) {
  .sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .sheet[open] { animation-name: sheetUp; }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: .6; } }
  .product-sheet[open] { display: block; }
  .p-visual { min-height: 300px; }
  .p-device { height: 260px; } .p-device img.pic { max-height: 260px; }
  .p-visual:has(.p-thumbs:not([hidden])) .p-device { height: 220px; } .p-visual:has(.p-thumbs:not([hidden])) .p-device img.pic { max-height: 220px; }
  .p-info { padding: 22px 18px 28px; }
  .p-thumb { width: 42px; height: 42px; }
}

/* checkout */
.checkout-sheet { width: min(560px, calc(100% - 32px)); padding: 34px 30px 28px; }
.checkout-sheet h2 { font-size: 32px; margin-top: 10px; }
.checkout-sheet > .muted { margin: 10px 0 20px; }
.steps-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.steps-bar span.on { color: var(--accent); }
.steps-bar i { flex: 0 0 26px; height: 2px; background: var(--line); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); outline: none; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .err, .field input.err, .field textarea.err { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(217,45,69,.12); }
.delivery-fields.hide { display: none; }
.co-summary { margin: 6px 0 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); }
.co-summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; }
.co-summary .line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 16px; }
.secure { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .checkout-sheet { width: 100%; padding: 28px 18px 24px; } }

/* ---------- bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(13,6,45,.4); }
.drawer { position: fixed; z-index: 70; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px)); display: flex; flex-direction: column; padding: 24px; border-radius: 30px; background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-head h2 { font-size: 28px; }
.bag-items { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 10px; }
.bag-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--surface); animation: sheetIn .4s var(--ease); }
.bag-item.gone { opacity: .55; }
.bag-item .thumb { width: 70px; height: 70px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--ct, #eceef1) 70%, var(--bg)); overflow: hidden; }
.bag-item .thumb .pic { width: 100%; height: 62px; display: grid; place-items: center; }
.bag-item .thumb img.pic { object-fit: contain; }
.bag-item .thumb svg { height: 56px; width: auto; }
.bag-item h4 { font-size: 15px; letter-spacing: -.01em; }
.bag-item p { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.bag-item .warn { color: var(--bad); font-weight: 600; }
.bag-item .right { display: grid; justify-items: end; gap: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.bag-item .rm { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.bag-item .rm:hover { color: var(--bad); }
.mini-qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.mini-qty button { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); font-weight: 700; }
.mini-qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; }
.bag-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-2); }
.bag-foot { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.row-between { display: flex; justify-content: space-between; gap: 12px; }
.row-between b { font-size: 18px; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 160%); max-width: calc(100% - 24px); padding: 13px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: transform .5s var(--spring), opacity .3s, visibility 0s .5s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--spring), opacity .3s; }
.toast a { color: var(--accent-2) !important; }
@media (max-width: 760px) { .toast { bottom: 100px; } }
body:has(.drawer.open) .toast { top: 18px; bottom: auto; transform: translate(-50%, -160%); }
body:has(.drawer.open) .toast.show { transform: translate(-50%, 0); }

/* ---------- motion (classes set by js/motion.js; nothing hidden without it) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(34px) scale(.97); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.motion [data-reveal].in { opacity: 1; transform: none; filter: none; }
.motion .card.rv, .motion .tile.rv { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.motion .card.rv.in, .motion .tile.rv.in { opacity: 1; transform: none; }
@media (hover: hover) { .motion .card.rv.in:hover, .motion .tile.rv.in:hover { transform: translateY(-8px); transition-delay: 0s; } }
.w { display: inline-block; opacity: .28; filter: blur(1.5px); transition: opacity .55s var(--ease), filter .55s var(--ease); }
.w.lit { opacity: 1; filter: none; }
@media (hover: hover) { body.is-scrolling .card, body.is-scrolling .tile, body.is-scrolling .fcard, body.is-scrolling .review { pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .frame { transform: none !important; }
  .w { opacity: 1; filter: none; }
}

/* spotlight that follows the pointer (position set by js/motion.js) */
.card::after, .fcard::after, .stat::after, .review::after, .steps li::after, .tile::after, .pbadge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%); }
.steps li, .stat, .pbadge { position: relative; }
@media (hover: hover) { .card:hover::after, .fcard:hover::after, .stat:hover::after, .review:hover::after, .steps li:hover::after, .tile:hover::after, .pbadge:hover::after { opacity: 1; } }
@media (max-width: 360px) { :root { --price-size: 13px; --add-size: 32px; --card-pad: 6px; } .card .body { padding: 8px 3px 2px; } }
[data-theme="dark"] .grad { background-image: linear-gradient(95deg, color-mix(in srgb, var(--hero-c) 45%, #fff) 0%, var(--accent-2) 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grad { background-image: linear-gradient(95deg, color-mix(in srgb, var(--hero-c) 45%, #fff) 0%, var(--accent-2) 100%); } }

/* banner highlight: glow ring (moving colours) and a small shake every few seconds */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hl-glow { border: 1.5px solid transparent !important; background: linear-gradient(var(--hl-bg, #fff), var(--hl-bg, #fff)) padding-box, conic-gradient(from var(--ring), #6049e7, #30d158, #0a84ff, #ff9f0a, #6049e7) border-box !important;
  animation: ringSpin 4s linear infinite, ringPulse 2.6s ease-in-out infinite; }
@keyframes ringSpin { to { --ring: 360deg; } }
@keyframes ringPulse { 0%, 100% { box-shadow: 0 6px 20px -10px rgba(96,73,231,.45), 0 0 0 0 rgba(96,73,231,.25); } 50% { box-shadow: 0 10px 30px -10px rgba(96,73,231,.65), 0 0 0 7px rgba(96,73,231,0); } }
.hl-shake { animation: bannerShake 6s ease-in-out 2.5s infinite; }
.hl-glow.hl-shake { animation: ringSpin 4s linear infinite, ringPulse 2.6s ease-in-out infinite, bannerShake 6s ease-in-out 2.5s infinite; }
@keyframes bannerShake { 0%, 84%, 100% { translate: 0 0; rotate: 0deg; } 86% { translate: -4px 0; rotate: -2deg; } 88% { translate: 4px 0; rotate: 2deg; } 90% { translate: -3px 0; rotate: -1.5deg; } 92% { translate: 3px 0; rotate: 1.5deg; } 94% { translate: -1px 0; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .hl-glow, .hl-shake, .hl-glow.hl-shake { animation: none !important; } }
.eyebrow.hl-glow { --hl-bg: var(--bg); }
/* smooth page change between the store and the iPhone page (browsers that support it) */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
/* live open / closed badge on the visit card */
.open-now { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 2px; padding: 7px 14px 7px 12px; border-radius: 999px; background: color-mix(in srgb, #e5484d 10%, var(--card, #fff)); color: #b4232a; font-size: 14px; font-weight: 600; }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-now.is-open { background: color-mix(in srgb, #1f9d55 12%, var(--card, #fff)); color: #137a3f; }
.open-now.is-open i { box-shadow: 0 0 0 0 currentColor; animation: openPulse 2s infinite; }
@keyframes openPulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .open-now.is-open i { animation: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .open-now { color: #ff9a9e; } :root:not([data-theme="light"]) .open-now.is-open { color: #5ee08f; } }
:root[data-theme="dark"] .open-now { color: #ff9a9e; } :root[data-theme="dark"] .open-now.is-open { color: #5ee08f; }
#pAsk { margin-top: 10px; }
#pAsk[hidden], #pBuy[hidden] { display: none; }
/* product window photo sizes (2026-11-21): use the screen height on computers, never touch the edges on phones */
@media (min-width: 861px) {
  .p-device { height: clamp(440px, 56vh, 540px); } .p-device img.pic { max-height: clamp(440px, 56vh, 540px); }
  .p-visual:has(.p-thumbs:not([hidden])) .p-device, .p-visual:has(.p-thumbs:not([hidden])) .p-device img.pic { height: clamp(380px, 50vh, 480px); max-height: clamp(380px, 50vh, 480px); }
}
@media (max-width: 860px) {
  .p-visual { padding: 28px 0 14px; }
  .p-device, .p-device img.pic { height: clamp(240px, 40vh, 340px); max-height: clamp(240px, 40vh, 340px); }
  .p-visual:has(.p-thumbs:not([hidden])) .p-device, .p-visual:has(.p-thumbs:not([hidden])) .p-device img.pic { height: clamp(230px, 38vh, 320px); max-height: clamp(230px, 38vh, 320px); }
}

/* ---------- box polish (cards, feature boxes, stats) ---------- */
.nb { white-space: nowrap; }
.card { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent), 0 1px 2px rgba(13,6,45,.03); }
.card .media { box-shadow: 0 1px 2px rgba(13,6,45,.04), 0 10px 24px -18px rgba(13,6,45,.25); }
.card .media .dev > .pic { transition: transform .8s var(--ease); }
.fcard, .stat, .review { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); }
@media (hover: hover) {
  .card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 2px 4px rgba(13,6,45,.05), 0 34px 60px -30px rgba(13,6,45,.42); }
  .card:hover .media .dev > .pic { transform: scale(1.06) translateY(-3px); }
  .fcard:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), var(--shadow-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .card, .fcard, .stat, .tile .art > .pic, .card .media .dev > .pic { transition: none !important; }
  .tile:hover, .card:hover, .fcard:hover, .stat:hover { transform: none !important; }
  .tile:hover .art > .pic, .card:hover .media .dev > .pic { transform: none !important; }
}

/* ---------- touch: the same feel as hover, when a box is pressed (phones and tablets) ---------- */
@media (hover: none) {
  .tile, .card, .fcard, .stat, .review, .pbadge { -webkit-tap-highlight-color: transparent; }
  .tile.pressed, .card.pressed, .fcard.pressed, .stat.pressed, .review.pressed, .pbadge.pressed, .steps li.pressed {
    transform: scale(.975) !important; transition: transform .18s var(--ease), box-shadow .18s !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 16px 34px -22px rgba(13,6,45,.45) !important; }
  .tile.pressed .art > .pic, .card.pressed .media .dev > .pic { transform: scale(1.06); transition-duration: .25s; }
  .tile.pressed .go { background: var(--accent); color: #fff; transform: translateX(3px); }
  .tile.pressed::before { opacity: 1; }
  .card.pressed::after, .fcard.pressed::after, .stat.pressed::after, .review.pressed::after, .tile.pressed::after, .pbadge.pressed::after { opacity: 1; }
}
/* photos glide up softly as their box scrolls into view (phone and computer) */
.motion .tile.rv .art > .pic, .motion .card.rv .media .dev > .pic { opacity: 0; transform: translateY(18px) scale(.94); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.motion .tile.rv.in .art > .pic, .motion .card.rv.in .media .dev > .pic { opacity: 1; transform: none; }
@media (hover: hover) { .motion .tile.rv.in:hover .art > .pic { transform: scale(1.06) translateY(-4px); transition-delay: 0s; } .motion .card.rv.in:hover .media .dev > .pic { transform: scale(1.06) translateY(-3px); transition-delay: 0s; } }
/* touch feedback on buttons (phones) */
@media (hover: none) {
  .btn:active, .chip:active, .icon-btn:active, .price-chip:active, .swatch:active { transform: scale(.95); transition: transform .12s var(--ease); }
}

/* ---------- product window: the same size for every product (fixed slots) ----------
   photo area always keeps the thumbnail row; name and description are 2-line slots; specs are a 2 x 2 grid of equal
   boxes (3 + "+N more details" when there are more); a missing colour or storage row keeps its space at the bottom. */
.p-thumbs { min-height: 62px; box-sizing: border-box; }
.p-thumbs.empty { visibility: hidden; }
.p-badge { height: 18px; min-height: 0; line-height: 18px; }
.p-info #pTitle { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.p-tag { line-height: 1.5; min-height: 3em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.specs { grid-auto-rows: 74px; grid-template-rows: 74px 74px; align-content: start; }
.specs li { font-size: 13px; line-height: 1.35; padding: 10px 12px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.specs li.more { padding: 0; display: block; background: none; }
.specs li.more button { width: 100%; height: 100%; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13.5px; transition: transform .3s var(--spring), background .2s; }
.specs li.more button:hover { transform: translateY(-2px); }
.specs.open { grid-auto-rows: auto; grid-template-rows: none; }
.specs.open li { display: block; -webkit-line-clamp: unset; }
.specs.open li.more button { min-height: 44px; }
.p-info { --pad-c: 0px; --pad-s: 0px; padding-bottom: calc(30px + var(--pad-c) + var(--pad-s)); }
.p-info:has(#pColourWrap[hidden]) { --pad-c: 86px; }
.p-info:has(#pStorageWrap[hidden]) { --pad-s: 96px; }
/* computers: tighter spacing so the whole product window fits a normal laptop screen without scrolling */
@media (min-width: 861px) {
  .p-info { padding-top: 24px; --gap-o: 14px; }
  .p-info #pTitle { font-size: clamp(24px, 2.2vw, 30px); margin-top: 4px; }
  .p-tag { margin-top: 6px; font-size: 15px; }
  .p-price { margin-top: 8px; } .p-price b { font-size: 28px; }
  .opt { margin-top: 14px; } .opt-label { margin-bottom: 8px; }
  .seg button { min-height: 40px; padding: 8px 16px; }
  .specs { margin: 14px 0 4px; grid-auto-rows: 56px; grid-template-rows: 56px 56px; }
  .p-prot { margin-top: 8px; }
  .specs.open { grid-template-rows: none; grid-auto-rows: auto; }
  .p-actions { margin-top: 10px; }
  .p-info:has(#pColourWrap[hidden]) { --pad-c: 77px; }
  .p-info:has(#pStorageWrap[hidden]) { --pad-s: 80px; }
  .p-info { padding-bottom: calc(24px + var(--pad-c) + var(--pad-s)); }
}

/* ---------- customer reviews: stars on cards and in the product window ---------- */
.stars { position: relative; display: inline-block; letter-spacing: 1px; color: color-mix(in srgb, var(--ink) 18%, transparent); line-height: 1; }
.stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--v); overflow: hidden; color: #f5a623; white-space: nowrap; }
.card .dots { align-items: center; }
.crate { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; line-height: 1; white-space: nowrap; }
.crate .stars { font-size: 10px; } .crate b { font-size: 11px; } .crate small { color: var(--ink-3); font-size: 10.5px; }
.p-top { display: flex; align-items: center; gap: 12px; height: 20px; }
.p-top .p-badge { height: 18px; }
.p-rate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding: 0; background: none; cursor: pointer; }
.p-rate[hidden] { display: none; }
.p-rate .stars { font-size: 13px; } .p-rate b { color: var(--ink); } .p-rate span { text-decoration: underline; text-underline-offset: 3px; }
.p-rate:hover span { color: var(--accent); }
.p-reviews { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; animation: sheetIn .35s var(--ease); scroll-margin-top: 20px; }
.p-reviews[hidden] { display: none; }
.p-reviews h3 { font-size: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.p-reviews h3 span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.rev { padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.rev-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-h b { font-size: 14.5px; } .rev .stars { font-size: 13px; }
.rev small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 3px; }
.rev p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* product videos in the product window */
.p-device video.pic { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; background: transparent; }
.p-thumb.vid { position: relative; }
.p-thumb.vid i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(13,6,45,.72); pointer-events: none; }
.p-thumb.vid i::after { content: ""; position: absolute; left: 8px; top: 6px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }

/* shop reviews from Google and Facebook (Store Manager > Home page > Shop reviews) */
.review figcaption .who { display: grid; gap: 2px; min-width: 0; }
.review figcaption .who small { color: var(--ink-2); font-size: 13px; }
.review figcaption .rec { flex: none; font-size: 13px; font-weight: 600; color: var(--accent); }
.review figcaption .stars { flex: none; }
.review .rv-link { margin-top: 10px; font-size: 14px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.reviews.has-more:not(.open) .review.more { display: none; }
.reviews-more { display: flex; margin: 22px auto 0; }

/* footer: the big word never touches the small print above it (its letters rise above its own line) */
.fine { position: relative; z-index: 1; }
.wordmark { padding-top: .24em; pointer-events: none; }

/* phone tab bar has 5 buttons now (Home, Shop, iPhone, Bag, WhatsApp) */
.tabbar a, .tabbar button { min-width: 0; font-size: 11px; }

/* ---------- trade-in: button in the featured window, sheet with the form, summary in the price box ---------- */
.feat-trade { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 10px 14px; border-radius: var(--fr, 16px); text-align: left; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, transform .3s var(--ease); }
.feat-trade:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); }
.feat-trade[hidden] { display: none; }
.feat-trade i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 18px; font-weight: 800; color: var(--accent); background: var(--accent-soft); }
.feat-trade b { display: block; font-size: 14.5px; line-height: 1.25; }
.feat-trade small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-trade.on { box-shadow: inset 0 0 0 1.5px var(--good); } .feat-trade.on i { color: var(--good); background: rgba(31,157,116,.12); }
.fc-trade { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: 13.5px; }
.fc-trade[hidden] { display: none; }
.fc-trade div { display: flex; justify-content: space-between; gap: 10px; }
.fc-trade .minus { color: var(--good); font-weight: 600; }
.fc-trade .pay { font-size: 16px; font-weight: 800; color: var(--ink); }
.trade-sheet { width: min(640px, calc(100% - 32px)); padding: 30px 28px 24px; }
.trade-sheet h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 6px; }
.trade-sheet > .muted { margin: 8px 0 18px; }
.trade-sheet select { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.tr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.tr-grid.tr-3col { grid-template-columns: 1fr 1fr 1fr; }
.tr-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.tr-seg button { min-height: 52px; border-radius: 14px; padding: 8px 10px; text-align: center; line-height: 1.2; }
.tr-seg button b { display: block; font-size: 14px; } .tr-seg button small { margin-top: 2px; }
.tr-seg.tr-yn button { min-height: 50px; }
.tr-result { margin: 4px 0 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); display: grid; gap: 4px; }
.tr-result small { font-size: 13px; color: var(--ink-3); }
.tr-result b { font-size: 28px; letter-spacing: -.03em; }
.tr-result p { font-size: 13.5px; color: var(--ink-2); }
.tr-result .pay { font-weight: 700; color: var(--ink); }
.tr-acts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.tr-acts .btn { min-height: 52px; border-radius: 16px; }
.trade-sheet .secure { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
@media (max-width: 640px) {
  .trade-sheet { padding: 24px 16px 20px; }
  .tr-grid { grid-template-columns: 1fr; }
  .tr-grid.tr-3col { grid-template-columns: 1fr 1fr; } .tr-grid.tr-3col .field:first-child { grid-column: 1 / -1; }
  .tr-seg.tr-3 { grid-template-columns: 1fr 1fr 1fr; } .tr-seg.tr-3 button small { display: none; }
  .tr-acts { grid-template-columns: 1fr; }
}
.price-chip .fc-trade span { font-size: 13.5px; color: var(--ink-2); }
.price-chip .fc-trade .minus { color: var(--good); font-weight: 700; }
.price-chip .fc-trade .pay span { font-size: 17px; font-weight: 800; color: var(--ink); }
.tr-acts:has(#trRemove[hidden]) { grid-template-columns: 1fr; }
.tr-acts [hidden] { display: none; }
.secure a { color: var(--accent); font-weight: 600; white-space: nowrap; }
/* smart links to /protection */
a.hero-trust { text-decoration: none; color: var(--ink-2); width: fit-content; transition: color .25s; }
a.hero-trust:hover { color: var(--ink); }
.p-prot a { display: contents; color: inherit; text-decoration: none; }
.p-prot a i { font-style: normal; font-weight: 700; color: var(--accent); margin-left: -6px; }
.p-prot a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.co-prot { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-2); background: rgba(48,209,88,.10); }
.co-prot a { color: var(--accent); font-weight: 600; white-space: nowrap; }
/* WhatsApp alerts: bell in the price row of the product window, and the alert sheet */
.p-bell { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); white-space: nowrap; transition: transform .3s var(--spring); }
.p-bell:hover { transform: translateY(-2px); }
.p-bell[hidden] { display: none; }
.alert-sheet { width: min(480px, calc(100% - 32px)); padding: 30px 28px 24px; }
.alert-sheet h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 8px; }
.alert-sheet > .muted { margin: 6px 0 18px; }
.al-bell { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-size: 24px; background: var(--accent-soft); }
.al-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.al-seg button { min-height: 50px; border-radius: 14px; }
.al-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert-sheet .form-error { color: var(--bad); font-size: 14px; margin: 0 0 10px; }
.al-done { text-align: center; padding: 10px 0 4px; display: grid; gap: 10px; }
.al-done b { font-size: 22px; } .al-done p { color: var(--ink-2); margin: 0 0 6px; }
@media (max-width: 400px) { .p-bell { padding: 6px 10px; font-size: 12px; } }
