/* ============================================================
   SPICESVILLE — Global Design System & CSS Custom Properties
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Typography ── */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* ── Font Sizes ── */
  --fs-hero: clamp(3.5rem, 7vw, 6rem);
  --fs-5xl:  clamp(2.8rem, 5vw, 4.5rem);
  --fs-4xl:  clamp(2.2rem, 4vw, 3.5rem);
  --fs-3xl:  clamp(1.8rem, 3vw, 2.5rem);
  --fs-2xl:  clamp(1.5rem, 2.5vw, 2rem);
  --fs-xl:   clamp(1.2rem, 2vw, 1.5rem);
  --fs-lg:   1.125rem;
  --fs-md:   1rem;
  --fs-base: 0.9375rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  /* ── Colour Palette ── */
  --bg-base:     hsl(220, 15%, 9%);
  --bg-elevated: hsl(220, 14%, 12%);
  --bg-surface:  hsl(220, 13%, 15%);
  --bg-highlight:hsl(220, 12%, 20%);

  --gold:         hsl(43, 74%, 49%);
  --gold-light:   hsl(43, 80%, 62%);
  --gold-dark:    hsl(43, 70%, 38%);
  --gold-muted:   hsl(43, 50%, 55%);

  --crimson: hsl(355, 65%, 55%);
  --emerald: hsl(160, 60%, 38%);

  --text-primary:   hsl(45, 20%, 94%);
  --text-secondary: hsl(45, 10%, 75%);
  --text-muted:     hsl(220, 8%, 55%);

  --border-subtle: hsla(220, 14%, 25%, 0.6);
  --border-light:  hsla(220, 14%, 35%, 0.6);
  --border-gold:   hsla(43, 74%, 49%, 0.35);

  /* ── Spacing Scale ── */
  --sp-xs:   0.25rem;
  --sp-sm:   0.5rem;
  --sp-md:   0.75rem;
  --sp-lg:   1rem;
  --sp-xl:   1.5rem;
  --sp-2xl:  2rem;
  --sp-3xl:  3rem;
  --sp-4xl:  4rem;
  --sp-5xl:  6rem;

  /* ── Layout ── */
  --container-max:   1320px;
  --header-height:   76px;
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --radius-2xl:      32px;
  --radius-pill:     999px;

  /* ── Z-Index ── */
  --z-base:    1;
  --z-dropdown:100;
  --z-sticky:  200;
  --z-drawer:  300;
  --z-modal:   400;
  --z-toast:   500;
  --z-header:  600;

  /* ── Shadows ── */
  --shadow-sm:   0 1px 3px hsla(220,15%,0%,0.4);
  --shadow-md:   0 4px 16px hsla(220,15%,0%,0.5);
  --shadow-lg:   0 12px 40px hsla(220,15%,0%,0.6);
  --shadow-xl:   0 24px 60px hsla(220,15%,0%,0.7);
  --shadow-gold: 0 0 30px hsla(43,74%,49%,0.12);

  /* ── Animation ── */
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   BASE RESET & DEFAULTS
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast);
}

a:hover { color: var(--gold); }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

button:disabled { opacity: 0.5; cursor: not-allowed; }

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
}

p { line-height: 1.7; }

ul { list-style: none; }

svg { display: block; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-2xl);
}

.section {
  padding: 48px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: var(--sp-lg);
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--sp-sm);
}

.section-subtitle {
  font-size: var(--fs-base);
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(0, 0%, 100%, 0.08);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: hsl(25, 30%, 12%);
  box-shadow: 0 4px 20px hsla(43, 74%, 49%, 0.3);
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px hsla(43, 74%, 49%, 0.45);
  transform: translateY(-1px);
  color: hsl(25, 30%, 10%);
}

.btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: hsla(43, 74%, 49%, 0.06);
}

