/* ============================================================
   LADY ZONE — Design System
   Pastel psychology: baby blue (calm trust), lavender (luxury,
   femininity), peach (warmth, optimism), blush (affection).
   No cliché hot pink. Two moods: Daylight & Moonlight.
   ============================================================ */

/* fonts now load via <link preconnect> in the HTML head — faster first paint */

/* spinning angle for neon conic borders */
@property --spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ---------- tokens ---------- */
:root {
  --blue: #AEDDE8;
  --lavender: #C9B8E8;
  --peach: #FFD9C0;
  --blush: #F7C8D0;
  --gold: #C8A24B;
  --mint: #CBEAD9;

  --bg: #FBF8F5;
  --bg-soft: #F3EDEA;
  --bg-tint: #F8F2EE;
  --surface: rgba(255, 255, 255, .78);
  --surface-solid: #FFFFFF;
  --ink: #41364E;
  --ink-soft: #7A6F88;
  --ink-faint: #A89DB5;
  --line: rgba(101, 84, 122, .14);
  --shadow: 0 18px 50px -18px rgba(110, 86, 140, .25);
  --shadow-soft: 0 8px 26px -12px rgba(110, 86, 140, .18);
  --glow-accent: rgba(201, 184, 232, .45);
  --grad-hero: linear-gradient(120deg, #C9B8E8 0%, #F7C8D0 38%, #FFD9C0 68%, #AEDDE8 100%);
  --whatsapp: #25D366;
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --font-display-ar: 'Amiri', 'Cormorant Garamond', serif;
  --font-script-ar: 'Aref Ruqaa', 'Amiri', serif;
  --font-body-ar: 'Tajawal', 'Segoe UI', sans-serif;

  /* ---- NEON system: electric aqua → violet → orchid → coral ---- */
  --neon-1: #2BE8E0;
  --neon-2: #A855F7;
  --neon-3: #FF5EC8;
  --neon-4: #FF8A5C;
  --grad-neon: linear-gradient(115deg, var(--neon-1), var(--neon-2), var(--neon-3), var(--neon-4), var(--neon-1));
  --grad-conic: conic-gradient(from var(--spin, 0deg), var(--neon-1), var(--neon-2), var(--neon-3), var(--neon-4), var(--neon-1));
  --grad-btn: var(--grad-neon);
  --neon-glow-1: rgba(43, 232, 224, .45);
  --neon-glow-2: rgba(168, 85, 247, .45);
  --neon-glow-3: rgba(255, 94, 200, .40);
  --aurora-opacity: .34;
  --neon-text-shadow: 0 0 22px rgba(168, 85, 247, .25);
  /* deeper neon for text on light backgrounds (readability) */
  --grad-neon-text: linear-gradient(115deg, #0CA8A0, #8B2FD6, #E0309F, #F2693A, #0CA8A0);
}

[data-theme="dark"] {
  --bg: #0D0916;
  --bg-soft: #161020;
  --bg-tint: #130D1D;
  --surface: rgba(33, 24, 50, .72);
  --surface-solid: #1F1730;
  --ink: #F2ECFA;
  --ink-soft: #B3A8C6;
  --ink-faint: #837798;
  --line: rgba(168, 85, 247, .22);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
  --shadow-soft: 0 8px 26px -12px rgba(0, 0, 0, .5);
  --glow-accent: rgba(168, 85, 247, .35);
  --grad-hero: linear-gradient(120deg, #19365C 0%, #4B2270 38%, #6E2257 68%, #0E4A52 100%);
  --neon-glow-1: rgba(43, 232, 224, .55);
  --neon-glow-2: rgba(168, 85, 247, .55);
  --neon-glow-3: rgba(255, 94, 200, .50);
  --aurora-opacity: .5;
  --neon-text-shadow: 0 0 26px rgba(168, 85, 247, .55), 0 0 60px rgba(43, 232, 224, .25);
  --grad-neon-text: var(--grad-neon);
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .01em;
  transition: background .45s ease, color .45s ease;
  overflow-x: clip;
  min-height: 100vh;
}
html { overflow-x: clip; } /* hard guarantee: nothing can shift the page sideways */
/* soft paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(120, 100, 150, .045) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* living AURORA layer — drifting neon nebulas behind everything.
   No blur filter: radial gradients fade softly on their own, and
   skipping the filter keeps rasterization cheap on integrated GPUs. */
body::after {
  content: ''; position: fixed; inset: -12%; pointer-events: none; z-index: 0;
  opacity: var(--aurora-opacity);
  background:
    radial-gradient(42% 38% at 18% 22%, var(--neon-glow-1) 0%, transparent 62%),
    radial-gradient(46% 42% at 82% 18%, var(--neon-glow-2) 0%, transparent 62%),
    radial-gradient(40% 44% at 70% 82%, var(--neon-glow-3) 0%, transparent 62%),
    radial-gradient(34% 34% at 12% 78%, rgba(255, 138, 92, .32) 0%, transparent 62%);
  will-change: transform;
  animation: auroraDrift 26s ease-in-out infinite alternate;
  transition: opacity .45s ease;
}
/* transform-only — stays on the GPU compositor, never repaints */
@keyframes auroraDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(3%, -4%) rotate(4deg) scale(1.08); }
  100% { transform: translate(-3%, 3%) rotate(-3deg) scale(1.04); }
}
/* the neon gradient heartbeat — shared by text, buttons, bars */
@keyframes neonShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes spinConic { to { --spin: 360deg; } }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 18px -2px var(--neon-glow-2), 0 0 38px -6px var(--neon-glow-1), var(--shadow-soft); }
  50%      { box-shadow: 0 0 30px 2px var(--neon-glow-3), 0 0 60px -4px var(--neon-glow-2), var(--shadow-soft); }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
