/* ============================================
   NURSNOOK STORE
   store.nursnook.com
   Midnight Bluefruit + Light Blueberry
   ============================================ */

:root {
  /* Midnight */
  --midnight: #0a0a16;
  --midnight-secondary: #0e0e1c;
  --midnight-card: #131324;
  --midnight-card-hover: #1a1a30;

  /* Wine */
  --wine: #8b2258;
  --wine-light: #a83270;
  --wine-deep: #6a1a44;
  --wine-glow: rgba(139, 34, 88, 0.25);

  /* Bluefruit */
  --bluefruit: #b8a8d8;
  --bluefruit-light: #cdbde8;
  --bluefruit-deep: #9a8bbe;
  --bluefruit-glow: rgba(184, 168, 216, 0.18);

  /* Blueberry — the spark */
  --blueberry: #7B8CFF;
  --blueberry-light: #99A7FF;
  --blueberry-deep: #5E6FE6;
  --blueberry-glow: rgba(123, 140, 255, 0.20);

  /* Text */
  --text-primary: #f0ede8;
  --text-secondary: #a8a4b8;
  --text-muted: #5c5872;

  /* Borders */
  --border: #1c1c34;
  --border-light: #2a2a46;

  /* Light Mode */
  --light-bg: #FAFAF8;
  --light-bg-alt: #F2F0ED;
  --light-bg-card: #FFFFFF;
  --light-text-primary: #1a1a2e;
  --light-text-secondary: #4a4a5e;
  --light-text-muted: #8a8a9e;
  --light-border: #E8E6E2;
  --light-border-hover: #D0CEC8;

  /* Semantic */
  --success: #2D8B5E;
  --warning: #D4A843;
  --error: #C74444;

  /* Typography */
  --font-display: 'Jost', 'Futura', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--light-bg);
  color: var(--light-text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

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

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--midnight);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.nav.hidden { transform: translateY(-100%); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}
.nav-mark {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  margin-right: -0.22em;
}
.nav-store-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-left: 0.15rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-search-btn, .nav-menu-btn {
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 0.25rem;
}
.nav-search-btn:hover, .nav-menu-btn:hover { color: var(--text-primary); }

.nav-cart {
  position: relative;
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 0.25rem;
}
.nav-cart:hover { color: var(--text-primary); }
.nav-cart-count {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--blueberry);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu-btn { display: none; }

/* ─── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--midnight);
  z-index: 99;
  display: none;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { padding: 1.5rem 2rem; }
.mobile-menu-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: var(--text-primary); }
.mobile-menu-dept { padding-left: 1rem; font-size: 0.9rem; }
.mobile-menu-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.5rem 0;
}
.mobile-menu-reviewer {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

/* ─── SEARCH OVERLAY ─────────────────────────────────── */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: var(--midnight);
  padding: 0 2rem;
  height: 64px;
  display: none;
  align-items: center;
}
.search-overlay.open { display: flex; }
.search-overlay-inner { width: 100%; max-width: 800px; margin: 0 auto; display: flex; gap: 1rem; }
.search-form { display: flex; flex: 1; gap: 0.5rem; align-items: center; }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--blueberry); }
.search-input::placeholder { color: var(--text-muted); }
.search-close { color: var(--text-muted); }

/* ─── REVIEW BAR ─────────────────────────────────────── */
.review-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--wine);
  color: #fff;
  padding: 0.5rem 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}
.review-bar a { color: var(--blueberry-light); text-decoration: underline; }

