/* ═══════════════════════════════════════════════════════════════════════════
   store.css — Laughing Moon storefront layer
   ---------------------------------------------------------------------------
   Loaded AFTER css/style.css, and ONLY by the storefront pages (home, shop,
   product, cart, Our Story pages, policies, account). Chronicle and Party
   also load style.css but never this file, so nothing here can leak into
   them. Everything is an override/extension of the shared base styles:
   rounder shapes, glass surfaces, motion, page transitions, the cart drawer.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --glass: rgba(24, 14, 44, 0.62);
  --glass-strong: rgba(19, 9, 42, 0.97);
  --glass-soft: rgba(255, 255, 255, 0.025);
  --hair: rgba(212, 184, 74, 0.14);
  --hair-strong: rgba(212, 184, 74, 0.32);
  --lilac-hair: rgba(155, 126, 200, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --glow-gold: 0 0 0 1px rgba(212, 184, 74, 0.25), 0 10px 30px -8px rgba(212, 184, 74, 0.45);
  --glow-purple: 0 24px 60px -24px rgba(92, 61, 143, 0.75);
}

html { scroll-behavior: smooth; }
::selection { background: rgba(212, 184, 74, 0.85); color: var(--moon-midnight); }

/* Soft, slowly drifting starfield behind every store page */
body::before {
  content: '';
  position: fixed; inset: -50% -10% -10% -10%;
  z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(245,240,216,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(245,240,216,0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(212,184,74,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 48%, rgba(245,240,216,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 82%, rgba(155,126,200,0.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 32%, rgba(245,240,216,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, rgba(245,240,216,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 86%, rgba(212,184,74,0.35) 50%, transparent 51%);
  background-size: 640px 640px;
  animation: lmStarDrift 140s linear infinite;
  opacity: 0.7;
}
@keyframes lmStarDrift { to { transform: translateY(640px); } }

/* ─── Keyframes shared across the store ─────────────────────────────────── */
@keyframes lmRise   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lmFade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes lmPop    { from { opacity: 0; transform: translateY(-6px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes lmTitleIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(10px); letter-spacing: 12px; }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes lmCardIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes lmBump   { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes lmShake  { 10%,90% { transform: translateX(-1px); } 20%,80% { transform: translateX(3px); } 30%,50%,70% { transform: translateX(-6px); } 40%,60% { transform: translateX(6px); } }
@keyframes lmFloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes lmPulse  { 0%,100% { box-shadow: 0 0 0 0 rgba(212,184,74,0.55); } 70% { box-shadow: 0 0 0 8px rgba(212,184,74,0); } }
@keyframes lmSpin   { to { transform: rotate(360deg); } }
@keyframes lmShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ═══ PAGE TRANSITIONS ══════════════════════════════════════════════════════
   Modern browsers (Chrome/Edge 126+, Safari 18.2+): native cross-document
   View Transitions. The new page is revealed through a soft "moonrise"
   circle that grows from wherever the visitor clicked (--lm-x/--lm-y are set
   by store.js). The floating navbar is its own group so it stays put.
   Everything else falls back to the JS veil further down. */
@view-transition { navigation: auto; }

@property --lm-r {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

.navbar { view-transition-name: lm-nav; }

::view-transition-old(root),
::view-transition-new(root) { mix-blend-mode: normal; }

::view-transition-old(root) {
  animation: lmVtOld 0.75s var(--ease-io) both;
}
::view-transition-new(root) {
  animation: lmVtNew 0.8s var(--ease-out) both;
  -webkit-mask-image: radial-gradient(circle at var(--lm-x, 50%) var(--lm-y, 35%), #000 calc(var(--lm-r) - 90px), transparent var(--lm-r));
          mask-image: radial-gradient(circle at var(--lm-x, 50%) var(--lm-y, 35%), #000 calc(var(--lm-r) - 90px), transparent var(--lm-r));
}
@keyframes lmVtNew { from { --lm-r: 0px; } to { --lm-r: 220vmax; } }
@keyframes lmVtOld { to { opacity: 0.25; transform: scale(0.965); filter: blur(3px) saturate(0.7); } }

::view-transition-group(lm-nav) { animation-duration: 0.45s; animation-timing-function: var(--ease-out); }

/* Fallback veil (Firefox / older Safari) — exit: a midnight moon grows from
   the click point; entry: the cover lifts with the same soft circle. */
.lm-veil {
  position: fixed; inset: 0; z-index: 3000; pointer-events: all; overflow: hidden;
}
.lm-veil-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #241638 0%, var(--moon-midnight) 62%);
  box-shadow: inset 0 0 0 1px rgba(212,184,74,0.35), 0 0 80px 10px rgba(92,61,143,0.45);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.55s var(--ease-io);
  will-change: transform;
}
.lm-veil.is-on .lm-veil-orb { transform: translate(-50%, -50%) scale(1); }

html[data-lm-enter] body::after {
  content: '';
  position: fixed; inset: 0; z-index: 3000; pointer-events: none;
  background: var(--moon-midnight);
  -webkit-mask-image: radial-gradient(circle at var(--lm-x, 50%) var(--lm-y, 35%), transparent calc(var(--lm-r) - 90px), #000 var(--lm-r));
          mask-image: radial-gradient(circle at var(--lm-x, 50%) var(--lm-y, 35%), transparent calc(var(--lm-r) - 90px), #000 var(--lm-r));
  animation: lmVtNew 0.8s var(--ease-out) 0.05s both, lmEnterDone 0.01s linear 0.9s both;
}
@keyframes lmEnterDone { to { visibility: hidden; } }

/* ═══ SCROLL REVEALS ════════════════════════════════════════════════════════
   Only hidden when store.js has run (html.lm-js), so content is never lost
   if scripts fail. */
/* While revealing, the element uses this transition; once store.js marks it
   .is-done the element's own transitions (hover lifts etc.) take over again. */
.lm-js [data-reveal]:not([data-reveal="grid"]):not(.is-done) {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.lm-js [data-reveal]:not([data-reveal="grid"]):not(.is-in) { opacity: 0; transform: translateY(28px); }
.lm-js [data-reveal="left"]:not(.is-in)  { transform: translateX(-34px); }
.lm-js [data-reveal="right"]:not(.is-in) { transform: translateX(34px); }
.lm-js [data-reveal="zoom"]:not(.is-in)  { transform: scale(0.94); }
/* Grids: the grid itself stays put; its cards hold their staggered entrance
   until the grid scrolls into view. */
.lm-js [data-reveal="grid"]:not(.is-in) .lm-card-in { animation-play-state: paused; }

/* ═══ NAVBAR — floating glass capsule ═══════════════════════════════════════ */
.navbar {
  top: 12px;
  margin: 12px 16px 0;
  padding: 0.55rem 0.7rem 0.55rem 0.8rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  background: rgba(19, 9, 42, 0.58);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
          backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s var(--ease-out), border-color 0.35s ease;
}
.navbar.is-scrolled {
  background: rgba(15, 8, 30, 0.86);
  border-color: rgba(212,184,74,0.2);
  box-shadow: 0 16px 50px -14px rgba(0,0,0,0.7), 0 0 0 1px rgba(92,61,143,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

.nav-logo { gap: 10px; }
.logo-img {
  width: 40px; height: 40px;
  box-shadow: 0 0 0 1px rgba(212,184,74,0.25), 0 0 18px rgba(212,184,74,0.18);
  transition: transform 0.6s var(--ease-spring), box-shadow 0.4s ease;
}
.nav-logo:hover .logo-img { transform: rotate(-14deg) scale(1.06); box-shadow: 0 0 0 1px rgba(212,184,74,0.5), 0 0 26px rgba(212,184,74,0.35); }
.nav-brand { transition: color 0.3s ease; }
.nav-logo:hover .nav-brand { color: var(--moon-gold); }

.nav-links { gap: 0.2rem; }
.nav-links a,
.nav-dropdown-trigger {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover,
.nav-dropdown-trigger:hover { background: rgba(212,184,74,0.08); }
.nav-links a.nav-item-active,
.nav-dropdown-trigger.nav-item-active { background: rgba(212,184,74,0.1); }

.nav-dropdown-menu {
  top: calc(100% + 16px);
  min-width: 200px;
  padding: 6px;
  border-radius: var(--r-md);
  border-color: var(--hair);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translate(-50%, -10px) scale(0.96);
  transform-origin: top center;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out);
}
.nav-dropdown.open .nav-dropdown-menu { transform: translate(-50%, 0) scale(1); }
.nav-dropdown-menu a {
  border-radius: var(--r-sm);
  padding: 0.7rem 1rem;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.3s var(--ease-out);
}
.nav-dropdown-menu a:hover { padding-left: 1.3rem; background: rgba(212,184,74,0.1); }

/* Sign in / user button (these carry inline styles on every page) */
#nav-signin-link {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  transition: color 0.25s ease, background 0.25s ease;
}
#nav-signin-link:hover { color: var(--moon-gold) !important; background: rgba(212,184,74,0.08); }

#nav-user-btn {
  border-radius: var(--r-pill) !important;
  padding: 6px 14px 6px 8px !important;
  background: rgba(255,255,255,0.03) !important;
  transition: border-color 0.25s ease, background 0.25s ease;
}
#nav-user-btn:hover { border-color: rgba(212,184,74,0.6) !important; background: rgba(212,184,74,0.08) !important; }
#nav-user-symbol {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212,184,74,0.12);
}
#nav-user-dropdown {
  border-radius: var(--r-md) !important;
  padding: 6px !important;
  background: var(--glass-strong) !important;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.7) !important;
  animation: lmPop 0.28s var(--ease-out);
  transform-origin: top right;
}
#nav-user-dropdown a, #nav-user-dropdown button { border-radius: var(--r-sm); transition: background 0.2s ease; }
#nav-user-dropdown a:hover { background: rgba(212,184,74,0.1); }
#nav-user-dropdown button:hover { background: rgba(220,80,80,0.08); }

.btn-cart {
  height: 42px;
  padding: 0 8px 0 16px;
  border-radius: var(--r-pill);
  border-color: rgba(212,184,74,0.35);
  background: rgba(212,184,74,0.06);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-spring);
}
.btn-cart i { font-size: 18px; }
.btn-cart:hover { transform: translateY(-1px); box-shadow: var(--glow-gold); }
.btn-cart:active { transform: scale(0.96); }
#cart-count {
  min-width: 26px; height: 26px; border-radius: 13px;
  box-shadow: 0 0 12px rgba(212,184,74,0.45);
}
#cart-count.is-bump { animation: lmBump 0.6s var(--ease-spring); }

.nav-hamburger {
  width: 42px; height: 42px; border-radius: 50%;
  align-items: center; justify-content: center;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,0.03);
  transition: background 0.25s ease;
}
.nav-hamburger span { width: 18px; border-radius: 2px; }
.nav-hamburger.open { background: rgba(212,184,74,0.1); }

/* ═══ BUTTONS — pills with a moonlight sweep ════════════════════════════════ */
.btn-primary,
.btn-ghost,
.btn-add-cart,
.btn-checkout,
.ig-follow-btn {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-pill);
  isolation: isolate;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary,
.btn-add-cart,
.btn-checkout {
  background: linear-gradient(135deg, #E6CB5E 0%, var(--moon-gold) 45%, #B99A33 100%);
  box-shadow: 0 10px 28px -10px rgba(212,184,74,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary::after,
.btn-add-cart::after,
.btn-checkout::after,
.btn-ghost::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
  z-index: -1;
  pointer-events: none;
}
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(155,126,200,0.35), transparent); }
.btn-primary:hover::after,
.btn-add-cart:hover::after,
.btn-checkout:hover::after,
.btn-ghost:hover::after { left: 120%; }
.btn-primary:hover,
.btn-add-cart:hover,
.btn-checkout:hover {
  background: linear-gradient(135deg, #F5F0D8 0%, #EBDD9C 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(212,184,74,0.75), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-primary:active,
.btn-add-cart:active,
.btn-checkout:active,
.btn-ghost:active { transform: translateY(0) scale(0.97); }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: rgba(245,240,216,0.22);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(155,126,200,0.1); box-shadow: 0 14px 30px -14px rgba(155,126,200,0.7); }

/* ═══ HERO ══════════════════════════════════════════════════════════════════ */
.hero { margin-top: -80px; padding-top: calc(4rem + 80px); }
.hero-tag {
  border-radius: var(--r-pill);
  padding: 7px 16px 7px 12px;
  background: rgba(212,184,74,0.06);
  display: inline-flex; align-items: center; gap: 10px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.hero-tag::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--moon-gold);
  animation: lmPulse 2.4s ease-out infinite;
}
.hero .hero-tag   { animation: lmRise 0.9s var(--ease-out) 0.1s both; }
.hero .hero-title { animation: lmTitleIn 1.2s var(--ease-out) 0.2s both; }
.hero .hero-sub   { animation: lmRise 0.9s var(--ease-out) 0.55s both; }
.hero .hero-ctas  { animation: lmRise 0.9s var(--ease-out) 0.7s both; }
.hero-title .accent { text-shadow: 0 0 40px rgba(212,184,74,0.35); }
.hero-title .accent-purple { text-shadow: 0 0 40px rgba(155,126,200,0.45); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(245,240,216,0.4); text-decoration: none;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  animation: lmFade 1s ease 1.2s both;
  transition: color 0.3s ease;
}
.hero-scroll:hover { color: var(--moon-gold); }
.hero-scroll-pill {
  width: 24px; height: 38px; border-radius: 14px;
  border: 1px solid currentColor; position: relative;
}
.hero-scroll-pill::after {
  content: ''; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: currentColor;
  animation: lmScrollDot 1.8s var(--ease-io) infinite;
}
@keyframes lmScrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(12px); } }

/* ═══ MARQUEE — a slightly tilted ribbon ════════════════════════════════════ */
.marquee-strip {
  border: none;
  margin: 1rem 0 2rem;
  padding: 1.15rem 0;
  transform: rotate(-1.4deg) scale(1.03);
  background: linear-gradient(90deg, rgba(92,61,143,0.05), rgba(92,61,143,0.25), rgba(212,184,74,0.12), rgba(92,61,143,0.25), rgba(92,61,143,0.05));
  box-shadow: inset 0 1px 0 rgba(212,184,74,0.18), inset 0 -1px 0 rgba(212,184,74,0.18);
}
.marquee-inner span { color: rgba(245,240,216,0.55); }

/* ═══ SECTIONS — soft hairlines instead of hard borders ═════════════════════ */
.products-section,
.about-strip,
.instagram-section,
.shop-grid-section { border-top: none; position: relative; }
.products-section::before,
.about-strip::before,
.instagram-section::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,184,74,0.22), transparent);
}
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '';
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--moon-gold));
}
.view-all {
  border-bottom: none;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(155,126,200,0.3);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.35s var(--ease-spring);
}
.view-all:hover { background: rgba(212,184,74,0.08); transform: translateX(4px); }

