/* ═══════════════════════════════════════════════════════
   ATHLETE AVENUE v7 — Premium Design System
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:          #030305;
  --bg-2:        #08080d;
  --panel:       rgba(255,255,255,0.052);
  --panel-mid:   rgba(255,255,255,0.08);
  --panel-high:  rgba(255,255,255,0.12);
  --line:        rgba(255,255,255,0.13);
  --line-soft:   rgba(255,255,255,0.07);
  --text:        #f0ede4;
  --muted:       rgba(240,237,228,0.62);
  --soft:        rgba(240,237,228,0.40);
  --yellow:      #f6df62;
  --yellow-dim:  rgba(246,223,98,0.15);
  --yellow-glow: rgba(246,223,98,0.22);
  --red:         #e33b35;
  --green:       #5dcea5;
  --shadow-sm:   0 4px 20px rgba(0,0,0,0.38);
  --shadow-md:   0 12px 44px rgba(0,0,0,0.48);
  --shadow-lg:   0 24px 72px rgba(0,0,0,0.60);
  --shadow-xl:   0 40px 100px rgba(0,0,0,0.72);
  --r-xs:   8px;
  --r-sm:   14px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-xl:   38px;
  --r-2xl:  48px;
  --r-pill: 999px;
  --max: 1200px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── LIGHT / DARK THEME SYSTEM ─── */
:root[data-theme="light"] {
  --bg:          #ffffff;
  --bg-2:        #f7f7f4;
  --panel:       rgba(0,0,0,0.045);
  --panel-mid:   rgba(0,0,0,0.075);
  --panel-high:  rgba(0,0,0,0.11);
  --line:        rgba(0,0,0,0.14);
  --line-soft:   rgba(0,0,0,0.08);
  --text:        #070707;
  --muted:       rgba(7,7,7,0.66);
  --soft:        rgba(7,7,7,0.42);
  --yellow:      #f6df62;
  --yellow-dim:  rgba(246,223,98,0.28);
  --yellow-glow: rgba(246,223,98,0.22);
  --shadow-sm:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-md:   0 12px 44px rgba(0,0,0,0.10);
  --shadow-lg:   0 24px 72px rgba(0,0,0,0.14);
  --shadow-xl:   0 40px 100px rgba(0,0,0,0.16);
}

/* ─── LIGHT THEME COMPONENT OVERRIDES ─── */
[data-theme="light"] .product-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  border-color: rgba(0,0,0,0.14);
}
[data-theme="light"] .product-image {
  background: #f6f5f2;
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .product-image::before { display: none; }
[data-theme="light"] .collection-section,
[data-theme="light"] .browse-section { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .trust-card,
[data-theme="light"] .how-step,
[data-theme="light"] .brand-card { background: #ffffff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .main-header { background: rgba(255,255,255,0.88); border-color: rgba(0,0,0,0.10); }

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--yellow); color: #000; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.26); }

/* ─── LAYOUT ─── */
.site-shell { position: relative; min-height: 100vh; overflow: hidden; }
.section-pad { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 96px 0; }
.compact-pad { padding: 32px 0; }

/* ─── PAGE LOADER ─── */
.page-loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo {
  width: 60px; height: 60px; object-fit: contain;
  margin: 0 auto 20px;
  animation: loaderPulse 1.4s ease-in-out infinite;
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,255,255,0.3));
}
[data-theme="light"] .loader-logo {
  filter: brightness(0) drop-shadow(0 0 10px rgba(0,0,0,0.12));
}
.loader-track { width: 180px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin: 0 auto 14px; }
.loader-fill { height: 100%; background: linear-gradient(90deg, var(--yellow), var(--red)); border-radius: 2px; animation: loaderBar 1.2s var(--ease) forwards; }
.loader-text { color: var(--soft); font-size: 0.66rem; letter-spacing: 0.32em; font-weight: 800; }
@keyframes loaderPulse { 0%,100% { opacity:0.6; transform:scale(0.94); } 50% { opacity:1; transform:scale(1.06); } }
@keyframes loaderBar { from { width:0; } to { width:100%; } }

/* ─── AMBIENT BACKGROUND ─── */
.ambient-bg {
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none; overflow: hidden;
  background: var(--bg);
}
#bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.ambient-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.orb-1 { width: 700px; height: 700px; top: -250px; right: -180px; background: radial-gradient(circle, rgba(246,223,98,0.09), transparent 65%); animation: orbFloat 18s ease-in-out infinite; }
.orb-2 { width: 600px; height: 600px; bottom: -200px; left: -160px; background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 65%); animation: orbFloat 22s ease-in-out infinite reverse; }
.orb-3 { width: 400px; height: 400px; top: 40%; left: 40%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(227,59,53,0.06), transparent 65%); animation: orbFloat 16s ease-in-out infinite 4s; }
.grid-floor { position: absolute; inset: auto 0 0 0; height: 45vh; background: linear-gradient(to top, rgba(246,223,98,0.025), transparent); transform: perspective(500px) rotateX(68deg); transform-origin: bottom; opacity: 0.3; }
.depth-slab { position: absolute; border: 1px solid rgba(255,255,255,0.07); box-shadow: inset 0 0 60px rgba(255,255,255,0.018), 0 30px 80px rgba(0,0,0,0.5); border-radius: 30px; }
.slab-1 { width: 300px; height: 200px; right: 7%; top: 20%; transform: rotate(-10deg) skewY(-6deg); animation: slabDrift 13s ease-in-out infinite; }
.slab-2 { width: 240px; height: 150px; left: 5%; top: 55%; transform: rotate(12deg) skewY(5deg); animation: slabDrift 16s ease-in-out infinite reverse; }
.depth-ring { position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -130px; bottom: 12%; border: 1px solid rgba(255,255,255,0.06); opacity: 0.32; animation: spinSlow 32s linear infinite; }

/* ─── HEADER ─── */
.main-header {
  position: sticky; top: 14px; z-index: 50;
  width: min(var(--max), calc(100% - 28px)); margin: 14px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--r-pill);
  background: rgba(5,5,8,0.80); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.main-header.is-scrolled { border-color: var(--line); box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08); }
.brand-mark { display: inline-flex; align-items: center; gap: 0; }
.brand-logo-wrap {
  width: 98px; height: 64px; display: grid; place-items: center;
  border-radius: 16px; background: #ecebe6; border: 1px solid rgba(17,17,17,0.08);
  padding: 0; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.brand-logo-wrap img { width: 100%; height: 100%; object-fit: contain; filter: none; }
.brand-logo-symbol { display: none !important; }
.brand-name { display: none !important; }
.brand-name em { display: block; font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { color: var(--muted); padding: 9px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.88rem; transition: color 0.22s, background 0.22s; }
.desktop-nav a:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  border-radius: var(--r-pill); padding: 9px 14px; font-weight: 600; font-size: 0.84rem;
  transition: color 0.2s, background 0.2s, transform 0.2s var(--spring), border-color 0.2s;
}
.icon-btn:hover { color: var(--text); background: var(--panel-mid); transform: translateY(-1px); }
.cart-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: var(--r-pill); padding: 7px 8px 7px 14px; font-weight: 700; font-size: 0.88rem;
  transition: background 0.2s, transform 0.2s var(--spring), box-shadow 0.3s;
}
.cart-pill strong { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--yellow); color: #080808; font-size: 0.78rem; font-weight: 900; transition: transform 0.2s var(--spring); }
.cart-pill:hover { background: var(--panel-mid); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cart-pill:hover strong { transform: scale(1.12); }
.mobile-menu-btn { width: 40px; height: 40px; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; transition: background 0.2s; }
.mobile-menu-btn span { width: 16px; height: 2px; background: var(--text); border-radius: 4px; transition: transform 0.25s var(--ease), opacity 0.25s; }
.mobile-menu-btn:hover { background: var(--panel-mid); }
.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel */
.mobile-panel {
  position: fixed; top: 78px; left: 12px; right: 12px; z-index: 40;
  display: none; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: rgba(8,8,14,0.98); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.mobile-panel.is-open { display: flex; animation: mobileIn 0.28s var(--spring) both; }
.mobile-panel nav { display: flex; flex-direction: column; padding: 12px; gap: 3px; }
.mobile-panel nav a { color: var(--muted); padding: 14px 16px; border-radius: var(--r-md); font-weight: 700; font-size: 1rem; transition: color 0.2s, background 0.2s; }
.mobile-panel nav a:hover { color: var(--text); background: var(--panel); }
.mobile-panel-footer { padding: 14px 16px; border-top: 1px solid var(--line-soft); }
.mobile-panel-footer p { color: var(--soft); font-size: 0.78rem; margin: 0; }
@keyframes mobileIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

/* ─── EYEBROW ─── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.2em; font-weight: 800; }
.eyebrow-line { width: 28px; height: 2px; border-radius: 4px; background: linear-gradient(90deg, var(--yellow), var(--red)); flex-shrink: 0; }

/* ─── HERO ─── */
.hero-section { min-height: calc(100vh - 90px); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,1fr); align-items: center; gap: 60px; padding-top: 80px; }
h1 { font-size: clamp(3.4rem, 8.5vw, 7.2rem); line-height: 0.88; letter-spacing: -0.065em; text-transform: uppercase; margin-bottom: 22px; font-weight: 900; }
.h1-line { display: block; }
.h1-accent { background: linear-gradient(135deg, var(--yellow) 0%, #e8c43e 50%, var(--yellow) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4.8rem); line-height: 0.92; letter-spacing: -0.055em; text-transform: uppercase; margin-bottom: 14px; font-weight: 900; }
h3 { margin-bottom: 8px; font-weight: 800; }
.hero-text { color: var(--muted); max-width: 560px; font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

/* Buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 15px 26px;
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.01em;
  transition: transform 0.22s var(--spring), box-shadow 0.3s, background 0.22s, border-color 0.22s;
  position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 70%); opacity: 0; transition: opacity 0.3s; }
.btn:hover::after { opacity: 1; }
.btn-primary { background: var(--text); color: #080808; border-color: var(--text); box-shadow: 0 0 0 4px var(--yellow-dim); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(246,223,98,0.2), 0 0 0 4px var(--yellow-glow); }
.btn-ghost { background: var(--panel); color: var(--text); }
.btn-ghost:hover { background: var(--panel-mid); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.full { width: 100%; }

/* Hero stats */
.hero-stats { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 22px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--panel); max-width: 520px; }
.stat-item strong { display: block; font-size: 1.55rem; line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.stat-item span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.stat-sep { width: 1px; height: 36px; background: var(--line-soft); }

/* Hero visual / 3D stage */
.hero-visual { display: grid; place-items: center; perspective: 1100px; padding: 20px 0; }
.hero-stage {
  position: relative; width: min(100%, 540px); aspect-ratio: 9/11;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-2xl);
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(246,223,98,0.06), transparent),
              linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 80px rgba(246,223,98,0.04);
  transform-style: preserve-3d; animation: stageFloat 11s ease-in-out infinite; overflow: hidden;
}
.hero-stage::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,0.07); border-radius: calc(var(--r-2xl) - 10px); pointer-events: none; }
.stage-ambient { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(246,223,98,0.04), transparent 70%); pointer-events: none; }
.stage-rings { position: absolute; inset: 0; pointer-events: none; }
.s-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); }
.sr-1 { inset: 15%; animation: spinRing 25s linear infinite; }
.sr-2 { inset: 25%; border-color: rgba(246,223,98,0.07); animation: spinRing 35s linear infinite reverse; }
.sr-3 { inset: 35%; border-color: rgba(227,59,53,0.05); animation: spinRing 20s linear infinite 5s; }
.logo-orbit {
  position: absolute; width: 130px; height: 130px;
  left: calc(50% - 65px); top: calc(50% - 65px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 32px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.48), inset 0 0 30px rgba(255,255,255,0.04), 0 0 40px rgba(246,223,98,0.06);
  transform: translateZ(80px);
}
.logo-orbit img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255,255,255,0.3)); animation: spinLogo 20s ease-in-out infinite; }
.hero-product {
  position: absolute; width: 148px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg); padding: 10px;
  background: rgba(6,6,10,0.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  transform-style: preserve-3d;
}
.hero-product img { width: 100%; aspect-ratio: 4/5; object-fit: contain; border-radius: 18px; background: #ffffff; }
.hero-product span { display: block; margin-top: 8px; font-weight: 900; font-size: 0.76rem; letter-spacing: 0.04em; }
.hp-1 { right: 18px; top: 38px; transform: translateZ(70px) rotate(5deg); }
.hp-2 { left: 18px; bottom: 32px; transform: translateZ(90px) rotate(-7deg); }
.hp-3 { left: 50%; top: 18px; transform: translateX(-50%) translateZ(40px) rotate(2deg); width: 120px; opacity: 0.72; }
.f-shape { position: absolute; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent); }
.fs-a { width: 80px; height: 80px; left: 44px; top: 58px; transform: translateZ(28px) rotate(16deg); }
.fs-b { width: 64px; height: 64px; right: 72px; bottom: 90px; transform: translateZ(36px) rotate(-40deg); border-color: rgba(246,223,98,0.22); }
.fs-c { width: 100px; height: 32px; left: 50%; bottom: 36px; transform: translateX(-50%) translateZ(30px); border-color: rgba(227,59,53,0.18); }
.fs-d { width: 48px; height: 48px; right: 28px; bottom: 50%; transform: translateZ(22px) rotate(30deg); border-color: rgba(255,255,255,0.06); }
.stage-floor { position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(to top, rgba(246,223,98,0.04), transparent); transform: perspective(300px) rotateX(55deg); transform-origin: bottom; opacity: 0.5; }

