/* ================================================================
   NIELS GOODING DESSERT DROP — MASTER STYLESHEET
   Palette: Primary Blue #1A56DB | Navy #1E3A8A | Accent #93C5FD
            White #FFFFFF | Off-white #F0F7FF
   ================================================================ */

/* 1. VARIABLES & RESET
   ================================================================ */
:root {
  --primary:      #1A56DB;
  --navy:         #1E3A8A;
  --navy-dark:    #172554;
  --accent:       #93C5FD;
  --accent-lt:    #BFDBFE;
  --white:        #FFFFFF;
  --off-white:    #F0F7FF;
  --surface:      #EFF6FF;
  --border:       #DBEAFE;
  --border-mid:   #BFDBFE;
  --text:         #1E3A8A;
  --text-body:    #374151;
  --text-mid:     #6B7280;
  --text-lt:      #9CA3AF;
  --success:      #059669;
  --error:        #DC2626;
  --sold-bg:      #F3F4F6;
  --sold-text:    #9CA3AF;

  --shadow-sm:    0 1px 3px rgba(30,58,138,.08), 0 1px 2px rgba(30,58,138,.06);
  --shadow:       0 4px 16px rgba(30,58,138,.10);
  --shadow-md:    0 8px 32px rgba(30,58,138,.14);
  --shadow-lg:    0 20px 60px rgba(30,58,138,.18);

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --nav-h:        72px;
  --transition:   all 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
button { font-family: 'Inter', sans-serif; cursor: pointer; }
input, select, textarea { font-family: 'Inter', sans-serif; }

/* 2. TYPOGRAPHY
   ================================================================ */
.serif { font-family: 'Playfair Display', serif; }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-sub {
  font-size: 1.02rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
}

/* 3. LAYOUT
   ================================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* 4. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: 50%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* 5. NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-icon-btn {
  position: relative;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.cart-icon-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.cart-badge {
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition);
}
.cart-icon-btn:hover .cart-badge { background: var(--white); color: var(--primary); }
.cart-badge.has-items { background: var(--error); }
.cart-icon-btn:hover .cart-badge.has-items { background: var(--white); color: var(--error); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 499;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); }

/* 6. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(23,37,84,0.88) 0%,
    rgba(30,58,138,0.80) 45%,
    rgba(26,86,219,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 40px 80px 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(147,197,253,0.18);
  border: 1px solid rgba(147,197,253,0.35);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(1.5)} }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.trust-item svg, .trust-item .ti { color: var(--accent); font-size: 1rem; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop { 0%,100%{transform:scaleY(1);opacity:.6} 50%{transform:scaleY(1.3);opacity:1} }

/* 7. PROMO TEXT SECTION
   ================================================================ */
.promo-section {
  background: var(--off-white);
  padding: 80px 0;
}
.promo-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.promo-text {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.85;
}
.promo-text strong { color: var(--navy); font-weight: 700; }

/* 8. COUNTDOWN TIMER
   ================================================================ */
.countdown-banner {
  background: var(--navy);
  padding: 28px 0;
}
.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.countdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.countdown-units {
  display: flex;
  align-items: center;
  gap: 8px;
}
.countdown-unit {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(147,197,253,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  text-align: center;
  min-width: 72px;
}
.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
}
.countdown-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
  display: block;
}
.countdown-sep {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  align-self: flex-start;
  padding-top: 4px;
}
.countdown-closed {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}
.countdown-closed span { color: var(--accent); }

/* 9. FLAVOR CARDS
   ================================================================ */
.shop-section { background: var(--white); }
.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}
.week-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.flavor-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.flavor-card:hover:not(.is-sold-out) {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.flavor-card.is-sold-out { opacity: 0.65; }

.flavor-photo {
  position: relative;
  height: 210px;
  background: var(--surface);
  overflow: hidden;
}
.flavor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.flavor-card:hover:not(.is-sold-out) .flavor-photo img { transform: scale(1.04); }

.qty-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--white);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.qty-badge.low { color: var(--error); border-color: #FCA5A5; }
.qty-badge.sold { color: var(--sold-text); border-color: var(--sold-bg); background: var(--sold-bg); }

.tier-badge {
  position: absolute;
  top: 12px; left: 12px;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier-badge.standard { background: rgba(26,86,219,0.9); color: var(--white); }
.tier-badge.premium  { background: var(--navy-dark); color: var(--accent-lt); }

.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
}
.sold-out-stamp {
  background: var(--sold-text);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow);
}

