/* =============================
   Base - Essence de Bonbon
   ============================= */

:root,
.edb-site {
  --black: #0b0b0b;
  --gold: #c9b27c;
  --gold-rgb: 201, 178, 124;
  --gold-soft: #c9b27c;
  --cream: #f5f2eb;
  --hero-cream: #e8dcc2;
  --bg-start: #151515;
  --bg-end: #000;

  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing:border-box; }

html,
body {
  height: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  color:var(--cream);
  font-family:Inter, Arial, sans-serif;
  background-color: var(--black);
}

body.nav-locked {
  overflow: hidden;
}

/* Global page container */
.page-container {
  min-height: 100vh;
  max-width: min(1440px, 100%);
  margin-inline: auto;

  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);

  background-color: #0e0e0e;
  background-image:
        radial-gradient(circle at 65% 35%,
          rgba(255, 255, 255, 0.035),
          rgba(0, 0, 0, 0.8) 60%),
        url("/images/bg-charcoal.webp");
  background-repeat: no-repeat, repeat;
  background-size: cover, 600px 600px;

  display: flex;
  flex-direction: column;

}


.page-container > main {
  flex: 1 0 auto;
}

.page-container > footer,
.page-container > .site-footer-include {
  margin-top: auto;
}
/* Links (base only, nav handled separately) */
a {
  color:inherit;
  text-decoration:none;
}

/* Buttons (shared base) */
.btn {
  display:inline-block;
  padding:14px 32px;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  border:1px solid var(--gold);
  background:var(--gold);
  color:#000;
  transition:opacity .25s ease, transform .25s ease;
}

.btn-primary {
  background:var(--gold);
  color:#000;
}
/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4{
  font-family:"Playfair Display", serif;
  font-weight:400;
  margin:0;
}

h3 {
  font-size:28px;
  color:var(--gold-soft);
  letter-spacing:.04em;
}   
.eyebrow{
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: var(--gold);
  opacity: .7;
  margin-bottom:10px;
}

#seasonal-nav-slot {
  margin-left: 0px;
}

/* =============================
   HERO LAYOUT
   ============================= */

.hero {
  --hero-flow-1: clamp(10px, 0.8vw, 14px);
  --hero-flow-2: clamp(18px, 1.6vw, 26px);
  --hero-flow-3: clamp(28px, 2.8vw, 42px);

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
  
  background-image:
    radial-gradient(
      circle at center,
      rgba(60, 60, 65, 0.55) 0%,
      rgba(20, 20, 22, 0.85) 60%,
      rgba(8, 8, 10, 1) 100%),
    url('/images/dark-texture-hero.webp');

  background-size:     cover;
  background-position: center;
  background-repeat:   no-repeat;
}

/* Container grid */
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-start;
  row-gap: var(--hero-flow-3);
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

/* LEFT TEXT BLOCK */
.hero-text {
  color: var(--gold-soft);
  max-width: 520px;
  display: grid;
  align-content: start;
  gap: var(--hero-flow-2);
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--hero-cream);
  margin: 0;
}

.hero-text h1 span {
  display: block;
  font-style: italic;
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  line-height: 1.12;
  margin-top: var(--hero-flow-1);
  margin-bottom: 0;
}

.hero-text p {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.72;
  max-width: 520px;
  margin: 0;
  opacity: .85;
}

.hero-text .cta {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  line-height: 1.2;
  margin-top: var(--hero-flow-1);
  margin-bottom: 0;
  align-self: start;
  justify-self: start;
  width: fit-content;
}

.hero-text .cta:hover {
  background: var(--gold);
  color: #111;
}

.hero-image {
  text-align: right;
}

.hero-image img {
  max-width: 520px;
}

.section-divider {
  width: min(1200px, 85%);
  height: 1px;
  background: var(--gold);
  margin: clamp(22px, 3vw, 38px) auto;
  
  background: linear-gradient(to right,
      transparent 0%,
      rgba(var(--gold-rgb), 1) 15%,
      rgba(var(--gold-rgb), 1) 85%,
      transparent 100%);
}


/* =============================
   NAVIGATION - ESSENCE DE BONBON
   ============================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 24px 0 20px;
  position: relative;
  z-index: 1000;
  overflow: visible;
}

/* Global navigation hairline */
header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: rgba(var(--gold-rgb), 0.55);
  pointer-events: none;
  z-index: 1;
}

header.reveal {
  flex-wrap: nowrap;
}

