/* ==========================================================================
   Cafe.JPEG — Public Site Stylesheet
   Palette pulled from the official brand guide:
   Espresso Black / Charcoal Panel / Warm Cream / Amber Roast / Neon Cyan
   ========================================================================== */

:root {
  --bg: #0f1115;
  --panel: #1a1e24;
  --panel-2: #21262e;
  --text: #f9f6f0;
  --muted: #a0a6b2;
  --amber: #d49b53;
  --amber-dark: #b17d3c;
  --cyan: #00d2ff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --maxw: 1200px;
}

/* Light theme override (toggled via .theme-light on <html>) */
html.theme-light {
  --bg: #faf7f2;
  --panel: #ffffff;
  --panel-2: #f1ece3;
  --text: #1c1a17;
  --muted: #6b625a;
  --amber: #b9782f;
  --amber-dark: #96601f;
  --cyan: #0089a8;
  --shadow: 0 10px 30px rgba(28, 26, 23, 0.12);
}
html.theme-light body::before { opacity: 0.02; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

/* Subtle film-grain texture for a premium, tactile feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--panel);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(212, 155, 83, 0.15);
  color: var(--amber);
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--amber);
  color: #14171c;
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 155, 83, 0.35);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-primary:hover::before { left: 130%; }

.btn-outline {
  background: transparent;
  border-color: rgba(249, 246, 240, 0.35);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

.btn-cyan {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-cyan:hover { background: rgba(0, 210, 255, 0.1); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 155, 83, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-brand .accent { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  position: relative;
  background: none;
  border: 1px solid rgba(249, 246, 240, 0.25);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-btn:hover { border-color: var(--amber); }

.cart-count {
  background: var(--amber);
  color: #14171c;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(212, 155, 83, 0.18), transparent 55%),
              radial-gradient(circle at 80% 60%, rgba(0, 210, 255, 0.10), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--amber); }
.hero h1 .accent-cyan { color: var(--cyan); }

.hero p.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 155, 83, 0.25);
}

.hero-image-wrap img { width: 100%; height: 480px; object-fit: cover; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--amber);
}
.hero-stats div span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Weekly Pairing (unique feature) ---------- */
.pairing {
  background: linear-gradient(135deg, rgba(212, 155, 83, 0.08), rgba(0, 210, 255, 0.05));
  border: 1px solid rgba(212, 155, 83, 0.25);
  border-radius: 20px;
  padding: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.pairing-col h4 {
  color: var(--amber);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.pairing-col h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pairing-col p {
  color: var(--muted);
  font-size: 0.92rem;
}

.pairing-col.spotify iframe {
  border-radius: 12px;
  margin-top: 10px;
  width: 100%;
}

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--panel);
  border: 1px solid rgba(249, 246, 240, 0.1);
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--amber);
  color: #14171c;
  border-color: var(--amber);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.menu-item {
  background: var(--panel);
  border: 1px solid rgba(212, 155, 83, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.menu-item:hover { transform: translateY(-4px); border-color: var(--amber); }

.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.menu-item-top h4 { font-size: 1.1rem; }
.menu-item-price { color: var(--amber); font-weight: 800; white-space: nowrap; }

.menu-item p { color: var(--muted); font-size: 0.9rem; }

.menu-item .tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- Shop / Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 155, 83, 0.12);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--amber); }

.product-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
}

.product-media svg { width: 70%; height: 70%; }

.product-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h4 { font-size: 1.05rem; }
.product-body .desc { color: var(--muted); font-size: 0.88rem; flex: 1; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.product-title-row h4 { margin: 0; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.product-price { color: var(--amber); font-weight: 800; font-size: 1.05rem; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Craft / Sourcing ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.craft-media {
  position: relative;
}

.craft-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 155, 83, 0.2);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.craft-float {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--panel);
  border: 1px solid rgba(212, 155, 83, 0.35);
  border-radius: 14px;
  padding: 18px 22px;
  max-width: 240px;
  box-shadow: var(--shadow);
}
.craft-float strong { display: block; color: var(--amber); font-size: 0.95rem; margin-bottom: 4px; }
.craft-float span { color: var(--muted); font-size: 0.82rem; }

.craft-copy h2 { font-size: 2rem; margin-bottom: 18px; }
.craft-copy > p { color: var(--muted); margin-bottom: 26px; }

.craft-points {
  display: grid;
  gap: 20px;
}
.craft-points h4 {
  color: var(--amber);
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.craft-points p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 155, 83, 0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 155, 83, 0.2);
}

.about-grid h2 { font-size: 2rem; margin-bottom: 18px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }

.founders {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.founders div strong { display: block; color: var(--text); }
.founders div span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.info-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
}
.info-list li strong { color: var(--text); display: block; }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: var(--panel-2);
  border: 1px solid rgba(249, 246, 240, 0.12);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}

/* ---------- Cart Drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 92vw;
  background: var(--panel);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(249, 246, 240, 0.08);
}
.cart-header h3 { font-size: 1.2rem; }
.cart-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty { color: var(--muted); text-align: center; margin-top: 40px; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(249, 246, 240, 0.06);
  padding-bottom: 14px;
}

.cart-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-thumb svg { width: 32px; height: 32px; }

.cart-item-info { flex: 1; }
.cart-item-info h5 { font-size: 0.92rem; margin-bottom: 4px; }
.cart-item-info span { color: var(--muted); font-size: 0.8rem; }
.variant-tag { color: var(--cyan); }
.low-stock { color: var(--amber); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-control button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(249, 246, 240, 0.2);
  background: none;
  color: var(--text);
  cursor: pointer;
}
.remove-item {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
}

.cart-footer {
  padding: 20px 24px 26px;
  border-top: 1px solid rgba(249, 246, 240, 0.08);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.checkout-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-note {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--amber);
  color: #14171c;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
  box-shadow: var(--shadow);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Footer ---------- */
footer {
  background: #0b0d10;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(212, 155, 83, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 6px; }
.footer p, .footer-col a { color: var(--muted); font-size: 0.88rem; }
.footer-col h5 { margin-bottom: 14px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text); }
.footer-col a { display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding-top: 20px;
  border-top: 1px solid rgba(249, 246, 240, 0.06);
}
.footer-bottom a { color: var(--amber); }

/* ---------- Scroll progress ---------- */
.scroll-progress-track { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1200; background: transparent; }
.scroll-progress { height: 100%; width: 0%; background: linear-gradient(90deg, var(--amber), var(--cyan)); transition: width 0.1s linear; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  background: none; border: 1px solid rgba(249, 246, 240, 0.15); color: var(--text);
  border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover { transform: rotate(20deg); background: rgba(249, 246, 240, 0.08); }

/* ---------- Sticky order bar ---------- */
.sticky-order-bar {
  position: fixed; bottom: -80px; left: 0; width: 100%; z-index: 900;
  background: var(--panel); border-top: 1px solid rgba(249, 246, 240, 0.1);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35); transition: bottom 0.35s ease;
}
.sticky-order-bar.visible { bottom: 0; }
.sticky-order-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; flex-wrap: wrap; }
.sticky-order-inner span { color: var(--muted); font-size: 0.9rem; }
.sticky-order-actions { display: flex; gap: 10px; }

/* ---------- Abandoned cart banner ---------- */
.abandoned-cart-banner {
  position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  z-index: 1100; background: var(--panel-2); border: 1px solid var(--amber);
  border-radius: var(--radius); padding: 12px 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow); transition: top 0.4s ease; max-width: 90vw;
}
.abandoned-cart-banner.visible { top: 16px; }
.abandoned-cart-banner span { font-size: 0.88rem; color: var(--text); }
.banner-dismiss { background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; line-height: 1; }

/* ---------- Loyalty / referral / newsletter ---------- */
.loyalty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.loyalty-card, .referral-card, .newsletter-card {
  background: var(--panel); border: 1px solid rgba(249, 246, 240, 0.08); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.loyalty-card h3, .referral-card h3, .newsletter-card h3 { font-family: "Fraunces", serif; margin: 0; }
.stamp-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0; }
.stamp {
  width: 34px; height: 34px; border-radius: 50%; border: 2px dashed rgba(249, 246, 240, 0.25);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--muted);
}
.stamp.filled { border-style: solid; border-color: var(--amber); background: rgba(212, 155, 83, 0.15); color: var(--amber); }
.loyalty-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.disclosure { font-size: 0.76rem; color: var(--muted); opacity: 0.8; margin: 0; }
.referral-box { display: flex; gap: 8px; }
.referral-box input {
  flex: 1; background: var(--panel-2); border: 1px solid rgba(249, 246, 240, 0.12); border-radius: 8px;
  padding: 8px 10px; color: var(--text); font-size: 0.85rem;
}
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 160px; background: var(--panel-2); border: 1px solid rgba(249, 246, 240, 0.12);
  border-radius: 8px; padding: 8px 10px; color: var(--text); font-size: 0.85rem;
}
.newsletter-note { font-size: 0.82rem; color: var(--amber); margin: 0; min-height: 1em; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 1300;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-box { position: relative; max-width: 640px; width: 100%; background: var(--panel); border-radius: var(--radius); padding: 20px; }
.lightbox-content img { width: 100%; border-radius: 10px; display: block; }
.lightbox-content h4 { font-family: "Fraunces", serif; margin: 14px 0 4px; }
.lightbox-content p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.lightbox-media { background: var(--panel-2); border-radius: 10px; padding: 40px; display: flex; align-items: center; justify-content: center; }
.lightbox-media svg { width: 96px; height: 96px; }
.lightbox-info { margin-top: 16px; }
.lightbox-info h3 { font-family: "Fraunces", serif; margin: 0 0 8px; }
.lightbox-info .product-price { display: block; margin-top: 8px; font-weight: 600; color: var(--amber); }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--amber); border: none; color: #1a1108; font-size: 1.1rem; cursor: pointer;
}