/* ═══ PRODUCT CARDS ═════════════════════════════════════════════════════════ */
.products-grid, .shop-grid { gap: 1.25rem; }

.product-card {
  display: block;
  position: relative;
  padding: 10px 10px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  border: 1px solid rgba(212,184,74,0.08);
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.6s var(--ease-out), background 0.4s ease;
}
.product-card.lm-card-in {
  animation: lmCardIn 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,184,74,0.3);
  background: linear-gradient(180deg, rgba(155,126,200,0.08), rgba(255,255,255,0.01));
  box-shadow: var(--glow-purple), 0 0 0 1px rgba(212,184,74,0.05);
}
.product-card:focus-visible { outline: 2px solid var(--moon-gold); outline-offset: 4px; }

.product-img {
  border-radius: var(--r-md);
  margin-bottom: 14px;
  isolation: isolate;
}
.product-img img {
  position: absolute; inset: 0;
  transition: transform 1s var(--ease-out), opacity 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-img .img-alt { opacity: 0; }
.product-card:hover .product-img .img-alt { opacity: 1; }
.product-img::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(13,8,24,0.55));
  opacity: 0; transition: opacity 0.4s ease;
}
.product-card:hover .product-img::after { opacity: 1; }

.product-quick {
  position: absolute; left: 50%; bottom: 14px; z-index: 2;
  transform: translate(-50%, 14px);
  opacity: 0;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(245,240,216,0.92);
  color: var(--moon-midnight);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out);
}
.product-card:hover .product-quick { opacity: 1; transform: translate(-50%, 0); }

