/* ================================================================
   WetechMall · Littleox Tech LLC — Design System v2 (Dark)
   深黑 + 橙黄渐变 · 玻璃质感 · 现代微交互
================================================================ */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #0A0A0B; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brand-orange); color: #0A0A0B; }

/* ----- Design Tokens ----- */
:root {
  /* Dark surface system */
  --bg: #0A0A0B;
  --bg-2: #111113;
  --bg-3: #18181B;
  --bg-4: #1F1F23;
  --surface: rgba(255,255,255,0.03);
  --surface-hi: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.12);
  --line-hi: rgba(255,255,255,0.2);

  /* Type colors */
  --ink: #FAFAFA;
  --ink-2: #E4E4E7;
  --ink-3: #A1A1AA;
  --muted: #71717A;
  --muted-2: #52525B;

  /* Brand / accent */
  --brand: #FFD60A;            /* yellow */
  --brand-orange: #FF6B1A;     /* orange */
  --brand-2: #FF8A3D;          /* lighter orange */
  --grad: linear-gradient(135deg, #FF6B1A 0%, #FFD60A 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,107,26,0.15) 0%, rgba(255,214,10,0.15) 100%);
  --grad-text: linear-gradient(180deg, #FF8A3D 0%, #FFD60A 100%);
  --grad-warm: radial-gradient(circle at 30% 30%, #FF6B1A 0%, transparent 60%), radial-gradient(circle at 70% 70%, #FFD60A 0%, transparent 50%);
  --accent: #FFD60A;
  --success: #10B981;
  --danger: #F43F5E;

  /* Type scale (fluid) */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: clamp(2rem, 4vw, 2.75rem);
  --fs-56: clamp(2.5rem, 6vw, 4rem);
  --fs-72: clamp(3rem, 8vw, 5.5rem);
  --fs-96: clamp(3.5rem, 11vw, 7.5rem);

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  /* Radius */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px; --r-full: 999px;

  /* Shadow / Glow */
  --sh-1: 0 1px 2px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --sh-2: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  --sh-3: 0 20px 60px rgba(0,0,0,0.6);
  --glow-warm: 0 0 60px rgba(255,107,26,0.35);
  --glow-yellow: 0 0 40px rgba(255,214,10,0.3);

  /* Layout */
  --nav-h: 68px;
  --container: 1280px;
  --container-narrow: 960px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); font-weight: 700; }
h1 { font-size: var(--fs-56); font-weight: 800; }
h2 { font-size: var(--fs-40); font-weight: 700; }
h3 { font-size: var(--fs-28); font-weight: 600; }
h4 { font-size: var(--fs-20); font-weight: 600; }
h5 { font-size: var(--fs-16); font-weight: 600; }
p { color: var(--ink-3); }
.text-muted { color: var(--muted); }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; display: inline-block; }
.eyebrow { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand); }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-24) 0; position: relative; }
.section-tight { padding: var(--sp-16) 0; position: relative; }
.section-loose { padding: var(--sp-32) 0; position: relative; }

/* ----- Top Bar (hidden by default per mockup, kept structurally) ----- */
.topbar { display: none; }
.topbar.is-visible { display: block; background: var(--bg-2); color: var(--ink-3); font-size: var(--fs-13); padding: 10px 0; text-align: center; border-bottom: 1px solid var(--line); }
.topbar a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
.topbar a:hover { color: var(--brand-2); }
.topbar .sep { margin: 0 12px; color: var(--muted-2); }