/* ─── TRUST ─── */
.trust-section { padding-top: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.trust-card {
  border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: 28px 24px;
  background: var(--panel); box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--spring), border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.trust-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 100%, rgba(246,223,98,0.05), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.trust-card:hover { transform: translateY(-5px) perspective(600px) rotateX(2deg); border-color: var(--line); box-shadow: 0 28px 70px rgba(0,0,0,0.45); }
.trust-card:hover::before { opacity: 1; }
.tc-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--panel); color: var(--yellow); margin-bottom: 16px; }
.tc-num { color: var(--yellow); font-size: 0.78rem; letter-spacing: 0.06em; font-weight: 900; display: block; margin-bottom: 10px; }
.trust-card h2 { font-size: 1.15rem; letter-spacing: -0.025em; margin-bottom: 8px; text-transform: none; font-weight: 800; }
.trust-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ─── BRANDS ─── */
.brand-section { padding-top: 0; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.brand-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: 36px; min-height: 260px;
  border: 1px solid var(--line-soft); border-radius: var(--r-2xl);
  background: var(--panel); box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--spring), border-color 0.3s, box-shadow 0.3s;
}
.brand-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.04)); opacity: 0; transition: opacity 0.3s; }
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 32px 80px rgba(0,0,0,0.5); }
.brand-card:hover::after { opacity: 1; }
.youngla-card { border-bottom: 2px solid rgba(246,223,98,0.45); }
.youngla-card:hover { border-bottom-color: rgba(246,223,98,0.7); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(246,223,98,0.06); }
.gymshark-card { border-bottom: 2px solid rgba(227,59,53,0.45); }
.gymshark-card:hover { border-bottom-color: rgba(227,59,53,0.7); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(227,59,53,0.06); }
.bc-num { font-size: 0.76rem; font-weight: 900; color: var(--muted); letter-spacing: 0.08em; }
.bc-name { font-size: clamp(2.4rem, 5.5vw, 5.2rem); font-weight: 900; letter-spacing: -0.06em; text-transform: uppercase; line-height: 0.9; }
.bc-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 380px; margin-top: auto; }
.bc-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.85rem; margin-top: 6px; transition: gap 0.22s var(--spring); }
.brand-card:hover .bc-cta { gap: 14px; }
.bc-deco { position: absolute; width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.06); border-radius: 44px; right: -60px; bottom: -70px; transform: rotate(22deg); pointer-events: none; }

/* ─── HOW TO ORDER ─── */
.how-section { padding-top: 0; }
.how-header { margin-bottom: 36px; }
.how-header h2 { font-size: clamp(2rem, 4vw, 4rem); }
.how-steps { display: flex; align-items: center; gap: 14px; }
.how-step {
  flex: 1; padding: 28px 24px;
  border: 1px solid var(--line-soft); border-radius: var(--r-xl);
  background: var(--panel); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--spring), border-color 0.3s;
}
.how-step:hover { transform: translateY(-4px); border-color: var(--line); }
.hs-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--panel); color: var(--yellow); margin-bottom: 14px; }
.hs-num { display: block; color: var(--yellow); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; margin-bottom: 8px; }
.how-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; margin: 0; }
.how-connector { color: rgba(255,255,255,0.18); flex-shrink: 0; }

/* ─── BROWSE ─── */
.browse-section {
  border: 1px solid var(--line-soft); border-radius: var(--r-2xl);
  background: var(--panel); box-shadow: var(--shadow-md);
  padding: 28px 32px !important;
  width: min(var(--max), calc(100% - 40px)); margin: 0 auto;
}
.browse-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; margin-bottom: 18px; }
.browse-copy h2 { font-size: clamp(1.7rem, 3.5vw, 3.2rem); }
.filter-bar { display: grid; grid-template-columns: 1fr 160px 200px; gap: 10px; align-items: center; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 14px; color: var(--soft); pointer-events: none; }
.search-field input { padding-left: 40px !important; }
.filter-bar input, .filter-bar select, .checkout-form input, .checkout-form textarea, .modal-copy input, .editor-form input, .editor-form select, .editor-form textarea, .editor-toolbar input, .editor-toolbar select {
  width: 100%; border: 1px solid var(--line); background: rgba(0,0,0,0.38); color: var(--text); border-radius: var(--r-md); padding: 13px 15px; outline: none; transition: border-color 0.22s, box-shadow 0.22s;
}
.filter-bar input:focus, .filter-bar select:focus, input:focus, textarea:focus, select:focus { border-color: rgba(246,223,98,0.5); box-shadow: 0 0 0 4px rgba(246,223,98,0.08); }
select option { background: #0d0d12; }
.category-chips { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.category-chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: var(--r-pill); padding: 9px 16px; font-size: 0.83rem; font-weight: 700; cursor: pointer; transition: transform 0.2s var(--spring), background 0.2s, color 0.2s, border-color 0.2s; }
.category-chip:hover { transform: translateY(-1px); background: var(--panel-mid); color: var(--text); }
.category-chip.is-active { background: var(--yellow); color: #050505; border-color: var(--yellow); box-shadow: 0 4px 16px rgba(246,223,98,0.2); }

/* ─── COLLECTIONS ─── */
.collection-section {
  border: 1px solid var(--line-soft); border-radius: var(--r-2xl);
  background: var(--panel); box-shadow: var(--shadow-md);
  padding: 36px !important; width: min(var(--max), calc(100% - 40px)); margin: 0 auto 24px;
}
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.sh-copy p { color: var(--muted); font-size: 0.9rem; margin: 0; max-width: 460px; }

/* ─── PRODUCT GRID ─── */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.product-card {
  --tilt-x: 0deg; --tilt-y: 0deg; --gx: 50%; --gy: 50%;
  position: relative; border: 1px solid var(--line-soft); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease-out, box-shadow 0.3s, border-color 0.3s;
  will-change: transform;
  transform: perspective(700px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}
.product-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-xl); background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,0.09), transparent 55%); pointer-events: none; z-index: 3; opacity: 0; transition: opacity 0.3s; }
.product-card.is-tilted { box-shadow: 0 28px 70px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.2); }
.product-card.is-tilted::after { opacity: 1; }
.product-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.16); }
.product-image { position: relative; width: 100%; border: 0; border-bottom: 1px solid rgba(0,0,0,0.07); background: #ffffff; aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; padding: 0; cursor: pointer; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.product-image::before { content: ''; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(to top, rgba(6,6,10,0.22), transparent); pointer-events: none; z-index: 2; }
.product-card:hover .product-image img { transform: scale(1.045); }
.stock-badge { position: absolute; top: 10px; left: 10px; padding: 6px 10px; border-radius: var(--r-pill); font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(5,5,5,0.82); color: var(--text); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); }
.stock-badge.featured { left: auto; right: 10px; background: var(--yellow); color: #050505; border-color: transparent; }
.stock-badge.sold { background: var(--red); color: #fff; border-color: transparent; }
.product-info { padding: 14px; }
.product-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.product-meta span { border: 1px solid var(--line-soft); border-radius: var(--r-pill); color: var(--soft); font-size: 0.69rem; font-weight: 800; padding: 4px 9px; }
.product-info h3 { font-size: 0.94rem; line-height: 1.2; margin-bottom: 5px; font-weight: 800; min-height: 2.4em; }
.product-info p { color: var(--muted); font-size: 0.82rem; min-height: 1.2em; margin-bottom: 10px; }
.size-preview { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 13px; }
.size-preview span { min-width: 28px; height: 25px; display: grid; place-items: center; border-radius: var(--r-xs); background: rgba(255,255,255,0.07); color: var(--soft); font-size: 0.68rem; font-weight: 900; }
.product-bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.product-bottom > strong, .product-bottom .price-stack { align-self: center; }
.product-bottom strong { font-size: 1.08rem; font-weight: 900; letter-spacing: -0.02em; }
.price-stack { align-items: center !important; }
.add-btn { border: 1px solid var(--line); background: rgba(255,255,255,0.07); color: var(--text); border-radius: var(--r-pill); padding: 9px 22px; font-weight: 800; font-size: 0.78rem; transition: transform 0.2s var(--spring), background 0.2s, border-color 0.2s, box-shadow 0.2s; align-self: center; min-width: 60%; }
.add-btn:hover { background: var(--text); color: #050505; border-color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.add-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.add-btn[disabled]:hover { transform: none; background: rgba(255,255,255,0.07); border-color: var(--line); color: var(--text); box-shadow: none; }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #111; }
.product-placeholder strong { font-size: 2rem; }
.product-placeholder span { color: #555; font-weight: 800; font-size: 0.75rem; }
.empty-state { grid-column: 1/-1; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; color: var(--muted); background: var(--panel); font-size: 0.9rem; }
.collection-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 0.86rem; }
.collection-controls p { margin: 0; }
.collection-buttons { display: flex; gap: 9px; flex-wrap: wrap; }
.load-btn { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: var(--r-pill); padding: 11px 18px; font-weight: 800; font-size: 0.84rem; transition: transform 0.2s var(--spring), background 0.2s, border-color 0.2s; }
.load-btn:hover { background: var(--panel-mid); transform: translateY(-1px); }
.load-btn.accent { background: var(--yellow); border-color: var(--yellow); color: #050505; }
.load-btn.accent:hover { box-shadow: 0 8px 28px rgba(246,223,98,0.22); }

/* ─── FOOTER ─── */
.main-footer { border-top: 1px solid var(--line-soft); margin-top: 24px; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 52px 0 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0.1em; font-size: 0.78rem; margin-bottom: 14px; }
.footer-brand img { width: 108px; height: auto; max-height: none; object-fit: contain; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.24); filter: brightness(0) invert(1); }
[data-theme="light"] .footer-brand img { filter: brightness(0); }
.footer-brand-col p { color: var(--muted); font-size: 0.88rem; max-width: 300px; line-height: 1.65; margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-links h4 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); margin-bottom: 16px; font-weight: 800; }
.footer-links a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 18px 0 32px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--soft); font-size: 0.78rem; margin: 0; }
.footer-admin-link { display: block; color: var(--soft); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; opacity: 0.5; }
.footer-admin-link:hover { color: var(--muted); opacity: 1; }
.footer-orders-link { display: block; border: none; background: none; text-align: left; padding: 0; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; cursor: pointer; transition: color 0.2s; }
.footer-orders-link:hover { color: var(--text); }

