/* Golden Brew Honey — main stylesheet */

:root {
  --cream: #FFF8E7;
  --cream-deep: #F5DFA0;
  --honey: #F5B700;
  --honey-deep: #C98A00;
  --brown: #7A4A00;
  --brown-deep: #3B2200;
  --sage: #6B8E5A;
  --ink: #1a1a1a;
  --muted: #6B5D4A;
  --white: #ffffff;
  --border: rgba(58, 34, 0, 0.12);

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --radius: 4px;
  --shadow: 0 4px 20px rgba(58, 34, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(58, 34, 0, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; color: var(--brown-deep); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: var(--space-sm); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-sm); color: var(--brown-deep); }
p.lead { font-size: 1.15rem; color: var(--muted); }

a { color: var(--honey-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brown); }

img, video { max-width: 100%; height: auto; display: block; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }
@media (max-width: 600px) { .container { padding: 0 var(--space-sm); } }

section { padding: var(--space-xl) 0; }
section.tight { padding: var(--space-lg) 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-link img { height: 48px; width: auto; }
.logo-link .brand { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--brown-deep); letter-spacing: 0.5px; }
@media (max-width: 600px) { .logo-link .brand { display: none; } }

.nav-main { display: flex; align-items: center; gap: var(--space-md); }
.nav-main a { color: var(--brown-deep); font-weight: 500; font-size: 0.95rem; }
.nav-main a:hover { color: var(--honey-deep); }

.cart-count {
  background: var(--honey);
  color: var(--brown-deep);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.35rem;
  min-width: 1.4rem;
  display: inline-block;
  text-align: center;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--brown-deep); }
@media (max-width: 800px) {
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-sm); background: var(--cream); border-bottom: 1px solid var(--border); }
  .nav-main.open { display: flex; }
  .nav-main a { padding: 0.75rem var(--space-sm); border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--brown-deep); color: var(--cream); }
.btn-primary:hover { background: var(--honey-deep); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--brown-deep); border-color: var(--brown-deep); }
.btn-secondary:hover { background: var(--brown-deep); color: var(--cream); }
.btn-honey { background: var(--honey); color: var(--brown-deep); }
.btn-honey:hover { background: var(--honey-deep); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.1rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,248,231,0.92) 0%, rgba(245,223,160,0.75) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { margin-bottom: var(--space-sm); }
.hero p.lead { font-size: 1.25rem; max-width: 600px; margin-bottom: var(--space-md); }
.hero-ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Grid */
.grid { display: grid; gap: var(--space-md); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Product cards */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img {
  background: var(--cream-deep);
  display: block;
  overflow: hidden;
  line-height: 0;
}
.product-card-img img { width: 100%; height: auto; display: block; }
/* Honey labels match the label's brown so edges blend seamlessly */
.product-card-img.label { background: #6D3F1F; }
.product-card-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin-bottom: 0.25rem; }
.product-card .price { font-size: 1.25rem; font-weight: 700; color: var(--brown); margin: var(--space-xs) 0; }
.product-card .desc { color: var(--muted); font-size: 0.95rem; margin-bottom: var(--space-sm); flex: 1; }
.product-card .badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.5rem; }
.product-card .badge-rare { background: var(--brown-deep); color: var(--honey); }
.product-card .badge-limited { background: var(--sage); color: var(--white); }
.product-card .badge-local { background: var(--cream-deep); color: var(--brown-deep); }

/* Product page detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
/* Product gallery — swipe carousel */
.product-gallery { position: relative; }
.product-gallery-scroller { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; border-radius: var(--radius); }
.product-gallery-scroller::-webkit-scrollbar { display: none; }
.product-gallery-scroller > * { flex: 0 0 100%; scroll-snap-align: start; width: 100%; }
.product-gallery img, .product-gallery video { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.92); border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow); z-index: 1; display: flex; align-items: center; justify-content: center; color: var(--brown-deep); font-weight: 700; transition: background 0.2s; }
.product-gallery-arrow:hover { background: rgba(255,255,255,1); }
.product-gallery-arrow-prev { left: 0.75rem; }
.product-gallery-arrow-next { right: 0.75rem; }
.product-gallery-nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-sm); }
.product-gallery-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); cursor: pointer; border: none; padding: 0; transition: background 0.2s, transform 0.2s; }
.product-gallery-dot.active { background: var(--brown-deep); transform: scale(1.25); }
@media (max-width: 768px) { .product-gallery-arrow { display: none; } }
.product-info h1 { margin-bottom: var(--space-xs); }
.product-info .price-lg { font-size: 2rem; font-weight: 700; color: var(--brown-deep); margin: var(--space-sm) 0; font-family: var(--font-serif); }
.product-info ul { margin: var(--space-sm) 0; padding-left: 1.5rem; }
.product-info ul li { color: var(--brown-deep); margin-bottom: 0.35rem; }
.qty-selector { display: flex; align-items: center; gap: 0.5rem; margin: var(--space-sm) 0; }
.qty-selector button { width: 40px; height: 40px; border: 1px solid var(--brown-deep); background: var(--white); border-radius: var(--radius); font-size: 1.2rem; cursor: pointer; }
.qty-selector input { width: 60px; height: 40px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; }

/* Callout */
.callout {
  background: var(--brown-deep);
  color: var(--cream);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius);
  text-align: center;
}
.callout h2 { color: var(--cream); }
.callout p { color: var(--cream-deep); }

/* Story section */
.story-block { max-width: 720px; margin: 0 auto; }
.story-block p { font-size: 1.1rem; margin-bottom: var(--space-sm); }
.story-block p.signature { font-style: italic; color: var(--brown); margin-top: var(--space-md); }

/* Feature strip */
.features-strip { background: var(--brown-deep); color: var(--cream); padding: var(--space-md) 0; }
.features-strip .grid { text-align: center; }
.features-strip .feature-item { padding: var(--space-sm); }
.features-strip h4 { color: var(--honey); font-size: 1rem; font-family: var(--font-sans); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.35rem; }
.features-strip p { color: var(--cream); opacity: 0.85; font-size: 0.9rem; margin: 0; }

/* Footer */
.site-footer { background: var(--brown-deep); color: var(--cream); padding: var(--space-lg) 0 var(--space-md); margin-top: var(--space-xl); }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-lg); }
@media (max-width: 800px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--honey); font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: var(--space-sm); }
.site-footer a { color: var(--cream); opacity: 0.8; display: block; padding: 0.25rem 0; font-size: 0.95rem; }
.site-footer a:hover { opacity: 1; color: var(--honey); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.15); padding-top: var(--space-sm); font-size: 0.85rem; opacity: 0.7; text-align: center; }

/* Forms */
.form-group { margin-bottom: var(--space-sm); }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.35rem; color: var(--brown-deep); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: 2px solid var(--honey);
  border-color: var(--honey);
}

/* Stand-with-us soft CTA block */
.stand-with-us {
  background: var(--cream-deep);
  border-left: 4px solid var(--honey);
  padding: var(--space-md);
  border-radius: var(--radius);
  margin: var(--space-md) 0;
}
.stand-with-us h3 { color: var(--brown-deep); margin-bottom: 0.5rem; }
.stand-with-us p { margin-bottom: var(--space-sm); }

/* Utility */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Badge strip on hero */
.trust-strip {
  display: flex; gap: var(--space-md); flex-wrap: wrap;
  margin-top: var(--space-md);
  font-size: 0.85rem; color: var(--brown); letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
}
.trust-strip span::before { content: "✦ "; color: var(--honey-deep); }