.product-badge {
  z-index: 2;
  top: 12px; left: 12px;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  background: rgba(92,61,143,0.75);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(155,126,200,0.4);
}
.product-type, .product-name, .product-price { padding: 0 6px; }
.product-name { transition: color 0.3s ease; }
.product-card:hover .product-name { color: var(--moon-gold); }

.product-skeleton, .ig-skeleton {
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, #1A1025 25%, #2A1F3D 50%, #1A1025 75%);
  background-size: 200% 100%;
  animation: lmShimmer 1.6s linear infinite;
}

.lm-empty-note {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(245,240,216,0.45);
  letter-spacing: 1px;
}

/* ═══ HOME: ABOUT STRIP (stats as glass tiles) ══════════════════════════════ */
.about-stats { gap: 1rem; }
.stat-block {
  border-left: none;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  border: 1px solid rgba(212,184,74,0.1);
  position: relative; overflow: hidden;
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease;
}
.stat-block::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,184,74,0.18), transparent 70%);
  transition: transform 0.8s var(--ease-out);
}
.stat-block:nth-child(2)::after, .stat-block:nth-child(3)::after { background: radial-gradient(circle, rgba(155,126,200,0.22), transparent 70%); }
.stat-block:hover { transform: translateY(-4px); border-color: rgba(212,184,74,0.28); }
.stat-block:hover::after { transform: scale(1.5); }
.stat-num { text-shadow: 0 0 30px rgba(212,184,74,0.3); }

/* ═══ HOME: CHRONICLE TEASER (rounded card instead of a full band) ═════════ */
.chronicle-teaser {
  border-top: none;
  margin: 2rem 3rem 3rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--lilac-hair);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155,126,200,0.14), transparent 70%),
    linear-gradient(180deg, #170e28, #110a1f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 30px 80px -40px rgba(92,61,143,0.8);
}
.chronicle-teaser-glow { animation: lmGlowBreathe 7s ease-in-out infinite; }
@keyframes lmGlowBreathe { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%,-50%) scale(1.18); opacity: 1; } }

/* ═══ HOME: INSTAGRAM ═══════════════════════════════════════════════════════ */
.instagram-grid { gap: 10px; }
.ig-post {
  border-radius: var(--r-md);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.ig-post.lm-card-in { animation: lmCardIn 0.8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.ig-post:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--glow-purple); }
.ig-post img { transition: transform 1s var(--ease-out); }
.ig-post:hover img { transform: scale(1.08); }
.ig-overlay { background: linear-gradient(180deg, rgba(13,8,24,0.1), rgba(92,61,143,0.65)); }
.ig-follow-btn { border-radius: var(--r-pill); }
.ig-follow-btn:hover { transform: translateY(-2px); }

/* ═══ FOOTER — rounded panel ════════════════════════════════════════════════ */
footer {
  position: relative;
  margin: 4rem 16px 16px;
  border: 1px solid rgba(212,184,74,0.12);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(26,16,37,0.75), rgba(13,8,24,0.92));
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; top: -160px; left: 50%;
  width: 520px; height: 320px; margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(92,61,143,0.28), transparent 70%);
  pointer-events: none;
}
.footer-top, .footer-bottom { position: relative; }
.footer-brand { text-shadow: 0 0 24px rgba(212,184,74,0.3); }
.footer-nav-group a {
  transition: color 0.25s ease, transform 0.35s var(--ease-out);
  display: inline-block; width: fit-content;
}
.footer-nav-group a:hover { transform: translateX(4px); color: var(--moon-gold); }
.social-link {
  padding: 8px 14px 8px 10px;
  margin-left: -10px;
  border-radius: var(--r-pill);
  transition: background 0.25s ease, color 0.25s ease;
}
.social-link:hover { background: rgba(255,255,255,0.05); }
.footer-bottom { border-top-color: rgba(212,184,74,0.08); }

