/* ============================================================
   QUEENIE-B HONEY — Global Stylesheet
   style.css: vars, reset, nav, footer, buttons, cursor,
              loader, marquee, scroll-reveal, toast, breakpoints
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --gold:         #F5C200;
  --gold-light:   #F9D84A;
  --gold-pale:    #FEF7D0;
  --amber:        #D4860A;
  --amber-dark:   #A8650A;
  --rich-black:   #1A1A1A;
  --dark-brown:   #3D1F00;
  --royal-blue:   #4A90D9;
  --light-blue:   #A8D8EA;
  --cream:        #FFF8E7;
  --cream-dark:   #F5EDD0;
  --white:        #FFFFFF;

  /* Semantic */
  --bg-light:     var(--cream);
  --bg-dark:      var(--rich-black);
  --bg-warm:      var(--dark-brown);
  --text-primary: var(--rich-black);
  --text-muted:   #5A4A3A;
  --text-faint:   #9A8A7A;
  --text-light:   rgba(255,248,231,0.75);
  --border-light: rgba(213,134,10,0.18);
  --border-dark:  rgba(245,194,0,0.12);
  --border-gold:  rgba(245,194,0,0.45);

  /* Fonts */
  --fd: 'DM Serif Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --fa: 'Bebas Neue', Impact, sans-serif;

  /* Spacing */
  --section-pad:  clamp(72px, 9vw, 130px);
  --section-sm:   clamp(40px, 5vw, 72px);
  --container:    1320px;
  --gutter:       clamp(20px, 4vw, 48px);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --shadow-gold:  0 8px 32px rgba(245,194,0,0.22);

  /* Easing */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav height */
  --nav-h:        76px;
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fb);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--cream);
  overflow-x: clip;
  cursor: none;
}

@media (max-width: 768px) { body { cursor: auto; } }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; border: none; outline: none; background: none; }

/* ── 3. TYPOGRAPHY HELPERS ──────────────────────────────────── */
.display {
  font-family: var(--fd);
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--fd);
  font-size: clamp(52px, 7vw, 110px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.display-sm {
  font-family: var(--fd);
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--fa);
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow-light { color: rgba(245,194,0,0.7); }

.lead {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
}

.lead-light { color: var(--text-light); }

/* ── 4. LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-sm {
  padding: var(--section-sm) 0;
  position: relative;
}

.section-dark  { background: var(--rich-black); color: var(--cream); }
.section-warm  { background: var(--dark-brown); color: var(--cream); }
.section-light { background: var(--cream); color: var(--rich-black); }
.section-white { background: var(--white); color: var(--rich-black); }
.section-gold  { background: var(--gold); color: var(--rich-black); }

/* ── 5. HONEYCOMB PATTERN ───────────────────────────────────── */
.honeycomb-bg {
  position: relative;
}

.honeycomb-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zm0 34L0 84V52l28-16 28 16v32L28 100z' fill='none' stroke='%23F5C200' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  z-index: 0;
}

.honeycomb-bg > * { position: relative; z-index: 1; }

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--rich-black);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid var(--rich-black);
  box-shadow: 4px 4px 0 var(--rich-black);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s, background 0.18s;
  position: relative;
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--rich-black);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--gold);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--gold);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s, background 0.18s, color 0.18s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--rich-black);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--cream);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255,248,231,0.55);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(255,248,231,0.25);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 4px 4px 0 rgba(245,194,0,0.3);
  transform: translate(-2px, -2px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--rich-black);
  color: var(--gold);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 0 var(--gold);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
}

.btn-dark:hover {
  background: var(--dark-brown);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold);
}

.btn-sm { padding: 9px 20px; font-size: 13px; box-shadow: 3px 3px 0 var(--rich-black); }
.btn-lg { padding: 17px 42px; font-size: 16px; box-shadow: 5px 5px 0 var(--rich-black); }
.btn-outline.btn-sm { box-shadow: 3px 3px 0 var(--gold); }
.btn-outline.btn-lg { box-shadow: 5px 5px 0 var(--gold); }
.btn-ghost.btn-sm { box-shadow: 3px 3px 0 rgba(255,248,231,0.25); }

/* Magnetic wrapper keeps layout; inner span moves */
.btn-magnetic { will-change: transform; }
.btn-magnetic > span { display: block; pointer-events: none; }

