/* ============================================================
   AHAVA — styles.css
   Aesthetic: Luxury editorial · warm cream & amber · refined
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --cream:      #f7f3ee;
  --cream-dark: #ede7dc;
  --warm-white: #fdfaf6;
  --amber:      #c8860a;
  --amber-lt:   #e5a52a;
  --amber-dk:   #9a6208;
  --gold:       #d4a843;
  --ink:        #1a1410;
  --ink-soft:   #3d3026;
  --muted:      #8a7a6a;
  --muted-lt:   #b8a898;
  --border:     rgba(180,150,100,0.18);
  --border-md:  rgba(180,150,100,0.35);
  --shadow-sm:  0 2px 12px rgba(50,30,10,0.08);
  --shadow-md:  0 8px 32px rgba(50,30,10,0.12);
  --shadow-lg:  0 20px 60px rgba(50,30,10,0.16);
  --radius:     12px;
  --radius-lg:  20px;
  --nav-h:      96px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── PRELOADER ────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease-out);
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#preloader img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 12px;
}

/* ── SHARED SECTION EYEBROW ──────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* ── HEADER / NAV ────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247,243,238,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(247,243,238,0.98);
}

.header-nav {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .header-nav { padding: 0 2.5rem; }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}

.logo-link:hover .logo-img { transform: scale(1.04); }

/* Desktop nav */
.desktop-nav { display: none; }

@media (min-width: 768px) { .desktop-nav { display: flex; } }

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--amber);
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── CART BUTTON ─────────────────────────────────────────── */
.cart-container { position: relative; }

.cart-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--warm-white);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.cart-button:hover {
  background: var(--cream-dark);
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 4px 16px rgba(200,134,10,0.18);
}

.cart-button .cart-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
}

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: var(--amber);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--cream);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}

.cart-count-active {
  opacity: 1;
  transform: scale(1);
}

@keyframes cartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cart-count-active.pop { animation: cartPop 0.3s var(--ease-out); }

/* ── CART DROPDOWN ───────────────────────────────────────── */
.cart-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  background: var(--warm-white);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  animation: cartSlideIn 0.22s var(--ease-out);
}

@keyframes cartSlideIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cart-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.cart-dropdown-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.cart-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.2s;
}

.cart-close-btn:hover {
  background: var(--cream-dark);
  border-color: var(--border-md);
  color: var(--ink);
}

.cart-dropdown-content {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-md) transparent;
}