/* ═══ SHOP PAGE ═════════════════════════════════════════════════════════════ */
.shop-hero {
  position: relative; overflow: hidden;
  border-bottom: none;
  padding: 5rem 3rem 2.5rem;
  text-align: center;
}
.shop-hero::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 640px; height: 640px; margin: -380px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,61,143,0.28), rgba(212,184,74,0.05) 50%, transparent 70%);
  animation: lmGlowBreathe 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.shop-hero .section-label { animation: lmRise 0.8s var(--ease-out) 0.05s both; }
.shop-hero h1 {
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.95;
  animation: lmTitleIn 1.1s var(--ease-out) 0.12s both;
}
.shop-hero-sub {
  margin: 1rem auto 0; max-width: 460px;
  font-size: 15px; font-weight: 300; font-style: italic; line-height: 1.8;
  color: rgba(245,240,216,0.55);
  animation: lmRise 0.8s var(--ease-out) 0.35s both;
}

.shop-toolbar {
  position: sticky; top: 86px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  pointer-events: none;
  animation: lmRise 0.8s var(--ease-out) 0.45s both;
}
.shop-filters {
  pointer-events: auto;
  position: relative;
  display: flex; flex-wrap: nowrap; gap: 2px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  background: rgba(19,9,42,0.78);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.8);
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-filters::-webkit-scrollbar { display: none; }
.filter-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #E6CB5E, var(--moon-gold));
  box-shadow: 0 6px 20px -6px rgba(212,184,74,0.7);
  transition: transform 0.5s var(--ease-spring), width 0.5s var(--ease-spring);
  z-index: 0;
}
.filter-btn {
  position: relative; z-index: 1;
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  white-space: nowrap;
  color: rgba(245,240,216,0.6);
  transition: color 0.35s ease;
}
.filter-btn:hover { color: var(--moon-cream); border-color: transparent; }
.filter-btn.active, .filter-btn.active:hover { color: var(--moon-midnight); font-weight: 500; }
/* Without JS positioning the indicator, still show which filter is active */
.shop-filters:not(.has-indicator) .filter-btn.active { background: var(--moon-gold); }
.shop-count {
  pointer-events: auto;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(245,240,216,0.4);
  min-height: 14px;
  transition: opacity 0.3s ease;
}

.shop-grid-section { padding: 2rem 3rem 3rem; }
.shop-grid .product-card { transition: transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.6s var(--ease-out), background 0.4s ease, opacity 0.2s ease; }
.shop-grid.is-leaving .product-card { opacity: 0; transform: translateY(10px) scale(0.98); transition-duration: 0.2s; }

/* ═══ PRODUCT PAGE ══════════════════════════════════════════════════════════ */
.product-crumb {
  padding: 1.75rem 3rem 0;
}
.product-crumb a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: rgba(255,255,255,0.02);
  color: rgba(245,240,216,0.55); text-decoration: none;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease-out);
}
.product-crumb a:hover { color: var(--moon-gold); border-color: var(--hair-strong); transform: translateX(-4px); }

.product-page { padding: 2.25rem 3rem 4rem; gap: 4rem; align-items: start; }
.product-gallery { animation: lmRise 0.9s var(--ease-out) 0.05s both; }
.product-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #2A1F3D, #150c22 70%);
  border: 1px solid rgba(212,184,74,0.1);
  box-shadow: 0 40px 90px -40px rgba(92,61,143,0.8);
  cursor: zoom-in;
}
.product-stage::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, #1A1025 25%, #2A1F3D 50%, #1A1025 75%);
  background-size: 200% 100%;
  animation: lmShimmer 1.6s linear infinite;
  transition: opacity 0.5s ease;
}
.product-stage.has-img::before { opacity: 0; animation: none; }
.product-main-img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s var(--ease-out), filter 0.35s ease;
  transform-origin: var(--zx, 50%) var(--zy, 50%);
}
.product-main-img.is-swapping { opacity: 0; transform: scale(1.03); filter: blur(6px); }
.product-stage.is-zoom .product-main-img { transform: scale(1.6); transition: transform 0.35s var(--ease-out); }
.product-thumbs { gap: 10px; margin-top: 14px; }
.product-thumb {
  width: 72px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-spring);
}
.product-thumb:hover { opacity: 0.9; transform: translateY(-3px); }
.product-thumb.active { opacity: 1; border-color: var(--moon-gold); box-shadow: 0 0 18px rgba(212,184,74,0.35); }

.product-info { position: sticky; top: 104px; padding-top: 0.5rem; }
.product-info > * { animation: lmRise 0.8s var(--ease-out) both; }
.product-info > *:nth-child(1) { animation-delay: 0.10s; }
.product-info > *:nth-child(2) { animation-delay: 0.16s; }
.product-info > *:nth-child(3) { animation-delay: 0.22s; }
.product-info > *:nth-child(4) { animation-delay: 0.28s; }
.product-info > *:nth-child(5) { animation-delay: 0.34s; }
.product-info > *:nth-child(6) { animation-delay: 0.40s; }
.product-info > *:nth-child(n+7) { animation-delay: 0.46s; }
.product-info .product-type {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(155,126,200,0.1); border: 1px solid var(--lilac-hair); color: var(--moon-lilac);
}
.product-title-lg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: 2px; line-height: 0.95;
  margin: 1rem 0 0.75rem;
}
.product-info .product-price {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 1.5px;
  margin-bottom: 1.75rem;
  text-shadow: 0 0 26px rgba(212,184,74,0.35);
}
.product-price.is-tick { animation: lmBump 0.45s var(--ease-out); }

.variant-group { margin-bottom: 1.5rem; }
.variant-label { display: flex; justify-content: space-between; align-items: baseline; }
.variant-label .variant-picked { color: rgba(245,240,216,0.55); letter-spacing: 1px; text-transform: none; font-size: 12px; }
.variant-options { gap: 8px; margin-bottom: 0; }
.variant-btn {
  border-radius: var(--r-pill);
  padding: 10px 18px;
  min-width: 52px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.35s var(--ease-spring), box-shadow 0.3s ease;
}
.variant-btn:hover { transform: translateY(-2px); }
.variant-btn.selected {
  background: var(--moon-gold);
  border-color: var(--moon-gold);
  color: var(--moon-midnight);
  font-weight: 500;
  box-shadow: 0 8px 20px -8px rgba(212,184,74,0.75);
  animation: lmBump 0.4s var(--ease-spring);
}
.variant-btn.is-unavailable { opacity: 0.38; text-decoration: line-through; text-decoration-color: rgba(245,240,216,0.4); }
.variant-btn.is-unavailable.selected { opacity: 0.7; }
.variant-options.is-missing { animation: lmShake 0.5s ease; }
.variant-options.is-missing .variant-btn { border-color: rgba(230,110,110,0.55); }