.container { width: min(1200px, 92%); margin: 0 auto; position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
.script {
  font-family: var(--font-script); font-weight: 400;
  background: var(--grad-neon-text); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: neonShift 6s ease-in-out infinite;
  filter: drop-shadow(0 0 14px var(--neon-glow-2));
}
/* electric headline text — animated liquid neon */
.hero h1, .section-head h2, .neon-text {
  background: var(--grad-neon-text); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: neonShift 8s ease-in-out infinite;
  filter: drop-shadow(0 2px 18px var(--neon-glow-2));
}

/* ---------- announcement ribbon ---------- */
.ribbon {
  background: var(--grad-neon); background-size: 300% 100%;
  animation: neonShift 9s linear infinite;
  color: #FFFFFF; font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  text-shadow: 0 1px 6px rgba(40, 10, 60, .45);
  overflow: hidden; white-space: nowrap; position: relative; z-index: 5;
  box-shadow: 0 2px 18px -4px var(--neon-glow-2);
}
.ribbon-track { display: inline-block; padding: 9px 0; animation: marquee 28s linear infinite; }
.ribbon-track span { margin: 0 38px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
  transition: background .45s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; aspect-ratio: 1090 / 1316; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(160,130,200,.25)); transition: transform .4s ease; }
.brand:hover img { transform: scale(1.05) rotate(-2deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .12em; }
.brand-tag { font-size: .62rem; letter-spacing: .34em; color: var(--ink-soft); text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink-soft); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0%;
  background: var(--grad-btn); border-radius: 2px; transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease; position: relative; font-size: 1.05rem;
}
.icon-btn:hover { transform: translateY(-2px) scale(1.06); box-shadow: var(--shadow); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 10px; background: var(--grad-neon); background-size: 260% 100%;
  animation: neonShift 5s linear infinite; box-shadow: 0 0 12px var(--neon-glow-3);
  color: #fff; font-size: .68rem; font-weight: 600;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.show { transform: scale(1); }
.user-chip { display:flex; align-items:center; gap:8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border:1px solid var(--line); font-size:.85rem; font-weight:500; box-shadow: var(--shadow-soft); }
.user-chip:hover { box-shadow: var(--shadow); }

/* theme toggle morph */
.theme-toggle .sun, .theme-toggle .moon { position: absolute; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
[data-theme="light"] .theme-toggle .moon { transform: rotate(120deg) scale(0); opacity: 0; }
[data-theme="dark"] .theme-toggle .sun { transform: rotate(-120deg) scale(0); opacity: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 110px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); box-shadow: var(--shadow-soft); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-btn); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--glow-accent); } 50% { box-shadow: 0 0 0 7px transparent; } }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 500; }
.hero h1 .script { font-size: 1.18em; }
.hero-sub { margin: 20px 0 32px; font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; font-weight: 300; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 30px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; letter-spacing: .03em; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: var(--grad-neon); background-size: 260% 100%;
  animation: neonShift 5s ease-in-out infinite, glowPulse 3.4s ease-in-out infinite;
  color: #fff; text-shadow: 0 1px 4px rgba(40, 10, 60, .35);
}
.btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -12px var(--glow-accent); }
.btn:active { transform: translateY(-1px) scale(.98); }
/* shine sweep */
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }

.hero-stats { display: flex; gap: 34px; margin-top: 42px; }
.hero-stat b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; display: block; }
.hero-stat span { font-size: .8rem; color: var(--ink-soft); letter-spacing: .05em; }