/* ── 6b. QB CARD SYSTEM (neo-brutalist) ──────────────────────── */
.qb-card {
  background: var(--cream);
  border: 3px solid var(--rich-black);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--rich-black);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.qb-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--rich-black);
}

.qb-card-amber {
  border-color: var(--amber);
  box-shadow: 6px 6px 0 var(--amber-dark);
}

.qb-card-amber:hover { box-shadow: 8px 8px 0 var(--amber-dark); }

.qb-card-gold {
  border-color: var(--gold);
  box-shadow: 6px 6px 0 rgba(213,134,10,0.7);
}

.qb-card-gold:hover { box-shadow: 8px 8px 0 rgba(213,134,10,0.7); }

.qb-card-dark {
  background: var(--rich-black);
  border-color: var(--gold);
  box-shadow: 6px 6px 0 rgba(213,134,10,0.5);
  color: var(--cream);
}

.qb-card-dark:hover { box-shadow: 8px 8px 0 rgba(213,134,10,0.5); }

.qb-card-white {
  background: var(--white);
  border-color: var(--rich-black);
}

.qb-card-sm {
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--rich-black);
}

.qb-card-sm:hover { box-shadow: 6px 6px 0 var(--rich-black); }

/* ── 7. BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--fa);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.badge-raw      { background: rgba(245,194,0,0.15); color: var(--amber); border: 1px solid rgba(245,194,0,0.3); }
.badge-new      { background: var(--gold); color: var(--rich-black); }
.badge-bestseller { background: var(--amber); color: var(--white); }
.badge-organic  { background: rgba(74,144,60,0.15); color: #3A8A30; border: 1px solid rgba(74,144,60,0.3); }
.badge-verified { background: rgba(74,144,217,0.12); color: var(--royal-blue); border: 1px solid rgba(74,144,217,0.25); }

/* ── 8. CUSTOM CURSOR (Honeycomb + Honey Trail) ──────────────── */
#cursor-hex {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 30px;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: normal;
}

#cursor-hex.cursor-visible { opacity: 1; }

.cursor-hex-inner {
  width: 100%; height: 100%;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.18s var(--ease-out), background 0.18s;
  position: relative;
}

.cursor-hex-inner::after {
  content: '';
  position: absolute;
  inset: 4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(26,26,26,0.25);
}

#cursor-hex.cursor-on-btn .cursor-hex-inner {
  transform: scale(1.4);
  background: var(--amber);
}

.honey-trail-drop {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  background: var(--amber);
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  #cursor-hex { display: none !important; }
}

/* ── 10. NAVIGATION ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(245,194,0,0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 24px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--fd);
  font-size: 18px;
  color: var(--gold);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,248,231,0.8);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(245,194,0,0.08);
}

/* Dropdown nav */
.has-dropdown { position: relative; }

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-caret {
  transition: transform 0.22s var(--ease-out);
  flex-shrink: 0;
  opacity: 0.65;
}

.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 196px;
  background: rgba(15,10,5,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid var(--gold);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--amber), 0 20px 48px rgba(0,0,0,0.55);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out);
  transition-delay: 0.25s;
  z-index: 920;
  list-style: none;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.focused .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.nav-dropdown li { list-style: none; }

.nav-dropdown li a {
  display: block;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255,248,231,0.72) !important;
  background: transparent !important;
  white-space: nowrap;
  letter-spacing: 0;
  transition: background 0.15s, color 0.15s, padding-left 0.15s !important;
}

.nav-dropdown li a:hover {
  background: rgba(245,194,0,0.1) !important;
  color: var(--gold) !important;
  padding-left: 18px !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Cart Icon */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: rgba(255,248,231,0.85);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.nav-cart-btn:hover {
  background: rgba(245,194,0,0.1);
  color: var(--gold);
}

.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: var(--gold);
  color: var(--rich-black);
  font-family: var(--fa);
  font-size: 11px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s var(--ease-spring);
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 8px 0;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: rgba(255,248,231,0.85);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s, background 0.2s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Drawer */
#mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 88vw);
  height: 100dvh;
  background: var(--rich-black);
  border-left: 1px solid rgba(245,194,0,0.12);
  z-index: 950;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: var(--nav-h) 32px 40px;
  overflow-y: auto;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-top: 24px;
}