.variant-error {
  min-height: 18px;
  margin-top: 0.75rem;
  font-size: 12px; letter-spacing: 1px;
  color: #ec8a8a;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.variant-error.is-on { opacity: 1; transform: none; }

.btn-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px;
  margin-top: 0.75rem;
  font-size: 13px;
}
.btn-add-cart i { font-size: 18px; transition: transform 0.4s var(--ease-spring); }
.btn-add-cart:hover i { transform: translateY(-2px) rotate(-8deg); }
.btn-add-cart.is-added { background: linear-gradient(135deg, #7dd08a, #5fbd6d); color: #0b1a0e; }

.product-perks {
  margin-top: 1.5rem;
  display: grid; gap: 10px;
}
.product-perk {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(212,184,74,0.1);
  font-size: 13px; color: rgba(245,240,216,0.6); letter-spacing: 0.5px;
}
.product-perk i {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212,184,74,0.1); color: var(--moon-gold); font-size: 17px;
}
.product-load-error { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; }
.product-load-error h2 { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: 2px; margin-bottom: 0.5rem; }
.product-load-error p { color: rgba(245,240,216,0.5); margin-bottom: 1.75rem; }

/* Fly-to-cart ghost image */
.lm-fly {
  position: fixed; z-index: 2500; pointer-events: none;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 2px rgba(212,184,74,0.6);
}

/* ═══ CART PAGE ═════════════════════════════════════════════════════════════ */
.cart-page { max-width: 1160px; padding: 3.5rem 3rem 3rem; }
.cart-head { margin-bottom: 2.25rem; }
.cart-head h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 80px);
  letter-spacing: 3px; line-height: 0.95;
  margin: 0;
  animation: lmTitleIn 1s var(--ease-out) 0.1s both;
}
.cart-head .section-label { animation: lmRise 0.7s var(--ease-out) both; }
.cart-head-count {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(245,240,216,0.45);
  animation: lmRise 0.7s var(--ease-out) 0.25s both;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: start;
}
.cart-layout.is-empty { grid-template-columns: 1fr; }

.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 12px;
  border-bottom: none;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(212,184,74,0.1);
  transition: border-color 0.3s ease, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  animation: lmCardIn 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms);
  overflow: hidden;
}
.cart-item:hover { border-color: rgba(212,184,74,0.24); box-shadow: 0 20px 50px -30px rgba(92,61,143,0.9); }
.cart-item.is-removing {
  animation: lmCartOut 0.45s var(--ease-io) forwards;
}
@keyframes lmCartOut {
  0%   { opacity: 1; transform: none; max-height: 220px; }
  45%  { opacity: 0; transform: translateX(40px) scale(0.98); max-height: 220px; padding-top: 12px; padding-bottom: 12px; margin-bottom: 0; }
  100% { opacity: 0; transform: translateX(40px) scale(0.98); max-height: 0; padding-top: 0; padding-bottom: 0; border-width: 0; margin-top: -14px; }
}
.cart-item-media {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #1A1025;
  aspect-ratio: 3 / 4;
}
.cart-item-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.8s var(--ease-out);
}
.cart-item:hover .cart-item-img { transform: scale(1.06); }
.cart-item-body { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 6px 4px 0; min-width: 0; }
.cart-item-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.cart-item-name { font-size: 15px; font-weight: 500; line-height: 1.35; margin-bottom: 6px; }
.cart-item-name a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.cart-item-name a:hover { color: var(--moon-gold); }
.cart-item-variant {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(155,126,200,0.1);
  color: rgba(245,240,216,0.6);
  font-size: 11px; letter-spacing: 1px;
}
.cart-item-remove {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(245,240,216,0.1);
  color: rgba(245,240,216,0.45);
  cursor: pointer; font-size: 15px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.4s var(--ease-spring);
}
.cart-item-remove:hover { color: #ec8a8a; border-color: rgba(236,138,138,0.4); background: rgba(236,138,138,0.08); transform: rotate(90deg); }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.cart-item-price {
  font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px;
  color: var(--moon-gold);
}
.cart-item-price.is-tick, .lm-money.is-tick { animation: lmBump 0.45s var(--ease-out); }

.qty-stepper {
  display: inline-flex; align-items: center;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(245,240,216,0.12);
}
.qty-stepper button {
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: transparent; color: var(--moon-cream);
  font-size: 16px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s var(--ease-spring);
}
.qty-stepper button:hover { background: rgba(212,184,74,0.15); color: var(--moon-gold); }
.qty-stepper button:active { transform: scale(0.85); }
.qty-val { min-width: 30px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; display: inline-block; }
.qty-val.is-tick { animation: lmBump 0.4s var(--ease-out); }

.cart-summary {
  position: sticky; top: 104px;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(36,22,58,0.85), rgba(19,9,42,0.9));
  border: 1px solid rgba(212,184,74,0.16);
  box-shadow: 0 40px 90px -40px rgba(92,61,143,0.9), inset 0 1px 0 rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  animation: lmRise 0.8s var(--ease-out) 0.2s both;
  overflow: hidden;
}
.cart-summary::before {
  content: '';
  position: absolute; top: -90px; right: -90px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,184,74,0.16), transparent 70%);
  pointer-events: none;
}
.cart-summary-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px;
  margin-bottom: 1.25rem; position: relative;
}
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0;
  font-size: 13px; color: rgba(245,240,216,0.6);
  position: relative;
}
.cart-summary-row strong { font-weight: 500; color: var(--moon-cream); font-variant-numeric: tabular-nums; }
.cart-summary-row.is-discount strong { color: #7dd08a; }
.cart-summary-row .muted { color: rgba(245,240,216,0.38); font-size: 12px; }
.cart-summary-divider { height: 1px; margin: 0.75rem 0; background: linear-gradient(90deg, transparent, rgba(212,184,74,0.25), transparent); }

.cart-total { padding: 0.5rem 0 1.25rem; font-size: 16px; position: relative; }
.cart-total-price { font-size: 44px; line-height: 1; text-shadow: 0 0 30px rgba(212,184,74,0.35); font-variant-numeric: tabular-nums; }
.points-strike { font-size: 14px; color: rgba(245,240,216,0.3); text-decoration: line-through; text-align: right; }

.btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px;
}
.btn-checkout:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn-checkout .ti-loader-2 { animation: lmSpin 0.9s linear infinite; }
.cart-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 0.9rem;
  font-size: 11px; letter-spacing: 1px; color: rgba(245,240,216,0.38);
}
.cart-continue {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 0.6rem;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(245,240,216,0.5); text-decoration: none;
  padding: 10px; border-radius: var(--r-pill);
  transition: color 0.25s ease, background 0.25s ease;
}
.cart-continue:hover { color: var(--moon-gold); background: rgba(212,184,74,0.06); }

