/* Mirage, dark: neutral black page, graphite wells, white type, salad-green buttons and accents.
   One deliberate dark look; every colour is a token below. */
:root {
  --page: #000000;
  --night: #161617;
  --surface: #0f0f10;
  --raised: #1c1c1e;
  --line: #2c2c2e;
  --line-strong: #6e6e73;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --sun: #a3e635;
  --mist: #8fc3d6;
  --sand: #a3e635;
  --lime-hi: #bef264;
  --dune: #84cc16;
  --on-sand: #0a0a0a;
  --sand-soft: #1d2a0f;
  --haze: #8fc3d6;
  --haze-soft: #13232b;
  --coral: #f2946a;
  --coral-soft: #3a1616;
  --oasis: #86d19c;
  --oasis-soft: #11251a;
  --scrim: #000000b3;
  --device: #2c2c2e;
  --device-edge: #6e6e73;
  --screen: #050505;
  --island: #000000;
  --header: #000000cc;
  --violet: #b9bcff;
  --violet-soft: #1d1e38;

  --font-display: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --r-sm: 8px; --r-md: 18px; --r-lg: 28px; --r-full: 9999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 160ms; --mid: 320ms; --slow: 600ms;
  --glow: 0 0 0 1px #a3e63540, 0 14px 40px -14px #a3e63540;
  --shadow: 0 24px 64px -16px #000000e6;
  --focus: 0 0 0 2px var(--page), 0 0 0 4px var(--sand);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--page); }