/* ----- Navigation ----- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,11,0.7); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: var(--sp-8); }
.nav-logo { display: flex; align-items: center; gap: var(--sp-3); font-weight: 700; font-size: var(--fs-20); letter-spacing: -0.02em; color: var(--ink); }
.nav-logo .logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--grad); border-radius: var(--r-sm); color: #0A0A0B; font-size: 15px; font-weight: 800; box-shadow: var(--glow-warm); }
.nav-menu { display: flex; gap: var(--sp-2); align-items: center; }
.nav-menu a { font-size: var(--fs-14); color: var(--ink-3); font-weight: 500; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-full); position: relative; transition: all .2s var(--ease); }
.nav-menu a:hover { color: var(--ink); background: var(--surface); }
.nav-menu a.active { color: var(--brand-orange); background: transparent; font-weight: 600; }
.nav-menu a.active::after { content:''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 18px; height: 2px; background: var(--brand-orange); border-radius: 2px; box-shadow: 0 0 8px rgba(255,107,26,0.5); }
.nav-tools { display: flex; gap: var(--sp-1); align-items: center; }
.nav-tool { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-full); color: var(--ink-3); transition: all .2s var(--ease); position: relative; }
.nav-tool:hover { background: var(--surface); color: var(--ink); }
.nav-tool .badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--brand-orange); color: #fff; border-radius: var(--r-full); font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--glow-warm); }
.nav-mobile-toggle { display: none; }

@media (max-width: 880px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); flex-direction: column; padding: var(--sp-4); gap: 4px; border-bottom: 1px solid var(--line); }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: var(--sp-4); width: 100%; border-radius: var(--r-sm); }
  .nav-mobile-toggle { display: inline-flex; }
}

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); padding: 14px 26px; border-radius: var(--r-full); font-size: var(--fs-14); font-weight: 600; transition: all .25s var(--ease-out); border: 1px solid transparent; white-space: nowrap; position: relative; overflow: hidden; will-change: transform; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left .6s var(--ease-out); pointer-events: none; }
.btn:hover::before { left: 100%; }
.btn-primary { background: var(--ink); color: #0A0A0B; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,255,255,0.15); }
.btn-secondary { background: var(--surface-hi); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--surface); border-color: var(--line-hi); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: var(--line-hi); }
.btn-gradient { background: var(--grad); color: #0A0A0B; font-weight: 700; box-shadow: var(--glow-warm); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,107,26,0.5); }
.btn-brand { background: var(--brand); color: #0A0A0B; font-weight: 700; }
.btn-brand:hover { background: var(--brand-2); transform: translateY(-2px); box-shadow: var(--glow-yellow); }
.btn-glass { background: rgba(255,255,255,0.04); color: var(--ink); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
.btn-glass:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }
.btn-disabled { background: var(--surface); color: var(--muted-2); cursor: not-allowed; border: 1px solid var(--line); }
.btn-disabled::before { display: none; }
.btn-lg { padding: 18px 36px; font-size: var(--fs-16); }
.btn-sm { padding: 8px 18px; font-size: var(--fs-13); }
.btn-link { color: var(--ink); padding: 0; background: none; border-radius: 0; }
.btn-link::before { display: none; }
.btn-link::after { content: '→'; margin-left: 6px; transition: transform .25s var(--ease-out); display: inline-block; }
.btn-link:hover { color: var(--brand); }
.btn-link:hover::after { transform: translateX(4px); }

/* ----- Cards ----- */
.card { background: var(--bg-2); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out); position: relative; }
.card:hover { transform: translateY(-4px); background: var(--bg-3); border-color: rgba(255,107,26,0.35); }

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .img-wrap { aspect-ratio: 4/3; background: var(--bg-3); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.product-card:hover .img-wrap img { transform: scale(1.04); }
.product-card .body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.product-card .brand { font-size: var(--fs-12); color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card .name { font-size: var(--fs-15); color: var(--ink); font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.product-card .meta { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-3); }
.product-card .price { font-size: var(--fs-20); font-weight: 700; color: var(--ink); }
.product-card .price-old { font-size: var(--fs-13); color: var(--muted); text-decoration: line-through; }
.product-card .rating { display: flex; align-items: center; gap: 6px; font-size: var(--fs-12); color: var(--muted); }
.product-card .badge-sale { position: absolute; top: var(--sp-3); left: var(--sp-3); background: var(--grad); color: #0A0A0B; padding: 5px 12px; border-radius: var(--r-full); font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.02em; box-shadow: var(--glow-warm); }
.product-card .badge-new { position: absolute; top: var(--sp-3); left: var(--sp-3); background: var(--ink); color: #0A0A0B; padding: 5px 12px; border-radius: var(--r-full); font-size: var(--fs-12); font-weight: 700; }
.product-card .badge-stock { position: absolute; top: var(--sp-3); right: var(--sp-3); background: rgba(10,10,11,0.7); color: var(--ink-3); padding: 5px 12px; border-radius: var(--r-full); font-size: var(--fs-12); font-weight: 600; backdrop-filter: blur(12px); border: 1px solid var(--line); }

/* ----- Grids ----- */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-6); }
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .grid-products { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
}
@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO — Immersive dark with warm radial glows + product image
============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--sp-24) 0 var(--sp-20);
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp-10); align-items: center; }
.hero-left { max-width: 580px; }
.hero-right { position: relative; z-index: 2; }
.hero-product-wrap { position: relative; isolation: isolate; }
.hero-product-wrap img { width: 110%; max-width: none; height: auto; margin-left: -5%; filter: drop-shadow(0 36px 56px rgba(0,0,0,0.5)) drop-shadow(0 0 48px rgba(255,107,26,0.15)); }
/* Soft warm glow behind the product only (no left-side glow, no grid, no noise) */
.hero-product-wrap::before { content:''; position:absolute; inset: -5% -20% -25% -15%; background: radial-gradient(ellipse 55% 55% at 55% 50%, rgba(255,107,26,0.32) 0%, rgba(255,180,90,0.08) 38%, transparent 75%); filter: blur(90px); z-index: -1; pointer-events: none; }
@media (max-width: 1100px) {
  .hero-product-wrap img { width: 105%; margin-left: -2.5%; }
}
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-left { max-width: none; }
  .hero-right { order: -1; max-width: 560px; margin: 0 auto; }
  .hero-product-wrap img { width: 100%; margin-left: 0; }
}
/* Hero background — pure black, all decorative layers removed for performance + cleaner look.
   Only the product image's own warm glow (see .hero-product-wrap::before) remains. */