.cart-card {
  position: relative;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--r-md);
  background: rgba(212,184,74,0.06);
  border: 1px solid rgba(212,184,74,0.18);
}
.cart-card p { font-size: 13px; color: rgba(245,240,216,0.75); margin: 0 0 0.85rem; font-weight: 300; line-height: 1.6; }
.cart-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pill-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease-spring);
}
.pill-sm:hover { transform: translateY(-1px); }
.pill-sm-gold { background: var(--moon-gold); color: var(--moon-midnight); border: 1px solid var(--moon-gold); }
.pill-sm-gold:hover { background: var(--moon-cream); border-color: var(--moon-cream); }
.pill-sm-ghost { background: transparent; color: rgba(245,240,216,0.6); border: 1px solid rgba(212,184,74,0.25); }
.pill-sm-ghost:hover { color: var(--moon-cream); border-color: rgba(212,184,74,0.5); }
.cart-card-dismiss {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  border: none; background: transparent; color: rgba(245,240,216,0.35);
  cursor: pointer; font-size: 14px;
}
.cart-card-dismiss:hover { color: var(--moon-cream); background: rgba(255,255,255,0.05); }

.points-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.points-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--moon-gold); }
.points-balance { font-size: 12px; color: rgba(245,240,216,0.55); margin-left: 0.5rem; }
.points-badge { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: #7dd08a; letter-spacing: 1px; }
.points-row { display: flex; align-items: center; gap: 0.5rem; }
.points-input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,184,74,0.25);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: 13px; color: var(--moon-cream); font-family: 'DM Sans', sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.points-input:focus { outline: none; border-color: var(--moon-gold); box-shadow: 0 0 0 3px rgba(212,184,74,0.15); }
.points-remove { background: none; border: none; color: rgba(245,240,216,0.4); font-size: 11px; letter-spacing: 1px; cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: underline; padding: 6px 4px; }
.points-hint { font-size: 11px; color: rgba(245,240,216,0.38); margin: 0.6rem 0 0 !important; font-weight: 300; }
.points-hint.is-error { color: #ec8a8a; }
.points-row.is-error { animation: lmShake 0.45s ease; }

/* Empty cart */
.cart-empty { padding: 3rem 1rem 4rem; animation: lmRise 0.9s var(--ease-out) both; }
.cart-empty-moon {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 2rem;
  animation: lmFloat 6s ease-in-out infinite;
}
.cart-empty-moon::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset -28px 10px 0 0 var(--moon-gold);
  filter: drop-shadow(0 0 30px rgba(212,184,74,0.45));
  transform: rotate(-20deg);
}
.cart-empty-moon::after {
  content: '✦';
  position: absolute; top: 4px; right: -18px;
  color: var(--moon-lilac); font-size: 18px;
  animation: lmTwinkle 2.6s ease-in-out infinite;
}
@keyframes lmTwinkle { 0%,100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
.cart-empty h2 { color: rgba(245,240,216,0.85); }
.cart-empty p { color: rgba(245,240,216,0.45); }

/* ═══ CART DRAWER (opens from the nav bag + after "Add to Cart") ════════════ */
.lm-drawer-scrim {
  position: fixed; inset: 0; z-index: 1150;
  background: rgba(6,3,12,0.55);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.lm-drawer {
  position: fixed; z-index: 1200;
  top: 12px; right: 12px; bottom: 12px;
  width: min(420px, calc(100vw - 24px));
  display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid rgba(212,184,74,0.18);
  background: linear-gradient(170deg, rgba(36,22,58,0.96), rgba(13,8,24,0.98));
  box-shadow: -30px 0 90px -20px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateX(calc(100% + 24px));
  visibility: hidden;
  transition: transform 0.6s var(--ease-out), visibility 0s linear 0.6s;
  overflow: hidden;
}
html.lm-drawer-open { overflow: hidden; }
html.lm-drawer-open .lm-drawer-scrim { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }
html.lm-drawer-open .lm-drawer { transform: none; visibility: visible; transition: transform 0.6s var(--ease-out); }

.lm-drawer::before {
  content: '';
  position: absolute; top: -120px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,61,143,0.35), transparent 70%);
  pointer-events: none;
}
.lm-drawer-head {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.5rem 1.5rem 1rem;
}
.lm-drawer-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--moon-gold); margin-bottom: 0.35rem; }
.lm-drawer-title { font-family: 'Bebas Neue', sans-serif; font-size: 38px; letter-spacing: 2px; line-height: 1; font-weight: 400; }
.lm-drawer-count { color: rgba(245,240,216,0.35); font-size: 24px; }
.lm-drawer-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(245,240,216,0.15);
  background: rgba(255,255,255,0.03); color: var(--moon-cream);
  font-size: 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.45s var(--ease-spring), border-color 0.25s ease, color 0.25s ease;
}
.lm-drawer-close:hover { transform: rotate(90deg); border-color: var(--moon-gold); color: var(--moon-gold); }

.lm-drawer-flash {
  position: relative;
  margin: 0 1.5rem;
  max-height: 0; opacity: 0; overflow: hidden;
  border-radius: var(--r-pill);
  background: rgba(125,208,138,0.12);
  border: 1px solid rgba(125,208,138,0.3);
  color: #9fe0a9;
  font-size: 12px; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s ease, padding 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}
.lm-drawer-flash.is-on { max-height: 60px; opacity: 1; padding: 10px 14px; margin-bottom: 0.75rem; }

.lm-drawer-items {
  position: relative;
  flex: 1; min-height: 0;
  overflow-y: auto;
  padding: 0.25rem 1.5rem 1rem;
  display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; scrollbar-color: rgba(212,184,74,0.3) transparent;
}
.lm-drawer-item {
  display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 12px; align-items: center;
  padding: 8px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,184,74,0.08);
  animation: lmCardIn 0.55s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.lm-drawer-item.is-new { border-color: rgba(212,184,74,0.45); box-shadow: 0 0 0 3px rgba(212,184,74,0.08); }