.flavor-body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flavor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
}
.flavor-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flavor-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4px;
}
.flavor-price span { font-size: 0.88rem; font-weight: 500; color: var(--text-mid); margin-left: 4px; }

.flavor-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.qty-ctrl button {
  width: 34px; height: 34px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.qty-ctrl button:hover { background: var(--surface); }
.qty-ctrl span {
  min-width: 30px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.add-to-cart-btn {
  margin-top: 14px;
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.add-to-cart-btn:hover { background: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.add-to-cart-btn:active { transform: scale(0.98); }

/* Drop Closed Banner */
.drop-closed-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  display: none;
}
.drop-closed-banner.show { display: block; }
.drop-closed-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.drop-closed-banner p { color: var(--accent); font-size: 1.05rem; }

/* 10. CART DRAWER
   ================================================================ */
.cart-drawer {
  position: fixed;
  top: 0; right: -460px;
  width: 420px;
  height: 100vh;
  background: var(--white);
  z-index: 600;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 60px rgba(30,58,138,.18);
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { right: 0; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,37,84,.45);
  z-index: 599;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
}
.cart-close {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.cart-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-mid);
  text-align: center;
  padding: 40px 0;
}
.cart-empty svg { opacity: 0.35; }
.cart-empty p { font-size: 0.95rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: 3px; }
.cart-item-price { font-size: 0.82rem; color: var(--text-mid); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-total { font-weight: 800; font-size: 1rem; color: var(--primary); }
.cart-remove {
  background: none; border: none;
  font-size: 0.78rem;
  color: var(--error);
  cursor: pointer;
  transition: opacity 0.15s;
}
.cart-remove:hover { opacity: 0.7; }

.cart-foot {
  padding: 20px 24px;
  border-top: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-subtotal-label { font-size: 0.9rem; color: var(--text-mid); }
.cart-subtotal-amt { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.cart-deadline-note {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  text-align: center;
}

/* 11. FORMS
   ================================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group .hint {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: -4px;
}

.form-input, .form-select, .form-textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,86,219,.10);
}
.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--error); }
.form-textarea { resize: vertical; min-height: 90px; }
.error-msg { font-size: 0.78rem; color: var(--error); display: none; }
.error-msg.show { display: block; }

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

/* Payment method radio cards */
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 0; }
.payment-option {
  position: relative;
}
.payment-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.payment-option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.payment-option-label:hover { border-color: var(--accent); background: var(--off-white); }
.payment-option input:checked + .payment-option-label {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(26,86,219,.10);
}
.payment-option-icon { font-size: 1.6rem; }
.payment-option-name { font-size: 0.82rem; font-weight: 700; color: var(--navy); }

.payment-instructions {
  display: none;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}
.payment-instructions.show { display: block; }
.payment-instructions h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.payment-instructions p, .payment-instructions li {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}
.payment-instructions strong { color: var(--primary); font-weight: 700; }
.payment-instructions ul { padding-left: 16px; list-style: disc; }

/* 12. CHECKOUT PAGE
   ================================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.checkout-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}
.checkout-form-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--surface);
}
.delivery-note {
  background: var(--surface);
  border: 1.5px solid var(--accent-lt);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.delivery-note svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.delivery-note p { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; }
.delivery-note strong { color: var(--navy); }

.order-summary-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.order-summary-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border-mid);
}
.summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.summary-item-img {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  object-fit: cover;
  flex-shrink: 0;
}
.summary-item-info { flex: 1; }
.summary-item-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.summary-item-meta { font-size: 0.8rem; color: var(--text-mid); }
.summary-item-price { font-weight: 800; font-size: 0.95rem; color: var(--primary); }
.summary-divider { height: 1px; background: var(--border-mid); margin: 14px 0; }
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-total-label { font-weight: 700; color: var(--navy); font-size: 1rem; }
.summary-total-amt { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.summary-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-mid); text-align: center; line-height: 1.6; }

/* Empty cart redirect */
.empty-cart-state {
  text-align: center;
  padding: 80px 24px;
}
.empty-cart-state h2 { font-size: 2rem; margin-bottom: 16px; color: var(--navy); }
.empty-cart-state p { color: var(--text-mid); margin-bottom: 28px; }

/* 13. CONFIRMATION PAGE
   ================================================================ */
.confirm-hero {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.confirm-icon {
  width: 80px; height: 80px;
  background: rgba(147,197,253,0.2);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
}
.confirm-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.confirm-hero p { color: var(--accent-lt); font-size: 1.05rem; }
.order-num { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-top: 10px; letter-spacing: 0.12em; }

.confirm-body { padding: 64px 0; }
.confirm-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
.confirm-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}
.confirm-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--surface);
  font-size: 0.9rem;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row-label { color: var(--text-mid); }
.confirm-row-value { font-weight: 600; color: var(--navy); text-align: right; }

.payment-steps {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 18px;
}
.payment-steps h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); margin-bottom: 12px; }
.payment-step { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.step-num {
  width: 24px; height: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; }
.step-text strong { color: var(--primary); }

/* 14. ABOUT PAGE
   ================================================================ */
.about-hero {
  background: var(--navy);
  padding: 80px 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.about-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8; }
.about-portrait {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
}
.about-portrait img { width: 100%; height: 100%; }
.about-body { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-values { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon {
  width: 46px; height: 46px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.value-info h4 { font-weight: 700; color: var(--navy); margin-bottom: 5px; font-size: 0.95rem; }
.value-info p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

/* 15. FAQ PAGE
   ================================================================ */
.faq-section { background: var(--off-white); }
.faq-hero {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.faq-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.faq-hero p { color: var(--accent-lt); font-size: 1.02rem; }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-q-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
  transition: color 0.2s;
}
.faq-item.open .faq-q-text { color: var(--primary); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { background: var(--primary); color: var(--white); border-color: var(--primary); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.75;
}
.faq-a-inner strong { color: var(--navy); }
.faq-a-inner ul { padding-left: 18px; list-style: disc; margin-top: 8px; }
.faq-a-inner li { margin-bottom: 6px; }

/* 16. ADMIN PAGE
   ================================================================ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.admin-login-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.admin-login-card p { color: var(--text-mid); margin-bottom: 32px; font-size: 0.9rem; }

.admin-wrap { display: none; }
.admin-wrap.show { display: block; }
.admin-bar {
  background: var(--navy);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-bar h2 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); }
.admin-body { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.admin-section { margin-bottom: 48px; }
.admin-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.admin-flavor-form {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}
.admin-save-note {
  background: #D1FAE5;
  border: 1.5px solid #6EE7B7;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.88rem;
  color: #065F46;
  font-weight: 600;
  display: none;
  margin-top: 12px;
}
.admin-save-note.show { display: block; }

/* 17. FOOTER
   ================================================================ */
.footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.2rem; }
.footer-brand .nav-logo span { color: var(--accent); }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-top: 12px; line-height: 1.7; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact a:hover { color: var(--accent); }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--accent); }
.footer-col li span { font-size: 0.88rem; color: rgba(255,255,255,0.5); }

.social-links { display: flex; gap: 10px; margin-top: 4px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* 18. PAGE TRANSITIONS / ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 800;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success .toast-dot { background: var(--success); }
.toast.error   .toast-dot { background: var(--error); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Page loader */
body { opacity: 0; animation: fadeIn 0.4s ease 0.05s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* 19. RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .navbar { padding: 0 24px; }
  .nav-links { gap: 24px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .confirm-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 60px 24px; }
  .hero-title { font-size: 2.8rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-portrait { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-drawer { width: 100%; right: -100%; }
  .shop-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .countdown-unit { min-width: 58px; padding: 8px 10px; }
  .countdown-num { font-size: 1.5rem; }
  .payment-options { grid-template-columns: 1fr; }
  .flavors-grid { grid-template-columns: 1fr; }
  .toast { bottom: 16px; right: 16px; left: 16px; max-width: none; }
  .checkout-form-wrap { padding: 24px 18px; }
}