.cart-empty {
  padding: 2.5rem;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cart-empty p {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.cart-items { padding: 0.5rem; }

.cart-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.cart-item:hover { background: var(--cream); }

.cart-item-image {
  width: 58px; height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--cream);
  flex-shrink: 0;
  padding: 4px;
}

.cart-item-details { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quantity-btn-cart {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--border-md);
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s;
}

.quantity-btn-cart:hover:not(:disabled) {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.quantity-btn-cart:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quantity-display-cart {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 18px;
  text-align: center;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cart-item-total {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.remove-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: #fff0f0;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #dc2626;
  transition: all 0.15s;
}

.remove-item-btn:hover {
  background: #fee2e2;
  border-color: #f87171;
}

.cart-dropdown-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.cart-total {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.checkout-btn {
  width: 100%;
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.checkout-btn:hover {
  background: var(--amber-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,134,10,0.3);
}

/* ── CART OVERLAY ────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,12,4,0.25);
  backdrop-filter: blur(2px);
  z-index: 150;
  animation: overlayFadeIn 0.2s ease;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── HAMBURGER ───────────────────────────────────────────── */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  transition: all 0.2s;
}

@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-menu-btn:hover {
  background: var(--cream-dark);
  border-color: var(--amber);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE NAV ──────────────────────────────────────────── */
.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(247,243,238,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: mobileNavDrop 0.25s var(--ease-out);
}

.mobile-nav[hidden] { display: none; }

@keyframes mobileNavDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list {
  padding: 0.75rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-link:last-child { border-bottom: none; }

.mobile-nav-link:hover {
  color: var(--amber);
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,6,2,0.55) 0%, rgba(10,6,2,0.35) 50%, rgba(10,6,2,0.6) 100%),
    url('../assets/images/hero-candle.png') center/cover no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  animation: heroFade 1s var(--ease-out) 0.1s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  animation: heroFade 1s var(--ease-out) 0.25s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  animation: heroFade 1s var(--ease-out) 0.4s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 40px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  animation: heroFade 1s var(--ease-out) 0.55s both;
}

.hero-cta svg { transition: transform 0.3s var(--ease-out); }

.hero-cta:hover {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 8px 30px rgba(200,134,10,0.45);
}

.hero-cta:hover svg { transform: translateY(3px); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: heroFade 1s var(--ease-out) 1.2s both;
}

.hero-scroll-hint span {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section {
  padding: 7rem 0;
  background: var(--warm-white);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) { .about-container { padding: 0 2.5rem; } }

.about-header {
  text-align: center;
  margin-bottom: 5rem;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 3fr 2fr; gap: 5rem; }
}

.about-content { display: flex; flex-direction: column; gap: 2.5rem; }

.story-section {
  border-left: 2px solid var(--border-md);
  padding-left: 1.5rem;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.story-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 300;
}

.about-sidebar { display: flex; flex-direction: column; gap: 2rem; }

.values-section {
  background: linear-gradient(135deg, #fef6e4 0%, #fdecc8 100%);
  border: 1px solid rgba(212,168,67,0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.values-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.bee-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(212,168,67,0.18);
  border-radius: 50%;
}

.values-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--amber-dk);
}

.values-list { display: flex; flex-direction: column; gap: 0.75rem; }

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #7a5010;
  font-weight: 400;
  line-height: 1.5;
}

.value-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-top: 0.42rem;
  flex-shrink: 0;
}

.stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}

.stat-item:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200,134,10,0.14);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── COLLECTION ──────────────────────────────────────────── */
.collection-section {
  padding: 7rem 0;
  background: var(--cream);
}

.collection-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) { .collection-container { padding: 0 2.5rem; } }

.collection-header {
  text-align: center;
  margin-bottom: 5rem;
}

.collection-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.collection-description {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  max-width: 520px;
  margin: 0 auto;
}

.collection-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: center;
}

.collection-row:last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
  .collection-row { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .collection-row.reverse .collection-content { order: 1; }
  .collection-row.reverse .collection-image   { order: 2; }
}

.collection-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.collection-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out);
}

.collection-image:hover .collection-img { transform: scale(1.03); }

.collection-subtitle {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.collection-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.collection-features { display: flex; flex-direction: column; gap: 0.55rem; }

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.feature-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.craft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.craft-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--warm-white);
  color: var(--amber-dk);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 40px;
  border: 1px solid var(--border-md);
  transition: all 0.2s;
}

.craft-badge:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200,134,10,0.25);
}

/* ── PRODUCTS ────────────────────────────────────────────── */
.products-section {
  padding: 7rem 0;
  background: var(--warm-white);
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) { .products-container { padding: 0 2.5rem; } }

.products-header {
  text-align: center;
  margin-bottom: 4rem;
}

.products-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.products-description {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  max-width: 440px;
  margin: 0 auto;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 600px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* Product card */
.product-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.25s;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpCard 0.6s var(--ease-out) forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.12s; }
.product-card:nth-child(3) { animation-delay: 0.19s; }
.product-card:nth-child(4) { animation-delay: 0.26s; }
.product-card:nth-child(5) { animation-delay: 0.33s; }
.product-card:nth-child(6) { animation-delay: 0.40s; }

@keyframes slideUpCard {
  to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-lt);
}

.product-image-container {
  position: relative;
  background: var(--cream);
  padding: 2rem 2rem 1.25rem;
  text-align: center;
  overflow: hidden;
}

.product-image {
  width: 100%;
  max-width: 170px;
  height: 210px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover .product-image { transform: scale(1.06) translateY(-4px); }

.product-overlay {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--ink);
  color: var(--gold);
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-content { padding: 1.4rem; }

.product-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-align: center;
}

.product-description {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  text-align: center;
  font-weight: 300;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.product-feature {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.product-feature .feature-dot {
  width: 4px; height: 4px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 0.45rem;
  flex-shrink: 0;
}

.product-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--amber);
}

