/* ============================================================
   HELIX TECH — Design Token System (light mode)
   ============================================================ */
:root {
  /* Color */
  --bg: #F7F7FA;
  --bg-soft: #FEFEFF;
  --surface: #FFFFFF;
  --surface-2: #F1F1F6;
  --ink: #0E0E13;
  --ink-2: #4E4E5A;
  --ink-3: #8B8B98;
  --line: #E7E7EE;
  --line-strong: #D8D8E2;
  --accent: #7C3AED;
  --accent-deep: #6425D0;
  --accent-text: #6D28D9;
  --accent-soft: #F3EDFE;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --success: #0E9F6E;
  --danger: #E02D3C;
  --amber: #F59E0B;
  --star: #F5A623;

  /* Type scale */
  --font-display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", -apple-system, "Segoe UI", system-ui, sans-serif;
  --fs-hero: clamp(2.6rem, 8vw, 5.2rem);
  --fs-h2: clamp(1.7rem, 4.5vw, 2.6rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-price-hero: clamp(2rem, 6vw, 3.4rem);

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px;

  /* Radii */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows — soft layered */
  --shadow-1: 0 1px 2px rgba(14,14,19,.05), 0 4px 12px rgba(14,14,19,.05);
  --shadow-2: 0 2px 4px rgba(14,14,19,.06), 0 12px 28px rgba(14,14,19,.09);
  --shadow-3: 0 4px 8px rgba(14,14,19,.07), 0 24px 56px rgba(14,14,19,.14);
  --shadow-accent: 0 8px 24px var(--accent-glow);

  /* Motion */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
  --t-med: 300ms;

  --nav-h: 64px;
  --bottomnav-h: 68px;
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--accent-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

.container { width: min(1200px, 100% - var(--sp-5) * 2); margin-inline: auto; }
.section { padding-block: var(--sp-7); }
@media (min-width: 900px) { .section { padding-block: var(--sp-8); } }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-6);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-head .kicker {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--sp-2);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: var(--fs-sm); color: var(--accent-text);
  white-space: nowrap; padding: var(--sp-2) 0;
  transition: gap var(--t-fast) var(--ease-out);
}
.link-arrow:hover { gap: 10px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-5);
  border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--fs-body);
  transition: transform var(--t-fast) var(--spring), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
  user-select: none;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.96); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-1);
}
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  color: var(--ink-2);
  transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--spring), color var(--t-fast);
  position: relative;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn:active { transform: scale(.88); }