/* ─── LOGIN WALL ─────────────────────────────────────── */
.login-wall {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  color: var(--text-primary);
}
.login-wall-inner {
  text-align: center;
  max-width: 360px;
  width: 100%;
  padding: 2rem;
}
.login-wall-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.login-wall-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}
.login-wall form { display: flex; flex-direction: column; gap: 0.75rem; }
.login-wall input {
  padding: 0.75rem 1rem;
  background: var(--midnight-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.login-wall input:focus { border-color: var(--blueberry); }
.login-wall input::placeholder { color: var(--text-muted); }
.login-wall button {
  padding: 0.75rem;
  background: var(--blueberry);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.login-wall button:hover { background: var(--blueberry-light); }
.login-wall-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ─── MAIN CONTENT ───────────────────────────────────── */
.main {
  min-height: calc(100vh - 72px);
  padding-top: 72px;
}

/* ─── HERO (Homepage) ────────────────────────────────── */
.hero {
  background: var(--midnight);
  color: var(--text-primary);
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 34, 88, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(123, 140, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
  position: relative;
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--wine-light), var(--blueberry));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  position: relative;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.5rem;
  background: var(--blueberry);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px var(--blueberry-glow);
  position: relative;
}
.hero-cta:hover {
  background: var(--blueberry-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 30px rgba(123, 140, 255, 0.35);
}

/* ─── SECTION HEADERS ────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ─── PRODUCT GRID ───────────────────────────────────── */
.products-section { padding: 4rem 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--light-bg-card);
  border: 1px solid var(--light-border);
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  border-color: var(--light-border-hover);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.product-card-img {
  aspect-ratio: 1;
  background: var(--light-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img-placeholder {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-text-muted);
}
.product-card-body { padding: 1.25rem; }
.product-card-category {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-text-muted);
  margin-bottom: 0.3rem;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--light-text-primary);
}
.product-card-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--light-text-primary);
}
.product-card-price .compare {
  text-decoration: line-through;
  color: var(--light-text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.4rem;
}
.product-card-foundation {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  color: var(--wine);
  font-weight: 500;
}
.product-card-foundation svg { flex-shrink: 0; }

/* ─── FOUNDATION BADGE ───────────────────────────────── */
.foundation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(139, 34, 88, 0.08);
  border: 1px solid rgba(139, 34, 88, 0.2);
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

/* ─── DEPARTMENT CARDS ───────────────────────────────── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dept-card {
  background: var(--midnight-card);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--text-primary);
}
.dept-card:hover {
  border-color: var(--blueberry);
  box-shadow: 0 0 30px var(--blueberry-glow);
  transform: translateY(-3px);
}
.dept-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.dept-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── CATEGORY PAGE ──────────────────────────────────── */
.category-hero {
  background: var(--midnight);
  color: var(--text-primary);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.category-hero-dept {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.category-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
}
.category-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── COMING SOON (Empty Category) ───────────────────── */
.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
}
.coming-soon h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--light-text-primary);
}
.coming-soon p {
  color: var(--light-text-secondary);
  margin-bottom: 2rem;
}
.coming-soon .btn { margin-top: 1rem; }

/* ─── PRODUCT SINGLE ─────────────────────────────────── */
.product-page { padding: 2rem 0 4rem; }
.product-page .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.product-gallery { position: sticky; top: 80px; }
.product-gallery-main {
  aspect-ratio: 1;
  background: var(--light-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 0.5rem; }
.product-gallery-thumb {
  width: 72px; height: 72px;
  background: var(--light-bg-alt);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.product-gallery-thumb.active, .product-gallery-thumb:hover { border-color: var(--blueberry-deep); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { flex: 1; }
.product-breadcrumb {
  font-size: 0.75rem;
  color: var(--light-text-muted);
  margin-bottom: 1rem;
}
.product-breadcrumb a { color: var(--light-text-muted); transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--blueberry-deep); }

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.product-price .compare {
  text-decoration: line-through;
  color: var(--light-text-muted);
  font-weight: 400;
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.product-foundation {
  margin-bottom: 1.5rem;
}

.product-description {
  color: var(--light-text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.product-description p + p { margin-top: 1rem; }

.product-variants {
  margin-bottom: 1.5rem;
}
.product-variants label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text-muted);
  margin-bottom: 0.5rem;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-option {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--light-border);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--light-bg-card);
}
.variant-option:hover { border-color: var(--light-border-hover); }
.variant-option.selected {
  border-color: var(--blueberry-deep);
  background: rgba(94, 111, 230, 0.06);
  color: var(--blueberry-deep);
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.product-quantity label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text-muted);
}
.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-border);
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--light-text-secondary);
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--light-bg-alt); }
.qty-value {
  width: 48px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 1px solid var(--light-border);
  border-right: 1px solid var(--light-border);
  height: 36px;
  line-height: 36px;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blueberry);
  color: var(--midnight);
  box-shadow: 0 0 20px var(--blueberry-glow);
}
.btn-primary:hover {
  background: var(--blueberry-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(123, 140, 255, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--light-text-primary);
  border: 1px solid var(--light-border);
}
.btn-secondary:hover {
  border-color: var(--light-text-primary);
}
.btn-wine {
  background: var(--wine);
  color: #fff;
}
.btn-wine:hover { background: var(--wine-light); }
.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.9rem; }