.mobile-nav-links a {
  font-family: var(--fd);
  font-size: clamp(24px, 5vw, 36px);
  color: rgba(255,248,231,0.75);
  padding: 10px 0;
  border-bottom: 1px solid rgba(245,194,0,0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-links a:hover { color: var(--gold); padding-left: 8px; }

.mobile-nav-group {
  padding: 14px 0 6px;
  border-bottom: 1px solid rgba(245,194,0,0.08);
}

.mobile-nav-group-label {
  display: block;
  font-family: var(--fa);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
  padding: 0;
}

.mobile-nav-group a {
  font-size: clamp(16px, 3.5vw, 22px) !important;
  padding: 6px 0 !important;
  border-bottom: none !important;
}

.mobile-nav-cta { margin-top: 32px; }

#mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#mobile-backdrop.visible { opacity: 1; pointer-events: all; }

/* ── 11. CART DRAWER ────────────────────────────────────────── */
#cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 960;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

#cart-backdrop.visible { opacity: 1; pointer-events: all; }

#cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 95vw);
  height: 100dvh;
  background: #FFFFFF;
  border-left: 3px solid var(--rich-black);
  box-shadow: -6px 0 0 var(--rich-black);
  z-index: 970;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 3px solid var(--rich-black);
  background: var(--gold);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--fd);
  font-size: 24px;
  color: var(--rich-black);
  letter-spacing: -0.01em;
}

.cart-close {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px solid var(--rich-black);
  box-shadow: 2px 2px 0 var(--rich-black);
  color: var(--rich-black);
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  background: white;
}

.cart-close:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--rich-black); background: var(--cream); }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  overscroll-behavior: contain;
}

.cart-drawer-items::-webkit-scrollbar { width: 4px; }
.cart-drawer-items::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 2px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
  gap: 14px;
  color: rgba(0,0,0,0.35);
  font-size: 15px;
}

.cart-empty svg { opacity: 0.25; stroke: var(--rich-black); }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 2px solid var(--rich-black);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--rich-black);
  margin-bottom: 10px;
  background: white;
}

.cart-item:last-child { margin-bottom: 0; }

.cart-item-img {
  width: 72px; height: 72px;
  border-radius: 10px;
  border: 2px solid var(--rich-black);
  background: linear-gradient(135deg, var(--gold-pale), var(--amber-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--dark-brown);
  text-align: center;
  font-family: var(--fb);
  font-weight: 700;
  padding: 6px;
  line-height: 1.3;
  flex-shrink: 0;
}

.cart-item-info { display: flex; flex-direction: column; gap: 3px; }

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--rich-black);
  line-height: 1.3;
}

.cart-item-variant {
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  font-weight: 500;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--rich-black);
  white-space: nowrap;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty-btn {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 2px solid var(--rich-black);
  box-shadow: 2px 2px 0 var(--rich-black);
  color: var(--rich-black);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  cursor: pointer;
  line-height: 1;
}

.cart-qty-btn:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--rich-black); background: var(--gold); }

.cart-qty-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--rich-black);
  min-width: 22px;
  text-align: center;
}

.cart-remove-btn {
  font-size: 11px;
  color: rgba(0,0,0,0.35);
  margin-top: 4px;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
  font-weight: 500;
}
.cart-remove-btn:hover { color: #C0392B; }

.cart-drawer-footer {
  padding: 18px 20px 24px;
  border-top: 3px solid var(--rich-black);
  background: var(--cream);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--rich-black);
}

.cart-subtotal-amount {
  font-family: var(--fd);
  font-size: 26px;
  color: var(--rich-black);
}

.cart-checkout-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.cart-note {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  text-align: center;
}

/* ── 12. QUICK VIEW MODAL ───────────────────────────────────── */
#qv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 980;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#qv-backdrop.visible { opacity: 1; pointer-events: all; }

#quick-view {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(800px, 94vw);
  max-height: 90dvh;
  background: var(--cream);
  border-radius: var(--radius-lg);
  z-index: 990;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  overflow-y: auto;
}

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

.qv-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.qv-close:hover { background: rgba(0,0,0,0.14); }

.qv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overscroll-behavior: contain;
}

.qv-image-wrap {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--amber) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qv-image-placeholder {
  font-family: var(--fd);
  font-size: 18px;
  color: var(--dark-brown);
  text-align: center;
  padding: 24px;
  opacity: 0.7;
}

.qv-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.qv-category { font-family: var(--fa); font-size: 12px; letter-spacing: 0.15em; color: var(--amber); }

.qv-name {
  font-family: var(--fd);
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--rich-black);
  line-height: 1.2;
}