/* ─── SEARCH OVERLAY ─── */
.search-overlay { position: fixed; inset: 0; z-index: 80; display: none; place-items: start center; padding: 100px 20px; background: rgba(0,0,0,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.search-overlay.is-open { display: grid; }
.search-box { width: min(700px, 100%); position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: rgba(8,8,14,0.98); padding: 28px; box-shadow: var(--shadow-xl); }
.search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font-size: clamp(1.4rem, 5vw, 2.8rem); padding: 6px 0 16px; outline: none; font-weight: 700; }
.close-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 12px; transition: background 0.2s, color 0.2s, transform 0.2s var(--spring); }
.close-btn:hover { background: var(--panel-mid); color: var(--text); transform: scale(1.08); }
.search-box .close-btn { position: absolute; right: 20px; top: 20px; }

/* ─── CART DRAWER ─── */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 55; opacity: 0; pointer-events: none; transition: opacity 0.28s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; z-index: 70; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: rgba(6,6,10,0.99); border-left: 1px solid var(--line); padding: 24px; transform: translateX(100%); transition: transform 0.3s var(--ease-out); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.cart-head h3 { font-size: 2rem; letter-spacing: -0.05em; font-weight: 900; }
.cart-items { display: flex; flex-direction: column; gap: 11px; overflow: auto; padding-right: 4px; flex: 1; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 10px; background: var(--panel); transition: border-color 0.2s; }
.cart-line:hover { border-color: var(--line); }
.cart-thumb { width: 72px; height: 86px; border-radius: 14px; background: #f5f4f0; color: #111; display: grid; place-items: center; font-weight: 900; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line h4 { margin: 0 0 4px; font-size: 0.92rem; font-weight: 800; line-height: 1.2; }
.cart-line p { color: var(--muted); margin-bottom: 8px; font-size: 0.8rem; }
.cart-line > strong { font-size: 0.94rem; margin-top: 4px; font-weight: 900; }
.qty-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.qty-row button { border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: var(--text); border-radius: var(--r-pill); min-width: 44px; height: 44px; padding: 0 9px; font-weight: 800; font-size: 0.9rem; transition: background 0.2s, transform 0.15s var(--spring); }
.qty-row button:hover { background: var(--panel-mid); transform: scale(1.1); }
.checkout-form { border-top: 1px solid var(--line-soft); padding-top: 18px; margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.checkout-form label, .modal-copy label, .editor-form label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; }
.checkout-form textarea, .editor-form textarea { min-height: 78px; resize: vertical; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.cart-total span { color: var(--muted); font-size: 0.88rem; }
.cart-total strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.04em; }
.wa-btn { gap: 10px; background: #25D366; border-color: #1ea952; color: #fff; box-shadow: 0 4px 18px rgba(37,211,102,0.28); }
.wa-btn:hover { background: #20bd5a; border-color: #1a9e48; box-shadow: 0 8px 28px rgba(37,211,102,0.42); }
.empty-state.cart-empty { border-radius: var(--r-lg); text-align: center; }

/* ─── CHECKOUT 2-COL ROW ─── */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ─── PRODUCT MODAL ─── */
.product-modal { width: min(960px, calc(100% - 28px)); border: 1px solid var(--line); border-radius: var(--r-2xl); background: #080810; color: var(--text); padding: 0; box-shadow: var(--shadow-xl); }
.product-modal::backdrop { background: rgba(0,0,0,0.78); backdrop-filter: blur(12px); }
.modal-close { position: absolute; right: 18px; top: 18px; z-index: 2; }
.modal-grid { display: grid; grid-template-columns: 0.92fr 1fr; }
.modal-art { min-height: 580px; display: grid; place-items: center; background: #ffffff; border-radius: calc(var(--r-2xl) - 1px) 0 0 calc(var(--r-2xl) - 1px); overflow: hidden; }
.modal-art img { width: 100%; height: 100%; max-height: 660px; object-fit: contain; }
.modal-copy { padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-meta span { border: 1px solid var(--line-soft); border-radius: var(--r-pill); color: var(--muted); font-size: 0.72rem; font-weight: 800; padding: 5px 10px; }
.modal-copy h3 { font-size: clamp(2rem, 5vw, 4rem); line-height: 0.92; letter-spacing: -0.055em; text-transform: uppercase; margin-bottom: 0; font-weight: 900; }
.modal-copy p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.modal-price { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.04em; }
.modal-specs { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.modal-specs span { border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; font-size: 0.8rem; }
.modal-specs strong { color: var(--text); font-weight: 800; }
.option-label { color: var(--muted); display: block; font-weight: 800; font-size: 0.82rem; margin-bottom: 8px; }
.modal-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-size { min-width: 46px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); background: var(--panel); font-weight: 900; font-size: 0.86rem; transition: transform 0.15s var(--spring), background 0.2s, border-color 0.2s; }
.modal-size:hover { transform: scale(1.06); background: var(--panel-mid); }
.modal-size.is-selected { background: var(--yellow); color: #050505; border-color: var(--yellow); box-shadow: 0 4px 16px rgba(246,223,98,0.22); }
.qty-label input { max-width: 140px; }

/* ─── EDITOR (keep functional) ─── */
.editor-body { background: #050505; }
.editor-shell { width: min(1380px, calc(100% - 28px)); margin: 0 auto; padding: 24px 0 52px; }
.editor-top { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; border:1px solid var(--line-soft); border-radius:var(--r-xl); background:var(--panel); padding:20px; margin-bottom:18px; }
.editor-top h1 { font-size:clamp(2.2rem,5vw,4.4rem); margin:18px 0 8px; }
.editor-top p { color:var(--muted); max-width:760px; margin-bottom:0; }
.editor-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; }
.editor-btn { padding:11px 14px; border:1px solid var(--line); background:var(--panel); color:var(--text); border-radius:var(--r-pill); font-weight:800; transition:.22s; cursor:pointer; }
.editor-btn:hover { background:var(--panel-mid); transform:translateY(-1px); }
.editor-btn.primary { background:var(--text); color:#050505; border-color:var(--text); }
.editor-btn.danger { background:rgba(227,59,53,.14); border-color:rgba(227,59,53,.42); color:#ffb2ad; }
.editor-btn.yellow { background:var(--yellow); color:#050505; border-color:var(--yellow); }
.editor-dashboard { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.editor-stat { border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:16px; background:var(--panel); }
.editor-stat strong { display:block; font-size:1.8rem; font-weight:900; }
.editor-stat span { color:var(--muted); font-size:.86rem; }
.editor-layout { display:grid; grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr); gap:18px; align-items:start; }
.editor-panel { padding:18px; border:1px solid var(--line-soft); border-radius:var(--r-xl); background:var(--panel); }
.editor-toolbar { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.editor-toolbar .toolbar-search { flex:1 1 180px; min-width:140px; }
.editor-toolbar select { flex:0 1 140px; min-width:120px; }
.editor-list { display:flex; flex-direction:column; gap:9px; max-height:700px; overflow:auto; padding-right:4px; }
.editor-row { display:grid; grid-template-columns:20px 28px 64px 1fr auto; gap:8px; align-items:center; border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:8px; background:rgba(255,255,255,.035); cursor:pointer; transition:.22s; }
.editor-row:hover { border-color:var(--line); background:var(--panel-mid); }
.editor-row.is-selected { border-color:rgba(246,223,98,.5); box-shadow:0 0 0 4px rgba(246,223,98,.06); }
.editor-thumb { width:64px; height:76px; border:1px solid rgba(0,0,0,0.07); border-radius:14px; padding:0; overflow:hidden; background:#ffffff; color:#111; }
.editor-thumb img { width:100%; height:100%; object-fit:contain; }
.editor-row-main { border:0; background:transparent; color:var(--text); text-align:left; padding:0; cursor:pointer; }
.editor-row-main strong { display:block; font-size:.92rem; line-height:1.15; font-weight:800; }
.editor-row-main small { color:var(--muted); }
.editor-status { border:1px solid var(--line-soft); padding:6px 8px; border-radius:var(--r-pill); font-size:.72rem; font-weight:900; }
.editor-status.active { color:var(--green); }
.editor-status.sold { color:#ffaaa5; }
.editor-form-grid { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr); gap:16px; }
.editor-media-card { border:1px solid var(--line-soft); border-radius:var(--r-xl); padding:14px; background:rgba(255,255,255,.035); position:sticky; top:104px; }
.media-preview { min-height:360px; border-radius:var(--r-lg); background:#ffffff; overflow:hidden; display:grid; place-items:center; margin-bottom:12px; border:1px solid rgba(0,0,0,0.07); }
.media-preview img { width:100%; height:100%; max-height:480px; object-fit:contain; }
.editor-media-placeholder { width:100%; height:100%; min-height:260px; display:grid; place-items:center; color:#111; text-align:center; }
.editor-media-placeholder strong { font-size:2rem; display:block; }
.editor-media-placeholder span { color:#444; font-weight:900; }
.editor-pdf-preview { width:100%; height:100%; min-height:220px; display:grid; place-items:center; color:#111; background:#eee; padding:20px; text-align:center; }
.editor-pdf-preview strong { font-size:2rem; }
.file-drop { position:relative; border:1px dashed rgba(255,255,255,.22); border-radius:var(--r-lg); padding:18px; text-align:center; color:var(--muted); background:rgba(255,255,255,.035); transition:.22s; }
.file-drop.is-dragging { border-color:var(--yellow); background:rgba(246,223,98,.08); }
.file-drop input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.file-drop strong { display:block; color:var(--text); margin-bottom:5px; }
.file-actions { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.editor-product-title { margin:12px 0 3px; font-size:1.1rem; font-weight:800; }
.selected-label { color:var(--muted); margin:0 0 12px; }
.editor-form-fields { display:grid; gap:13px; }
.editor-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.size-checks { display:flex; flex-wrap:wrap; gap:8px; }
.size-checks label { display:flex; flex-direction:row; align-items:center; gap:7px; border:1px solid var(--line-soft); border-radius:var(--r-pill); padding:9px 11px; color:var(--text); cursor:pointer; transition:.2s; }
.size-checks label:hover { border-color:var(--line); background:var(--panel-mid); }
.size-checks input { width:auto; }
.feature-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.switch-field { flex-direction:row !important; align-items:center; justify-content:space-between; border:1px solid var(--line-soft); border-radius:var(--r-md); padding:12px; cursor:pointer; }
.switch-field input { width:auto; }
.editor-form-actions { display:flex; gap:9px; flex-wrap:wrap; margin-top:4px; }
.editor-output { width:100%; min-height:240px; margin-top:14px; display:none; border:1px solid var(--line); border-radius:var(--r-lg); background:#080809; color:var(--text); padding:14px; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; font-size:.82rem; }
.editor-output.is-visible { display:block; }
.save-status { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-weight:800; }
.save-status::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--yellow); }
.editor-toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); z-index:99; background:var(--text); color:#050505; border-radius:var(--r-pill); padding:12px 18px; font-weight:900; opacity:0; pointer-events:none; transition:.24s; }
.editor-toast.is-visible { opacity:1; transform:translate(-50%,0); }
.import-hidden { display:none; }

/* ─── PRODUCT GRID STAGGER ─── */
.product-card.stagger-pending { opacity: 0; transform: translateY(20px) scale(0.97); transition: opacity 0.45s ease, transform 0.45s ease; }

/* ─── SCROLL REVEAL ─── */
.reveal-item { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── KEYFRAMES ─── */
@keyframes orbFloat { 0%,100% { transform:translate3d(0,0,0) scale(1); } 50% { transform:translate3d(16px,-20px,0) scale(1.04); } }
@keyframes slabDrift { 0%,100% { transform:translateY(0) rotate(-10deg) skewY(-6deg); } 50% { transform:translateY(-22px) rotate(-6deg) skewY(-4deg); } }
@keyframes spinSlow { to { transform:rotate(360deg); } }
@keyframes spinRing { to { transform:rotate(360deg); } }
@keyframes spinLogo { 0%,100% { transform:rotate(0deg) scale(1); } 50% { transform:rotate(180deg) scale(1.05); } }
@keyframes stageFloat { 0%,100% { transform:rotateX(4deg) rotateY(-8deg) translateY(0); } 50% { transform:rotateX(1deg) rotateY(8deg) translateY(-14px); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero-section { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .how-steps { flex-direction: column; }
  .how-connector { transform: rotate(90deg); }
  .browse-top { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .editor-layout, .editor-form-grid { grid-template-columns: 1fr; }
  .editor-media-card { position: static; }
}

@media (max-width: 760px) {
  /* ── Layout ── */
  .section-pad { width: calc(100% - 20px); padding: 44px 0; }
  .compact-pad { padding: 12px 0; }

  /* ── Header ── */
  .desktop-nav { display: none; }
  .icon-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .main-header {
    top: 8px; width: calc(100% - 16px); margin-top: 8px;
    padding: 8px 8px 8px 12px; gap: 10px;
  }
  .brand-logo-wrap { width: 70px; height: 44px; border-radius: 10px; }

  /* ── Hero ── */
  .hero-section { gap: 24px; padding-top: 36px; }
  h1 { font-size: clamp(2.8rem, 16vw, 5rem); margin-bottom: 14px; }
  h2 { font-size: clamp(1.8rem, 10vw, 3.4rem); }
  .hero-text { font-size: 0.96rem; }
  .hero-actions { gap: 9px; margin: 18px 0; }
  .hero-actions .btn { flex: 1 1 calc(50% - 5px); min-width: 130px; padding: 13px 18px; }
  .hero-stats { padding: 14px 16px; gap: 14px; }
  .stat-item strong { font-size: 1.3rem; }
  .hero-stage { max-width: 340px; }
  .hero-product { width: 112px; }
  .logo-orbit { width: 94px; height: 94px; left: calc(50% - 47px); top: calc(50% - 47px); border-radius: 22px; }
  .logo-orbit img { width: 54px; height: 54px; }
  .hp-3 { display: none; }

  /* ── Sections ── */
  .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 180px; padding: 22px; }
  .how-steps { gap: 10px; }

  /* ── Browse / Filter ── */
  .browse-section { border-radius: var(--r-xl); padding: 16px !important; }
  .browse-copy h2 { font-size: clamp(1.6rem, 8vw, 2.6rem); }
  .filter-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-field { grid-column: 1 / -1; }
  .category-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: none; }
  .category-chips::-webkit-scrollbar { display: none; }
  .category-chip { flex-shrink: 0; }

  /* ── Product grid ── */
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .product-info { padding: 10px 10px 12px; }
  .product-info h3 { font-size: 0.88rem; min-height: auto; }
  .product-info p { font-size: 0.78rem; }
  .product-bottom strong { font-size: 1rem; }
  .add-btn { padding: 8px 16px; font-size: 0.75rem; }
  .size-preview span { min-width: 24px; height: 22px; font-size: 0.64rem; }

  /* ── Collection sections ── */
  .collection-section { border-radius: var(--r-xl); padding: 18px !important; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
  .sh-copy h2 { font-size: clamp(1.7rem, 9vw, 3rem); }

  /* ── Cart drawer (bottom sheet) ── */
  .cart-drawer {
    top: auto; bottom: 0; left: 0; right: 0; width: 100%; z-index: 95;
    max-height: 92vh; max-height: 92dvh;
    border-left: none; border-top: 1px solid var(--line);
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    transform: translateY(100%);
    padding: 10px 16px max(22px, env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  .cart-drawer.is-open { transform: translateY(0); }
  .cart-head h3 { font-size: 1.5rem; }
  .cart-items { flex: 0 0 auto; max-height: 30vh; overflow-y: auto; }
  .checkout-form { padding-top: 12px; margin-top: 10px; gap: 8px; }
  .checkout-form textarea { min-height: 52px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 8px; }

  /* ── Wishlist & Orders drawers ── */
  .wish-drawer { z-index: 95; max-height: 88vh; max-height: 88dvh; }
  .orders-drawer {
    position: fixed; left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; z-index: 95;
    max-height: 88vh; max-height: 88dvh;
    border-left: none; border-top: 1px solid var(--line);
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    transform: translateY(100%); transition: transform 0.36s var(--ease);
  }
  .orders-drawer.is-open { transform: translateY(0); }

  /* ── Product modal (bottom sheet) ── */
  .product-modal {
    position: fixed !important; bottom: 0 !important; top: auto !important;
    left: 0 !important; right: 0 !important; margin: 0 !important;
    max-width: 100% !important; width: 100% !important;
    max-height: 94vh !important; max-height: 94dvh !important;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    border: none; border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-art {
    height: min(50vh, 420px); min-height: 200px; max-height: none;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  }
  .modal-copy { padding: 20px 20px max(24px, env(safe-area-inset-bottom)); gap: 14px; }
  .modal-copy h3 { font-size: clamp(1.6rem, 8vw, 2.8rem); }

  /* ── Editor dashboard ── */
  .editor-dashboard { grid-template-columns: repeat(2, 1fr); }
  .modal-grid.editor-only { grid-template-columns: 1fr; }
  .editor-top { flex-direction: column; }
  .editor-actions { justify-content: flex-start; }
  .editor-toolbar, .editor-two, .feature-row { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-inner { padding: 32px 0 20px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .section-pad { padding: 36px 0; }
  .hero-section { padding-top: 28px; }
  .hero-stage { max-width: 280px; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .product-grid { gap: 8px; }
  .product-info { padding: 9px 9px 11px; }
  .product-bottom { gap: 6px; }
  .product-info p { min-height: auto; }
  .browse-section, .collection-section { padding: 14px !important; }
  .modal-art { height: min(44vh, 300px); min-height: 180px; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  .collection-section, .browse-section { padding: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .reveal-item { opacity: 1; transform: none; }
}

/* ─── DRAG HANDLE ─── */
.cart-drag-handle { display: none; width: 36px; height: 4px; background: rgba(255,255,255,0.18); border-radius: 4px; margin: 0 auto 16px; }
@media (max-width: 760px) { .cart-drag-handle { display: block; } }

/* ─── SKELETON LOADING ─── */
@keyframes skeletonShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.skeleton-card { pointer-events: none; }
.skel-image { aspect-ratio: 4/5; background: rgba(255,255,255,0.06); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.skel-image::after, .skel-line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%); animation: skeletonShimmer 1.6s ease-in-out infinite; }
.skel-info { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.skel-line { height: 10px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.skel-line::after { animation-delay: 0.2s; }
.skel-sm { width: 50%; }
.skel-md { width: 78%; height: 14px; }

/* ─── TOAST NOTIFICATION ─── */
.aa-toast {
  position: fixed; bottom: 96px; left: 50%;
  transform: translate(-50%, 12px);
  z-index: 160; background: var(--text); color: #080808;
  border-radius: var(--r-pill); padding: 13px 24px;
  font-weight: 900; font-size: 0.88rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.26s, transform 0.26s var(--spring);
  box-shadow: var(--shadow-md);
}
.aa-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .aa-toast { bottom: 110px; } }

/* ─── FLOATING WHATSAPP BUTTON ─── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; border: none;
  border-radius: var(--r-pill); padding: 13px 18px;
  font-weight: 800; font-size: 0.88rem;
  box-shadow: 0 8px 28px rgba(37,211,102,0.38), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.22s var(--spring), box-shadow 0.3s;
  cursor: pointer;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 40px rgba(37,211,102,0.48), 0 4px 12px rgba(0,0,0,0.3); }
.wa-float span { display: none; }
@media (min-width: 520px) { .wa-float span { display: block; } }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 50;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: rgba(14,14,20,0.88); border: 1px solid var(--line);
  color: var(--text); display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.28s, transform 0.28s var(--spring), background 0.2s;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: rgba(30,30,40,0.95); }

/* ─── WISHLIST HEART ON CARD ─── */
.wish-heart {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  width: 32px; height: 32px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(5,5,8,.72); color: var(--muted);
  display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .2s, background .2s, border-color .2s, transform .2s var(--spring);
  cursor: pointer;
}
.wish-heart svg { width: 14px; height: 14px; transition: fill .2s; }
.wish-heart:hover { color: var(--red); border-color: rgba(227,59,53,.4); transform: scale(1.1); }
.wish-heart.is-saved { color: var(--red); background: rgba(227,59,53,.18); border-color: rgba(227,59,53,.45); }
.wish-heart.is-saved svg { fill: var(--red); }

/* ─── WISHLIST HEADER BUTTON ─── */
.wish-header-btn { position: relative; }
.wish-pill-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; border-radius: var(--r-pill);
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 900;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.wish-pill-count.hidden { display: none; }

/* ─── WISHLIST DRAWER ─── */
.wish-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 130;
  width: min(420px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  box-shadow: var(--shadow-xl);
}
.wish-drawer.is-open { transform: translateX(0); }
@media (max-width: 760px) {
  .wish-drawer {
    left: 0; right: 0; top: auto; width: 100%;
    border-left: none; border-top: 1px solid var(--line);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    max-height: 85vh;
  }
  .wish-drawer.is-open { transform: translateY(0); }
}
.wish-items {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.wish-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px; border-radius: var(--r-sm);
  background: var(--panel); border: 1px solid var(--line-soft);
}
.wish-thumb {
  width: 60px; height: 72px; border-radius: var(--r-xs);
  overflow: hidden; background: #f5f4f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #555;
  border: 1px solid rgba(0,0,0,0.06);
}
.wish-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wish-item-info h4 { font-size: .875rem; font-weight: 700; margin-bottom: 3px; }
.wish-item-info p { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.wish-item-price { font-weight: 900; font-size: .9rem; color: var(--yellow); }
.wish-item-btns { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.wish-add-btn { font-size: .78rem; padding: 6px 10px; }
.wish-rm-btn {
  background: none; border: none; color: var(--muted);
  font-size: .72rem; cursor: pointer; text-decoration: underline;
  transition: color .2s;
}
.wish-rm-btn:hover { color: var(--red); }
.wish-footer { padding: 16px 20px; border-top: 1px solid var(--line); }
.wish-empty { text-align: center; color: var(--soft); padding: 40px 20px; font-size: .9rem; }

/* ─── MODAL WISH + SIZE GUIDE TRIGGER ─── */
.modal-actions-row { display: flex; gap: 10px; align-items: stretch; }
.modal-actions-row .btn-primary { flex: 1; }
.modal-wish-btn { width: 48px; flex-shrink: 0; padding: 0; display: grid; place-items: center; }
.modal-wish-btn.is-saved svg { fill: var(--red); stroke: var(--red); }
.size-guide-trigger {
  background: none; border: none; color: var(--muted);
  font-size: .8rem; text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; transition: color .2s; margin-top: 4px; text-align: left;
}
.size-guide-trigger:hover { color: var(--text); }

/* ─── SIZE GUIDE MODAL ─── */
.sg-modal {
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0; width: min(560px, 95vw); max-height: 90vh;
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.sg-modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.sg-inner { display: flex; flex-direction: column; max-height: 90vh; }
.sg-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.sg-head h3 { font-size: 1.1rem; font-weight: 900; }
.sg-tabs { display: flex; padding: 16px 24px 0; gap: 6px; }
.sg-tab {
  padding: 8px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-weight: 700; font-size: .85rem; cursor: pointer; transition: .2s;
}
.sg-tab.is-active { background: var(--yellow); color: #080808; border-color: var(--yellow); }
.sg-panel { display: none; padding: 20px 24px 24px; overflow-y: auto; }
.sg-panel.is-active { display: block; }
.sg-note { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.sg-table-wrap { overflow-x: auto; }
.sg-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.sg-table th { text-align: left; padding: 10px 12px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); }
.sg-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.sg-table tbody tr:hover { background: var(--panel); }

/* ─── FOOTER SOCIAL ─── */
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--panel);
  display: grid; place-items: center; color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-social a:hover { color: var(--text); border-color: var(--line-soft); background: var(--panel-mid); }

/* ─── CLEAR CART BUTTON ─── */
.clear-cart-btn { margin-bottom: 8px; }

/* ─── MOBILE BOTTOM NAV ─── */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(5,5,10,.92); border-top: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 8px 4px max(12px, env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 760px) { .mobile-bottom-nav { display: grid; } }
.mbn-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 0; border: none; background: none; color: var(--muted);
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; transition: color .2s; text-decoration: none; position: relative;
}
.mbn-item:hover { color: var(--text); }
.mbn-cart-wrap { position: relative; }
.mbn-badge {
  position: absolute; top: 2px; right: calc(50% - 20px);
  min-width: 16px; height: 16px; border-radius: var(--r-pill);
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 900;
  display: grid; place-items: center;
  border: 2px solid rgba(5,5,10,.92);
}
.mbn-badge.hidden { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: max(72px, calc(60px + env(safe-area-inset-bottom))); }
  .wa-float { display: none; }
  .back-to-top { bottom: 84px; }
  .aa-toast { bottom: 84px; }
  .mbn-item.is-active { color: var(--yellow); }
  .mbn-item.is-active svg { stroke: var(--yellow); }
}

/* ─── CATEGORY CHIP COUNT ─── */
.chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72em; font-weight: 900; opacity: .65;
  min-width: 18px; padding: 0 3px;
}
.category-chip.is-active .chip-count { opacity: .8; }

/* ─── ORDERS DRAWER ─── */
.orders-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 130;
  width: min(460px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  box-shadow: var(--shadow-xl);
}
.orders-drawer.is-open { transform: translateX(0); }
@media (max-width: 760px) {
  .orders-drawer {
    left: 0; right: 0; top: auto; width: 100%;
    border-left: none; border-top: 1px solid var(--line);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    max-height: 85vh;
  }
  .orders-drawer.is-open { transform: translateY(0); }
}
.orders-list { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.order-card {
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--panel); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 6px;
}
.order-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.order-id { font-size: .72rem; font-weight: 900; color: var(--yellow); letter-spacing: .04em; display: block; }
.order-date { font-size: .75rem; color: var(--muted); }
.order-total { font-weight: 900; font-size: .95rem; white-space: nowrap; }
.order-items { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.order-customer { font-size: .78rem; color: var(--soft); }

/* ─── CHECKOUT SUCCESS ─── */
.checkout-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px; padding: 40px 28px;
}
.checkout-success.hidden { display: none; }
.success-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(93,206,165,.15); border: 2px solid var(--green);
  color: var(--green); font-size: 28px; font-weight: 900;
  display: grid; place-items: center;
}
.checkout-success h3 { font-size: 1.3rem; font-weight: 900; }
.checkout-success p { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.success-order-id { font-size: .78rem; color: var(--soft); font-weight: 700; }

/* ─── LIGHTBOX ─── */
.lightbox-modal {
  background: rgba(0,0,0,.96); border: none; padding: 0;
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
  margin: 0;
}
.lightbox-modal[open] {
  display: flex; align-items: center; justify-content: center;
}
.lightbox-modal::backdrop { background: rgba(0,0,0,.96); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}
.lightbox-img { max-width: min(90vw, 900px); max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.lightbox-img img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--r-md); }
.modal-art { cursor: default; }
.modal-art.has-image { cursor: zoom-in; }

/* ─── FOOTER ORDERS LINK ─── */
.footer-orders-link {
  background: none; border: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
  opacity: .7; transition: opacity .2s;
  padding: 0; margin-top: 2px; display: block;
}
.footer-orders-link:hover { opacity: 1; }

/* ─── ADMIN: stats warn variant ─── */
.editor-stat.warn { background: rgba(227,59,53,.08); border-color: rgba(227,59,53,.3); }
.editor-stat.warn strong { color: #ff7f7a; }

/* ─── ADMIN: bulk action bar ─── */
.bulk-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; margin-bottom: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.bulk-bar[hidden], .orders-panel[hidden] { display: none !important; }
.bulk-check-all { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--soft); cursor: pointer; }
.bulk-count { font-size: .82rem; color: var(--muted); font-weight: 600; margin-right: auto; }
.bulk-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.bulk-actions .editor-btn { padding: 7px 12px; font-size: .75rem; }
.bulk-actions .editor-btn.danger { background: rgba(227,59,53,.15); border-color: rgba(227,59,53,.35); color: #ff7f7a; }
.reorder-hint { float: right; font-size: .72rem; color: var(--soft); opacity: .6; }

/* ─── ADMIN: drag handle + reorder feedback ─── */
.editor-row { position: relative; }
.editor-row[draggable="true"] { cursor: grab; }
.editor-row.is-dragging { opacity: .4; }
.editor-row.is-drag-over { border-top: 2px solid var(--yellow); }
.row-drag {
  width: 18px; display: grid; place-items: center;
  color: var(--soft); cursor: grab; opacity: .5;
  user-select: none; touch-action: none;
}
.row-drag:hover { opacity: 1; }
.row-check { display: grid; place-items: center; padding: 0 4px; }
.row-check input { width: 16px; height: 16px; cursor: pointer; }

/* ─── ADMIN: inline edit fields ─── */
.row-inline {
  display: flex; gap: 6px; align-items: center;
  margin-top: 4px;
}
.row-inline input {
  width: 64px; padding: 4px 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; background: rgba(0,0,0,.25);
  color: var(--text); font-size: .72rem; font-weight: 700;
  text-align: right;
}
.row-inline input:focus { outline: none; border-color: var(--yellow); }
.row-inline label { font-size: .68rem; color: var(--soft); opacity: .7; }

/* ─── ADMIN: low-stock indicator ─── */
.editor-row.is-low-stock { background: rgba(255,153,0,.05); border-color: rgba(255,153,0,.25); }
.low-stock-flag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 800; color: #ffb347;
  background: rgba(255,179,71,.15);
  padding: 2px 7px; border-radius: 999px;
  margin-left: 6px;
}

/* ─── ADMIN: sale badge ─── */
.sale-flag {
  display: inline-flex; font-size: .68rem; font-weight: 800;
  color: #5dceA5; background: rgba(93,206,165,.15);
  padding: 2px 7px; border-radius: 999px; margin-left: 6px;
}

/* ─── ADMIN: gallery block ─── */
.gallery-block {
  margin-top: 14px; padding: 12px;
  background: rgba(0,0,0,.18); border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.gallery-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; gap: 10px;
}
.gallery-head strong { font-size: .82rem; color: var(--soft); letter-spacing: .04em; text-transform: uppercase; }
.gallery-add { position: relative; cursor: pointer; }
.gallery-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.editor-btn.small { padding: 6px 12px; font-size: .72rem; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.gallery-cell {
  position: relative; aspect-ratio: 1; border-radius: 8px;
  overflow: hidden; background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.08);
  cursor: grab;
}
.gallery-cell.is-dragging { opacity: .4; }
.gallery-cell.is-drag-over { border-color: var(--yellow); }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; }
.gallery-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.65); border: none; color: #fff;
  font-weight: 900; font-size: .7rem; cursor: pointer;
  display: grid; place-items: center;
}
.gallery-empty { grid-column: 1/-1; color: var(--soft); font-size: .78rem; opacity: .6; padding: 8px 0; }

/* ─── ADMIN: orders panel ─── */
.orders-panel {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,5,5,.92); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px;
}
.orders-panel-inner {
  width: 100%; max-width: 1080px; max-height: 90vh;
  background: var(--bg); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 24px; display: flex; flex-direction: column;
  overflow: hidden;
}
.orders-panel-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; margin-bottom: 16px; flex-wrap: wrap;
}
.orders-panel-head h2 { font-size: 1.4rem; font-weight: 900; }
.orders-panel-head .muted { color: var(--soft); font-size: .82rem; margin-top: 4px; }
.orders-panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.orders-filter { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.orders-filter input, .orders-filter select {
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: var(--text);
  font-size: .85rem; flex: 1; min-width: 160px;
}
.orders-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.order-row {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 14px;
  background: rgba(255,255,255,.03);
}
.order-row.is-fulfilled { opacity: .6; }
.order-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.order-row-head strong { font-size: .9rem; font-weight: 900; }
.order-row-head small { color: var(--soft); font-size: .72rem; }
.order-row-total { font-weight: 900; color: var(--yellow); }
.order-row-body { font-size: .8rem; color: var(--soft); line-height: 1.6; }
.order-row-body em { color: var(--text); font-style: normal; font-weight: 600; }
.order-row-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.order-row-actions .editor-btn { padding: 6px 11px; font-size: .72rem; }
.order-row-actions .editor-btn.success { background: rgba(93,206,165,.15); border-color: rgba(93,206,165,.35); color: #5dceA5; }
.orders-empty { text-align: center; color: var(--soft); padding: 30px; opacity: .6; }

/* ─── ADMIN: form validation polish ─── */
.editor-form input.is-invalid,
.editor-form select.is-invalid,
.editor-form textarea.is-invalid {
  border-color: #e33b35 !important;
  box-shadow: 0 0 0 2px rgba(227,59,53,.18);
}
@media (max-width: 700px) {
  .orders-panel-inner { padding: 18px; max-height: 95vh; }
  .orders-panel-actions { width: 100%; }
  .bulk-actions { width: 100%; }
}

/* ─── FINISHING: card sale badge + price stack ─── */
.stock-badge.sale {
  background: #5dceA5; color: #06231a;
  font-weight: 900;
}
.price-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.price-stack .price-now { color: #5dceA5; font-weight: 900; }
.price-stack .price-was { color: var(--soft); font-size: .78rem; opacity: .7; }

/* ─── FINISHING: modal price line + compare-at ─── */
.modal-price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 8px; }
.modal-compare { color: var(--soft); text-decoration: line-through; font-size: .9rem; opacity: .7; }
.modal-compare[hidden] { display: none; }
.modal-discount {
  background: rgba(93,206,165,.18); color: #5dceA5;
  padding: 3px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 900; letter-spacing: .03em;
}
.modal-discount[hidden] { display: none; }

/* ─── FINISHING: modal gallery thumbnails ─── */
.modal-art-stack { display: flex; flex-direction: column; gap: 10px; }
.modal-thumbs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 2px; scrollbar-width: thin;
}
.modal-thumbs[hidden] { display: none; }
.modal-thumb {
  flex: 0 0 64px; height: 64px;
  border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 2px solid transparent; padding: 0; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb:hover { transform: translateY(-1px); }
.modal-thumb.is-active { border-color: var(--yellow); }

/* ─── FINISHING: WhatsApp placeholder banner (admin) ─── */
.aa-config-warn {
  background: rgba(246,223,98,.12); border: 1px solid rgba(246,223,98,.4);
  color: var(--yellow); padding: 10px 14px; border-radius: 10px;
  font-size: .82rem; margin: 12px 0 4px;
  display: flex; align-items: center; gap: 10px;
}
.aa-config-warn strong { font-weight: 900; }


/* Athlete Avenue Store logo replacement */
.editor-brand-logo-wrap { display: inline-grid; width: 98px; height: 64px; vertical-align: middle; }
#editor-lock .lock-card img { width: min(260px, 78vw); height: auto; max-height: 116px; object-fit: contain; margin-bottom: 10px; }
@media (max-width: 760px) { .editor-brand-logo-wrap { width: 74px; height: 48px; } }


/* ═══ THEME TOGGLE + LIGHT MODE FIXES ═══ */
.theme-toggle { min-width: 96px; justify-content: center; }
.mobile-theme-toggle {
  width: 100%; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: var(--r-pill); padding: 12px 14px; font-weight: 900; margin-bottom: 12px;
}

:root[data-theme="light"] html,
:root[data-theme="light"] body,
html[data-theme="light"],
html[data-theme="light"] body { background: #ffffff; color: var(--text); }

html[data-theme="light"] .site-shell { background: #ffffff; }
html[data-theme="light"] .ambient-bg { background: #ffffff; }
html[data-theme="light"] .ambient-bg::before {
  background:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
}
html[data-theme="light"] .orb-1 { background: radial-gradient(circle, rgba(246,223,98,0.20), transparent 66%); }
html[data-theme="light"] .orb-2 { background: radial-gradient(circle, rgba(0,0,0,0.07), transparent 66%); }
html[data-theme="light"] .orb-3 { background: radial-gradient(circle, rgba(227,59,53,0.08), transparent 66%); }
html[data-theme="light"] #bg-canvas { opacity: .18; }

html[data-theme="light"] .main-header,
html[data-theme="light"] .browse-section,
html[data-theme="light"] .collection-section,
html[data-theme="light"] .trust-card,
html[data-theme="light"] .brand-card,
html[data-theme="light"] .how-step,
html[data-theme="light"] .footer-brand,
html[data-theme="light"] .cart-drawer,
html[data-theme="light"] .wish-drawer,
html[data-theme="light"] .orders-drawer,
html[data-theme="light"] .search-box,
html[data-theme="light"] .product-modal,
html[data-theme="light"] .size-guide-card {
  background: rgba(255,255,255,.86);
  border-color: rgba(0,0,0,.11);
  box-shadow: var(--shadow-md);
}
html[data-theme="light"] .main-header { backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
html[data-theme="light"] .main-header.is-scrolled { box-shadow: 0 20px 60px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.8); }
html[data-theme="light"] .desktop-nav a:hover,
html[data-theme="light"] .icon-btn:hover,
html[data-theme="light"] .cart-pill:hover,
html[data-theme="light"] .category-chip:hover,
html[data-theme="light"] .load-btn:hover { background: rgba(0,0,0,.065); }

html[data-theme="light"] .filter-bar input,
html[data-theme="light"] .filter-bar select,
html[data-theme="light"] .checkout-form input,
html[data-theme="light"] .checkout-form textarea,
html[data-theme="light"] .modal-copy input,
html[data-theme="light"] .search-box input,
html[data-theme="light"] .orders-filter input,
html[data-theme="light"] .orders-filter select {
  background: #ffffff;
  color: #070707;
  border-color: rgba(0,0,0,.15);
}
html[data-theme="light"] select option { background: #ffffff; color: #070707; }
html[data-theme="light"] .filter-bar input::placeholder,
html[data-theme="light"] .search-box input::placeholder { color: rgba(7,7,7,.42); }
html[data-theme="light"] .product-card,
html[data-theme="light"] .order-card,
html[data-theme="light"] .wish-item,
html[data-theme="light"] .modal-size,
html[data-theme="light"] .category-chip,
html[data-theme="light"] .load-btn,
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .cart-pill {
  background: rgba(255,255,255,.74);
  border-color: rgba(0,0,0,.12);
  color: var(--text);
}
html[data-theme="light"] .product-info,
html[data-theme="light"] .modal-copy { color: var(--text); }
html[data-theme="light"] .product-image,
html[data-theme="light"] .modal-art,
html[data-theme="light"] .wish-thumb { background: linear-gradient(180deg,#f6f6f3,#e8e8e2); }
html[data-theme="light"] .drawer-backdrop,
html[data-theme="light"] .search-overlay { background: rgba(255,255,255,.64); }
html[data-theme="light"] .page-loader { background: #ffffff; }
html[data-theme="light"] .loader-track { background: rgba(0,0,0,.10); }
html[data-theme="light"] .loader-text { color: rgba(7,7,7,.45); }
html[data-theme="light"] .footer-bottom { border-color: rgba(0,0,0,.10); }
html[data-theme="light"] .brand-logo-wrap { background: #ecebe6; border-color: rgba(0,0,0,.08); }
html[data-theme="dark"] .brand-logo-wrap { background: #ecebe6; }

html[data-theme="light"] .empty-state {
  color: rgba(7,7,7,.64);
  background: rgba(0,0,0,.035);
  border: 1px solid rgba(0,0,0,.10);
}

@media (max-width: 760px) {
  .theme-toggle { display: none; }
}


/* ═══ FIX: LIGHT MODE HERO CARDS + CENTERED QUICK ADD MODAL ═══ */
.product-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-height: min(92vh, 900px);
  overflow: auto;
}
.product-modal.is-open {
  display: block;
}
.product-modal:not([open]):not(.is-open) {
  display: none;
}

html[data-theme="light"] .hero-stage {
  border-color: rgba(0,0,0,.10);
  background:
    radial-gradient(ellipse 72% 52% at 50% 30%, rgba(246,223,98,.18), transparent 64%),
    linear-gradient(160deg, rgba(255,255,255,.92), rgba(246,246,241,.78));
  box-shadow: 0 32px 90px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.92);
}
html[data-theme="light"] .hero-stage::before {
  border-color: rgba(0,0,0,.08);
}
html[data-theme="light"] .s-ring {
  border-color: rgba(0,0,0,.08);
}
html[data-theme="light"] .sr-2 {
  border-color: rgba(246,197,44,.22);
}
html[data-theme="light"] .sr-3 {
  border-color: rgba(227,59,53,.16);
}
html[data-theme="light"] .hero-product {
  background: rgba(255,255,255,.88);
  border-color: rgba(0,0,0,.13);
  color: #070707;
  box-shadow: 0 22px 54px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .hero-product span {
  color: #070707;
  text-shadow: none;
}
html[data-theme="light"] .hero-product img {
  background: linear-gradient(180deg,#f8f8f5,#e8e7e1);
}
html[data-theme="light"] .f-shape {
  border-color: rgba(0,0,0,.10);
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.18));
}
html[data-theme="light"] .fs-b { border-color: rgba(246,197,44,.28); }
html[data-theme="light"] .fs-c { border-color: rgba(227,59,53,.24); }

@media (max-width: 760px) {
  .product-modal {
    width: min(94vw, 560px);
    max-height: 90vh;
    border-radius: 28px;
  }
}

/* ═══ FINAL POLISH: LIGHT MODE, CENTERED DIALOGS, MOBILE CONTRAST ═══ */
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="light"] body {
  background: #fff;
  color: #070707;
}
html[data-theme="light"] ::-webkit-scrollbar-track { background: #fff; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); }

/* Light mode must read as a true white storefront, not a faded dark UI. */
html[data-theme="light"] .main-header,
html[data-theme="light"] .mobile-panel,
html[data-theme="light"] .search-box,
html[data-theme="light"] .cart-drawer,
html[data-theme="light"] .wish-drawer,
html[data-theme="light"] .orders-drawer,
html[data-theme="light"] .product-modal,
html[data-theme="light"] .sg-modal,
html[data-theme="light"] .browse-section,
html[data-theme="light"] .collection-section,
html[data-theme="light"] .trust-card,
html[data-theme="light"] .brand-card,
html[data-theme="light"] .how-step,
html[data-theme="light"] .hero-stats {
  background: rgba(255,255,255,.94) !important;
  color: #070707 !important;
  border-color: rgba(0,0,0,.12) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.10) !important;
}
html[data-theme="light"] .mobile-panel {
  top: 88px;
  border-radius: 28px;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}
html[data-theme="light"] .mobile-panel nav a {
  color: rgba(7,7,7,.72) !important;
}
html[data-theme="light"] .mobile-panel nav a:hover,
html[data-theme="light"] .mobile-panel nav a:focus-visible {
  color: #070707 !important;
  background: rgba(0,0,0,.055) !important;
}
html[data-theme="light"] .mobile-panel-footer,
html[data-theme="light"] .sg-head,
html[data-theme="light"] .wish-footer,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .checkout-form {
  border-color: rgba(0,0,0,.10) !important;
}
html[data-theme="light"] .mobile-panel-footer p,
html[data-theme="light"] .hero-text,
html[data-theme="light"] .sh-copy p,
html[data-theme="light"] .product-info p,
html[data-theme="light"] .cart-line p,
html[data-theme="light"] .modal-copy p,
html[data-theme="light"] .sg-note,
html[data-theme="light"] .footer-brand-col p,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .checkout-form label,
html[data-theme="light"] .modal-copy label {
  color: rgba(7,7,7,.66) !important;
}
html[data-theme="light"] .desktop-nav a,
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .cart-pill,
html[data-theme="light"] .mobile-theme-toggle,
html[data-theme="light"] .mbn-item,
html[data-theme="light"] .close-btn,
html[data-theme="light"] .category-chip,
html[data-theme="light"] .load-btn,
html[data-theme="light"] .modal-size,
html[data-theme="light"] .footer-orders-link {
  color: rgba(7,7,7,.78) !important;
}
html[data-theme="light"] .desktop-nav a:hover,
html[data-theme="light"] .icon-btn:hover,
html[data-theme="light"] .cart-pill:hover,
html[data-theme="light"] .mbn-item:hover,
html[data-theme="light"] .close-btn:hover,
html[data-theme="light"] .load-btn:hover {
  color: #070707 !important;
  background: rgba(0,0,0,.06) !important;
}
html[data-theme="light"] .btn-primary {
  background: #070707 !important;
  color: #ffffff !important;
  border-color: #070707 !important;
  box-shadow: 0 0 0 4px rgba(246,223,98,.34) !important;
}
html[data-theme="light"] .btn-primary:hover {
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.14), 0 0 0 4px rgba(246,223,98,.40) !important;
}
html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .add-btn,
html[data-theme="light"] .mobile-theme-toggle,
html[data-theme="light"] .filter-bar input,
html[data-theme="light"] .filter-bar select,
html[data-theme="light"] .checkout-form input,
html[data-theme="light"] .checkout-form textarea,
html[data-theme="light"] .modal-copy input,
html[data-theme="light"] .search-box input,
html[data-theme="light"] .orders-filter input,
html[data-theme="light"] .orders-filter select {
  background: #fff !important;
  color: #070707 !important;
  border-color: rgba(0,0,0,.16) !important;
}
html[data-theme="light"] .btn-ghost:hover,
html[data-theme="light"] .add-btn:hover {
  background: #070707 !important;
  color: #fff !important;
  border-color: #070707 !important;
}
html[data-theme="light"] .add-btn[disabled],
html[data-theme="light"] .add-btn[disabled]:hover {
  background: rgba(0,0,0,.045) !important;
  color: rgba(7,7,7,.38) !important;
  border-color: rgba(0,0,0,.10) !important;
}
html[data-theme="light"] .product-card,
html[data-theme="light"] .cart-line,
html[data-theme="light"] .wish-item,
html[data-theme="light"] .order-card,
html[data-theme="light"] .modal-specs span,
html[data-theme="light"] .product-meta span,
html[data-theme="light"] .size-preview span {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(0,0,0,.10) !important;
  color: #070707 !important;
}
html[data-theme="light"] .product-card:hover {
  border-color: rgba(0,0,0,.20) !important;
  box-shadow: 0 22px 54px rgba(0,0,0,.12) !important;
}
html[data-theme="light"] .product-image,
html[data-theme="light"] .modal-art,
html[data-theme="light"] .cart-thumb,
html[data-theme="light"] .wish-thumb,
html[data-theme="light"] .editor-thumb {
  background: linear-gradient(180deg,#fafafa,#e8e7e1) !important;
}
html[data-theme="light"] .stock-badge {
  background: rgba(7,7,7,.82) !important;
  color: #fff !important;
}
html[data-theme="light"] .stock-badge.featured,
html[data-theme="light"] .category-chip.is-active,
html[data-theme="light"] .modal-size.is-selected,
html[data-theme="light"] .sg-tab.is-active,
html[data-theme="light"] .cart-pill strong {
  background: var(--yellow) !important;
  color: #050505 !important;
  border-color: var(--yellow) !important;
}
html[data-theme="light"] .search-overlay,
html[data-theme="light"] .drawer-backdrop,
html[data-theme="light"] .product-modal::backdrop,
html[data-theme="light"] .sg-modal::backdrop {
  background: rgba(255,255,255,.70) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
html[data-theme="light"] .mobile-bottom-nav {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(0,0,0,.12) !important;
  box-shadow: 0 -10px 35px rgba(0,0,0,.08) !important;
}
html[data-theme="light"] .mbn-badge { border-color: #fff !important; }

/* Hard-center quick-add and size-guide dialogs. */
.product-modal[open],
.sg-modal[open] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}
.product-modal[open] {
  width: min(960px, calc(100vw - 32px)) !important;
  max-height: min(92vh, 860px) !important;
  overflow: auto !important;
}
.sg-modal[open] {
  width: min(480px, calc(100vw - 32px)) !important;
  max-height: min(82vh, 620px) !important;
  overflow: hidden !important;
}
.sg-inner { max-height: min(82vh, 620px) !important; }
.sg-head { padding: 16px 20px !important; }
.sg-tabs { padding: 14px 20px 0 !important; }
.sg-panel { padding: 16px 20px 20px !important; }
.sg-table { font-size: .82rem !important; }
.sg-table th,
.sg-table td { padding: 8px 10px !important; }

@media (max-width: 760px) {
  .product-modal[open] {
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    max-height: 88dvh !important;
    border-radius: 28px !important;
    border: 1px solid var(--line) !important;
  }
  .product-modal .modal-grid { grid-template-columns: 1fr !important; }
  .product-modal .modal-art { height: min(46vh, 380px) !important; min-height: 200px !important; max-height: none !important; border-radius: 28px 28px 0 0 !important; }
  .product-modal .modal-copy { padding: 20px !important; }
  .sg-modal[open] {
    width: calc(100vw - 22px) !important;
    max-height: 78dvh !important;
    border-radius: 24px !important;
  }
  .sg-inner { max-height: 78dvh !important; }
  .sg-head { padding: 14px 16px !important; }
  .sg-tabs { padding: 12px 16px 0 !important; }
  .sg-panel { padding: 14px 16px 16px !important; }
  .sg-tab { padding: 8px 16px !important; }
  .sg-table { font-size: .78rem !important; }
  .sg-table th,
  .sg-table td { padding: 7px 8px !important; white-space: nowrap; }
  html[data-theme="light"] .mobile-panel {
    top: 88px;
    left: 14px;
    right: 14px;
  }
}

/* ═══════════════════════════════════════════════════════
   ADMIN V8 — ENHANCED COMPONENTS
   ═══════════════════════════════════════════════════════ */

/* ─── STATS: featured + revenue variants ─── */
.editor-stat.accent { background: rgba(246,223,98,.07); border-color: rgba(246,223,98,.28); }
.editor-stat.accent strong { color: var(--yellow); }
.editor-stat.revenue { background: rgba(93,206,165,.06); border-color: rgba(93,206,165,.24); }
.editor-stat.revenue strong { color: var(--green); }

/* ─── STORAGE INDICATOR ─── */
.storage-indicator {
  margin-top: 14px; padding: 11px 14px;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: rgba(255,255,255,.025);
}
.storage-bar-wrap {
  height: 4px; background: rgba(255,255,255,.1);
  border-radius: 99px; overflow: hidden; margin-bottom: 7px;
}
.storage-bar-fill {
  height: 100%; width: 0%; background: var(--green);
  border-radius: 99px; transition: width .5s var(--ease), background .4s;
}
.storage-indicator.is-warning .storage-bar-fill { background: var(--yellow); }
.storage-indicator.is-danger .storage-bar-fill { background: var(--red); }
.storage-text { font-size: .72rem; color: var(--soft); font-weight: 600; line-height: 1.4; }

/* ─── IMAGE URL ROW ─── */
.image-url-row {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.image-url-label {
  display: flex; flex-direction: column; gap: 6px;
  color: var(--soft); font-size: .72rem; font-weight: 700; letter-spacing: .03em;
}
.image-url-input-row { display: flex; gap: 7px; align-items: center; }
.image-url-input-row input {
  flex: 1; padding: 8px 10px;
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  background: rgba(255,255,255,.04); color: var(--text);
  font-size: .82rem; min-width: 0;
}
.image-url-input-row input:focus { outline: none; border-color: var(--yellow); }

/* ─── ENHANCED TOAST (with undo action) ─── */
.editor-toast {
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 32px);
}
.editor-toast[data-editor-toast] { pointer-events: none; }
.editor-toast.is-visible { pointer-events: all; }
[data-toast-msg] { flex: 1; }
.toast-action-btn {
  background: rgba(0,0,0,.18); border: 1px solid rgba(0,0,0,.22);
  border-radius: var(--r-pill); color: #050505;
  padding: 5px 12px; font-weight: 900; font-size: .78rem;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .18s;
}
.toast-action-btn:hover { background: rgba(0,0,0,.32); }
.toast-action-btn[hidden] { display: none; }

/* ─── BULK PRICE / STOCK INPUTS ─── */
.bulk-field-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--soft); font-weight: 700;
}
.bulk-num-input {
  width: 68px; padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px; background: rgba(0,0,0,.28);
  color: var(--text); font-size: .78rem; font-weight: 700;
  text-align: right;
}
.bulk-num-input:focus { outline: none; border-color: var(--yellow); }

/* ─── TOOLBAR RESPONSIVE ─── */
@media (max-width: 760px) {
  .editor-toolbar .toolbar-search { flex: 1 1 100%; }
  .editor-toolbar select { flex: 1 1 calc(50% - 4px); }
}

/* ─── EDITOR ROW RESPONSIVE ─── */
@media (max-width: 640px) {
  .editor-row { grid-template-columns: 20px 64px 1fr auto; }
  .row-check { display: none; }
}

/* ─── GALLERY: enhanced ─── */
.gallery-head { flex-wrap: wrap; gap: 8px; align-items: center; }
.gallery-head-title { display: flex; align-items: center; gap: 8px; }
.gallery-head-title strong { font-size: .82rem; color: var(--soft); letter-spacing: .04em; text-transform: uppercase; }
.gallery-count-badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: rgba(246,223,98,.18); color: var(--yellow);
  border-radius: 99px; font-size: .68rem; font-weight: 900;
}
.gallery-head-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }

.gallery-url-row {
  display: flex; gap: 7px; align-items: center;
  padding: 8px 0 4px;
}
.gallery-url-row input {
  flex: 1; padding: 7px 10px; min-width: 0;
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  background: rgba(255,255,255,.04); color: var(--text);
  font-size: .78rem;
}
.gallery-url-row input:focus { outline: none; border-color: var(--yellow); }

.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }

.gallery-cell { border-radius: 10px; cursor: default; }
.gallery-img-btn {
  display: block; width: 100%; aspect-ratio: 1;
  border: none; padding: 0; background: none; cursor: zoom-in;
  border-radius: 9px; overflow: hidden;
}
.gallery-img-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.gallery-cell:hover .gallery-img-btn img { transform: scale(1.05); }

.gallery-index {
  position: absolute; top: 5px; left: 6px;
  font-size: .6rem; font-weight: 900; color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.55); border-radius: 4px;
  padding: 1px 5px; pointer-events: none; line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.gallery-cell-actions {
  position: absolute; inset: auto 4px 4px auto;
  display: flex; gap: 4px;
  opacity: 0; transition: opacity .15s;
}
.gallery-cell:hover .gallery-cell-actions { opacity: 1; }

.gallery-cover-btn {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(246,223,98,.85); border: none;
  color: #050505; font-size: .8rem; font-weight: 900;
  display: grid; place-items: center; cursor: pointer;
  transition: transform .15s, background .15s;
}
.gallery-cover-btn:hover { background: var(--yellow); transform: scale(1.12); }

/* Filesystem drop state */
.gallery-block.is-gallery-drop { outline: 2px dashed var(--yellow); outline-offset: -3px; background: rgba(246,223,98,.06); border-radius: var(--r-lg); }
.gallery-block.is-gallery-drop .gallery-grid { pointer-events: none; }

/* ─── GALLERY LIGHTBOX ─── */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(2,2,4,.94); backdrop-filter: blur(14px);
  display: grid; place-items: center;
  grid-template-rows: 1fr auto;
  grid-template-columns: 56px 1fr 56px;
  gap: 0; padding: 56px 0 0;
}
.lb-close {
  position: absolute; top: 14px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: var(--text);
  font-size: 1.2rem; font-weight: 900; cursor: pointer;
  display: grid; place-items: center; transition: background .18s;
  z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.18); }
.lb-nav {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07); color: var(--text);
  font-size: 1.6rem; cursor: pointer;
  display: grid; place-items: center; transition: background .18s;
  align-self: center; justify-self: center;
}
.lb-nav:hover:not([disabled]) { background: rgba(255,255,255,.16); }
.lb-nav[disabled] { opacity: .25; cursor: default; }
.lb-img-wrap {
  grid-column: 2; display: flex; align-items: center; justify-content: center;
  max-height: calc(100vh - 120px); padding: 0 12px;
}
.lb-img-wrap img {
  max-width: 100%; max-height: calc(100vh - 120px);
  object-fit: contain; border-radius: 10px;
  box-shadow: 0 24px 72px rgba(0,0,0,.7);
  display: block;
}
.lb-footer {
  grid-column: 1 / -1; display: flex; align-items: center;
  justify-content: center; gap: 18px;
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.3);
}
.lb-counter { color: var(--soft); font-size: .82rem; font-weight: 700; }
.lb-cover-btn {
  background: var(--yellow); color: #050505; border: none;
  border-radius: var(--r-pill); padding: 8px 18px;
  font-weight: 900; font-size: .82rem; cursor: pointer;
  transition: opacity .18s;
}
.lb-cover-btn:hover { opacity: .88; }
@media (max-width: 640px) {
  .gallery-lightbox { grid-template-columns: 44px 1fr 44px; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .lb-img-wrap img { max-height: calc(100vh - 140px); }
}

/* ═══ MOBILE PRODUCT MODAL FIT FIX — 20260619 ═══
   Fixes iPhone/Safari cut-off modal: smaller media area, safe viewport height,
   visible close button, and sticky add-to-cart actions. This block is intentionally
   last so it overrides earlier centered-dialog/mobile rules. */
.product-modal {
  scrollbar-width: thin;
}
.product-modal .modal-art-stack {
  min-width: 0;
}
.product-modal .modal-copy {
  min-width: 0;
}
.product-modal .modal-copy h3,
.product-modal .modal-copy p {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .product-modal[open],
  .product-modal.is-open {
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    right: 10px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100svh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)) - 16px) !important;
    max-height: calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)) - 16px) !important;
    margin: 0 !important;
    transform: none !important;
    border-radius: 26px !important;
    border: 1px solid var(--line) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .product-modal::backdrop {
    background: rgba(0,0,0,.82) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .product-modal .modal-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .product-modal .modal-art-stack {
    gap: 0 !important;
  }

  .product-modal .modal-art {
    height: clamp(158px, 30svh, 250px) !important;
    height: clamp(158px, 30dvh, 250px) !important;
    min-height: 0 !important;
    max-height: 250px !important;
    border-radius: 26px 26px 0 0 !important;
    background: #f7f7f4 !important;
  }

  .product-modal .modal-art img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
  }

  .product-modal .modal-thumbs {
    gap: 6px !important;
    padding: 8px 12px 0 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .product-modal .modal-thumb {
    width: 42px !important;
    height: 50px !important;
    flex: 0 0 auto !important;
  }

  .product-modal .modal-copy {
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    gap: 10px !important;
  }

  .product-modal .modal-meta {
    gap: 6px !important;
  }

  .product-modal .modal-meta span {
    font-size: .62rem !important;
    padding: 4px 8px !important;
    line-height: 1.1 !important;
  }

  .product-modal .modal-copy h3 {
    font-size: clamp(1.35rem, 7.2vw, 2.15rem) !important;
    line-height: .94 !important;
    letter-spacing: -.05em !important;
    margin: 0 !important;
  }

  .product-modal .modal-copy p {
    font-size: .82rem !important;
    line-height: 1.45 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  .product-modal .modal-price-line {
    margin: 0 !important;
    gap: 8px !important;
  }

  .product-modal .modal-price {
    font-size: 1.85rem !important;
    line-height: 1 !important;
  }

  .product-modal .modal-compare {
    font-size: .78rem !important;
  }

  .product-modal .modal-discount {
    font-size: .68rem !important;
    padding: 3px 7px !important;
  }

  .product-modal .modal-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .product-modal .modal-specs span {
    padding: 8px 9px !important;
    font-size: .68rem !important;
    line-height: 1.2 !important;
    gap: 3px !important;
  }

  .product-modal .modal-specs strong {
    font-size: .78rem !important;
    line-height: 1.2 !important;
  }

  .product-modal .option-label {
    font-size: .72rem !important;
    margin-bottom: 5px !important;
  }

  .product-modal .modal-sizes {
    gap: 6px !important;
  }

  .product-modal .modal-size {
    min-width: 38px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: .74rem !important;
  }

  .product-modal .qty-label {
    font-size: .72rem !important;
    gap: 5px !important;
  }

  .product-modal .qty-label input {
    max-width: 100px !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
  }

  .product-modal .modal-actions-row {
    position: sticky !important;
    bottom: calc(-16px - env(safe-area-inset-bottom)) !important;
    z-index: 8 !important;
    margin: 2px -16px calc(-16px - env(safe-area-inset-bottom)) !important;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    background: linear-gradient(180deg, rgba(8,8,16,.82), rgba(8,8,16,.98) 32%, rgba(8,8,16,1)) !important;
    border-top: 1px solid var(--line) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .product-modal .modal-actions-row .btn {
    min-height: 44px !important;
    padding: 11px 14px !important;
    font-size: .8rem !important;
  }

  .product-modal .modal-wish-btn {
    width: 46px !important;
    min-width: 46px !important;
  }

  .product-modal .modal-close {
    position: fixed !important;
    top: calc(max(8px, env(safe-area-inset-top)) + 10px) !important;
    right: 20px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
    color: #fff !important;
    background: rgba(5,5,8,.74) !important;
    border-color: rgba(255,255,255,.32) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.26) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .product-modal .modal-close svg {
    width: 16px !important;
    height: 16px !important;
  }

  .product-modal[open] ~ .mobile-bottom-nav,
  .product-modal[open] ~ .wa-float,
  .product-modal[open] ~ .back-to-top {
    display: none !important;
  }

  html[data-theme="light"] .product-modal .modal-actions-row {
    background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.98) 32%, #fff) !important;
    border-top-color: rgba(0,0,0,.12) !important;
  }

  html[data-theme="light"] .product-modal .modal-close {
    color: #070707 !important;
    background: rgba(255,255,255,.82) !important;
    border-color: rgba(0,0,0,.18) !important;
  }
}

@media (max-width: 420px) {
  .product-modal[open],
  .product-modal.is-open {
    left: 8px !important;
    right: 8px !important;
    border-radius: 24px !important;
  }

  .product-modal .modal-art {
    height: clamp(145px, 27svh, 210px) !important;
    height: clamp(145px, 27dvh, 210px) !important;
  }

  .product-modal .modal-copy h3 {
    font-size: clamp(1.22rem, 6.8vw, 1.8rem) !important;
  }

  .product-modal .modal-copy p {
    font-size: .78rem !important;
    line-height: 1.38 !important;
  }

  .product-modal .modal-price {
    font-size: 1.68rem !important;
  }
}


/* ═══ FINAL PRODUCT IMAGE + MODAL RETURN FIX — 20260619-3 ═══
   Product photos are inventory-critical: never crop them on card, modal, desktop, or mobile. */
.product-image,
.modal-art,
.editor-thumb,
.wish-thumb,
.cart-thumb {
  background: #ffffff !important;
}

.product-image img,
.modal-art img,
.editor-thumb img,
.wish-thumb img,
.cart-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
}

.product-card:hover .product-image img,
.product-card.is-tilted .product-image img {
  transform: none !important;
}

.modal-art {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
  box-sizing: border-box !important;
}

.modal-art.has-image {
  cursor: zoom-in;
}

@media (min-width: 761px) {
  .product-modal[open],
  .product-modal.is-open {
    width: min(1080px, calc(100vw - 32px)) !important;
    max-height: min(92dvh, 900px) !important;
  }

  .product-modal .modal-grid {
    grid-template-columns: minmax(390px, .95fr) minmax(380px, 1fr) !important;
  }

  .product-modal .modal-art {
    height: min(76dvh, 760px) !important;
    min-height: 560px !important;
    max-height: 760px !important;
    border-radius: calc(var(--r-2xl) - 1px) 0 0 calc(var(--r-2xl) - 1px) !important;
  }
}

@media (max-width: 760px) {
  .product-modal[open],
  .product-modal.is-open {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: auto !important;
  }

  .product-modal .modal-art {
    height: clamp(260px, 42svh, 420px) !important;
    height: clamp(260px, 42dvh, 420px) !important;
    min-height: 260px !important;
    max-height: 42dvh !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 10px !important;
  }

  .product-modal .modal-copy {
    padding-top: 14px !important;
  }

  .product-modal .modal-close {
    z-index: 50 !important;
  }
}

@media (max-width: 420px) {
  .product-modal .modal-art {
    height: clamp(240px, 39svh, 360px) !important;
    height: clamp(240px, 39dvh, 360px) !important;
    min-height: 240px !important;
    max-height: 39dvh !important;
  }
}