/* ============ Header ============ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 0 var(--line);
}
.topbar-inner {
  height: 100%; display: flex; align-items: center; gap: var(--sp-4);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, #A855F7 60%, #2DD4BF 130%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-accent);
}
.logo .mark svg { width: 18px; height: 18px; }
.logo .thin { font-weight: 300; color: var(--ink-2); }
.main-nav { display: none; gap: var(--sp-2); margin-inline: auto; }
.main-nav a {
  padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.main-nav a:hover, .main-nav a[aria-current="true"] { background: var(--surface-2); color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .topbar-actions { margin-left: 0; }
}

.cart-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform var(--t-med) var(--spring);
}
.cart-badge.show { transform: scale(1); }
.cart-badge.pop { animation: badge-pop .45s var(--spring); }
@keyframes badge-pop { 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ============ Hero ============ */
.hero { position: relative; overflow: clip; padding-block: var(--sp-6) 0; }
.hero-mesh {
  position: absolute; inset: -20% -10%; z-index: -1;
  background:
    radial-gradient(42% 44% at 18% 22%, rgba(124,58,237,.16), transparent 70%),
    radial-gradient(38% 42% at 82% 18%, rgba(45,212,191,.14), transparent 70%),
    radial-gradient(46% 50% at 60% 82%, rgba(168,85,247,.12), transparent 70%),
    linear-gradient(180deg, #FDFDFF 0%, var(--bg) 100%);
  animation: mesh-drift 16s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}
.hero-grid {
  display: grid; gap: var(--sp-6); align-items: center;
  padding-bottom: var(--sp-6);
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); padding-block: var(--sp-6); }
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--sp-4);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 6px rgba(124,58,237,.15); } }
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: var(--sp-4);
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--accent) 10%, #A855F7 50%, #2DD4BF 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .sub { color: var(--ink-2); font-size: 1.075rem; max-width: 46ch; margin-bottom: var(--sp-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero-price-tag { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero-price-tag .from { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; }
.hero-price-tag .num {
  font-family: var(--font-display); font-weight: 850;
  font-size: var(--fs-price-hero); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-price-tag .compare { font-size: 1.05rem; color: var(--ink-3); text-decoration: line-through; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  padding: var(--sp-4) 0; border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.trust-item svg { color: var(--accent-text); flex: none; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 340px; }
@media (min-width: 900px) { .hero-stage { min-height: 520px; } }
.hero-phone {
  width: min(300px, 62vw);
  filter: drop-shadow(0 40px 60px rgba(80, 34, 172, .28));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-18px) rotate(-6.6deg); }
}
.hero-orb {
  position: absolute; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.25), rgba(124,58,237,0) 70%);
}
.orb-1 { width: 420px; height: 420px; top: 6%; left: 8%; }
.orb-2 { width: 260px; height: 260px; bottom: 4%; right: 4%; background: radial-gradient(circle at 30% 30%, rgba(45,212,191,.28), rgba(45,212,191,0) 70%); }
.hero-chip {
  position: absolute;
  padding: 10px 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-2);
  font-size: var(--fs-xs); font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  animation: float 7s ease-in-out infinite;
}
.hero-chip .big { font-size: 1.05rem; font-family: var(--font-display); letter-spacing: -.02em; }
.chip-camera { top: 14%; right: 4%; animation-delay: -2s; }
.chip-battery { bottom: 18%; left: 0; animation-delay: -4s; }
.chip-battery svg { color: var(--success); }