.product-original-price {
  font-size: 0.875rem;
  color: var(--muted-lt);
  text-decoration: line-through;
}

.product-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.quantity-input-group {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.2s;
}

.quantity-btn:hover:not(:disabled) {
  background: var(--amber);
  color: #fff;
}

.quantity-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.quantity-input {
  width: 40px; height: 32px;
  border: none;
  background: var(--warm-white);
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; }

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-out);
}

.add-to-cart-btn .cart-icon { width: 16px; height: 16px; flex-shrink: 0; }

.add-to-cart-btn:hover {
  background: var(--amber);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,134,10,0.3);
}

/* products CTA */
.products-cta {
  text-align: center;
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
}

.cta-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--amber-dk);
  border: 1.5px solid var(--amber);
  border-radius: 40px;
  padding: 0.8rem 1.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}

.cta-icon { width: 14px; height: 14px; transition: transform 0.2s; }

.cta-button:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,134,10,0.25);
}

.cta-button:hover .cta-icon { transform: translateX(3px); }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  padding: 7rem 0;
  background: var(--cream);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) { .contact-container { padding: 0 2.5rem; } }

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .contact-methods { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
  animation: slideUpCard 0.6s var(--ease-out) forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.05s; }
.contact-card:nth-child(2) { animation-delay: 0.15s; }
.contact-card:nth-child(3) { animation-delay: 0.25s; }

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-lt);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #fef6e4 0%, #fdecc8 100%);
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  color: var(--amber);
  transition: all 0.3s;
}

.contact-card:hover .contact-icon {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  transform: scale(1.08);
}

.contact-method-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.contact-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.contact-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber);
  display: block;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--amber-dk); text-decoration: underline; }

.social-section {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.social-text {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--warm-white);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease-out);
}

.social-link:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(200,134,10,0.28);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding-top: 3.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1.5fr auto;
    gap: 3rem;
  }
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(0.7);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-contact-item:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.65rem;
  align-self: start;
}

@media (min-width: 768px) {
  .footer-social { flex-direction: column; }
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.footer-social-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: translateY(-1px);
}

.footer-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255,255,255,0.08);
  position: relative;
}

.footer-divider::after {
  content: '';
  position: absolute;
  left: 50%; top: -1px;
  transform: translateX(-50%);
  width: 56px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Scroll-triggered fade-up (JS adds .revealed) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ── RESPONSIVE MISC ─────────────────────────────────────── */
@media (max-width: 599px) {
  .about-section,
  .collection-section,
  .products-section,
  .contact-section { padding: 4rem 0; }

  .about-header,
  .collection-header,
  .products-header,
  .contact-header { margin-bottom: 3rem; }

  .product-features { grid-template-columns: 1fr; }

  .footer-inner { gap: 2rem; }
}

/* ── CONTACT LAYOUT (new) ────────────────────────────────── */
.contact-layout {
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

/* ── CONTACT FORM CARD ───────────────────────────────────── */
.contact-form-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  animation: slideUpCard 0.6s var(--ease-out) 0.15s both;
}

.contact-form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.contact-form-header .contact-icon { margin: 0; flex-shrink: 0; }
.contact-form-header .contact-method-title { margin-bottom: 0.15rem; }
.contact-form-header .contact-subtitle { margin-bottom: 0; }

/* Form elements */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.form-input::placeholder { color: var(--muted-lt); }

.form-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12);
  background: var(--warm-white);
}

.form-input.error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }

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

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  align-self: flex-start;
  padding: 0.78rem 1.75rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-out);
}

.form-submit:hover {
  background: var(--amber);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,134,10,0.3);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  font-size: 0.875rem;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  animation: slideUpCard 0.4s var(--ease-out);
}

/* ── WHATSAPP FAB ────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  animation: fabPop 0.5s var(--ease-out) 1s both;
}

@keyframes fabPop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

.whatsapp-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.whatsapp-fab-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}

.whatsapp-fab:hover .whatsapp-fab-tooltip { opacity: 1; }

@media (max-width: 480px) {
  .whatsapp-fab { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
}

/* ── USER BUTTON & DROPDOWN ──────────────────────────────── */
.user-container { position: relative; }