.btn-add-cart {
  background: var(--blueberry);
  color: var(--midnight);
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 20px var(--blueberry-glow);
}
.btn-add-cart:hover {
  background: var(--blueberry-light);
  box-shadow: 0 4px 30px rgba(123, 140, 255, 0.35);
}

.btn-wishlist {
  background: transparent;
  border: 1px solid var(--light-border);
  color: var(--light-text-secondary);
  width: 100%;
  padding: 0.75rem;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}
.btn-wishlist:hover { border-color: var(--wine); color: var(--wine); }

/* ─── RECOMMENDATIONS ────────────────────────────────── */
.recs-section {
  padding: 4rem 0;
  border-top: 1px solid var(--light-border);
}
.recs-section .section-title { text-align: left; margin-bottom: 2rem; }

.editorial-picks {
  padding: 3rem 0;
  border-top: 1px solid var(--light-border);
}
.editorial-picks .section-tag { text-align: left; }
.editorial-picks .section-title { text-align: left; margin-bottom: 2rem; }
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.editorial-card {
  display: flex;
  gap: 1.5rem;
  background: var(--light-bg-card);
  border: 1px solid var(--light-border);
  padding: 1.25rem;
  transition: all 0.3s ease;
}
.editorial-card:hover {
  border-color: var(--blueberry-deep);
  box-shadow: 0 4px 20px rgba(94, 111, 230, 0.08);
}
.editorial-card-img {
  width: 100px; height: 100px;
  background: var(--light-bg-alt);
  flex-shrink: 0;
  overflow: hidden;
}
.editorial-card-img img { width: 100%; height: 100%; object-fit: cover; }
.editorial-card-note {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.3rem;
}
.editorial-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.editorial-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ─── CART ────────────────────────────────────────────── */
.cart-page { padding: 2rem 0 4rem; }
.cart-page h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.cart-empty p {
  color: var(--light-text-secondary);
  margin-bottom: 2rem;
}

.cart-items { flex: 1; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--light-border);
  align-items: center;
}
.cart-item-img {
  width: 80px; height: 80px;
  background: var(--light-bg-alt);
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.cart-item-variant {
  font-size: 0.8rem;
  color: var(--light-text-muted);
  margin-bottom: 0.3rem;
}
.cart-item-foundation {
  font-size: 0.7rem;
  color: var(--wine);
}
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.cart-item-remove {
  font-size: 0.75rem;
  color: var(--light-text-muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
}
.cart-item-remove:hover { color: var(--error); }

.cart-summary {
  background: var(--light-bg-card);
  border: 1px solid var(--light-border);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--light-border);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}
.cart-summary-row.total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--light-border);
}
.cart-summary-foundation {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--wine);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-border);
}
.cart-summary-foundation svg { flex-shrink: 0; }

.cart-promo {
  margin-top: 1rem;
  display: flex;
  gap: 0;
}
.cart-promo input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--light-border);
  border-right: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  outline: none;
}
.cart-promo input:focus { border-color: var(--blueberry-deep); }
.cart-promo button {
  padding: 0.6rem 1rem;
  background: var(--midnight);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-promo button:hover { background: var(--midnight-card-hover); }
.cart-promo-message {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.cart-promo-message.success { color: var(--success); }
.cart-promo-message.error { color: var(--error); }

.cart-checkout-btn { margin-top: 1.25rem; }

/* ─── CMS PAGES ──────────────────────────────────────── */
.cms-page { padding: 3rem 0 5rem; max-width: 800px; margin: 0 auto; }
.cms-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-border);
}
.cms-page-body { color: var(--light-text-secondary); line-height: 1.85; }
.cms-page-body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light-text-primary);
  margin: 2rem 0 1rem;
}
.cms-page-body p { margin-bottom: 1rem; }
.cms-page-body ul, .cms-page-body ol { margin: 1rem 0; padding-left: 1.5rem; }
.cms-page-body li { margin-bottom: 0.5rem; }
.cms-page-body a { color: var(--blueberry-deep); text-decoration: underline; }
.cms-page-body a:hover { color: var(--wine); }
.cms-page-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.cms-page-body th, .cms-page-body td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--light-border);
}
.cms-page-body th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--light-text-primary);
}
.cms-page-body strong { color: var(--light-text-primary); }