/* hero visual: floating glass orbs over gradient blob */
.hero-visual { position: relative; height: 480px; }
.hero-blob {
  position: absolute; inset: 6% 2%; border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  background: var(--grad-neon); background-size: 300% 300%; opacity: .8;
  filter: blur(6px) saturate(1.15);
  animation: blobMorph 14s ease-in-out infinite alternate, neonShift 11s ease-in-out infinite;
  box-shadow: 0 0 80px -10px var(--neon-glow-2), 0 0 140px -20px var(--neon-glow-1);
}
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; transform: rotate(0deg); }
  100% { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; transform: rotate(6deg); }
}
.hero-logo-card {
  position: absolute; inset: 0; margin: auto; width: 78%; aspect-ratio: 1.1;
  display: grid; place-items: center; border-radius: 32px;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    var(--grad-conic) border-box;
  border: 2.5px solid transparent;
  box-shadow: var(--shadow), 0 0 34px -6px var(--neon-glow-2), 0 0 70px -12px var(--neon-glow-1);
  animation: floaty 7s ease-in-out infinite, spinConic 7s linear infinite;
}
.hero-logo-card img { width: 86%; height: auto; border-radius: 20px; }
.orb {
  position: absolute; border-radius: 50%; display: grid; place-items: center;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    var(--grad-conic) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft), 0 0 18px -2px var(--neon-glow-1); font-size: 1.5rem;
  animation: floaty 6s ease-in-out infinite, spinConic 9s linear infinite;
}
.orb small { position: absolute; bottom: -22px; font-size: .62rem; letter-spacing: .08em; color: var(--ink-soft); white-space: nowrap; }
.orb-1 { width: 76px; height: 76px; top: 2%; left: -4%; animation-delay: .4s; }
.orb-2 { width: 64px; height: 64px; bottom: 8%; left: 4%; animation-delay: 1.3s; }
.orb-3 { width: 84px; height: 84px; top: 14%; right: -5%; animation-delay: .9s; }
.orb-4 { width: 58px; height: 58px; bottom: -2%; right: 12%; animation-delay: 1.8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* curved divider */
.curve { display: block; width: 100%; height: 70px; margin-top: -40px; color: var(--bg-soft); }

/* ---------- section scaffolding ---------- */
.section { padding: 74px 0; position: relative; }
.section-alt { background: var(--bg-soft); transition: background .45s ease; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .script { font-size: 2rem; display: block; margin-bottom: 2px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; }
.section-head p { color: var(--ink-soft); max-width: 56ch; margin: 12px auto 0; font-weight: 300; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- category pills ---------- */
.cats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.cat-pill {
  padding: 11px 24px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-soft);
  transition: all .3s ease; display: inline-flex; gap: 8px; align-items: center;
}
.cat-pill:hover { transform: translateY(-2px); color: var(--ink); }
.cat-pill.active {
  background: var(--grad-neon); background-size: 260% 100%;
  animation: neonShift 5s ease-in-out infinite;
  color: #fff; border-color: transparent; text-shadow: 0 1px 4px rgba(40,10,60,.35);
  box-shadow: 0 10px 24px -8px var(--neon-glow-2), 0 0 18px -2px var(--neon-glow-1);
}

/* ---------- product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 26px; }
.card {
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    linear-gradient(var(--line), var(--line)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); position: relative;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, background .35s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    var(--grad-neon) border-box;
  box-shadow: var(--shadow), 0 0 26px -4px var(--neon-glow-2), 0 0 50px -10px var(--neon-glow-1);
}
.card-art { position: relative; aspect-ratio: 1/.92; display: grid; place-items: center; overflow: hidden; }
.card-art svg { width: 46%; height: auto; filter: drop-shadow(0 10px 18px rgba(80,60,110,.18)); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.card:hover .card-art svg { transform: scale(1.12) rotate(-3deg); }
.card-art img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 13px; border-radius: 999px;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.82); color: #6B5690; backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.badge.preloved { background: rgba(203,234,217,.9); color: #2E6B4F; }
.wish {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); display: grid; place-items: center; font-size: 1rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1); backdrop-filter: blur(6px); color: #C97B96;
}
.wish:hover { transform: scale(1.18); }
.wish.on { background: #FBE3EA; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cond { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.card-cond.new { color: #8E7BBE; }
.card-cond.preloved { color: #4F9374; }
.card h3 { font-size: 1.18rem; font-weight: 600; cursor: pointer; }
.card h3:hover { color: #8E7BBE; }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; }
.stars span { color: var(--ink-faint); font-family: var(--font-body); font-size: .78rem; letter-spacing: 0; margin-left: 6px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.price-old { font-size: .88rem; color: var(--ink-faint); text-decoration: line-through; }
.save-tag { font-size: .7rem; font-weight: 600; color: #4F9374; background: var(--mint); padding: 2px 9px; border-radius: 999px; }
[data-theme="dark"] .save-tag { background: rgba(203,234,217,.15); }

/* scarcity meter */
.stock { margin-top: 4px; }
.stock-bar { height: 5px; border-radius: 5px; background: var(--bg-soft); overflow: hidden; }
.stock-fill {
  height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--neon-4), var(--neon-3), var(--neon-2));
  background-size: 220% 100%; animation: neonShift 4s linear infinite;
  box-shadow: 0 0 10px var(--neon-glow-3); transition: width 1s ease;
}
.stock-label { font-size: .73rem; color: #C97B7B; font-weight: 500; margin-top: 4px; display: block; }
.stock-label.calm { color: var(--ink-faint); }
.add-btn {
  margin-top: 12px; width: 100%; padding: 12px; border-radius: 14px;
  background: var(--grad-neon); background-size: 260% 100%;
  animation: neonShift 6s ease-in-out infinite;
  color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  text-shadow: 0 1px 4px rgba(40,10,60,.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .25s, box-shadow .25s, filter .25s;
  box-shadow: 0 8px 20px -8px var(--neon-glow-2), 0 0 14px -4px var(--neon-glow-1);
}
.add-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.add-btn:active { transform: scale(.97); }

/* flying heart on add */
.fly-heart { position: fixed; z-index: 999; font-size: 1.3rem; pointer-events: none; animation: flyToCart .8s cubic-bezier(.3,-0.2,.7,1) forwards; }
@keyframes flyToCart { to { transform: translate(var(--fly-x), var(--fly-y)) scale(.2); opacity: .2; } }

/* ---------- Complete Your Look ---------- */
.look-card {
  display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 28px; overflow: hidden;
  background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.look-card > * { min-width: 0; } /* grid children may never blow the column out */
.look-visual { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 30px; }
.look-visual .look-item {
  width: 110px; height: 110px; border-radius: 24px; display: grid; place-items: center;
  background: rgba(255,255,255,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-soft); transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
[data-theme="dark"] .look-visual .look-item { background: rgba(20,16,29,.45); border-color: var(--line); }
.look-visual .look-item svg { width: 60%; }
.look-visual .plus { font-size: 1.5rem; color: rgba(255,255,255,.85); font-weight: 300; text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.look-card:hover .look-item:nth-child(1) { transform: rotate(-5deg) translateY(-7px); }
.look-card:hover .look-item:nth-child(3) { transform: rotate(4deg) translateY(-10px); }
.look-card:hover .look-item:nth-child(5) { transform: rotate(-3deg) translateY(-6px); }
.look-body { padding: 38px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.look-body .script { font-size: 1.6rem; }
.look-body h3 { font-size: 1.7rem; }
.look-body p { color: var(--ink-soft); font-weight: 300; }
.look-pricing { display: flex; align-items: center; gap: 14px; margin: 8px 0; }
.look-pricing .price { font-size: 1.6rem; }
.bundle-save { background: linear-gradient(120deg, #F7E7C3, #F2D9A4); color: #8A6A1F; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
[data-theme="dark"] .bundle-save { background: rgba(200,162,75,.2); color: #E8C97B; }

/* ---------- social proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.quote-card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); position: relative; }
.quote-card::before { content: '"'; font-family: var(--font-display); font-size: 4.4rem; line-height: 1; position: absolute; top: 10px; right: 20px; opacity: .12; }
.quote-card p { font-style: italic; font-weight: 300; margin-bottom: 16px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; font-size: .95rem; }
.quote-who b { display: block; font-size: .9rem; }
.quote-who span { font-size: .76rem; color: var(--ink-soft); }

/* perks strip */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.perk { display: flex; gap: 14px; align-items: center; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-soft); }
.perk-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.perk b { font-size: .95rem; display: block; }
.perk span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 54px 0 28px; margin-top: 30px; transition: background .45s ease; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.foot-brand img { height: 80px; width: auto; object-fit: contain; margin-bottom: 14px; }
.foot-brand p { color: var(--ink-soft); font-size: .92rem; font-weight: 300; max-width: 36ch; }
footer h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; letter-spacing: .04em; }
.foot-links a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: .92rem; transition: color .25s, transform .25s; }
.foot-links a:hover { color: var(--ink); transform: translateX(4px); }
.socials { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.social-btn:hover { transform: translateY(-4px) rotate(-6deg); box-shadow: var(--shadow); }
.social-btn svg { width: 20px; height: 20px; fill: var(--ink-soft); transition: fill .25s; }
.social-btn:hover svg { fill: #8E7BBE; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--ink-faint); }

/* ---------- cart drawer ---------- */
.drawer-veil { position: fixed; inset: 0; background: rgba(30,20,45,.4); backdrop-filter: blur(4px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer-veil.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 94vw); z-index: 90;
  background: var(--bg); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(0,0,0,.18);
  transform: translateX(105%); transition: transform .45s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font-size: 1.4rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); }

/* gift progress */
.gift-meter { margin-bottom: 14px; }
.gift-meter p { font-size: .82rem; color: var(--ink-soft); margin-bottom: 7px; }
.gift-meter p b { color: var(--ink); }
.gift-track { height: 9px; border-radius: 9px; background: var(--bg-soft); overflow: hidden; border: 1px solid var(--line); }
.gift-fill {
  height: 100%; border-radius: 9px;
  background: var(--grad-neon); background-size: 240% 100%;
  animation: neonShift 4.5s linear infinite;
  box-shadow: 0 0 12px var(--neon-glow-1);
  width: 0%; transition: width .8s cubic-bezier(.22,.61,.36,1);
}

.cart-line { display: flex; gap: 14px; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; align-items: center; animation: lineIn .4s ease; }
@keyframes lineIn { from { opacity: 0; transform: translateX(20px); } }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.cart-thumb svg { width: 55%; }
.cart-info { flex: 1; min-width: 0; }
.cart-info b { font-size: .92rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-info small { color: var(--ink-soft); font-size: .76rem; }
.cart-info .price { font-size: 1rem; }
.qty { display: flex; align-items: center; gap: 2px; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-solid); box-shadow: var(--shadow-soft); font-size: .9rem; transition: transform .2s; display: grid; place-items: center; }
.qty button:hover { transform: scale(1.12); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .9rem; }
.line-remove { color: var(--ink-faint); font-size: 1rem; padding: 6px; transition: color .25s, transform .25s; }
.line-remove:hover { color: #D98E9E; transform: scale(1.15); }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--ink-soft); }
.cart-empty .script { font-size: 1.9rem; display: block; margin-bottom: 8px; }

.wa-btn {
  width: 100%; padding: 15px; border-radius: 16px;
  background: linear-gradient(120deg, #2BE88A, #1FC576, #25D366, #2BE88A);
  background-size: 260% 100%; animation: neonShift 5s linear infinite, waPulse 2.8s ease-in-out infinite;
  color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .03em;
  text-shadow: 0 1px 4px rgba(10, 60, 30, .4);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .25s, box-shadow .25s;
}
.wa-btn:hover { transform: translateY(-2px); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .55), 0 0 16px -2px rgba(43, 232, 138, .5); }
  50%      { box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .75), 0 0 30px 0 rgba(43, 232, 138, .65); }
}
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cart-total-row .price { font-size: 1.6rem; }
.cart-note { text-align: center; font-size: .78rem; color: var(--ink-faint); margin-top: 10px; }

/* ---------- toasts ---------- */
.toast-zone { position: fixed; bottom: 24px; left: 24px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; padding: 13px 20px;
  box-shadow: var(--shadow); font-size: .88rem; display: flex; align-items: center; gap: 10px;
  animation: toastIn .45s cubic-bezier(.34,1.56,.64,1), toastOut .4s ease 4.2s forwards; max-width: 320px;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.92); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- modals (product view & auth) ---------- */
.modal-veil { position: fixed; inset: 0; background: rgba(30,20,45,.45); backdrop-filter: blur(6px); z-index: 100; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; padding: 20px; }
.modal-veil.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  width: min(860px, 100%); max-height: 90dvh; overflow-y: auto; transform: translateY(26px) scale(.97);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.modal-veil.open .modal { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-solid); box-shadow: var(--shadow-soft); display: grid; place-items: center; transition: transform .25s; }
.modal-close:hover { transform: rotate(90deg) scale(1.08); }
.pv-grid { display: grid; grid-template-columns: 1fr 1.1fr; position: relative; }
.pv-art { display: grid; place-items: center; min-height: 380px; border-radius: 28px 0 0 28px; position: relative; overflow: hidden; }
.pv-art svg { width: 50%; filter: drop-shadow(0 16px 26px rgba(80,60,110,.22)); }
.pv-body { padding: 40px 38px; display: flex; flex-direction: column; gap: 12px; }
.pv-body h2 { font-size: 1.9rem; }
.pv-story { font-style: italic; font-family: var(--font-display); font-size: 1.12rem; color: #9B85C4; border-left: 3px solid var(--lavender); padding-left: 14px; }
.pv-desc { color: var(--ink-soft); font-weight: 300; }
.pairs { margin-top: 8px; }
.pairs h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.pairs-row { display: flex; gap: 10px; }
.pair-chip {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px;
  background: var(--surface-solid); border: 1px solid var(--line); font-size: .8rem; font-weight: 500;
  box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s;
}
.pair-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pair-chip .mini { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.pair-chip .mini svg { width: 56%; }
.pair-chip .plus-add { color: #8E7BBE; font-weight: 700; }

/* auth modal */
.auth-box { padding: 46px 44px; text-align: center; max-width: 460px; margin: 0 auto; }
.auth-box img { height: 86px; width: auto; object-fit: contain; margin: 0 auto 8px; }
.auth-box h2 { font-size: 1.7rem; margin-bottom: 4px; }
.auth-box > p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 26px; font-weight: 300; }
.auth-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface-solid); font-weight: 500;
  font-size: .95rem; margin-bottom: 12px; box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s;
}
.auth-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.auth-btn svg { width: 20px; height: 20px; }
.auth-btn.apple { background: var(--ink); color: var(--bg); }
.auth-div { display: flex; align-items: center; gap: 14px; color: var(--ink-faint); font-size: .78rem; margin: 18px 0; letter-spacing: .1em; }
.auth-div::before, .auth-div::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-solid); margin-bottom: 12px; outline: none; transition: border-color .25s, box-shadow .25s; }
.auth-input:focus { border-color: var(--lavender); box-shadow: 0 0 0 4px var(--glow-accent); }
.auth-note { font-size: .75rem; color: var(--ink-faint); margin-top: 10px; }

/* ---------- cart page ---------- */
.cart-page-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.cart-panel { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.cart-panel-head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-panel-head h2 { font-size: 1.5rem; }
.cart-rows { padding: 10px 26px; }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.cart-row:last-child { border-bottom: none; }
.summary-card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; position: sticky; top: 100px; }
.summary-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.summary-moto { font-size: .9rem; color: #9B85C4; font-style: italic; margin-bottom: 18px; }
.sum-line { display: flex; justify-content: space-between; font-size: .94rem; padding: 7px 0; color: var(--ink-soft); }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.sum-line.total .price { font-size: 1.7rem; }
.upsell-strip { margin-top: 50px; }
.upsell-strip h3 { font-size: 1.5rem; margin-bottom: 6px; }
.upsell-strip > p { color: var(--ink-soft); font-weight: 300; margin-bottom: 22px; }
.upsell-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }

/* checkout form bits */
.field-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 12px 0 6px; display: block; font-weight: 500; }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.adm-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100dvh; }
.adm-side { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 26px 18px; display: flex; flex-direction: column; gap: 6px; }
.adm-side img { height: 64px; width: auto; object-fit: contain; margin: 0 auto 18px; }
.adm-nav-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; font-size: .94rem; font-weight: 500; color: var(--ink-soft); transition: all .25s; text-align: left; width: 100%; }
.adm-nav-btn:hover { background: var(--surface-solid); color: var(--ink); }
.adm-nav-btn.active { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px -8px var(--glow-accent); }
.adm-main { padding: 34px 40px; max-width: 1060px; }
.adm-main h1 { font-size: 1.9rem; margin-bottom: 4px; }
.adm-sub { color: var(--ink-soft); margin-bottom: 28px; font-weight: 300; }
.adm-card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 26px; margin-bottom: 22px; }
.adm-card h3 { font-size: 1.2rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.adm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.adm-field label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; display: block; margin-bottom: 6px; }
.adm-field input, .adm-field select, .adm-field textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); outline: none; transition: border-color .25s, box-shadow .25s;
}
.adm-field input:focus, .adm-field textarea:focus { border-color: var(--lavender); box-shadow: 0 0 0 4px var(--glow-accent); }
.adm-field { margin-bottom: 14px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.adm-table th { text-align: left; padding: 10px 12px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.adm-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table tr:hover td { background: var(--bg-tint); }
.adm-mini { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.adm-mini svg { width: 58%; }
.adm-act { padding: 7px 10px; border-radius: 10px; font-size: .86rem; transition: all .2s; }
.adm-act.edit:hover { background: var(--bg-soft); }
.adm-act.del:hover { background: #FBE3EA; color: #C25B74; }
.adm-pill { font-size: .68rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.adm-pill.new { background: #EDE6F8; color: #7B66A8; }
.adm-pill.preloved { background: var(--mint); color: #2E6B4F; }
[data-theme="dark"] .adm-pill.new { background: rgba(201,184,232,.16); }
[data-theme="dark"] .adm-pill.preloved { background: rgba(203,234,217,.14); }
.adm-login { min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.adm-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; gap: 14px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 10px; }
  .look-card { grid-template-columns: 1fr; }
  .cart-page-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pv-grid { grid-template-columns: 1fr; }
  .pv-art { border-radius: 28px 28px 0 0; min-height: 260px; }
  .adm-shell { grid-template-columns: 1fr; }
  .adm-side { flex-direction: row; overflow-x: auto; align-items: center; padding: 12px; }
  .adm-side img { height: 40px; margin: 0 10px 0 0; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
  .cart-row { grid-template-columns: 56px 1fr auto; }
  .cart-row .row-sub { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-stats { gap: 20px; }
  .adm-main { padding: 22px 16px; }
  .adm-grid-2 { grid-template-columns: 1fr; }
  .brand img { height: 46px; }

  /* price row and bundle visuals stay inside small cards */
  .price-row { flex-wrap: wrap; row-gap: 4px; }
  .look-visual { gap: 6px; padding: 22px 12px; min-height: 220px; }
  .look-visual .look-item { width: 76px; height: 76px; border-radius: 16px; flex-shrink: 0; }
  .look-visual .plus { font-size: 1.05rem; }

  /* compact top bar: everything fits a 360px screen with room to breathe */
  .nav-inner { gap: 8px; padding: 8px 0; }
  .nav-actions { gap: 5px; }
  .icon-btn { width: 37px; height: 37px; font-size: .95rem; }
  .brand-text { display: none; }            /* the logo speaks for itself on phones */
  .user-chip { padding: 0; width: 37px; height: 37px; justify-content: center; border-radius: 50%; }
  .user-chip span { display: none; }        /* icon-only sign-in on phones */
  .cookie-bar { padding: 14px 16px; }
  .to-top { width: 40px; height: 40px; bottom: 78px; }
}

/* ============================================================
   NEON FINISHING TOUCHES
   ============================================================ */
.lang-btn { font-weight: 700; font-size: .92rem; font-family: var(--font-body); }
.badge { box-shadow: 0 4px 14px rgba(0,0,0,.08), 0 0 14px -4px var(--neon-glow-2); }
.look-card { transition: box-shadow .35s ease, transform .35s ease; }
.look-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 34px -6px var(--neon-glow-2), 0 0 60px -14px var(--neon-glow-3);
}
.bundle-save { animation: glowPulse 3.6s ease-in-out infinite; }
.social-btn:hover svg { fill: var(--neon-2); }
.social-btn:hover { box-shadow: var(--shadow), 0 0 16px -2px var(--neon-glow-2); }
.icon-btn:hover { box-shadow: var(--shadow), 0 0 14px -2px var(--neon-glow-1); }
.quote-ava { box-shadow: 0 0 14px -2px var(--neon-glow-2); }
.summary-card {
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    var(--grad-neon) border-box;
  border: 1.5px solid transparent;
}
.auth-input:focus, .adm-field input:focus, .adm-field textarea:focus {
  border-color: var(--neon-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--neon-2) 22%, transparent), 0 0 14px -4px var(--neon-glow-2);
}
@media (prefers-reduced-motion: reduce) {
  body::after, .script, .hero h1, .section-head h2, .btn-primary, .add-btn,
  .ribbon, .cat-pill.active, .gift-fill, .stock-fill, .wa-btn, .hero-blob,
  .hero-logo-card, .orb, .cart-count, .bundle-save { animation: none !important; }
}

/* ============================================================
   TOUCH-FIRST INTERACTIONS — instant taps, no sticky hovers
   ============================================================ */
a, button, input, select, .card, .cat-tile { touch-action: manipulation; }
@media (hover: none) {
  /* hover lifts feel like lag on touch — replace with instant press feedback */
  .card:hover, .btn:hover, .icon-btn:hover, .cat-tile:hover, .look-card:hover,
  .social-btn:hover, .add-btn:hover, .wish:hover, .pair-chip:hover, .qty button:hover,
  .recent-card:hover, .wa-btn:hover, .card-edit:hover, .to-top:hover,
  .foot-links a:hover { transform: none; }
  .brand:hover img { transform: none; }
  .card:active, .cat-tile:active, .recent-card:active { transform: scale(.985); transition-duration: .08s; }
  .btn:active, .add-btn:active, .wa-btn:active, .icon-btn:active { transform: scale(.96); transition-duration: .08s; }
}

/* ============================================================
   MOBILE POWER-SAVER — phones get the neon look without the
   continuous GPU work that causes jank on weaker devices
   ============================================================ */
@media (max-width: 768px) {
  :root, [data-theme="dark"] {
    /* tighter shadows paint dramatically faster on phone GPUs */
    --shadow: 0 10px 22px -12px rgba(60, 40, 90, .3);
    --shadow-soft: 0 5px 12px -7px rgba(60, 40, 90, .22);
  }
  body::after { animation: none; opacity: calc(var(--aurora-opacity) * .75); }
  .add-btn, .cat-pill.active, .cart-count, .stock-fill, .gift-fill,
  .bundle-save, .wa-btn, .script, .hero h1, .section-head h2, .btn-primary { animation: none; }
  .btn-primary { box-shadow: 0 10px 24px -8px var(--neon-glow-2); }
  .script, .hero h1, .section-head h2 { filter: none; }
  /* Fallback: some mobile browsers fail gradient text-clip and render it invisible.
     Force a solid, readable fill on phones so headings/hero text never disappear. */
  .hero h1, .section-head h2, .script, .neon-text {
    background: none !important;
    -webkit-background-clip: border-box !important; background-clip: border-box !important;
    color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  }
  /* blur + animated border-radius repaint every frame — phones skip both */
  .hero-blob { filter: none; animation: none; opacity: .65; }
  .hero-logo-card { animation: floaty 7s ease-in-out infinite; box-shadow: var(--shadow); }
  .orb { animation: floaty 6s ease-in-out infinite; box-shadow: var(--shadow-soft); }
  .ribbon { animation-duration: 18s; }
  /* backdrop-filter is the #1 scroll-jank source on Android — none on mobile */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 95%, transparent); }
  .badge, .wish, .card-edit, .search-bar, .drawer-veil, .modal-veil { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .orb, .hero-logo-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* below-the-fold sections render only when scrolled near — huge first-paint win */
.cv { content-visibility: auto; contain-intrinsic-size: auto 800px; }

/* ============================================================
   COLLECTION VIEWS (sections load on demand, SPA-style)
   ============================================================ */
.view { animation: viewIn .35s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
.coll-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.coll-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.coll-head .coll-count { color: var(--ink-soft); font-size: .9rem; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .9rem; font-weight: 500; margin-bottom: 14px; transition: color .2s; }
.back-link:hover { color: var(--ink); }
.coll-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.sort-select {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-solid); color: var(--ink); font-size: .88rem; outline: none; cursor: pointer;
}

/* category tiles on home */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.cat-tile {
  position: relative; border-radius: var(--radius); padding: 26px 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft); text-align: center;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 22px -6px var(--neon-glow-2); }
.cat-tile .tile-icon { font-size: 2rem; filter: drop-shadow(0 6px 12px rgba(80,60,110,.25)); }
.cat-tile b { font-family: var(--font-display); font-size: 1.15rem; color: #41364E; }
.cat-tile span { font-size: .78rem; color: rgba(65,54,78,.75); }
[dir="rtl"] .cat-tile b { font-family: var(--font-display-ar); }

/* search */
.search-wrap { position: relative; }
.search-bar {
  display: none; padding: 12px 0; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px);
}
.search-bar.open { display: block; }
.search-input {
  width: 100%; padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface-solid); font-size: 1rem; outline: none; transition: border-color .25s, box-shadow .25s;
}
.search-input:focus { border-color: var(--neon-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--neon-2) 18%, transparent); }

/* recently viewed strip */
.recent-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 170px); gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.recent-card { border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-soft); cursor: pointer; transition: transform .25s; }
.recent-card:hover { transform: translateY(-4px); }
.recent-card .r-art { aspect-ratio: 1/.75; display: grid; place-items: center; }
.recent-card .r-art svg { width: 38%; }
.recent-card b { display: block; font-size: .8rem; padding: 8px 10px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* scroll to top */
.to-top {
  position: fixed; bottom: 84px; inset-inline-start: 20px; z-index: 120;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s ease; font-size: 1.1rem;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { box-shadow: var(--shadow), 0 0 16px -3px var(--neon-glow-1); }

/* cookie consent */
.cookie-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(20px);
  width: min(680px, calc(100vw - 28px)); z-index: 140; padding: 18px 22px; border-radius: 20px;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    var(--grad-neon) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow), 0 0 26px -6px var(--neon-glow-2);
  opacity: 0; transition: opacity .4s ease, transform .4s ease;
}
.cookie-bar.show { opacity: 1; transform: translateX(-50%); }
.cookie-bar p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; }
.cookie-bar .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 10px 20px; font-size: .88rem; }