.qv-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.qv-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.qv-variant-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.qv-variant-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.qv-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.qv-pill:hover,
.qv-pill.selected {
  border-color: var(--amber);
  background: rgba(213,134,10,0.08);
  color: var(--amber);
}

.qv-price {
  font-family: var(--fd);
  font-size: 28px;
  color: var(--rich-black);
}

.qv-add-btn {
  margin-top: auto;
  justify-content: center;
}

@media (max-width: 600px) {
  .qv-inner { grid-template-columns: 1fr; }
  .qv-image-wrap { height: 220px; }
}

/* ── 13. THANK YOU MODAL ────────────────────────────────────── */
#thankyou-backdrop {
  position: fixed;
  inset: 0;
  z-index: 995;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#thankyou-backdrop.visible { opacity: 1; pointer-events: all; }

#thankyou-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: min(500px, 92vw);
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 52px 44px 44px;
  text-align: center;
  z-index: 996;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

#thankyou-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.ty-bee { font-size: 52px; margin-bottom: 12px; }

.ty-title {
  font-family: var(--fd);
  font-size: 28px;
  color: var(--dark-brown);
  margin-bottom: 10px;
}

.ty-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.ty-close { margin: 0 auto; }

/* ── 14. TOAST NOTIFICATION ─────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--rich-black);
  color: var(--cream);
  border: 1px solid rgba(245,194,0,0.25);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 15. SCROLL REVEAL CLASSES ──────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}

.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-out);
}

.fade-up.visible,
.fade-in.visible { opacity: 1; transform: none; }
.clip-reveal.visible { clip-path: inset(0 0 0% 0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── 16. FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--rich-black);
  color: rgba(255,248,231,0.65);
  padding: var(--section-pad) 0 0;
  border-top: 1px solid rgba(245,194,0,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand { display: flex; flex-direction: column; gap: 18px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img { height: 42px; width: auto; }

.footer-logo-text {
  font-family: var(--fd);
  font-size: 18px;
  color: var(--gold);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
  color: rgba(255,248,231,0.55);
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245,194,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,248,231,0.55);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,194,0,0.06);
}

.footer-col h4 {
  font-family: var(--fa);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,248,231,0.55);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,248,231,0.55);
}

.footer-legal {
  border-top: 1px solid rgba(245,194,0,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-left { font-size: 13px; }

.footer-legal-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-legal-links a {
  font-size: 13px;
  color: rgba(255,248,231,0.4);
  transition: color 0.2s;
}

.footer-legal-links a:hover { color: rgba(255,248,231,0.75); }

.footer-legal-by {
  font-size: 13px;
  color: rgba(255,248,231,0.3);
  text-align: center;
}

/* ── 17. MARQUEE ────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  width: max-content;
}

.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 28px;
  font-family: var(--fa);
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.12em;
  color: var(--gold);
}

.marquee-item span {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-left: 28px;
}

/* ── 18. SECTION HEADERS ────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header.center { text-align: center; }

.section-header p {
  max-width: 640px;
  margin-top: 14px;
}

.section-header.center p { margin: 14px auto 0; }

/* ── 19. DIVIDER ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: 0;
}

.divider-dark { background: var(--border-dark); }

/* ── 20. BREAKPOINTS ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right .btn-gold { display: none; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ── 21. PULL QUOTE ─────────────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}

.pull-quote p {
  font-family: var(--fd);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: var(--amber);
  line-height: 1.5;
}

.pull-quote-dark p { color: rgba(245,194,0,0.75); }

/* ── 22. FORM FIELDS ────────────────────────────────────────── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.field-input {
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-light);
  background: var(--white);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(213,134,10,0.12);
}

.field-input-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(245,194,0,0.15);
  color: var(--cream);
}

.field-input-dark::placeholder { color: rgba(255,248,231,0.35); }

.field-input-dark:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,194,0,0.1);
}

textarea.field-input { resize: vertical; min-height: 120px; }

.inline-form {
  display: flex;
  gap: 10px;
}

.inline-form .field-input {
  flex: 1;
  border-radius: var(--radius-pill);
  padding-left: 24px;
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(74,144,60,0.1);
  border: 1px solid rgba(74,144,60,0.25);
  border-radius: var(--radius);
  color: #3A8A30;
  font-size: 15px;
  text-align: center;
}

.form-success.show { display: block; }

/* ── 23. LOADING SPINNER ────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: -9px 0 0 -9px;
}