.btn-ghost {
  background: hsla(220, 14%, 100%, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: hsla(220, 14%, 100%, 0.12);
  border-color: var(--border-gold);
}

.btn-full { width: 100%; }
.btn-sm   { padding: 0.5rem 1rem; font-size: var(--fs-xs); }
.btn-lg   { padding: 1rem 2.5rem; font-size: var(--fs-base); }
.btn-icon { padding: 0; width: 44px; height: 44px; border-radius: var(--radius-pill); }

.btn.loading { opacity: 0.7; cursor: wait; }
.btn.loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid hsla(25, 30%, 12%, 0.4);
  border-top-color: hsl(25, 30%, 12%);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.badge-sale       { background: hsla(355,65%,50%,0.2); color: hsl(355,70%,65%); border: 1px solid hsla(355,65%,50%,0.3); }
.badge-bestseller { background: hsla(43,74%,49%,0.2);  color: var(--gold);      border: 1px solid var(--border-gold); }
.badge-new        { background: hsla(160,60%,35%,0.2); color: hsl(160,60%,55%); border: 1px solid hsla(160,60%,35%,0.3); }
.badge-limited    { background: hsla(280,50%,40%,0.2); color: hsl(280,60%,70%); border: 1px solid hsla(280,50%,40%,0.3); }
.badge-trending   { background: hsla(200,70%,40%,0.2); color: hsl(200,70%,65%); border: 1px solid hsla(200,70%,40%,0.3); }
.badge-premium    { background: hsla(43,30%,25%,0.5);  color: var(--gold-light); border: 1px solid var(--border-gold); }
.badge-organic    { background: hsla(120,40%,30%,0.2); color: hsl(120,50%,55%); border: 1px solid hsla(120,40%,30%,0.3); }
.badge-popular    { background: hsla(355,65%,50%,0.2); color: hsl(355,70%,65%); border: 1px solid hsla(355,65%,50%,0.3); }

/* ============================================================
   PRICE DISPLAY
   ============================================================ */
.price-display { display: flex; align-items: baseline; gap: var(--sp-sm); flex-wrap: wrap; }

.price-current {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.price-compare {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1;
}

.price-discount {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: hsl(355, 70%, 65%);
  background: hsla(355, 65%, 50%, 0.15);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   STAR RATINGS
   ============================================================ */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.85em;
  color: var(--gold);
}

.star.empty { color: var(--text-muted); }

.stars-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-left: var(--sp-xs);
  font-family: var(--font-body);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.form-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px hsla(43, 74%, 49%, 0.15);
}

.form-textarea { min-height: 100px; resize: vertical; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.announcement-inner {
  display: flex;
  gap: var(--sp-4xl);
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.announcement-inner span { color: var(--gold); font-weight: 600; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: hsla(220, 15%, 9%, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-base), box-shadow var(--duration-base);
  height: var(--header-height);
}

.site-header.scrolled {
  background: hsla(220, 15%, 7%, 0.95);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: hsl(25, 30%, 12%);
  flex-shrink: 0;
  box-shadow: 0 0 16px hsla(43, 74%, 49%, 0.4);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-muted);
  display: block;
  margin-top: 2px;
}

/* Main nav */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-link {
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  position: relative;
  transition: color var(--duration-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--sp-md);
  right: var(--sp-md);
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--ease-out);
  border-radius: var(--radius-pill);
}

.nav-link:hover,
.nav-link.active { color: var(--text-primary); }

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link-has-mega:hover .mega-menu { display: block; }

/* Header actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-left: auto;
}

.header-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  border: none;
  transition: all var(--duration-fast);
}

.header-btn:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.header-btn .icon { width: 18px; height: 18px; }

.header-btn-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: hsl(25, 30%, 12%);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transition: transform var(--duration-fast);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--duration-base) var(--ease-out);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-2xl) 0;
  display: none;
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-xl);
  animation: fadeIn var(--duration-base) var(--ease-out);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-3xl);
}

.mega-menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-md);
}

.mega-menu-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-xs);
}

.mega-menu-category-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-muted);
  margin-bottom: var(--sp-xs);
}

.mega-menu-link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: 2px 0;
  transition: color var(--duration-fast);
}

.mega-menu-link:hover { color: var(--text-primary); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  background: transparent;
  pointer-events: none;
}

.mobile-menu-overlay.open { pointer-events: auto; }

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: hsla(220, 15%, 5%, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--duration-slow);
}

.mobile-menu-overlay.open .mobile-menu-backdrop { opacity: 1; }

.mobile-menu-panel {
  position: relative;
  width: min(320px, 85vw);
  height: 100%;
  background: #0d1117 !important;
  border-right: 1px solid rgba(212, 175, 55, 0.3);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9);
  z-index: 10001;
}

.mobile-menu-overlay.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #090c10;
}

.mobile-menu-nav {
  flex: 1;
  padding: 14px 12px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
  margin-bottom: 8px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold);
  transform: translateX(4px);
}

.menu-emoji {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.mobile-menu-footer {
  padding: var(--sp-xl);
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) - 1);
  background: hsla(220, 15%, 5%, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
}

.search-backdrop.open { opacity: 1; pointer-events: auto; }

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-xl) 0;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base);
  max-height: 85vh;
  overflow-y: auto;
}

.search-modal.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: var(--sp-md) var(--sp-xl);
  margin-bottom: var(--sp-xl);
  transition: border-color var(--duration-fast);
}

.search-input-wrap:focus-within { border-color: var(--gold); }

.search-input-icon { color: var(--text-muted); flex-shrink: 0; }

#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: var(--fs-lg);
  color: var(--text-primary);
  font-family: var(--font-body);
}

#search-input::placeholder { color: var(--text-muted); }

.search-close-btn {
  color: var(--text-muted);
  padding: var(--sp-xs);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast);
}

.search-close-btn:hover { color: var(--text-primary); }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: hsla(220, 15%, 5%, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
}

.cart-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(440px, 95vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  box-shadow: -20px 0 60px hsla(220, 15%, 0%, 0.5);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  padding: var(--sp-xl);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.cart-drawer-footer {
  padding: var(--sp-xl);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

/* Cart Item */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr 32px;
  gap: var(--sp-md);
  align-items: start;
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 2px;
}