.lm-drawer-item img { width: 72px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-sm); background: #1A1025; display: block; }
.lm-drawer-item-name { font-size: 13px; font-weight: 500; line-height: 1.35; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lm-drawer-item-name a { color: inherit; text-decoration: none; }
.lm-drawer-item-name a:hover { color: var(--moon-gold); }
.lm-drawer-item-variant { font-size: 11px; color: rgba(245,240,216,0.45); letter-spacing: 0.5px; margin-bottom: 8px; }
.lm-drawer-item .qty-stepper { padding: 2px; }
.lm-drawer-item .qty-stepper button { width: 26px; height: 26px; font-size: 14px; }
.lm-drawer-item .qty-val { min-width: 24px; font-size: 13px; }
.lm-drawer-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; align-self: stretch; padding: 2px 4px 2px 0; }
.lm-drawer-item-price { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--moon-gold); letter-spacing: 1px; }
.lm-drawer-remove { background: none; border: none; color: rgba(245,240,216,0.35); font-size: 15px; cursor: pointer; padding: 4px; border-radius: 50%; transition: color 0.2s ease; }
.lm-drawer-remove:hover { color: #ec8a8a; }

.lm-drawer-empty { text-align: center; padding: 3rem 1rem; color: rgba(245,240,216,0.45); }
.lm-drawer-empty .cart-empty-moon { width: 90px; height: 90px; margin-bottom: 1.5rem; }
.lm-drawer-empty .cart-empty-moon::before { box-shadow: inset -18px 6px 0 0 var(--moon-gold); }
.lm-drawer-empty p { margin-bottom: 1.25rem; }

.lm-drawer-foot {
  position: relative;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(212,184,74,0.1);
  background: rgba(13,8,24,0.5);
}
.lm-drawer-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.25rem; }
.lm-drawer-row span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,240,216,0.55); }
.lm-drawer-subtotal { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--moon-gold); letter-spacing: 1.5px; font-weight: 400; }
.lm-drawer-note { font-size: 11px; color: rgba(245,240,216,0.35); margin-bottom: 1rem; }
.lm-drawer-checkout { width: 100%; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.lm-drawer-keep {
  width: 100%; margin-top: 0.5rem;
  background: none; border: none; cursor: pointer;
  color: rgba(245,240,216,0.5); font-family: 'DM Sans', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px; border-radius: var(--r-pill);
  transition: color 0.25s ease, background 0.25s ease;
}
.lm-drawer-keep:hover { color: var(--moon-cream); background: rgba(255,255,255,0.04); }

/* Toast (used where no drawer is appropriate) */
.lm-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1300;
  transform: translate(-50%, 30px); opacity: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(245,240,216,0.95); color: var(--moon-midnight);
  font-size: 13px; letter-spacing: 0.5px; font-weight: 500;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  transition: transform 0.5s var(--ease-spring), opacity 0.3s ease;
}
.lm-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ═══ OUR STORY (about.html) ════════════════════════════════════════════════ */
.story-hero {
  position: relative; overflow: hidden;
  padding: 7rem 3rem 5rem;
}
.story-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(92,61,143,0.28) 0%, transparent 70%);
}
.story-hero-moon {
  position: absolute; right: 10%; top: 50%;
  width: 280px; height: 280px; margin-top: -140px;
  border-radius: 50%;
  box-shadow: inset -46px 18px 0 0 rgba(212,184,74,0.85);
  filter: drop-shadow(0 0 50px rgba(212,184,74,0.35));
  transform: rotate(-20deg);
  animation: lmFloat 9s ease-in-out infinite;
  opacity: 0.9;
  pointer-events: none;
}
.story-hero-moon::after {
  content: '';
  position: absolute; inset: -40px; border-radius: 50%;
  border: 1px solid rgba(212,184,74,0.12);
  animation: lmSpin 60s linear infinite;
  border-top-color: rgba(212,184,74,0.45);
}
.story-hero-inner { position: relative; z-index: 2; max-width: 700px; }
.story-hero .section-label { animation: lmRise 0.8s var(--ease-out) 0.05s both; }
.story-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 112px);
  letter-spacing: 4px; line-height: 0.9;
  margin-bottom: 2rem;
  animation: lmTitleIn 1.2s var(--ease-out) 0.15s both;
}
.story-quote {
  position: relative;
  font-size: 18px; font-weight: 300; font-style: italic; line-height: 1.9;
  color: rgba(245,240,216,0.72);
  max-width: 580px;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,184,74,0.12);
  animation: lmRise 0.9s var(--ease-out) 0.5s both;
}
.story-quote::before {
  content: '';
  position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--moon-gold), var(--moon-lilac));
}

.story-section { padding: 5rem 3rem; position: relative; }
.story-section::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,184,74,0.2), transparent);
}
.story-section-head { margin-bottom: 3rem; }