/* ============ Bento categories ============ */
.bento {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
}
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
  .b-phones { grid-column: span 2; grid-row: span 2; }
  .b-audio { grid-column: span 2; }
  .b-tablets { grid-column: span 2; }
}
.bento-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: var(--sp-5);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform var(--t-med) var(--spring), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
  text-align: left;
}
.bento-card:hover, .bento-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.bento-card:active { transform: scale(.98); }
.bento-card h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); letter-spacing: -.02em; }
.bento-card p { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; }
.bento-card .b-art {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  transition: transform var(--t-med) var(--ease-out);
}
.bento-card:hover .b-art { transform: scale(1.06); }
.bento-card > :not(.b-art) { position: relative; z-index: 1; }
.b-phones { background: linear-gradient(150deg, #F5F0FF 0%, #FFFFFF 65%); }
.b-phones .b-art svg { width: 58%; max-width: 240px; transform: rotate(10deg) translateY(-10%); filter: drop-shadow(0 20px 30px rgba(100,37,208,.2)); }
.b-audio { background: linear-gradient(150deg, #ECFDF9 0%, #FFFFFF 70%); }
.b-audio .b-art svg { width: 44%; max-width: 150px; transform: translate(28%, -22%); filter: drop-shadow(0 14px 22px rgba(13,148,136,.18)); }
.b-wear .b-art svg, .b-acc .b-art svg { width: 42%; max-width: 110px; transform: translate(30%, -30%); filter: drop-shadow(0 12px 20px rgba(14,14,19,.14)); }
.b-wear { background: linear-gradient(150deg, #FFF7EC 0%, #FFFFFF 70%); }
.b-acc { background: linear-gradient(150deg, #EFF6FF 0%, #FFFFFF 70%); }
.b-tablets { background: linear-gradient(150deg, #FDF2F8 0%, #FFFFFF 70%); }
.b-tablets .b-art svg { width: 40%; max-width: 170px; transform: translate(38%, -14%) rotate(-8deg); filter: drop-shadow(0 16px 26px rgba(190,24,93,.15)); }
.bento-card .count {
  align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 700; color: var(--accent-text);
  background: var(--accent-soft); border-radius: var(--r-pill);
  padding: 4px 10px; margin-bottom: auto;
}

/* ============ Product cards / carousel ============ */
.carousel-wrap { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78%, 260px);
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--sp-2) var(--sp-2) var(--sp-5);
  margin: 0 calc(-1 * var(--sp-2));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .carousel { grid-auto-columns: 272px; } }
.carousel > * { scroll-snap-align: start; }
.car-nav { display: none; gap: var(--sp-2); }
@media (min-width: 720px) { .car-nav { display: flex; } }
.car-btn {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  box-shadow: var(--shadow-1);
  transition: transform var(--t-fast) var(--spring), border-color var(--t-fast);
}
.car-btn:hover { border-color: var(--ink-3); }
.car-btn:active { transform: scale(.9); }

.pcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--spring), box-shadow var(--t-med) var(--ease-out);
  cursor: pointer;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.pcard:active { transform: scale(.98); }
.pcard-media {
  position: relative; aspect-ratio: 1 / .92;
  display: grid; place-items: center;
  overflow: hidden;
}
.pcard-media svg { width: 62%; max-height: 82%; transition: transform var(--t-med) var(--spring); }
.pcard:hover .pcard-media svg { transform: scale(1.07) rotate(-2deg); }
.pcard-badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
}
.pcard-badge.sale { background: var(--danger); }
.pcard-badge.new { background: var(--accent); }
.wish-btn {
  position: absolute; top: var(--sp-2); right: var(--sp-2);
  width: 44px; height: 44px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-1);
  color: var(--ink-3);
  transition: transform var(--t-fast) var(--spring), color var(--t-fast);
}
.wish-btn:hover { color: var(--danger); }
.wish-btn.active { color: var(--danger); }
.wish-btn.active svg { fill: currentColor; }
.wish-btn.burst { animation: heart-burst .5s var(--spring); }
@keyframes heart-burst { 30% { transform: scale(1.35); } 55% { transform: scale(.85); } 100% { transform: scale(1); } }
.pcard-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pcard-name { font-family: var(--font-display); font-weight: 750; font-size: 1.05rem; letter-spacing: -.01em; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.stars .s { display: inline-flex; color: var(--star); letter-spacing: 1px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--sp-2); }
.price-block { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price {
  font-family: var(--font-display); font-weight: 850; font-size: 1.3rem;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.price-compare { font-size: var(--fs-sm); color: var(--ink-3); text-decoration: line-through; }
.quick-add {
  width: 46px; height: 46px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: transform var(--t-fast) var(--spring), background var(--t-fast);
  flex: none;
}
.quick-add:hover { background: var(--accent); box-shadow: var(--shadow-accent); }
.quick-add:active { transform: scale(.85); }
.quick-add.added { background: var(--success); }

/* Skeletons */
.sk { pointer-events: none; }
.sk .sk-box { background: var(--surface-2); border-radius: var(--r-sm); position: relative; overflow: hidden; }
.sk .sk-box::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sk .sk-media { aspect-ratio: 1 / .92; border-radius: 0; }
.sk .sk-line { height: 14px; margin: 8px 16px; }
.sk .sk-line.w60 { width: 60%; } .sk .sk-line.w40 { width: 40%; margin-bottom: 18px; }

/* ============ Flash deal ============ */
.flash {
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(124,58,237,.14), transparent 60%),
    linear-gradient(135deg, #17111F 0%, #241638 55%, #1A1026 100%);
  color: #fff;
  padding: var(--sp-6);
  display: grid; gap: var(--sp-6);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-3);
}
@media (min-width: 900px) { .flash { grid-template-columns: 1.1fr .9fr; align-items: center; padding: var(--sp-7); } }
.flash .flash-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #EDE9FE; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; margin-bottom: var(--sp-4);
}
.flash .flash-tag svg { color: #FBBF24; }
.flash h2 {
  font-family: var(--font-display); font-size: var(--fs-h2);
  font-weight: 850; letter-spacing: -.03em; line-height: 1.08;
  margin-bottom: var(--sp-3);
}
.flash .flash-sub { color: rgba(255,255,255,.66); margin-bottom: var(--sp-5); max-width: 44ch; }
.flash-price { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.flash-price .now {
  font-family: var(--font-display); font-size: var(--fs-price-hero);
  font-weight: 850; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.flash-price .was { color: rgba(255,255,255,.5); text-decoration: line-through; font-size: 1.1rem; }
.flash-price .save {
  background: #FBBF24; color: #221304;
  font-size: var(--fs-xs); font-weight: 800;
  border-radius: var(--r-pill); padding: 5px 12px;
}
.countdown { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.cd-cell {
  min-width: 68px; text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-2);
  backdrop-filter: blur(6px);
}
.cd-cell .num {
  display: block; font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 850; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.cd-cell .lbl { font-size: var(--fs-xs); color: rgba(255,255,255,.55); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.cd-sep { align-self: center; font-size: 1.5rem; font-weight: 800; color: rgba(255,255,255,.4); }
.stock { margin-bottom: var(--sp-5); max-width: 420px; }
.stock-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 8px; }
.stock-row .left { color: #FCA5A5; }
.stock-track { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); overflow: hidden; }
.stock-fill {
  height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #F87171, #FBBF24);
  transition: width 1.2s var(--ease-out);
}
.flash .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.flash .btn-primary:hover { background: #EDE9FE; }
.flash-stage { display: grid; place-items: center; }
.flash-stage svg {
  width: min(240px, 55vw);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.5));
  animation: float 7s ease-in-out infinite;
}

/* ============ Brand strip ============ */
.brands {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-5) var(--sp-7);
  padding: var(--sp-5) 0;
  border-block: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  color: #B9B9C4; letter-spacing: .02em;
  transition: color var(--t-med), transform var(--t-med) var(--spring);
  cursor: default;
}
.brand:hover { color: var(--ink-2); transform: translateY(-2px); }
.brand.serif-y { letter-spacing: .18em; font-weight: 700; font-size: 1rem; text-transform: uppercase; }

/* ============ Testimonials ============ */
.testi-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 720px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
  transition: transform var(--t-med) var(--spring), box-shadow var(--t-med);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.testi .quote { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; }
.testi-head { display: flex; align-items: center; gap: var(--sp-3); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: var(--fs-sm);
}
.testi-name { font-weight: 700; font-size: var(--fs-sm); display: flex; align-items: center; gap: 6px; }
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--success); font-size: var(--fs-xs); font-weight: 700;
}
.testi-prod { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }

/* ============ Footer ============ */
.footer {
  background: #101018; color: #B6B6C2;
  margin-top: var(--sp-7);
  padding: var(--sp-7) 0 calc(var(--bottomnav-h) + var(--sp-6));
}
@media (min-width: 900px) { .footer { padding-bottom: var(--sp-6); } }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-family: var(--font-display); font-weight: 750; margin-bottom: var(--sp-4); font-size: var(--fs-body); }
.footer .logo { color: #fff; margin-bottom: var(--sp-3); }
.footer .about { font-size: var(--fs-sm); max-width: 34ch; margin-bottom: var(--sp-5); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: var(--fs-sm); transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.newsletter { display: flex; gap: var(--sp-2); max-width: 420px; }
.newsletter input {
  flex: 1; min-width: 0; min-height: 48px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  color: #fff; padding: 0 var(--sp-4);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.newsletter input::placeholder { color: #7C7C8A; }
.newsletter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.3); }
.newsletter input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(224,45,60,.25); }
.newsletter .btn { min-height: 48px; }
.news-msg { font-size: var(--fs-xs); margin-top: 8px; min-height: 1.2em; font-weight: 600; }
.news-msg.err { color: #FCA5A5; }
.news-msg.ok { color: #6EE7B7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  font-size: var(--fs-xs);
}
.pay-icons { display: flex; gap: var(--sp-2); }
.pay {
  width: 46px; height: 30px; border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #D9D9E3;
}
.socials { display: flex; gap: var(--sp-2); }
.socials .icon-btn { color: #B6B6C2; }
.socials .icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ============ Bottom nav (mobile) ============ */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
@media (min-width: 900px) { .bottom-nav { display: none; } }
.bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: var(--ink-3);
  min-height: 44px; justify-content: center;
  position: relative;
  transition: color var(--t-fast), transform var(--t-fast) var(--spring);
}
.bn-item:active { transform: scale(.9); }
.bn-item.active { color: var(--accent-text); }
.bn-center {
  width: 56px; height: 56px; margin-top: -26px; justify-self: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #A855F7);
  color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-accent), 0 0 0 6px var(--bg);
  transition: transform var(--t-fast) var(--spring);
}
.bn-center:active { transform: scale(.9); }
.bn-item .cart-badge { top: 0; right: 50%; margin-right: -22px; }

/* ============ Overlays: scrim / drawer / sheet / search ============ */
.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(14,14,19,.4);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}
.scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100vw);
  background: var(--bg-soft);
  box-shadow: var(--shadow-3);
  transform: translateX(105%);
  transition: transform var(--t-med) var(--ease-out);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.drawer-head h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.cart-empty { text-align: center; color: var(--ink-3); padding: var(--sp-7) var(--sp-4); display: grid; gap: var(--sp-3); justify-items: center; }
.cart-empty svg { color: var(--line-strong); }
.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: var(--sp-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-3);
  animation: item-in var(--t-med) var(--ease-out);
}
@keyframes item-in { from { opacity: 0; transform: translateY(10px); } }
.cart-item.removing { opacity: 0; transform: translateX(30px); transition: all var(--t-fast) var(--ease-out); }
.ci-thumb {
  width: 76px; height: 76px; border-radius: var(--r-sm);
  background: var(--surface-2);
  display: grid; place-items: center; overflow: hidden;
}
.ci-thumb svg { width: 60%; height: 82%; }
.ci-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ci-name { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-variant { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.ci-price { font-family: var(--font-display); font-weight: 800; font-size: 1rem; margin-top: auto; font-variant-numeric: tabular-nums; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ci-remove { color: var(--ink-3); width: 44px; height: 44px; margin: -6px -6px 0 0; border-radius: var(--r-pill); display: grid; place-items: center; transition: color var(--t-fast), background var(--t-fast); }
.ci-remove:hover { color: var(--danger); background: #FEF1F2; }
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  overflow: hidden; background: var(--surface);
}
.stepper button {
  width: 34px; height: 34px; display: grid; place-items: center;
  font-weight: 800; color: var(--ink-2);
  transition: background var(--t-fast);
}
.stepper button:hover { background: var(--surface-2); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .qty { min-width: 28px; text-align: center; font-weight: 800; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.ship-progress { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); }
.ship-progress .msg { font-size: var(--fs-xs); font-weight: 700; margin-bottom: 8px; }
.ship-progress .msg .hl { color: var(--accent-text); }
.ship-track { height: 7px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.ship-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), #A855F7);
  border-radius: inherit;
  transition: width .5s var(--ease-out);
}
.promo-row { display: flex; gap: var(--sp-2); }
.promo-row input {
  flex: 1; min-width: 0; min-height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 0 var(--sp-3); background: var(--surface);
  text-transform: uppercase; font-weight: 700; letter-spacing: .06em; font-size: var(--fs-sm);
}
.promo-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,.18); }
.promo-row .btn { min-height: 44px; padding-inline: var(--sp-4); font-size: var(--fs-sm); }
.promo-msg { font-size: var(--fs-xs); font-weight: 700; min-height: 1.2em; }
.promo-msg.ok { color: var(--success); }
.promo-msg.err { color: var(--danger); }
.drawer-foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: var(--sp-4) var(--sp-5) calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  display: grid; gap: var(--sp-3);
}
.total-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.total-row.grand { font-size: 1.05rem; color: var(--ink); font-weight: 800; }
.total-row.grand .amt { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.total-row .free { color: var(--success); }
.total-row.discount { color: var(--success); }

/* ============ Search overlay ============ */
.search-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
  overflow-y: auto;
}
.search-overlay.open { opacity: 1; transform: none; pointer-events: auto; }
.search-top {
  position: sticky; top: 0; z-index: 2;
  display: flex; gap: var(--sp-3); align-items: center;
  padding: var(--sp-4) 0;
  background: var(--bg);
}
.search-field { position: relative; flex: 1; }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search-field input {
  width: 100%; min-height: 52px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0 var(--sp-4) 0 48px;
  font-size: 1rem;
  box-shadow: var(--shadow-1);
}
.search-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,58,237,.16); }
.search-section { margin-bottom: var(--sp-6); }
.search-section h3 {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--sp-3);
  display: flex; justify-content: space-between; align-items: center;
}
.search-section h3 button { font-size: var(--fs-xs); color: var(--accent-text); font-weight: 700; text-transform: none; letter-spacing: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  transition: all var(--t-fast) var(--ease-out);
}
.chip:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.chip:active { transform: scale(.95); }
.chip svg { color: var(--ink-3); }
.chip.trend svg { color: var(--accent-text); }
.search-results { display: grid; gap: var(--sp-3); padding-bottom: var(--sp-7); }
@media (min-width: 720px) { .search-results { grid-template-columns: repeat(2, 1fr); } }
.sr-item {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: var(--sp-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-3); text-align: left; width: 100%;
  transition: transform var(--t-fast) var(--spring), box-shadow var(--t-fast), border-color var(--t-fast);
}
.sr-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.sr-thumb { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; }
.sr-thumb svg { width: 58%; height: 80%; }
.sr-name { font-weight: 700; font-size: var(--fs-sm); }
.sr-cat { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.sr-price { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.no-results { color: var(--ink-3); text-align: center; padding: var(--sp-6); }

/* ============ Product detail sheet ============ */
.pdp {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform .38s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pdp.open { transform: none; }
@media (min-width: 900px) {
  .pdp {
    inset: 4vh 50% 4vh auto; width: min(960px, 92vw); transform: translateX(60%) scale(.96); opacity: 0;
    inset-inline: auto; left: 50%; margin-left: min(-480px, -46vw);
    border-radius: var(--r-xl); box-shadow: var(--shadow-3);
    transition: transform .34s var(--ease-out), opacity .34s var(--ease-out);
  }
  .pdp.open { transform: none; opacity: 1; }
}
.pdp-top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(247,247,250,.85); backdrop-filter: blur(14px);
}
.pdp-grid { display: grid; gap: var(--sp-5); padding: 0 var(--sp-5) 140px; }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); padding: 0 var(--sp-6) 130px; } }
.pdp-gallery { position: relative; }
.pdp-stage {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: background .4s var(--ease-out);
}
.pdp-stage svg { width: 52%; max-height: 80%; transition: transform .45s var(--spring); filter: drop-shadow(0 26px 40px rgba(14,14,19,.2)); }
.pdp-stage.swap svg { animation: img-swap .45s var(--ease-out); }
@keyframes img-swap { from { opacity: 0; transform: scale(.92) rotate(-3deg); } }
.hint-360 {
  position: absolute; bottom: var(--sp-4); left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--r-pill); padding: 8px 16px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.hint-360 svg { animation: spin-hint 3s linear infinite; color: var(--accent-text); }