img { max-width: 100%; }
a { color: var(--sand); }
a:hover { color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus); border-radius: var(--r-sm); }
.disp { font-family: var(--font-display); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sand); color: var(--on-sand); padding: 10px 16px; border-radius: var(--r-full); font-weight: 700; }
.skip:focus { top: 16px; }
main { outline: none; display: block; min-height: 60vh; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--header); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr__in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; color: var(--ink); }
.logo svg { height: 30px; width: auto; overflow: visible; display: block; }
.logo__sun { fill: var(--sun); }
.logo__ray { fill: var(--sun); transform-box: fill-box; transform-origin: center; animation: shimmer-s 3.2s var(--ease) infinite; }
.logo__ray.d2 { animation-delay: .35s; } .logo__ray.d3 { animation-delay: .7s; }
.logo__word { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 26px; }
.nav__a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; position: relative; padding-block: 6px; transition: color var(--mid) var(--ease); }
.nav__a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform var(--mid) var(--ease); }
.nav__a:hover, .nav__a.is-on { color: var(--ink); }
.nav__a.is-on::after { transform: scaleX(1); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.iconbtn.menubtn { display: none; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-full); background: var(--night); border: 1px solid var(--line); }
.lang button { height: 38px; min-width: 40px; padding: 0 10px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .04em; cursor: pointer; transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--sand); color: var(--on-sand); }
.mnav { border-top: 1px solid var(--line); background: var(--page); }
.mnav__in { display: flex; flex-direction: column; padding-block: 8px 16px; }
.mnav a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav a:last-child { border-bottom: 0; color: var(--sand); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--r-full); border: 1px solid transparent; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--fast) var(--ease), box-shadow var(--mid) var(--ease), background-color var(--mid) var(--ease), border-color var(--mid) var(--ease), color var(--mid) var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sand { background: var(--sand); color: var(--on-sand); }
.btn--sand:hover { color: var(--on-sand); background: var(--lime-hi); box-shadow: var(--glow); }
.btn--sand:active { background: var(--dune); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { color: var(--sand); border-color: var(--sand); }
.btn--ghost { background: transparent; color: var(--muted); padding: 0 12px; }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--added, .btn--added:hover { background: var(--ink); color: var(--on-sand); border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .ico { width: 18px; height: 18px; }
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw var(--mid) var(--ease) forwards; }
.iconbtn { position: relative; width: 46px; height: 46px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: border-color var(--mid) var(--ease); }
.iconbtn:hover { border-color: var(--line-strong); }
.iconbtn--sm { width: 40px; height: 40px; }
.count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--sand); color: var(--on-sand); font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.count.bump { animation: bump var(--slow) var(--ease); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--new { background: var(--sand-soft); color: var(--sand); }
.badge--used { background: var(--haze-soft); color: var(--haze); }
.badge--sale { background: var(--coral-soft); color: var(--coral); }
.badge--stock { background: var(--oasis-soft); color: var(--oasis); }
.badge--ask { background: var(--violet-soft); color: var(--violet); }
.badge--order { background: var(--night); color: var(--muted); }

/* ---------- Common section bits ---------- */
.sec { padding-bottom: 112px; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.eyebrow { font-family: var(--font-display); font-size: 11px; line-height: 16px; letter-spacing: .1em; font-weight: 600; color: var(--sand); text-transform: uppercase; }
.h2 { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.028em; }
.lead { color: var(--muted); font-size: 18px; line-height: 28px; max-width: 34em; margin: 0; }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { display: flex; justify-content: center; padding-block: 104px 96px; }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 980px; text-align: center; }
.hero .lead { margin-inline: auto; }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 7.4vw, 104px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--sand); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__note { display: block; text-align: center; margin: 0; font-size: 14px; color: var(--muted); }
.hero__note .ico { stroke: var(--oasis); display: inline-block; vertical-align: -4px; margin-right: 8px; }
.hero__art { position: relative; width: 100%; max-width: 580px; justify-self: center; }
.hero__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero__glow { fill: var(--sun); opacity: .08; transform-origin: 280px 250px; animation: glow 6s ease-in-out infinite; }
.hero__sun { fill: var(--sun); }
.hero__horizon { fill: var(--line); }
.ray { transform-box: fill-box; transform-origin: center; animation: shimmer 3.2s var(--ease) infinite; }
.ray--1 { fill: var(--sun); opacity: .85; }
.ray--2 { fill: var(--sun); opacity: .55; animation-delay: .35s; }
.ray--3 { fill: var(--mist); opacity: .7; animation-delay: .7s; }
.ray--4 { fill: var(--mist); opacity: .4; animation-delay: 1.05s; }
.dev__body { fill: var(--device); stroke: var(--device-edge); stroke-width: 1.5; }
.dev__screen { fill: var(--screen); }
.dev__detail { fill: var(--island); }
.dev__glint { opacity: .3; }
.chipfloat { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; animation: bob 5s ease-in-out infinite; }
.chipfloat--a { top: 12%; left: 0; }
.chipfloat--b { bottom: 14%; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -2.5s; }
.chipfloat small { font-size: 12px; font-weight: 500; color: var(--muted); }
.chipfloat__ok { width: 28px; height: 28px; border-radius: var(--r-full); background: var(--oasis-soft); display: grid; place-items: center; }
.chipfloat__ok .ico { width: 16px; height: 16px; stroke: var(--oasis); stroke-width: 2.4; }
.intro { animation: intro .9s var(--ease) both; }
.intro.d1 { animation-delay: .1s; } .intro.d2 { animation-delay: .2s; } .intro.d3 { animation-delay: .3s; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust__item { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-md); background: var(--night); border: 1px solid transparent; }
.trust__item .ico { width: 24px; height: 24px; stroke: var(--sand); }
.trust__item strong { font-size: 16px; }
.trust__item span { font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid); }
.tile:hover { color: var(--ink); transform: translateY(-6px); border-color: transparent; box-shadow: var(--glow); }
.tile__media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 20px; background: var(--night); display: grid; place-items: center; overflow: hidden; margin-bottom: 4px; }
.tile__media svg { position: relative; height: 70%; transition: transform var(--slow) var(--ease); }
.tile__media svg.is-lap { height: 50%; }
.tile:hover .tile__media svg { transform: scale(1.06) translateY(-4px); }
.tile__img { position: absolute; top: 12%; left: 12%; width: 76%; height: 76%; object-fit: contain; transition: transform var(--slow) var(--ease); }
.tile:hover .tile__img { transform: scale(1.06) translateY(-4px); }
.tile .badge { align-self: flex-start; }
.tile strong { font-size: 20px; line-height: 26px; }
.tile__sub { font-size: 14px; line-height: 20px; color: var(--muted); }
.tile__go { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--sand); }
.tile__go .ico { width: 16px; height: 16px; transition: transform var(--mid) var(--ease); }
.tile:hover .tile__go .ico { transform: translateX(4px); }
.halo { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; transition: transform var(--slow) var(--ease); }
.halo--sand { background: radial-gradient(circle, #a3e6352e 0%, #a3e63500 65%); }
.halo--ink { background: radial-gradient(circle, #ffffff1f 0%, #ffffff00 65%); }
.halo--haze { background: radial-gradient(circle, #8fc3d638 0%, #8fc3d600 65%); }
.halo--coral { background: radial-gradient(circle, #f2946a38 0%, #f2946a00 65%); }

/* ---------- Tabs ---------- */
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-full); background: var(--night); border: 1px solid transparent; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--r-full); background: var(--sand); box-shadow: none; transition: transform var(--mid) var(--ease), width var(--mid) var(--ease); pointer-events: none; }
.tab { position: relative; height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: color var(--mid) var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--on-sand); }

/* ---------- Product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid); animation: intro var(--slow) var(--ease) both; }
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--glow); }
.card__link { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:hover { color: inherit; }
.card__link:focus-visible { box-shadow: none; }
.card__link:focus-visible::after { box-shadow: var(--focus); }
.media { position: relative; aspect-ratio: 1 / 1; max-width: 100%; border-radius: var(--r-lg); background: var(--night); overflow: hidden; display: grid; place-items: center; }
.media > svg { position: relative; height: 60%; transition: transform var(--slow) var(--ease); }
.media > svg.is-lap { height: 42%; }
.media > img.pimg { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; max-width: none; object-fit: contain; transition: transform var(--slow) var(--ease); }
.card:hover .media > img.pimg { transform: scale(1.05) translateY(-4px); }
.card .media > img.pimg { top: 17%; left: 11%; width: 78%; height: 77%; }
.pdp__media:has(img.pimg) .pdp__photo-note:not(.pdp__photo-note--keep) { display: none; }
.pdp__media .media > img.pimg { top: 8%; left: 8%; width: 84%; height: 84%; }
/* Trade-in banner on the home page */
.tib-wrap { margin-top: 8px; }
.tib { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 1; border-radius: 32px; overflow: hidden; background: #05070c; border: 1px solid var(--line); }
.tib__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tib__text { position: relative; z-index: 1; max-width: 46%; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px 0; }
.tib__text h2 { margin: 0; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.tib__text p { margin: 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.tib__text .btn { margin-top: 6px; }
@media (max-width: 1100px) and (min-width: 701px) { .tib { aspect-ratio: 2.2 / 1; } .tib__text { max-width: 52%; } }
@media (max-width: 700px) {
  .tib { display: flex; flex-direction: column; aspect-ratio: auto; min-height: 0; border-radius: 24px; }
  .tib__img { position: relative; height: auto; aspect-ratio: 3 / 1; }
  .tib__text { max-width: none; padding: 4px 20px 28px; }
  .tib__text p { font-size: 15px; }
}
/* Trade-in calculator */
.ti { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.ti__form { gap: 22px; }
.ti__q { border: 0; padding: 0; margin: 0; min-width: 0; }
.ti__q legend { font-size: 14px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.ti__step { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.ti__step h2 { margin: 0; font-size: 22px; line-height: 28px; }
.ti__step--sm h2 { font-size: 18px; }
.ti__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--on-sand); font-weight: 800; font-size: 14px; flex: none; }
.input.ti__select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; height: 48px; background-color: var(--surface); border-radius: 14px; appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.ti__select option, .ti__select optgroup { background: var(--raised); color: var(--ink); }
.ti__res { position: sticky; top: 96px; }
.ti__card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.ti__dev { font-size: 16px; line-height: 22px; }
.ti__val { font-size: 44px; line-height: 48px; font-weight: 800; color: var(--sand); letter-spacing: -.02em; }
.ti__sep { height: 1px; background: var(--line); margin: 6px 0; }
.ti__card .summary__row { padding: 0; }
.ti__card .summary__total { margin: 0; }
.ti__minus { color: var(--sand); }
.steps.ti__how { margin: 64px 0 96px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .steps.ti__how { grid-template-columns: 1fr; margin: 48px 0 64px; } }
.linkbtn { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 960px) { .ti { grid-template-columns: minmax(0, 1fr); } .ti__res { position: static; } }
/* Photo gallery inside the product photo: side arrows, dots, swipe */
.gal { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--ink); background: rgba(28, 28, 30, .72); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background var(--mid), color var(--mid), border-color var(--mid), transform var(--mid) var(--ease); }
.gal--prev { left: 14px; }
.gal--next { right: 14px; }
.gal:hover { background: var(--sand); color: var(--on-sand); border-color: transparent; }
.gal:active { transform: scale(.94); }
.gal:focus-visible { outline: none; box-shadow: var(--focus); }
.gal .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(245, 245, 247, .35); transition: width var(--mid) var(--ease), background var(--mid); }
.gal__dots i.on { width: 18px; background: var(--sand); }
#pdpMedia.has-gal { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.pdp__media #pdpMedia.has-gal > img.pimg { left: 13%; width: 74%; top: 10%; height: 78%; }
#pdpMedia.has-gal img { -webkit-user-drag: none; }
.pdp__media .media > img.pimg.slide-next { animation: galNext .38s var(--ease); }
.pdp__media .media > img.pimg.slide-prev { animation: galPrev .38s var(--ease); }
@keyframes galNext { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes galPrev { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.order-err { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(242, 148, 106, .1); border: 1px solid rgba(242, 148, 106, .35); color: var(--ink); font-size: 14px; line-height: 20px; }
.order-err .ico { color: #f2946a; flex: none; margin-top: 1px; }
.order-err a { color: var(--sand); font-weight: 700; }
.order-err[hidden] { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pn { color: var(--ink); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 600px) { .gal { width: 38px; height: 38px; margin-top: -19px; } .gal--prev { left: 8px; } .gal--next { right: 8px; } .gal__dots { bottom: 12px; } }
.line__thumb img.pimg { position: relative; width: 46px; height: 46px; object-fit: contain; }
.card:hover .media > svg { transform: scale(1.05) translateY(-4px); }
.card:hover .halo { transform: scale(1.15); }
.card__title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 700; }
.card__meta { margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.card__row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card .btn { height: 44px; padding: 0 16px; font-size: 14px; }
.price { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.card__buy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* Status line: type + stock with a small glowing dot */
.status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
.status__type { color: var(--ink); font-weight: 600; }
.status__sep { opacity: .5; }
.status__stock { display: inline-flex; align-items: center; gap: 7px; }
.status__stock i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.status--ok i { background: var(--sand); box-shadow: 0 0 0 3px rgba(163, 230, 53, .16), 0 0 10px rgba(163, 230, 53, .55); }
.status--ok { color: var(--ink); }
.status--ask i { background: var(--violet); box-shadow: 0 0 0 3px rgba(185, 188, 255, .16); }
.status--order i { background: transparent; border: 1.5px solid var(--muted); width: 8px; height: 8px; }
.status--lg { font-size: 14px; line-height: 20px; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.old { display: block; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); }
.old s { text-decoration-color: var(--coral); }
.old b { color: var(--coral); font-weight: 700; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #ffffff38; }

/* ---------- Steps / used / faq / cta ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 0; border-top: 1px solid var(--line-strong); }
.steps__n { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--sand); }
.steps strong { font-size: 17px; }
.steps span:last-child { font-size: 14px; line-height: 21px; color: var(--muted); }
.used { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--night); border: 1px solid transparent; }
.used__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 15px; line-height: 22px; }
.ticks .ico { stroke: var(--haze); stroke-width: 2.2; margin-top: 1px; }
.grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grade { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; border-radius: 20px; background: var(--page); border: 1px solid var(--line); }
.grade b { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; color: var(--haze); }
.grade strong { font-size: 15px; }
.grade span { font-size: 13px; line-height: 19px; color: var(--muted); }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; background: none; border: 0; color: var(--ink); font-size: 17px; font-weight: 700; text-align: left; cursor: pointer; }
.faq__q:hover { color: var(--sand); }
.faq__q .ico { stroke: var(--sand); stroke-width: 2; transition: transform var(--mid) var(--ease); }
.faq__q[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--mid) var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 40px 22px 0; font-size: 15px; line-height: 23px; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--night); color: var(--ink); }
.cta h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
.cta p { margin: 0; color: var(--muted); font-size: 16px; }
.btn--dark { background: var(--sand); color: var(--on-sand); height: 52px; }
.btn--dark:hover { color: var(--on-sand); background: var(--lime-hi); box-shadow: var(--glow); }

/* ---------- Catalog ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span:last-child { color: var(--ink); }
.pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding-block: 20px 28px; }
.pagehead h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 96px; }
.filters { flex: 1 1 260px; max-width: 280px; display: flex; flex-direction: column; gap: 26px; padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.fgroup { display: flex; flex-direction: column; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fgroup legend, .flabel { font-size: 13px; font-weight: 800; color: var(--ink); padding: 0; margin-bottom: 12px; }
.flabel { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color var(--mid) var(--ease), border-color var(--mid), color var(--mid); }
.chip:hover { border-color: var(--sand); }
.chip[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--on-sand); }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.range { width: 100%; accent-color: var(--ink); margin: 0; }
.range__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.select { height: 40px; padding: 0 36px 0 14px; border-radius: var(--r-full); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 64px 24px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); text-align: center; }
.empty svg { width: 64px; height: 64px; }
.empty .s { fill: var(--sand-soft); }
.filters-toggle { display: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; padding-block: 12px 96px; }
.pdp__media { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.pdp__media .media { border-radius: 32px; }
.pdp__media .media > svg { height: 62%; transition: transform var(--slow) var(--ease); }
.pdp__media .media > svg.is-lap { height: 44%; }
.pdp__tint { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; opacity: .3; filter: blur(48px); transition: background-color var(--slow) var(--ease); }
.pdp__photo-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.pdp__info { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pdp__info h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.pdp__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 12px; }
.opt legend span { color: var(--muted); font-weight: 600; }
.colors { display: flex; flex-wrap: wrap; gap: 12px; }
.color { width: 40px; height: 40px; border-radius: var(--r-full); border: 2px solid var(--page); outline: 1px solid var(--line-strong); cursor: pointer; padding: 0; transition: outline-color var(--mid), transform var(--fast) var(--ease); }
.color:hover { transform: scale(1.08); }
.color[aria-checked="true"] { outline: 2px solid var(--sand); outline-offset: 2px; }
.mems { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.mem { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; text-align: left; transition: border-color var(--mid), background-color var(--mid); }
.mem:hover { border-color: var(--sand); }
.mem strong { font-size: 15px; }
.mem span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mem[aria-checked="true"] { border-color: var(--sand); background: var(--sand-soft); box-shadow: inset 0 0 0 1px var(--sand); }
.mem[aria-checked="true"] span { color: var(--sand); }
.buybox { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.buybox__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.buybox__price .price { font-size: 34px; line-height: 40px; }
.buybox__price .old { display: inline; font-size: 16px; }
.buybox__stock { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.buybox__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.buybox__btns .btn { flex: 1 1 200px; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); padding-right: 24px; }
.cond { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 20px; border-radius: var(--r-md); background: var(--haze-soft); }
.cond--sale { background: var(--coral-soft); }
.cond b { font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 600; color: var(--haze); }
.cond--sale b { font-size: 26px; color: var(--coral); }
.cond p { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink); }
.battery { display: flex; flex-direction: column; gap: 8px; }
.battery__bar { height: 8px; border-radius: var(--r-full); background: var(--line); overflow: hidden; }
.battery__bar i { display: block; height: 100%; border-radius: inherit; background: var(--oasis); transform-origin: left; animation: grow 1.2s var(--ease) both .2s; }
.battery__row { display: flex; justify-content: space-between; font-size: 14px; }
.h3 { margin: 0; font-size: 18px; font-weight: 800; }

/* ---------- Cart page & checkout ---------- */
.cartpage { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); animation: intro var(--mid) var(--ease) both; }
.line:last-child { border-bottom: 1px solid var(--line); }
.line__thumb { width: 72px; height: 72px; border-radius: 12px; background: var(--night); display: grid; place-items: center; position: relative; overflow: hidden; }
.line__thumb svg { height: 46px; position: relative; }
.line__thumb svg.is-lap { height: auto; width: 52px; }
.line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line__name { font-size: 15px; font-weight: 800; color: var(--ink); text-decoration: none; }
.line__name:hover { color: var(--sand); }
.line__meta { font-size: 13px; color: var(--muted); }
.line__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line__sum { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.line__rm { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.line__rm:hover { color: var(--coral); }
.qty { display: inline-flex; align-items: center; align-self: flex-start; margin-top: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-full); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); font-size: 17px; cursor: pointer; border-radius: var(--r-full); }
.qty button:hover { color: var(--sand); }
.qty output { min-width: 22px; text-align: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.summary { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary__row span:first-child { color: var(--muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__total strong { font-size: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.note { margin: 0; font-size: 13px; line-height: 19px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 500; }
.input { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; transition: border-color var(--mid); }
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px #a3e63540; }
.input[aria-invalid="true"] { border-color: var(--coral); }
.err { font-size: 13px; color: var(--coral); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.combo__box { position: relative; }
.combo__input { width: 100%; padding-right: 42px; }
.combo__chev { position: absolute; right: 14px; top: 16px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: transform var(--mid) var(--ease); }
.combo.is-open .combo__chev { transform: rotate(180deg); }
.combo__list { position: absolute; z-index: 15; top: calc(100% + 6px); left: 0; right: 0; max-height: 288px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); animation: drop var(--mid) var(--ease) both; overscroll-behavior: contain; }
.combo__opt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.combo__opt small { flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.combo__opt:hover { background: var(--night); }
.combo__opt.is-active { background: var(--sand-soft); color: var(--sand); }
.combo__empty { padding: 11px 12px; font-size: 14px; color: var(--muted); }
.hint { margin: -4px 0 0; font-size: 13px; line-height: 19px; color: var(--muted); }
.input.flash { animation: flash 1.2s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes flash { 0% { border-color: var(--sand); box-shadow: 0 0 0 4px #a3e63559; } 100% { box-shadow: 0 0 0 0 #a3e63500; } }
.row21 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.addr { display: flex; flex-direction: column; gap: 16px; border: 0; margin: 0; padding: 0; min-width: 0; }
.addr legend { font-size: 16px; font-weight: 700; padding: 0; margin-bottom: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-full); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 700; transition: background-color var(--mid), border-color var(--mid), color var(--mid); }
.seg input:checked + span { background: var(--sand); border-color: var(--sand); color: var(--on-sand); }
.seg input:focus-visible + span { box-shadow: var(--focus); }
.preview-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--haze-soft); color: var(--ink); font-size: 14px; line-height: 20px; }
.preview-note .ico { stroke: var(--haze); }
/* order sent */
.ok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; padding-block: 64px 112px; }
.ok__main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; animation: intro var(--slow) var(--ease) both; }
.ok__badge { width: 64px; height: 64px; border-radius: 20px; background: var(--sand); display: grid; place-items: center; box-shadow: var(--glow); animation: pop var(--slow) var(--ease) both; }
.ok__badge .ico { width: 30px; height: 30px; stroke: var(--on-sand); stroke-width: 2.6; }
.ok .eyebrow { margin-top: 10px; }
.ok .eyebrow .pn { color: var(--ink); letter-spacing: .06em; }
.ok__title { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.ok__title span { color: var(--sand); }
.ok__steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; width: 100%; max-width: 620px; }
.ok__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.ok__steps li > div { display: flex; flex-direction: column; gap: 4px; }
.ok__steps strong { font-size: 17px; font-weight: 700; }
.ok__steps li > div span { font-size: 14px; line-height: 21px; color: var(--muted); }
.ok__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--sand); background: var(--sand-soft); border: 1px solid #a3e63540; }
.ok__info { margin: 0; width: 100%; max-width: 620px; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 12px 32px; padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.ok__row { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ok__row dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ok__row dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ok__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.ok__actions .btn .ico { width: 18px; height: 18px; }
.ok__sum { top: calc(env(safe-area-inset-top, 0px) + 96px); animation: intro var(--slow) var(--ease) .08s both; }
.ok__sumhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ok__sumhead strong { font-size: 18px; }
.ok__sumhead .pn { font-size: 13px; color: var(--muted); }
.line.ok__line { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 14px 0; }
.ok__line .line__thumb { width: 64px; height: 64px; }
@media (max-width: 960px) {
  .ok { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 88px; }
  .ok__info { grid-template-columns: 1fr; }
  .ok__sum { position: static; }
}
@media (max-width: 520px) { .ok__actions .btn { width: 100%; } }
@media (max-width: 700px) { .line.ok__line { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; } .ok__line .line__thumb { width: 52px; height: 52px; } .ok__line .line__sum { font-size: 15px; } .ok__line .line__name { font-size: 14px; } }
.done { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-block: 80px 112px; max-width: 560px; margin: 0 auto; }
.done__mark { width: 88px; height: 88px; border-radius: 50%; background: var(--oasis-soft); display: grid; place-items: center; animation: pop var(--slow) var(--ease) both; }
.done__mark .ico { width: 40px; height: 40px; stroke: var(--oasis); stroke-width: 2.4; }
.done h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em; }

/* ---------- Drawer & toast ---------- */
.drawer-layer { position: fixed; inset: 0; z-index: 60; }
.backdrop { position: absolute; inset: 0; border: 0; padding: 0; background: var(--scrim); backdrop-filter: blur(4px); cursor: pointer; animation: fade var(--mid) ease both; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%; display: flex; flex-direction: column; background: var(--raised); border-left: 1px solid var(--line); box-shadow: var(--shadow); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); animation: slide var(--slow) var(--ease) both; }
.drawer-layer.is-closing .drawer { animation: slide-out var(--mid) var(--ease) both; }
.drawer-layer.is-closing .backdrop { animation: fade-out var(--mid) ease both; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 12px; }
.drawer__head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer__list { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer__list .line { grid-template-columns: 56px 1fr auto; gap: 12px; }
.drawer__list .line__thumb { width: 56px; height: 56px; }
.drawer__list .line__thumb svg { height: 36px; }
.drawer__list .line__thumb svg.is-lap { width: 40px; }
.drawer__foot { display: flex; flex-direction: column; gap: 12px; padding: 16px 24px 24px; border-top: 1px solid var(--line); }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.drawer__empty svg { width: 64px; height: 64px; }
.drawer__empty .s { fill: var(--sand-soft); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; transform: translate(-50%, 140%); opacity: 0; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-full); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; transition: transform var(--slow) var(--ease), opacity var(--mid); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast .ico { stroke: var(--oasis); stroke-width: 2.4; }
.flydot { position: fixed; z-index: 80; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 16px 4px #a3e63580; pointer-events: none; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: flex; flex-direction: column; gap: 40px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.foot__brand p { margin: 0; font-size: 14px; color: var(--muted); }
.foot__logo { height: 28px; width: auto; align-self: flex-start; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.foot__col strong { font-size: 13px; color: var(--ink); }
.foot__col a { color: var(--muted); text-decoration: none; }
.foot__col a:hover { color: var(--ink); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 18px; color: var(--muted); }

/* ---------- Motion ---------- */
.view { animation: view-in var(--slow) var(--ease) both; }
@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@keyframes rise { from { opacity: .45; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes view-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes intro { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { 0%, 100% { transform: translateX(0) scaleX(1); } 30% { transform: translateX(6px) scaleX(.93); } 60% { transform: translateX(-6px) scaleX(1.05); } }
@keyframes shimmer-s { 0%, 100% { transform: translateX(0) scaleX(1); } 30% { transform: translateX(1.5px) scaleX(.94); } 60% { transform: translateX(-1.5px) scaleX(1.04); } }
@keyframes glow { 0%, 100% { opacity: .06; transform: scale(1); } 50% { opacity: .12; transform: scale(1.06); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bump { 30% { transform: scale(1.5); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slide-out { to { transform: translateX(100%); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
  .nav__a { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav, .hdr__tg { display: none; }
  .iconbtn.menubtn { display: inline-grid; }
  .hero { grid-template-columns: 1fr; padding-block: 36px 64px; gap: 32px; }
  .trust, .cats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .used, .faq, .pdp, .cartpage { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__media, .summary { position: static; }
  .filters { position: static; max-width: none; flex-basis: 100%; }
  .filters[data-collapsed="true"] .fgroup, .filters[data-collapsed="true"] .filters__reset { display: none; }
  .filters-toggle { display: inline-flex; }
  .sec { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .hdr__in { height: 64px; }
  .logo svg { height: 26px; }
  .grid, .grid--3, .cats { gap: 12px; }
  .card { padding: 10px; gap: 8px; }
  .card__link { gap: 8px; }
  .media { border-radius: 18px; }
  .card__title { font-size: 14px; line-height: 20px; }
  .card__meta { font-size: 12px; line-height: 16px; }
  .card__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .price { font-size: 18px; line-height: 24px; }
  .card .btn { height: 40px; }
  .tile { padding: 12px; border-radius: 20px; }
  .tile strong { font-size: 16px; line-height: 22px; }
  .tile__sub { font-size: 13px; line-height: 18px; }
  .steps, .grades, .trust { grid-template-columns: 1fr; }
  .trust__item { padding: 18px; }
  .foot__grid { grid-template-columns: 1fr; }
  .faq__q { font-size: 15px; }
  .row2, .row21 { grid-template-columns: 1fr; }
  .chipfloat { font-size: 12px; padding: 10px 12px; }
  .chipfloat--a { top: 4%; }
  .line { grid-template-columns: 56px 1fr; }
  .line__thumb { width: 56px; height: 56px; }
  .line__end { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .drawer__list .line { grid-template-columns: 56px 1fr; }
  .buybox__price .price { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