.cart-item-variant {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--bg-elevated);
}

.qty-btn {
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  flex-shrink: 0;
  border-radius: 0;
}

.qty-btn:hover { color: var(--text-primary); background: var(--bg-highlight); }

.qty-value {
  min-width: 28px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.cart-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--duration-fast);
  margin-top: 4px;
}

.cart-remove-btn:hover { color: var(--crimson); background: hsla(355, 65%, 40%, 0.1); }

/* Cart Footer */
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-xs);
}

.cart-subtotal-label { font-size: var(--fs-sm); color: var(--text-secondary); }
.cart-subtotal-value {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--gold);
}

.cart-delivery-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

/* Cart Empty State */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: var(--sp-2xl);
  min-height: 300px;
  gap: var(--sp-lg);
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  color: var(--text-muted);
  opacity: 0.4;
}

.cart-empty-title { font-family: var(--font-display); font-size: var(--fs-xl); }
.cart-empty-text { font-size: var(--fs-sm); color: var(--text-muted); }

/* ============================================================
   QUICK VIEW MODAL
   ============================================================ */
.quick-view-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) - 1);
  background: hsla(220, 15%, 5%, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
}

.quick-view-backdrop.open { opacity: 1; pointer-events: auto; }

.quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: var(--z-modal);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: min(900px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-base) var(--ease-spring);
  box-shadow: var(--shadow-xl);
}

.quick-view-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.quick-view-close {
  position: absolute;
  top: var(--sp-lg);
  right: var(--sp-lg);
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.quick-view-close:hover {
  color: var(--text-primary);
  background: var(--bg-highlight);
}

.quick-view-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: var(--sp-2xl);
  gap: var(--sp-2xl);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  pointer-events: none;
  max-width: 360px;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  animation: slideInRight 0.35s var(--ease-spring) both;
  pointer-events: auto;
  min-width: 280px;
}

.toast.removing {
  animation: slideOutRight 0.3s var(--ease-out) forwards;
}

.toast-success { border-color: hsla(160, 60%, 38%, 0.4); }
.toast-error   { border-color: hsla(355, 65%, 50%, 0.4); }
.toast-info    { border-color: var(--border-gold); }

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-success .toast-icon { background: hsla(160, 60%, 38%, 0.2); color: hsl(160, 60%, 55%); }
.toast-error   .toast-icon { background: hsla(355, 65%, 50%, 0.2); color: hsl(355, 70%, 65%); }
.toast-info    .toast-icon { background: hsla(43, 74%, 49%, 0.2);  color: var(--gold); }