@keyframes spin-hint { to { transform: rotate(360deg); } }
.pdp-thumbs { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.pdp-thumb {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast) var(--spring);
}
.pdp-thumb:active { transform: scale(.92); }
.pdp-thumb.active { border-color: var(--accent); }
.pdp-thumb svg { width: 55%; height: 75%; }
.pdp-info h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 850; letter-spacing: -.03em; line-height: 1.12; margin: 2px 0 var(--sp-2); }
.pdp-info .pcard-cat { letter-spacing: .1em; }
.pdp-rating { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.pdp-price-row { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-2); flex-wrap: wrap; }
.pdp-price {
  font-family: var(--font-display); font-weight: 850;
  font-size: 2.3rem; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pdp-compare { font-size: 1.05rem; color: var(--ink-3); text-decoration: line-through; }
.pdp-save { background: var(--accent-soft); color: var(--accent-deep); font-size: var(--fs-xs); font-weight: 800; border-radius: var(--r-pill); padding: 5px 12px; }
.pdp-installment { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; margin-bottom: var(--sp-5); }
.variant-group { margin-bottom: var(--sp-5); }
.variant-group .vg-label { font-size: var(--fs-sm); font-weight: 800; margin-bottom: var(--sp-3); display: flex; gap: 8px; }
.variant-group .vg-label .val { color: var(--ink-3); font-weight: 600; }
.color-chips { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.color-chip {
  width: 44px; height: 44px; border-radius: 50%;
  position: relative;
  transition: transform var(--t-fast) var(--spring);
  border: 2px solid var(--line);
}
.color-chip:active { transform: scale(.88); }
.color-chip::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid transparent;
  transition: border-color var(--t-fast);
}
.color-chip.active::after { border-color: var(--accent); }
.color-chip.active { transform: scale(1.05); }
.storage-chips { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.storage-chip {
  min-height: 48px; padding: 0 var(--sp-4);
  border-radius: var(--r-md);
  border: 2px solid var(--line-strong);
  background: var(--surface);
  font-weight: 700; font-size: var(--fs-sm);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.25; padding-block: 8px;
  transition: all var(--t-fast) var(--ease-out);
}
.storage-chip .d { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.storage-chip:hover { border-color: var(--ink-3); }
.storage-chip:active { transform: scale(.95); }
.storage-chip.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.storage-chip.active .d { color: var(--accent-text); }
.accordion { border-top: 1px solid var(--line); margin-bottom: var(--sp-5); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) 0; font-weight: 750; font-size: var(--fs-body);
  min-height: 56px; text-align: left;
}
.acc-btn svg { transition: transform var(--t-med) var(--ease-out); color: var(--ink-3); flex: none; }
.acc-item.open .acc-btn svg { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease-out); }
.acc-panel-in { padding-bottom: var(--sp-4); color: var(--ink-2); font-size: var(--fs-sm); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec-table td:first-child { color: var(--ink-3); font-weight: 600; width: 40%; }
.spec-table tr:last-child td { border-bottom: none; }

.review { display: flex; gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px dashed var(--line); }
.review:last-child { border-bottom: none; }
.review .r-body { flex: 1; }
.review .r-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.review .r-name { font-weight: 750; font-size: var(--fs-sm); }
.review p { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 4px; }
.r-photos { display: flex; gap: 8px; margin-top: 10px; }
.r-photo { width: 56px; height: 56px; border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; }

.bundle {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-1);
  padding: var(--sp-5); margin-bottom: var(--sp-5);
}
.bundle h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); letter-spacing: -.02em; margin-bottom: var(--sp-4); }
.bundle-row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.bundle-item { text-align: center; width: 86px; }
.bundle-item .bi-thumb {
  width: 78px; height: 78px; margin-inline: auto;
  border-radius: var(--r-md); background: var(--surface-2);
  display: grid; place-items: center; margin-bottom: 6px;
}
.bundle-item .bi-thumb svg { width: 58%; height: 78%; }
.bundle-item .bi-name { font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; }
.bundle-item .bi-price { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 700; }
.bundle-plus { font-size: 1.3rem; font-weight: 300; color: var(--ink-3); }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.bundle-total .lbl { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 700; }
.bundle-total .amt { font-family: var(--font-display); font-weight: 850; font-size: 1.4rem; letter-spacing: -.03em; }
.bundle-total .save { color: var(--success); font-size: var(--fs-xs); font-weight: 800; margin-left: 6px; }

.pdp-atc {
  position: sticky; bottom: 0; z-index: 6;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .pdp-atc { border-radius: 0 0 var(--r-xl) var(--r-xl); } }
.pdp-atc .atc-price { font-family: var(--font-display); font-weight: 850; font-size: 1.4rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pdp-atc .atc-sub { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.pdp-atc .btn { flex: 1; max-width: 320px; margin-left: auto; }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottomnav-h) + var(--sp-4));
  transform: translate(-50%, 20px);
  z-index: 100;
  background: var(--ink); color: #fff;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-weight: 700; font-size: var(--fs-sm);
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-3);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--spring);
  white-space: nowrap;
}
@media (min-width: 900px) { .toast { bottom: var(--sp-5); } }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: #4ADE80; }

/* Fly-to-cart dot */
.fly-dot {
  position: fixed; z-index: 110;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: var(--shadow-accent);
  pointer-events: none;
}
