#site-header { position: sticky; top: 0; z-index: 500; }
/* ============================================================
   FABIAN COFFEE — Global Stylesheet
   Design System: clean, single source of truth
   ============================================================ */

/* ── TOKENS ── */
:root {
  --brown:      #2c1a0e;
  --mid:        #6b4226;
  --ink:        #1a0e06;
  --yellow:     #f5ba56;
  --yellow-dk:  #d49b35;
  --yellow-lt:  #fef3d8;
  --cream:      #faf7f2;
  --surface:    #f3ede3;
  --border:     #e2d8cc;
  --muted:      #7a6858;
  --white:      #ffffff;

  /* Layout */
  --content-width:    85%;
  --content-max:      1280px;
  --content-mobile:   95%;

  /* Spacing */
  --section-v:        64px;
  --section-v-mobile: 40px;

  /* Typography */
  --font:       'Inter', sans-serif;
  --text-base:  16px;

  /* Radii */
  --radius-card: 10px;
  --radius-btn:  2px;

  /* Transitions */
  --t:          0.2s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font); font-size: var(--text-base); }
p { color: var(--muted); line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--ink); }
strong { font-weight: 600; }

/* ── CONTAINER ── */
.container {
  width: var(--content-width);
  max-width: var(--content-max);
  margin-inline: auto;
}

/* ── ANN BAR ── */
.ann-bar {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}
.ann-bar strong { color: var(--yellow); font-weight: 600; }
.ann-bar a { color: var(--yellow); text-decoration: underline; }

/* ── NAV ── */
.site-nav {
  background: var(--brown);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  width: var(--content-width);
  max-width: var(--content-max);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  height: 22px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: 0 14px;
  line-height: 64px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-shop-btn {
  background: var(--yellow);
  color: var(--brown);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition: background var(--t);
  white-space: nowrap;
}
.nav-shop-btn:hover { background: var(--yellow-dk); }

/* Cart button */
.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  color: var(--white);
  cursor: pointer;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--t);
}
.nav-cart-btn:hover { background: rgba(255,255,255,0.16); }
.nav-cart-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.nav-cart-label { /* shown on desktop, hidden on mobile */ }
.nav-cart-count {
  background: var(--yellow);
  color: var(--brown);
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: all 0.2s;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--brown);
}
.nav-drawer.open { display: flex; }
.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  width: 100%;
  overflow-y: auto;
}
.nav-drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.nav-drawer-inner a {
  display: block;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--t);
}
.nav-drawer-inner a:hover,
.nav-drawer-inner a.active { color: var(--yellow); }
.nav-drawer-shop {
  margin-top: 28px;
  background: var(--yellow) !important;
  color: var(--brown) !important;
  text-align: center;
  padding: 14px 24px !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: var(--radius-btn);
}

/* ── EYEBROW ── */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  line-height: 1.3;
  transition: all var(--t);
}
.btn-yellow  { background: var(--yellow);  color: var(--brown); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--yellow-dk); border-color: var(--yellow-dk); }
.btn-brown   { background: var(--brown);   color: var(--white); border-color: var(--brown); }
.btn-brown:hover { background: var(--mid); border-color: var(--mid); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--brown); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--brown); }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--brown);
  padding: var(--section-v) 0;
}
.page-hero .container { }
.page-hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.75;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--yellow);
  padding: var(--section-v) 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(22px, 2.5vw, 34px);
  color: var(--brown);
}

/* ── SECTION DIVIDER ── */
.section-divider {
  height: 1px;
  background: var(--border);
}

/* ── PRODUCT CARDS (shared) ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(44,26,14,0.12);
  transform: translateY(-3px);
}
.product-img-wrap {
  aspect-ratio: 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-img-wrap img.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}
.product-img-wrap img.radar-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.product-card:hover .product-img-wrap img.product-photo { opacity: 0; }
.product-card:hover .product-img-wrap img.radar-chart   { opacity: 1; }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow);
  color: var(--brown);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 3;
}
.product-info { padding: 16px; flex: 1; }
.product-name   { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.product-notes  { font-size: 13px; color: var(--muted); font-style: italic; margin-bottom: 3px; }
.product-origin { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.product-price  { font-size: 15px; font-weight: 700; color: var(--mid); }
.product-price s { color: var(--border); font-weight: 400; font-size: 13px; margin-right: 3px; }

/* ── FORMS ── */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t);
  resize: none;
  appearance: none;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--yellow); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── FOOTER ── */
.site-footer { background: var(--brown); padding: var(--section-v) 0 32px; }
.footer-inner {
  width: var(--content-width);
  max-width: var(--content-max);
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-logo .badge {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}
.footer-brand-logo span { font-size: 18px; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 18px; }
.footer-tagline a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245,186,86,0.35);
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  transition: border-color var(--t);
}
.footer-socials a:hover { border-color: var(--yellow); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy,
.footer-policy { font-size: 13px; color: rgba(255,255,255,0.25); }

/* ── HAMBURGER MOBILE NAV ── */
@media (max-width: 960px) {
  .nav-links  { display: none; }
  .nav-shop-btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cart-label { display: none; } /* icon only on mobile */
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 960px) {
  :root {
    --section-v: var(--section-v-mobile);
  }
  .container { width: var(--content-mobile); }
  .footer-inner { width: var(--content-mobile); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .page-hero-title { font-size: 36px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-title { font-size: 30px; }
  .nav-logo-text { display: none; }
}

/* Safety: hide any leftover old mobile menu */
.nav-mobile-menu { display: none !important; }

/* Scroll offset for sticky headers */
.shop-section { scroll-margin-top: 155px; }
.guide { scroll-margin-top: 155px; }