/* skeleton shimmer (perceived speed while views build) */
.skel { border-radius: var(--radius); background: var(--bg-soft); position: relative; overflow: hidden; min-height: 290px; }
.skel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--surface-solid) 60%, transparent) 50%, transparent 70%);
  animation: skelSweep 1.1s linear infinite;
}
@keyframes skelSweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* wishlist count bubble reuses .cart-count */
.wish-on { color: #E0309F; }

/* ============================================================
   ROOT MODE & USER ANALYTICS
   ============================================================ */
.root-bar {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 130;
  display: flex; gap: 14px; align-items: center; padding: 10px 18px; border-radius: 999px;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    var(--grad-neon) border-box;
  border: 1.5px solid transparent; font-size: .9rem;
  box-shadow: var(--shadow), 0 0 18px -4px var(--neon-glow-2);
}
.root-bar a { color: var(--neon-2); font-weight: 600; }
.root-bar a:hover { text-decoration: underline; }
.root-bar button { color: var(--ink-faint); font-size: .85rem; }
.card-edit {
  position: absolute; top: 56px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.88); display: grid; place-items: center; font-size: .82rem;
  backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.card-edit:hover { transform: scale(1.16) rotate(-8deg); }
[dir="rtl"] .card-edit { right: auto; left: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card {
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-soft);
}
.stat-card b { font-size: 1.5rem; font-family: var(--font-display); display: block; line-height: 1.2; }
.stat-card span { font-size: .76rem; color: var(--ink-soft); letter-spacing: .04em; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2BE88A;
  box-shadow: 0 0 8px #2BE88A; margin-inline-end: 6px; animation: pulse 2s infinite;
}
.perm-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.perm-chip {
  display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); font-size: .85rem; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.perm-chip:has(input:checked) { border-color: var(--neon-2); box-shadow: 0 0 10px -3px var(--neon-glow-2); }
.perm-chip input { accent-color: #A855F7; cursor: pointer; }
.role-pill { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.role-pill.member { background: var(--bg-soft); color: var(--ink-soft); }
.role-pill.staff { background: linear-gradient(120deg, #F7E7C3, #F2D9A4); color: #8A6A1F; }
[data-theme="dark"] .role-pill.staff { background: rgba(200,162,75,.2); color: #E8C97B; }

/* ============================================================
   ARABIC / RTL LAYER — flips the boutique gracefully
   ============================================================ */
[dir="rtl"] body, [dir="rtl"] button, [dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea {
  font-family: var(--font-body-ar); letter-spacing: 0;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--font-display-ar); line-height: 1.45; }
[dir="rtl"] .script { font-family: var(--font-script-ar); font-size: .88em; }
[dir="rtl"] .section-head .script { font-size: 1.55rem; }
[dir="rtl"] .price, [dir="rtl"] .hero-stat b { font-family: var(--font-body-ar); font-weight: 700; }
[dir="rtl"] .hero h1 { line-height: 1.5; font-weight: 700; }
[dir="rtl"] .hero-eyebrow, [dir="rtl"] .brand-tag, [dir="rtl"] .card-cond,
[dir="rtl"] .auth-div, [dir="rtl"] .field-label, [dir="rtl"] .badge,
[dir="rtl"] .pairs h4, [dir="rtl"] .adm-field label, [dir="rtl"] .adm-table th { letter-spacing: 0; }
[dir="rtl"] .brand-text { direction: ltr; text-align: left; }
[dir="rtl"] .drawer {
  right: auto; left: 0; transform: translateX(-105%);
  border-left: none; border-right: 1px solid var(--line);
  box-shadow: 20px 0 60px rgba(0,0,0,.18);
}
[dir="rtl"] .drawer.open { transform: none; }
[dir="rtl"] .pv-story { border-left: none; border-right: 3px solid var(--neon-2); padding-left: 0; padding-right: 14px; }
[dir="rtl"] .foot-links a:hover { transform: translateX(-4px); }
[dir="rtl"] .quote-card::before { right: auto; left: 20px; }
[dir="rtl"] .modal-close { right: auto; left: 16px; }
[dir="rtl"] .wish { right: auto; left: 12px; }
[dir="rtl"] .badge { left: auto; right: 14px; }
[dir="rtl"] .cart-count { right: auto; left: -4px; }
[dir="rtl"] .toast-zone { left: auto; right: 24px; }
[dir="rtl"] .pv-art { border-radius: 0 28px 28px 0; }
[dir="rtl"] .ribbon-track { animation-direction: reverse; }
@media (max-width: 960px) {
  [dir="rtl"] .pv-art { border-radius: 28px 28px 0 0; }
}