.about-founder { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.founder-portrait {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #2A1F3D, #120a1f 70%);
  border: 1px solid rgba(212,184,74,0.14);
  box-shadow: 0 40px 90px -40px rgba(92,61,143,0.9);
}
.founder-portrait img { width: 100%; display: block; opacity: 0.95; transition: transform 1.2s var(--ease-out); }
.founder-portrait:hover img { transform: scale(1.04) rotate(-1deg); }
.founder-card { position: sticky; top: 110px; }
.founder-name { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 3px; color: var(--moon-gold); margin-top: 1.5rem; }
.founder-role { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(245,240,216,0.4); margin-top: 4px; }
.founder-heading { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 5vw, 56px); letter-spacing: 3px; line-height: 1; margin-bottom: 2rem; }
.founder-story { display: flex; flex-direction: column; gap: 1.5rem; }
.founder-story p { font-size: 15px; font-weight: 300; color: rgba(245,240,216,0.68); line-height: 1.9; }
.founder-ctas { margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.founder-ctas .btn-ghost { display: inline-flex; align-items: center; gap: 8px; }

.about-designs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.design-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(92,61,143,0.22), var(--moon-midnight) 72%);
  border: 1px solid rgba(212,184,74,0.08);
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.6s var(--ease-out);
  transform-style: preserve-3d;
}
.design-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(212,184,74,0.18), transparent 55%);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.design-tile img { width: 82%; height: 82%; object-fit: contain; transition: transform 0.8s var(--ease-out), filter 0.5s ease; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4)); }
.design-tile:hover { border-color: rgba(212,184,74,0.3); box-shadow: var(--glow-purple); }
.design-tile:hover::before { opacity: 1; }
.design-tile:hover img { transform: scale(1.08) translateY(-4px); filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)) drop-shadow(0 0 20px rgba(212,184,74,0.2)); }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card {
  position: relative; overflow: hidden;
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  border: 1px solid rgba(212,184,74,0.1);
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--accent, rgba(212,184,74,0.35)); }
.value-card::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft, rgba(212,184,74,0.2)), transparent 70%);
  transition: transform 0.8s var(--ease-out);
}
.value-card:hover::after { transform: scale(1.4); }
.value-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 22px;
  color: var(--accent, var(--moon-gold));
  background: var(--accent-soft, rgba(212,184,74,0.12));
}
.value-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px; margin-bottom: 0.75rem; color: var(--accent, var(--moon-gold)); }
.value-card p { position: relative; font-size: 14px; color: rgba(245,240,216,0.58); line-height: 1.8; font-weight: 300; }
.value-card.is-gold   { --accent: var(--moon-gold);  --accent-soft: rgba(212,184,74,0.16); }
.value-card.is-lilac  { --accent: var(--moon-lilac); --accent-soft: rgba(155,126,200,0.18); }
.value-card.is-blue   { --accent: #6F93CC;           --accent-soft: rgba(58,90,140,0.3); }

/* ═══ OTHER STORE PAGES (FAQ, blog, policies…) — just round off the edges ═══ */
.faq-item {
  border-bottom: none;
  margin-bottom: 10px;
  padding: 0 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(212,184,74,0.1);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item:hover { border-color: rgba(212,184,74,0.25); }
.faq-question { padding: 1.25rem 0; }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(212,184,74,0.08);
  transition: transform 0.45s var(--ease-spring), background 0.3s ease;
}
.faq-answer { transition: max-height 0.45s var(--ease-out), padding 0.45s var(--ease-out); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea, select { border-radius: var(--r-sm); }

/* ═══ RESPONSIVE ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: minmax(0,1fr) 340px; }
  .products-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .navbar {
    top: 8px;
    margin: 8px 10px 0;
    padding: 0.45rem 0.45rem 0.45rem 0.6rem;
    border-radius: 26px;
  }
  .logo-img { width: 36px; height: 36px; }
  .nav-brand { font-size: 19px; letter-spacing: 2px; }
  .btn-cart { height: 40px; padding: 0 6px 0 12px; }
  .nav-actions { gap: 0.4rem !important; }

  /* Mobile menu: a floating rounded sheet under the capsule */
  .nav-links {
    display: flex;
    align-items: stretch;
    top: calc(100% + 10px);
    left: 0; right: 0;
    padding: 8px;
    gap: 2px;
    border: 1px solid var(--hair);
    border-radius: 24px;
    background: #120a22;
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.85);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top center;
    transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }
  .nav-links.open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.3s ease, transform 0.45s var(--ease-out);
  }
  .nav-links.open > li { animation: lmRise 0.5s var(--ease-out) both; }
  .nav-links.open > li:nth-child(2) { animation-delay: 0.05s; }
  .nav-links.open > li:nth-child(3) { animation-delay: 0.1s; }
  .nav-links.open > li:nth-child(4) { animation-delay: 0.15s; }
  .nav-links li a,
  .nav-dropdown-trigger {
    border-bottom: none;
    border-radius: 16px;
    padding: 0.95rem 1.1rem;
  }
  .nav-dropdown-menu {
    transform: none;
    opacity: 1;
    padding: 0;
    border: none;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    box-shadow: none;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    min-width: 0;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  }
  .nav-dropdown.open .nav-dropdown-menu { transform: none; margin: 2px 0 4px; padding: 4px; }
  .nav-dropdown-menu a { padding: 0.75rem 1.75rem; border-radius: 12px; }
  .nav-dropdown-menu a:hover { padding-left: 2rem; }
  .nav-hamburger { width: 40px; height: 40px; }

  .hero { margin-top: -72px; padding-top: calc(3rem + 72px); padding-bottom: 5rem; }
  .hero-scroll { display: none; }
  .marquee-strip { margin: 0.5rem 0 1.25rem; }

  .chronicle-teaser { margin: 1.5rem 1rem 2rem; border-radius: var(--r-lg); }
  .instagram-grid { gap: 8px; }
  .ig-post { border-radius: var(--r-sm); }

  footer { margin: 3rem 10px 10px; border-radius: var(--r-lg); }

  .product-card { padding: 7px 7px 12px; border-radius: var(--r-md); }
  .product-img { border-radius: var(--r-sm); margin-bottom: 10px; }
  .product-quick { display: none; }
  .product-type, .product-name, .product-price { padding: 0 4px; }
  .products-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .shop-hero { padding: 3.5rem 1.25rem 1.75rem; }
  .shop-toolbar { top: 76px; }
  .shop-filters { justify-content: flex-start; }
  .filter-btn { padding: 9px 15px; font-size: 10px; }
  .shop-grid-section { padding: 1.5rem 1rem 2rem; }

  .product-crumb { padding: 1.25rem 1.25rem 0; }
  .product-page { padding: 1.25rem 1.25rem 3rem; gap: 1.75rem; }
  .product-stage { border-radius: var(--r-lg); cursor: default; }
  .product-stage.is-zoom .product-main-img { transform: none; }
  .product-info { position: static; }
  .product-thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .product-thumb { width: 64px; flex-shrink: 0; }

  .cart-page { padding: 2rem 1rem; }
  .cart-item { grid-template-columns: 88px minmax(0,1fr); gap: 0.9rem; padding: 10px; border-radius: var(--r-md); }
  .cart-item-price { font-size: 22px; }
  .cart-summary { padding: 1.25rem; border-radius: var(--r-lg); }

  .lm-drawer { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 86vh; border-radius: 28px; transform: translateY(calc(100% + 24px)); }
  .lm-drawer-head { padding: 1.25rem 1.25rem 0.75rem; }
  .lm-drawer-items { padding: 0.25rem 1.25rem 1rem; }
  .lm-drawer-foot { padding: 1rem 1.25rem 1.25rem; }
  .lm-drawer-flash { margin-left: 1.25rem; margin-right: 1.25rem; }

  .story-hero { padding: 4.5rem 1.5rem 3.5rem; }
  .story-hero-moon { width: 160px; height: 160px; right: -30px; top: 30%; opacity: 0.45; box-shadow: inset -28px 10px 0 0 rgba(212,184,74,0.85); }
  .story-section { padding: 3.5rem 1.5rem; }
  .about-founder { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-card { position: static; }
  .about-designs { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .nav-brand { font-size: 16px; letter-spacing: 1.5px; }
  #nav-signin-link { padding: 8px 8px; font-size: 11px !important; letter-spacing: 1px !important; }
  .logo-img { width: 32px; height: 32px; }
}

/* ═══ REDUCED MOTION — keep it calm, keep it visible ════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
  .lm-js [data-reveal] { opacity: 1; transform: none; }
  html[data-lm-enter] body::after { display: none; }
  body::before { animation: none; }
}