/* ---------- Cart extras ---------- */
.cart-breakdown { padding: 0 20px; font-size: 0.85rem; color: var(--muted); border-top: 1px dashed rgba(249,246,240,0.1); margin-top: 6px; }
.cart-breakdown .cart-line { display: flex; justify-content: space-between; padding: 4px 0; }
.cart-breakdown .cart-line.discount { color: var(--amber); }
.cart-breakdown .bundle-note { font-size: 0.78rem; color: var(--cyan); margin: 6px 0; }
.cart-gift { padding: 12px 20px; }
.cart-gift label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.cart-gift textarea {
  width: 100%; min-height: 56px; resize: vertical; background: var(--panel-2);
  border: 1px solid rgba(249, 246, 240, 0.12); border-radius: 8px; padding: 8px 10px; color: var(--text); font-family: inherit;
}
.stock-badge { font-size: 0.72rem; padding: 2px 8px; border-radius: 20px; background: rgba(249,246,240,0.08); color: var(--muted); }
.stock-badge.low { background: rgba(212, 155, 83, 0.2); color: var(--amber); }
.stock-badge.out { background: rgba(220, 90, 90, 0.2); color: #e07a7a; }
.variant-select {
  width: 100%; margin-top: 8px; background: var(--panel-2); border: 1px solid rgba(249, 246, 240, 0.12);
  border-radius: 8px; padding: 6px 8px; color: var(--text); font-size: 0.85rem;
}
.info-dot {
  display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
  border-radius: 50%; border: 1px solid var(--muted); color: var(--muted); font-size: 0.7rem; margin-left: 6px; cursor: help;
}

/* ---------- Standalone content pages (FAQ / Sourcing / Events / Journal / Press) ---------- */
.page-content { padding-top: 60px; }
.container.narrow { max-width: 780px; }
.page-content h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-content .section-header p { max-width: 640px; margin: 12px auto 0; }

.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.faq-item {
  background: var(--panel); border: 1px solid rgba(249, 246, 240, 0.08); border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary { font-family: "Fraunces", serif; font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq-item p { color: var(--muted); margin-top: 10px; line-height: 1.6; }
.faq-item a { color: var(--amber); }

.craft-detail, .press-detail { margin-top: 32px; }
.craft-detail h2, .press-detail h2 { font-family: "Fraunces", serif; margin: 28px 0 10px; font-size: 1.3rem; }
.craft-detail h2:first-child, .press-detail h2:first-child { margin-top: 0; }
.craft-detail p, .press-detail p { color: var(--muted); line-height: 1.7; }
.press-facts { color: var(--muted); line-height: 1.9; padding-left: 20px; }

.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.event-card {
  background: var(--panel); border: 1px solid rgba(249, 246, 240, 0.08); border-radius: var(--radius); padding: 24px;
}
.event-card h3 { font-family: "Fraunces", serif; margin: 0 0 10px; }
.event-card p { color: var(--muted); line-height: 1.6; font-size: 0.92rem; }
.event-card a { color: var(--amber); }

.journal-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.journal-entry {
  background: var(--panel); border: 1px solid rgba(249, 246, 240, 0.08); border-radius: var(--radius); padding: 24px;
}
.journal-entry h3 { font-family: "Fraunces", serif; margin: 0 0 10px; }
.journal-entry p { color: var(--muted); line-height: 1.7; }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .craft-grid { grid-template-columns: 1fr; }
  .hero-image-wrap img { height: 320px; }
  .pairing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .loyalty-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .sticky-order-bar { display: none; }
  .craft-media img { height: 300px; }
  .craft-float { position: static; margin-top: 16px; max-width: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--panel);
    border-bottom: 1px solid rgba(212, 155, 83, 0.15);
    padding: 10px 24px 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(249, 246, 240, 0.06);
  }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 2.3rem; }
}