.hero-bg { display: none; }

.hero-content { position: relative; z-index: 2; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: transparent; border: none; backdrop-filter: none; font-size: var(--fs-14); color: var(--ink-3); margin-bottom: var(--sp-5); font-weight: 500; letter-spacing: 0.01em; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 12px var(--brand-orange), 0 0 4px rgba(255,107,26,0.9); flex-shrink: 0; }

.hero h1 { color: var(--ink); font-size: clamp(2.75rem, 5.4vw, 4.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; }
.hero h1 .gradient-text { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: initial; color: var(--brand-orange); font-style: italic; font-weight: 800; padding-right: 0.04em; }
.hero .lead { color: var(--ink-3); font-size: var(--fs-18); max-width: 44ch; margin-top: var(--sp-6); line-height: 1.55; }
.hero .actions { margin-top: var(--sp-8); display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }

.hero-stats { margin-top: var(--sp-10); padding-top: var(--sp-6); border-top: 1px solid var(--line); display: flex; gap: var(--sp-10); flex-wrap: wrap; }
.hero-stats .stat { padding: 0; border: 0; display: flex; flex-direction: column; }
.hero-stats .stat .num { font-size: var(--fs-32); font-weight: 800; color: var(--ink); letter-spacing: -0.035em; line-height: 1; }
.hero-stats .stat .lbl { font-size: var(--fs-12); color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; line-height: 1.3; }
@media (max-width: 720px) {
  .hero-stats { gap: var(--sp-6) var(--sp-8); }
  .hero-stats .stat .num { font-size: var(--fs-28); }
}

/* CTA button with circular arrow indicator (Linear / Stripe style) */
.btn-arrow { padding-right: 7px; gap: 10px; }
.btn-arrow .arrow-circle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: rgba(0,0,0,0.18); border-radius: var(--r-full); flex-shrink: 0; }
.btn-arrow .arrow-circle svg { display: block; }

/* Keep hero CTAs static — no transform/shimmer on hover (the user explicitly asked for this) */
.hero .btn:hover { transform: none; box-shadow: none; }
.hero .btn-gradient:hover { box-shadow: 0 8px 24px rgba(255,107,26,0.35); }
.hero .btn::before { display: none; }
.hero .btn-arrow:hover .arrow-circle { transform: none; }

/* Hero CTAs share identical dimensions so they look balanced side-by-side */
.hero .actions .btn { height: 46px; min-width: 180px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
.hero .actions .btn-arrow { padding-right: 7px; }

/* ----- Section Header ----- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); margin-bottom: var(--sp-10); flex-wrap: wrap; }
.sec-head .left h2 { margin-top: var(--sp-3); }
.sec-head .right { display: flex; gap: var(--sp-3); }

/* ============================================================
   CATEGORY TILES — modern asymmetric
============================================================ */
.tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-5); }
.tile { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden; padding: var(--sp-10); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; transition: all .4s var(--ease-out); cursor: pointer; isolation: isolate; }
.tile::before { content: ''; position: absolute; inset: 0; background: var(--grad-warm); opacity: 0; transition: opacity .4s var(--ease-out); z-index: -1; }
.tile:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.tile:hover::before { opacity: 0.15; }
.tile.tile-feature { background: var(--bg-3); }
.tile.tile-feature::after { content: ''; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%; background: radial-gradient(circle, rgba(255,107,26,0.25) 0%, transparent 60%); pointer-events: none; z-index: -1; }
.tile .tile-eyebrow { font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--sp-3); }
.tile h3 { font-size: var(--fs-32); color: var(--ink); }
.tile p { color: var(--ink-3); margin-top: var(--sp-3); font-size: var(--fs-15); }
.tile .tile-arrow { margin-top: var(--sp-6); display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: var(--fs-14); transition: gap .25s var(--ease-out); }
.tile:hover .tile-arrow { gap: 14px; color: var(--brand); }
.tile .tile-count { position: absolute; top: var(--sp-6); right: var(--sp-6); font-size: var(--fs-13); color: var(--muted); font-family: 'SF Mono', Menlo, monospace; }
@media (max-width: 880px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
}

/* ============================================================
   PROMISES (Marquee row)
============================================================ */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); padding: var(--sp-10) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) 0; }
.promise .ico { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
.promise h4 { font-size: var(--fs-15); font-weight: 600; color: var(--ink); }
.promise p { font-size: var(--fs-13); color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } }

/* ============================================================
   DEALS BANNER
============================================================ */
.deals-banner { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--sp-16); display: grid; grid-template-columns: 1.2fr auto; gap: var(--sp-8); align-items: center; overflow: hidden; isolation: isolate; }
.deals-banner::before { content: ''; position: absolute; top: -40%; left: -10%; width: 80%; height: 180%; background: var(--grad-warm); opacity: 0.3; filter: blur(60px); z-index: -1; }
.deals-banner h2 { color: var(--ink); max-width: 18ch; }
.deals-banner p { margin-top: var(--sp-3); color: var(--ink-3); font-size: var(--fs-18); }
@media (max-width: 720px) {
  .deals-banner { grid-template-columns: 1fr; padding: var(--sp-10); }
}

/* ============================================================
   NEWSLETTER (warm gradient surface)
============================================================ */
.newsletter { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--sp-20) var(--sp-16); overflow: hidden; isolation: isolate; }
.newsletter::before { content: ''; position: absolute; top: -30%; right: -10%; width: 70%; height: 160%; background: var(--grad-warm); opacity: 0.4; filter: blur(80px); z-index: -1; }
.newsletter::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.newsletter .inner { position: relative; max-width: 760px; }
.newsletter h2 { color: var(--ink); }
.newsletter p { color: var(--ink-3); margin-top: var(--sp-4); font-size: var(--fs-18); }
.newsletter form { display: flex; gap: var(--sp-3); margin-top: var(--sp-8); flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 240px; padding: 18px 24px; border-radius: var(--r-full); background: rgba(0,0,0,0.4); border: 1px solid var(--line-2); color: #fff; font-size: var(--fs-15); backdrop-filter: blur(12px); transition: all .2s var(--ease); }
.newsletter input::placeholder { color: var(--muted); }
.newsletter input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,214,10,0.1); }
.newsletter .legal { font-size: var(--fs-12); color: var(--muted); margin-top: var(--sp-5); }
.newsletter .legal a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--bg-2); padding: var(--sp-20) 0 var(--sp-10); margin-top: var(--sp-24); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: var(--sp-8); }
.footer-brand .logo { font-size: var(--fs-24); font-weight: 700; color: var(--ink); }
.footer-brand .desc { margin-top: var(--sp-4); font-size: var(--fs-13); color: var(--ink-3); max-width: 280px; line-height: 1.6; }
.footer-brand .call { margin-top: var(--sp-8); font-size: var(--fs-13); color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.footer-brand .phone { font-size: var(--fs-24); font-weight: 700; color: var(--ink); margin-top: var(--sp-1); }
.footer-brand .hours { margin-top: var(--sp-3); font-size: var(--fs-13); color: var(--ink-3); line-height: 1.7; }
.footer-brand .social { margin-top: var(--sp-6); display: flex; gap: var(--sp-2); }
.footer-brand .social a { width: 38px; height: 38px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-full); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); transition: all .2s var(--ease); }
.footer-brand .social a:hover { background: var(--grad); color: #0A0A0B; border-color: transparent; transform: translateY(-2px); box-shadow: var(--glow-warm); }
.footer-col h5 { font-size: var(--fs-13); font-weight: 600; color: var(--ink); margin-bottom: var(--sp-5); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col a { font-size: var(--fs-14); color: var(--ink-3); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: var(--sp-16); padding-top: var(--sp-6); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.footer-bottom .copyright { font-size: var(--fs-13); color: var(--muted); }
.footer-bottom .pays { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
.footer-bottom .pay { background: #fff; border-radius: 4px; padding: 4px 8px; height: 28px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 0 rgba(0,0,0,0.2); border: 0; }
.footer-bottom .pay svg { height: 16px; width: auto; display: block; }
.footer-bottom .pay.pay-amex { background: #006FCF; padding: 0; }
.footer-bottom .pay.pay-amex svg { height: 18px; border-radius: 4px; }
.footer-bottom .pay.pay-ap { background: #000; }
.footer-bottom .pay.pay-ap svg { height: 14px; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----- Page Header (subpages) ----- */
.page-head { padding: var(--sp-20) 0 var(--sp-12); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(255,107,26,0.12) 0%, transparent 60%); pointer-events: none; }
.page-head .container { position: relative; }
.page-head .breadcrumb { font-size: var(--fs-13); color: var(--muted); margin-bottom: var(--sp-5); }
.page-head .breadcrumb a { color: var(--ink-3); }
.page-head .breadcrumb a:hover { color: var(--brand); }
.page-head h1 { font-size: var(--fs-56); color: var(--ink); }
.page-head p { font-size: var(--fs-18); margin-top: var(--sp-4); max-width: 60ch; color: var(--ink-3); }

/* ----- Prose ----- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: var(--fs-28); margin-top: var(--sp-12); margin-bottom: var(--sp-5); color: var(--ink); }
.prose h3 { font-size: var(--fs-20); margin-top: var(--sp-8); margin-bottom: var(--sp-3); color: var(--ink); }
.prose p { font-size: var(--fs-16); line-height: 1.75; margin-bottom: var(--sp-4); color: var(--ink-3); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4) var(--sp-6); }
.prose li { font-size: var(--fs-16); line-height: 1.75; margin-bottom: var(--sp-2); color: var(--ink-3); }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; transition: color .2s var(--ease); }
.prose a:hover { color: var(--brand-2); }
.prose .updated { font-size: var(--fs-13); color: var(--muted); margin-bottom: var(--sp-8); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--line); }

/* ----- Collection bar ----- */
.collection-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-6) 0; border-bottom: 1px solid var(--line); margin-bottom: var(--sp-10); flex-wrap: wrap; }
.filter-pills { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.pill { padding: 8px 14px; border-radius: var(--r-full); background: var(--surface); font-size: var(--fs-13); font-weight: 500; color: var(--ink-3); border: 1px solid var(--line); cursor: pointer; transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.pill:hover { background: var(--surface-hi); color: var(--ink); border-color: var(--line-hi); }
.pill.is-active { background: var(--ink); color: #0A0A0B; border-color: var(--ink); }
.pill-count { font-size: 11px; padding: 1px 6px; border-radius: var(--r-full); background: rgba(255,255,255,0.08); color: var(--muted); font-weight: 600; }
.pill.is-active .pill-count { background: rgba(10,10,11,0.18); color: rgba(10,10,11,0.7); }
.sort-select { padding: 10px 16px; padding-right: 36px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: var(--fs-13); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.sort-select:hover { border-color: var(--line-hi); }

/* ----- Product Detail Page ----- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-12); padding: var(--sp-12) 0; align-items: start; }
.pdp-gallery-wrap { display: flex; flex-direction: column; gap: var(--sp-3); position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 100px); }
.pdp-gallery { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-2); }
.pdp-thumb { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); aspect-ratio: 1; overflow: hidden; padding: 0; cursor: pointer; transition: border-color .2s var(--ease); }
.pdp-thumb:hover { border-color: var(--line-hi); }
.pdp-thumb.is-active { border-color: var(--brand-orange); box-shadow: 0 0 0 2px rgba(255,107,26,0.25); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; background: linear-gradient(135deg,#fff 0%,#f5f5f7 100%); padding: 4px; }
@media (max-width: 880px) {
  .pdp-gallery-wrap { position: static; max-height: none; }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); }
}
.pdp-info .brand-tag { display: inline-block; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-12); font-weight: 600; color: var(--brand); letter-spacing: 0.1em; text-transform: uppercase; }
.pdp-info h1 { font-size: var(--fs-40); line-height: 1.15; margin-top: var(--sp-5); color: var(--ink); }
.pdp-info .price-row { display: flex; align-items: baseline; gap: var(--sp-3); margin-top: var(--sp-6); flex-wrap: wrap; }
.pdp-info .price { font-size: var(--fs-32); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.pdp-info .price-old { font-size: var(--fs-18); color: var(--muted); text-decoration: line-through; }
.pdp-info .rating-row { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); font-size: var(--fs-14); color: var(--ink-3); }
.pdp-info .stock-row { margin-top: var(--sp-6); padding: var(--sp-4) var(--sp-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-size: var(--fs-14); color: var(--ink-3); display: flex; align-items: center; gap: var(--sp-3); }
.pdp-info .stock-row strong { color: var(--ink); }
.pdp-info .stock-dot { width: 10px; height: 10px; border-radius: var(--r-full); background: var(--success); box-shadow: 0 0 12px var(--success); }
.pdp-info .stock-dot.out { background: var(--muted); box-shadow: none; }
.pdp-info .cta-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.pdp-section-title { font-size: var(--fs-13); font-weight: 600; color: var(--brand); letter-spacing: 0.1em; text-transform: uppercase; margin: var(--sp-10) 0 var(--sp-4); }
.pdp-info > h3.pdp-section-title:first-child { margin-top: 0; }
.pdp-desc p { font-size: var(--fs-15); line-height: 1.75; color: var(--ink-3); }
.pdp-features { margin-top: var(--sp-2); }
.pdp-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-3); }
.pdp-feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); transition: border-color .2s var(--ease); }
.pdp-feature:hover { border-color: var(--line-hi); }
.pdp-feature .lbl { font-size: var(--fs-11); font-weight: 600; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.pdp-feature .val { font-size: var(--fs-14); color: var(--ink); line-height: 1.5; font-weight: 500; }
.pdp-info { margin-top: var(--sp-2); }
.info-grid { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.info-row { display: grid; grid-template-columns: 140px 1fr; padding: var(--sp-3) var(--sp-5); border-bottom: 1px solid var(--line); align-items: center; gap: var(--sp-4); }
.info-row:last-child { border-bottom: 0; }
.info-k { font-size: var(--fs-13); color: var(--muted); letter-spacing: 0.02em; }
.info-v { font-size: var(--fs-14); color: var(--ink); font-weight: 500; line-height: 1.5; }
.info-mono { font-family: 'SF Mono', Menlo, monospace; font-size: var(--fs-12); color: var(--ink-3); word-break: break-all; }
@media (max-width: 880px) {
  .pdp { grid-template-columns: 1fr; gap: var(--sp-10); }
}

/* ----- Reviews ----- */
.reviews { padding: var(--sp-12) 0; border-top: 1px solid var(--line); }
.review { padding: var(--sp-6) 0; border-bottom: 1px solid var(--line); }
.review .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-3); flex-wrap: wrap; gap: var(--sp-2); }
.review .name { font-weight: 600; font-size: var(--fs-14); color: var(--ink); }
.review .date { font-size: var(--fs-13); color: var(--muted); margin-top: 2px; }
.review .stars { color: var(--brand); font-size: var(--fs-14); }
.review p { font-size: var(--fs-14); color: var(--ink-3); line-height: 1.7; }

/* ----- Forms ----- */
.form-group { margin-bottom: var(--sp-5); }
.form-group label { display: block; font-size: var(--fs-13); font-weight: 600; margin-bottom: var(--sp-2); color: var(--ink-2); letter-spacing: 0.02em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font-size: var(--fs-15); transition: all .2s var(--ease); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,214,10,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ----- Empty ----- */
.empty { padding: var(--sp-24) var(--sp-6); text-align: center; }
.empty .ico { font-size: 48px; margin-bottom: var(--sp-4); opacity: 0.4; }
.empty h3 { margin-bottom: var(--sp-2); color: var(--ink); }
.empty p { color: var(--muted); margin-bottom: var(--sp-6); }

/* ----- Utility ----- */
.text-center { text-align: center; }
.hidden { display: none; }

/* ============================================================
   ANIMATIONS — entrance + scroll reveal
============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-up { animation: fadeUp .8s var(--ease-out) both; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }

/* ----- Marquee (brand strip) ----- */
.marquee { overflow: hidden; padding: var(--sp-8) 0; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.marquee-track { display: flex; gap: var(--sp-16); animation: scroll 40s linear infinite; width: max-content; }
.marquee-item { font-size: var(--fs-24); font-weight: 700; color: var(--muted); letter-spacing: -0.02em; flex-shrink: 0; transition: color .3s var(--ease); }
.marquee-item:hover { color: var(--brand); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----- Placeholder ----- */
.placeholder-svg { background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%); display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; font-size: var(--fs-14); width: 100%; height: 100%; padding: var(--sp-4); text-align: center; position: relative; }

/* ----- Details / FAQ ----- */
details[open] summary span:last-child { transform: rotate(45deg); }
details summary span:last-child { transition: transform .25s var(--ease-out); display: inline-block; }

/* ============================================================
   Account dashboard (tabbed)
============================================================ */
.account-hero { padding: var(--sp-16) 0 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.account-hero::before { content: ''; position: absolute; top: -60%; right: -15%; width: 55%; height: 200%; background: radial-gradient(circle, rgba(255,107,26,0.12) 0%, transparent 60%); pointer-events: none; }
.account-hero .container { position: relative; }
.account-hero .breadcrumb { font-size: var(--fs-13); color: var(--muted); margin-bottom: var(--sp-5); }
.account-hero .breadcrumb a:hover { color: var(--brand); }
.account-header { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin-bottom: var(--sp-10); }
.account-avatar { width: 72px; height: 72px; border-radius: var(--r-full); background: linear-gradient(135deg, #FF6B1A 0%, #FFD60A 100%); color: #0A0A0B; font-weight: 800; font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 32px rgba(255,107,26,0.4); flex-shrink: 0; }
.account-header h1 { font-size: var(--fs-32); margin-bottom: 4px; line-height: 1.15; }
.account-email { font-size: var(--fs-14); color: var(--muted); }
.account-tabs { display: flex; gap: var(--sp-1); border-bottom: none; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tab { background: transparent; color: var(--ink-3); font-size: var(--fs-14); font-weight: 500; padding: var(--sp-3) var(--sp-5); display: inline-flex; align-items: center; gap: var(--sp-2); border-radius: var(--r-md) var(--r-md) 0 0; position: relative; cursor: pointer; transition: color .2s var(--ease); white-space: nowrap; }
.account-tab:hover { color: var(--ink); }
.account-tab.is-active { color: var(--brand-orange); font-weight: 600; }
.account-tab.is-active::after { content: ''; position: absolute; bottom: -1px; left: var(--sp-5); right: var(--sp-5); height: 2px; background: var(--brand-orange); border-radius: 2px 2px 0 0; box-shadow: 0 0 8px rgba(255,107,26,0.5); }
.account-tab .tab-count { font-size: var(--fs-12); background: var(--surface-hi); color: var(--ink-3); padding: 2px 8px; border-radius: var(--r-full); font-weight: 600; min-width: 22px; text-align: center; }
.account-tab.is-active .tab-count { background: rgba(255,107,26,0.15); color: var(--brand-orange); }

.acc-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-4); }
.acc-stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); text-align: left; transition: border-color .2s var(--ease), background .2s var(--ease); position: relative; overflow: hidden; isolation: isolate; }
.acc-stat-feature { background: var(--bg-2); }
.acc-stat-feature::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top left, rgba(255,107,26,0.18) 0%, transparent 60%); z-index: -1; pointer-events: none; }
.acc-clickable { cursor: pointer; font-family: inherit; color: var(--ink); }
.acc-clickable:hover { border-color: var(--line-hi); background: var(--bg-3); }
.acc-stat-eyebrow { font-size: var(--fs-12); color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.acc-stat-num { font-size: var(--fs-32); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.acc-stat-sub { font-size: var(--fs-12); color: var(--ink-3); margin-top: var(--sp-2); }
@media (max-width: 880px) { .acc-grid { grid-template-columns: 1fr 1fr; } }

.acc-section { margin-top: var(--sp-10); }
.acc-section-title { font-size: var(--fs-13); font-weight: 600; color: var(--brand); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.acc-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.acc-quick-btn { display: flex; align-items: center; gap: var(--sp-4); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); text-align: left; transition: border-color .2s var(--ease), background .2s var(--ease); color: var(--ink); }
.acc-quick-btn:hover { border-color: var(--line-hi); background: var(--bg-3); }
.acc-quick-ico { font-size: 24px; width: 44px; height: 44px; background: var(--surface-hi); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acc-quick-t { font-size: var(--fs-14); color: var(--ink); font-weight: 600; }
.acc-quick-s { font-size: var(--fs-12); color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) { .acc-quick { grid-template-columns: 1fr; } }

.acc-cart-row { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.acc-cart-img { width: 80px; height: 80px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.acc-cart-brand { font-size: var(--fs-12); color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.acc-cart-name { font-size: var(--fs-14); color: var(--ink); font-weight: 500; line-height: 1.4; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-cart-price { font-size: var(--fs-16); font-weight: 700; color: var(--ink); flex-shrink: 0; }
.acc-qty { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-full); padding: 4px; }
.acc-qty button { width: 26px; height: 26px; border-radius: var(--r-full); background: var(--surface-hi); color: var(--ink); font-size: 16px; line-height: 1; }
.acc-qty button:hover { background: var(--line-2); }
.acc-qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: var(--fs-13); color: var(--ink); }
.acc-remove { font-size: var(--fs-13); color: var(--muted); text-decoration: underline; padding: 0; }
.acc-remove:hover { color: var(--ink); }
.acc-summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); align-self: start; position: sticky; top: 88px; }
.acc-sum-row { display: flex; justify-content: space-between; font-size: var(--fs-14); color: var(--ink-3); padding: var(--sp-2) 0; }
.acc-sum-total { display: flex; justify-content: space-between; padding: var(--sp-3) 0 0; margin-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-18); font-weight: 700; color: var(--ink); }
@media (max-width: 880px) {
  .acc-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Auth card (Sign in / Create account — tabbed)
============================================================ */
.auth-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl); max-width: 480px; margin: 0 auto; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.auth-tab { padding: 18px 16px; font-size: var(--fs-14); font-weight: 600; color: var(--ink-3); background: transparent; position: relative; transition: color .2s var(--ease), background .2s var(--ease); cursor: pointer; }
.auth-tab:hover { color: var(--ink); }
.auth-tab.is-active { color: var(--ink); background: var(--bg-2); }
.auth-tab.is-active::after { content: ''; position: absolute; bottom: -1px; left: 30%; right: 30%; height: 2px; background: var(--brand-orange); border-radius: 2px 2px 0 0; box-shadow: 0 0 8px rgba(255,107,26,0.5); }
.auth-panel { display: none; padding: 32px 36px 28px; animation: authFadeIn .25s var(--ease-out); }
.auth-panel.is-active { display: block; }
@keyframes authFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.auth-switch { font-size: var(--fs-13); color: var(--muted); text-align: center; margin-top: 18px; }
.auth-link { background: none; border: 0; padding: 0; color: var(--brand-orange); font-weight: 600; cursor: pointer; font: inherit; }
.auth-link:hover { color: var(--brand-2); text-decoration: underline; }
.auth-perks { background: linear-gradient(135deg, rgba(255,107,26,0.08) 0%, rgba(255,214,10,0.04) 100%); border: 1px solid rgba(255,107,26,0.2); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 22px; }
.auth-perks-title { font-size: var(--fs-13); font-weight: 600; color: var(--brand); margin-bottom: 8px; letter-spacing: 0.02em; }
.auth-perks ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.auth-perks li { font-size: var(--fs-13); color: var(--ink-3); line-height: 1.5; padding-left: 18px; position: relative; }
.auth-perks li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* Inline policy links that open a summary modal instead of navigating */
.policy-link-inline { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font: inherit; transition: color .15s var(--ease); }
.policy-link-inline:hover { color: var(--brand-orange); }
@media (max-width: 540px) {
  .auth-panel { padding: 24px 22px; }
}

/* ============================================================
   Login modal (auth gate)
============================================================ */
.wm-modal { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: flex-start; justify-content: center; padding: 80px var(--sp-5) var(--sp-5); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-out); }
.wm-modal.is-open { opacity: 1; pointer-events: auto; }
.wm-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wm-modal-card { position: relative; max-width: 440px; width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 48px 40px 32px; text-align: center; transform: scale(0.94) translateY(8px); transition: transform .3s var(--ease-spring); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.wm-modal.is-open .wm-modal-card { transform: scale(1) translateY(0); }
.wm-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: var(--r-full); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; transition: all .2s var(--ease); }
.wm-modal-close:hover { background: var(--surface); color: var(--ink); }
.wm-modal-icon { width: 64px; height: 64px; margin: 0 auto var(--sp-6); background: var(--surface-hi); border: 1px solid var(--line); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.wm-modal-card h3 { font-size: var(--fs-24); margin-bottom: var(--sp-3); color: var(--ink); }
.wm-modal-card > p { color: var(--ink-3); margin-bottom: var(--sp-6); font-size: var(--fs-15); }
.wm-modal-actions { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.wm-modal-actions .btn { flex: 1; padding: 12px 18px; }
.wm-modal-foot { font-size: var(--fs-13); color: var(--muted); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.wm-modal-foot a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.wm-modal-foot a:hover { color: var(--brand-2); }

/* Product card wishlist heart */
.product-card .heart-btn { position: absolute; top: var(--sp-3); right: var(--sp-3); width: 36px; height: 36px; border-radius: var(--r-full); background: rgba(10,10,11,0.7); color: var(--ink); backdrop-filter: blur(8px); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: all .2s var(--ease); z-index: 2; opacity: 0; transform: scale(0.9); }
.product-card:hover .heart-btn { opacity: 1; transform: scale(1); }
.product-card .heart-btn:hover { background: rgba(0,0,0,0.85); border-color: var(--line-hi); }
.product-card .heart-btn.is-saved { color: #FF3B5C; border-color: rgba(255,59,92,0.5); background: rgba(255,59,92,0.18); opacity: 1; transform: scale(1); }
.product-card .heart-btn svg { transition: transform .2s var(--ease-spring); }
.product-card .heart-btn:active svg { transform: scale(1.3); }

/* PDP wishlist button — saved state */
.btn-ghost.is-saved { color: #FF3B5C; border-color: rgba(255,59,92,0.6); background: rgba(255,59,92,0.15); }
.btn-ghost.is-saved:hover { background: rgba(255,59,92,0.22); border-color: #FF3B5C; }
.btn-ghost.is-saved svg { fill: currentColor; }
.wish-bounce { animation: wishBounce .45s var(--ease-spring); }
@keyframes wishBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* Review modal */
.wm-modal-card.review-modal { max-width: 540px; padding: 36px 36px 28px; text-align: left; }
.review-modal h3 { text-align: center; }
.review-modal .product-ref { text-align: center; color: var(--muted); margin-bottom: var(--sp-6); font-size: var(--fs-13); }
.review-modal .star-row { display: flex; gap: 6px; font-size: 32px; margin: var(--sp-3) 0 var(--sp-5); justify-content: flex-start; }
.review-modal .star { cursor: pointer; color: var(--muted-2); transition: color .2s var(--ease), transform .15s var(--ease-spring); user-select: none; line-height: 1; }
.review-modal .star:hover { transform: scale(1.15); }
.review-modal .star.is-active { color: var(--brand); }
.review-modal .rating-label { font-size: var(--fs-13); color: var(--muted); margin-left: var(--sp-3); align-self: center; }
.review-modal .form-group { margin-bottom: var(--sp-4); }
.review-modal .form-group label { font-size: var(--fs-13); }
.review-modal textarea { min-height: 120px; }

/* New review highlight */
.review.is-new { background: linear-gradient(90deg, rgba(255,214,10,0.06) 0%, transparent 100%); border-left: 2px solid var(--brand); padding-left: var(--sp-4); margin-left: calc(-1 * var(--sp-4)); }
.review-new-badge { display: inline-flex; align-items: center; background: var(--brand); color: #0A0A0B; padding: 2px 8px; border-radius: var(--r-full); font-size: 10px; font-weight: 700; margin-left: 8px; letter-spacing: 0.03em; text-transform: uppercase; }
.review .review-title { font-weight: 600; color: var(--ink); margin: 4px 0 6px; font-size: var(--fs-14); }