.primary-nav {
  position: relative;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  z-index: 2
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;

  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;

  color: var(--cream);
  opacity: .7;
  text-decoration: none;

  transition: color .25s ease, opacity .25s ease;
}

/* Underline */
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;

  background-color: var(--gold);
  opacity: 0;
  transform: scaleX(0.85);
  transform-origin: center;

  transition: opacity .25s ease, transform .25s ease;
}

/* Hover + active */
.primary-nav a:hover,
.primary-nav a.is-active {
  opacity: 1;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo img {
  height: clamp(36px, 6vw, 64px);
  width: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-wordmark {
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 3.8vw, 32px);
  letter-spacing: clamp(0.12em, 0.35vw, 0.32em);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

/* Current page state */
nav a.is-active {
  opacity: 1;
  color: var(--gold);
  pointer-events: none;
}

/* Hover state */
nav a:hover {
  opacity: 1;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(var(--gold-rgb), .35);
}

nav a.is-active::after {
  opacity: .6;
  transform: scaleX(1);
}

nav span,
#seasonal-nav-slot {
  display: inline-flex;
  align-items: center;
}


/* Cart */
.nav-cart {
  position: relative;
  margin-left: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--cream);
  opacity: .7;
  transition: opacity .25s ease, transform .25s ease;
  flex-shrink: 0;
}

.nav-cart:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.cart-count {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .6;
}

/* Cart preview */
.cart-preview {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 360px;
  padding: 0;
  background: rgba(15, 15, 15, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(var(--gold-rgb), .35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity .18s ease,
    transform .22s ease;
  z-index: 300;
}

/* STICKY HOVER */
.nav-cart:hover .cart-preview {
  opacity: 1;
   display: block;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-preview-ledger {
  position: relative;
  padding: 32px 30px 28px;
  border-left: 2px solid rgba(var(--gold-rgb), .45);
  transition: border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

.nav-cart:hover .cart-preview-ledger,
.cart-preview:hover .cart-preview-ledger {
  border-left-color: rgba(var(--gold-rgb), .7);
  box-shadow:
    -1px 0 6px rgba(var(--gold-rgb), .25);
}
.cart-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, .25) 100%);
  opacity: .6;
}

/* EB WATERMARK */
.cart-preview-ledger::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 240px;
  height: 240px;
  background-size: contain;
  opacity: 0.025;
  pointer-events: none;
}

/* Header */
.ledger-header {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(var(--gold-rgb), .7);
  margin-bottom: 26px;
}

/* Items */
.ledger-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ledger-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.ledger-name {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  line-height: 1.3;
}

.ledger-meta {
  font-size: 13px;
  letter-spacing: .06em;
  opacity: .75;
  text-align: right;
  white-space: nowrap;
}

.ledger-price {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--gold-soft);
}

/* Divider */
.ledger-divider {
  margin: 22px 0 18px;
  height: 1px;
  background: linear-gradient(to right,
      rgba(var(--gold-rgb), .4),
      rgba(var(--gold-rgb), .05));
}

/* Total */
.ledger-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 22px;
}

.ledger-total strong {
  font-size: 16px;
  color: var(--gold-soft);
}

/* View Link */
.ledger-view {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(var(--gold-rgb), .75);
  transition: opacity .25s ease;
}

.ledger-view:hover {
  opacity: .7;
}

/* Empty State */
.cart-preview-ledger.is-empty {
  text-align: center;
}

.ledger-empty {
  font-size: 13px;
  opacity: .65;
}

.cart-preview:has(.cart-preview-empty) {
  background: var(--cream);
  color: #0b0b0b;
  border-color: rgba(0, 0, 0, .15);
}

.cart-preview-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
}
.preview-qty {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(var(--gold-rgb), .85);
  text-align: right;
}

.preview-name {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  letter-spacing: .02em;
  color: rgba(245, 242, 235, .9);
}

.preview-price {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(var(--gold-rgb), .75);
  text-align: right;
}
.cart-preview-empty {
  font-size: 13px;
  line-height: 1.6;
  opacity: .6;
}

.cart-preview h4 {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  margin: 0 0 12px;
}

/* Mobile-only elements OFF */
.menu-toggle {
  display: none;
}

.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;

  /* Kill mobile tap artifacts */
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus,
.menu-toggle:active,
.menu-toggle:focus-visible {
  color: var(--gold);
  background: transparent;
  outline: none;
}

.mobile-nav {
  display: none;
}