.user-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--warm-white);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.user-button:hover {
  background: var(--cream-dark);
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 4px 16px rgba(200,134,10,0.18);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: var(--warm-white);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  animation: cartSlideIn 0.22s var(--ease-out);
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.user-avatar-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #fef6e4 0%, #fdecc8 100%);
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: 50%;
  color: var(--amber);
  flex-shrink: 0;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.user-email {
  font-size: 0.72rem;
  color: var(--muted);
}

.user-dropdown-menu {
  padding: 0.5rem;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: all 0.15s;
  text-decoration: none;
}

.user-menu-item:hover {
  background: var(--cream);
  color: var(--amber);
}

.user-menu-item svg { flex-shrink: 0; color: var(--muted); transition: color 0.15s; }
.user-menu-item:hover svg { color: var(--amber); }

.user-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0.8rem;
}

.user-menu-item--signin {
  color: var(--amber-dk);
  font-weight: 500;
}

.user-menu-item--signin:hover {
  background: linear-gradient(135deg, #fef6e4 0%, #fdecc8 100%);
  color: var(--amber-dk);
}

.user-menu-item--signin svg { color: var(--amber); }

/* ── VIEW ALL PRODUCTS ───────────────────────────────────── */
.view-all-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.view-all-btn svg { transition: transform 0.25s var(--ease-out); }

.view-all-btn:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,134,10,0.3);
}

.view-all-btn:hover svg { transform: translateX(4px); }

/* ── LOGO TAGLINE ────────────────────────────────────────── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-tagline {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding-left: 1rem;
}

@media (min-width: 900px) {
  .logo-tagline { display: flex; }
}

.logo-tagline-flame {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-tagline span {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ── WISHLIST BUTTON (on product card) ───────────────────── */
.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.22s var(--ease-out);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.wishlist-btn:hover {
  background: #fff;
  border-color: #e11d48;
  color: #e11d48;
  transform: scale(1.1);
}

.wishlist-btn.active {
  background: #fff0f3;
  border-color: #e11d48;
  color: #e11d48;
}

.wishlist-btn.active svg {
  fill: #e11d48;
  stroke: #e11d48;
}

@keyframes heartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.wishlist-btn.pop { animation: heartPop 0.3s var(--ease-out); }

/* ── WISHLIST COUNT BADGE (in user menu) ─────────────────── */
.wishlist-menu-trigger {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  justify-content: flex-start;
}

.wishlist-count-badge {
  margin-left: auto;
  background: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── WISHLIST PANEL ──────────────────────────────────────── */
.wishlist-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 95vw;
  background: var(--warm-white);
  border-left: 1px solid var(--border-md);
  box-shadow: -8px 0 40px rgba(50,30,10,0.14);
  z-index: 600;
  display: flex;
  flex-direction: column;
  animation: panelSlideIn 0.3s var(--ease-out);
}

.wishlist-panel[hidden] { display: none; }

@keyframes panelSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.wishlist-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.wishlist-panel-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}

.wishlist-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.2s;
}

.wishlist-close-btn:hover {
  background: var(--cream-dark);
  border-color: var(--border-md);
  color: var(--ink);
}

.wishlist-panel-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-md) transparent;
}

.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  padding: 3rem 2rem;
  color: var(--muted);
  text-align: center;
}

.wishlist-empty p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.wishlist-empty span {
  font-size: 0.8rem;
  color: var(--muted-lt);
}

.wishlist-items {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Wishlist item row */
.wishlist-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.wishlist-item:hover { border-color: var(--amber-lt); }

.wishlist-item-img {
  width: 56px; height: 56px;
  object-fit: contain;
  background: var(--warm-white);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}

.wishlist-item-info { flex: 1; min-width: 0; }

.wishlist-item-name {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-price {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
}

.wishlist-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.wishlist-add-cart-btn {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.wishlist-add-cart-btn:hover { background: var(--amber); }

.wishlist-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: #fff0f0;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.15s;
  align-self: flex-end;
}

.wishlist-remove-btn:hover { background: #fee2e2; }

/* Overlay */
.wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,12,4,0.3);
  backdrop-filter: blur(2px);
  z-index: 550;
  animation: overlayFadeIn 0.2s ease;
}

.wishlist-overlay[hidden] { display: none; }