/* ─── SUGGEST / CONTACT FORMS ────────────────────────── */
.form-page { padding: 3rem 0 5rem; max-width: 600px; margin: 0 auto; }
.form-page h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.form-page .form-intro {
  color: var(--light-text-secondary);
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-text-muted);
  margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-border);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--light-bg-card);
  color: var(--light-text-primary);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blueberry-deep);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-hint {
  font-size: 0.75rem;
  color: var(--light-text-muted);
  margin-top: 0.3rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
  background: rgba(45, 139, 94, 0.06);
  border: 1px solid rgba(45, 139, 94, 0.2);
  color: var(--success);
  font-weight: 500;
  display: none;
}

/* ─── 404 ────────────────────────────────────────────── */
.page-404-content {
  text-align: center;
  padding: 6rem 2rem;
}
.page-404-content h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--light-text-muted);
  margin-bottom: 1rem;
}
.page-404-content p {
  font-size: 1.1rem;
  color: var(--light-text-secondary);
  margin-bottom: 2rem;
}
.page-404-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── FOUNDATION BANNER ──────────────────────────────── */
.foundation-banner {
  background: var(--midnight);
  color: var(--text-primary);
  padding: 3rem 0;
}
.foundation-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
.foundation-banner-icon { color: var(--wine-light); }
.foundation-banner-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
}
.foundation-banner-text strong { color: var(--text-primary); }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--midnight);
  color: var(--text-secondary);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-col { min-width: 0; }
.footer-col-brand { grid-column: 1; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.footer-logo img {
  height: 24px;
  width: auto;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}
.footer-store-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: -0.1rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blueberry); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.footer-social a {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--blueberry); }

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-foundation {
  margin-top: 0.25rem;
  font-style: italic;
}

/* ─── COLLECTIONS ────────────────────────────────────── */
.collections-page { padding: 3rem 0 5rem; }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.collection-card {
  background: var(--midnight-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.collection-card:hover {
  border-color: var(--wine);
  box-shadow: 0 0 40px var(--wine-glow);
}
.collection-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.collection-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.collection-card-cta {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blueberry);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.75rem;
  color: var(--light-text-muted);
}
.breadcrumb a { color: var(--light-text-muted); }
.breadcrumb a:hover { color: var(--blueberry-deep); }
.breadcrumb span { margin: 0 0.4rem; }

/* ─── SCROLL ANIMATIONS ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── STATUS BADGES ──────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.badge-coming-soon {
  background: rgba(212, 168, 67, 0.1);
  color: var(--warning);
  border: 1px solid rgba(212, 168, 67, 0.3);
}
.badge-new {
  background: linear-gradient(135deg, var(--bluefruit), var(--blueberry));
  color: var(--midnight);
}
.badge-preorder {
  background: rgba(139, 34, 88, 0.1);
  color: var(--wine);
  border: 1px solid rgba(139, 34, 88, 0.3);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .dept-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }

  .product-page .container { grid-template-columns: 1fr; }
  .product-gallery { position: static; }

  .hero { padding: 3rem 1.5rem; min-height: calc(100vh - 72px); }
  .hero-headline { font-size: 1.8rem; }
  .nav-mark { height: 40px; }
  .nav-wordmark { font-size: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col-brand { margin-bottom: 1rem; }
}

@media (max-width: 480px) {
  .nav { padding: 0 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-body { padding: 1rem; }
}