.toast-title {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.toast-msg {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  padding: var(--sp-4xl) var(--sp-2xl);
}

.footer-brand {}

.footer-brand-logo { margin-bottom: var(--sp-lg); }

.footer-brand-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 30ch;
  margin-bottom: var(--sp-xl);
}

.footer-social {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-highlight);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: all var(--duration-fast);
}

.footer-social-link:hover {
  background: var(--gold);
  color: hsl(25, 30%, 12%);
  border-color: var(--gold);
}

.footer-col {}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--sp-lg);
}

.footer-link {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--duration-fast);
}

.footer-link:hover { color: var(--text-primary); }

.footer-newsletter {}

.footer-newsletter-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
}

.newsletter-form {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.newsletter-input {
  flex: 1;
  background: var(--bg-highlight);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--duration-fast);
}

.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus { border-color: var(--gold); }

.newsletter-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  padding: var(--sp-xl) var(--sp-2xl);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-lg);
}

.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-bottom-links a:hover { color: var(--gold); }

.footer-payments {
  display: flex;
  gap: var(--sp-sm);
  align-items: center;
}

.footer-payment-icon {
  background: var(--bg-highlight);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: var(--sp-lg) 0;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--duration-fast);
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--sp-xl);
}

.faq-question:hover { color: var(--gold); }
.faq-question[aria-expanded="true"] { color: var(--gold); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
  color: var(--text-muted);
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-answer.open { max-height: 600px; }

.faq-answer-text {
  padding: 0 0 var(--sp-xl) 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-2xl);
  flex-wrap: wrap;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.page-btn:hover { border-color: var(--border-gold); color: var(--gold); }
.page-btn.active { background: var(--gold); color: hsl(25, 30%, 12%); border-color: var(--gold); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO PARTICLES
   ============================================================ */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.particle-1 { width: 4px; height: 4px; top: 20%; left: 15%; animation-delay: 0s; }
.particle-2 { width: 6px; height: 6px; top: 40%; left: 80%; animation-delay: 1s; }
.particle-3 { width: 3px; height: 3px; top: 70%; left: 25%; animation-delay: 2s; }
.particle-4 { width: 8px; height: 8px; top: 15%; left: 60%; animation-delay: 0.5s; }
.particle-5 { width: 4px; height: 4px; top: 60%; left: 70%; animation-delay: 3s; }
.particle-6 { width: 6px; height: 6px; top: 85%; left: 45%; animation-delay: 1.5s; }
.particle-7 { width: 3px; height: 3px; top: 30%; left: 40%; animation-delay: 2.5s; }
.particle-8 { width: 5px; height: 5px; top: 50%; left: 10%; animation-delay: 4s; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.animate-fadeInUp {
  opacity: 0;
  animation: fadeInUp 0.5s var(--ease-out) both;
}

.stagger-enter > *:nth-child(1) { animation-delay: 0ms; }
.stagger-enter > *:nth-child(2) { animation-delay: 60ms; }
.stagger-enter > *:nth-child(3) { animation-delay: 120ms; }
.stagger-enter > *:nth-child(4) { animation-delay: 180ms; }
.stagger-enter > *:nth-child(5) { animation-delay: 240ms; }
.stagger-enter > *:nth-child(6) { animation-delay: 300ms; }
.stagger-enter > *:nth-child(7) { animation-delay: 360ms; }
.stagger-enter > *:nth-child(8) { animation-delay: 420ms; }
.stagger-enter > *:nth-child(9) { animation-delay: 480ms; }
.stagger-enter > *:nth-child(10){ animation-delay: 540ms; }
.stagger-enter > *:nth-child(11){ animation-delay: 600ms; }
.stagger-enter > *:nth-child(12){ animation-delay: 660ms; }

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.text-center  { text-align: center; }

.mt-auto { margin-top: auto; }
.w-full  { width: 100%; }
.hidden  { display: none !important; }

/* ============================================================
   SCROLLBAR CUSTOM
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-highlight); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Premium Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.category-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.category-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
}
.product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
}

/* Footer Payment Card Badges */
.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.footer-payment-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

