/*  Walk by Faith Bakery — Complete Visual Design System
    Storybook bakery aesthetic · Warm & handcrafted
    Color palette: Cream, Deep Olive, Terracotta, Muted Gold              */

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================================
   ROOT — Design System Color Tokens
   ============================================================ */
:root {
  /* Base */
  --cream:         #F5F4EF;
  --cream-dark:    #E8E6DE;
  --warm-gray:     #8B8680;
  
  /* Accents */
  --deep-olive:    #4A5D3E;
  --terracotta:    #C37B5C;
  --muted-gold:    #C9A961;
  --gold-light:    #D9C48A;
  
  /* Legacy compat */
  --forest-green:  #4A5D3E;
  --deep-brown:    #5C3D1E;
  --medium-brown:  #9D7052;
  --taupe:         #D4C5AD;
  --white:         #FFFFFF;
  --charcoal:      #2D2A26;
  --charcoal-soft: #4A453F;

  /* Shadows */
  --shadow-sm:  0  2px  8px rgba(45,42,38,0.06);
  --shadow-md:  0  8px 30px rgba(45,42,38,0.09);
  --shadow-lg:  0 20px 60px rgba(45,42,38,0.13);
  --shadow-xl:  0 30px 80px rgba(45,42,38,0.18);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: -1;
}

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

/* ============================================================
   SCROLLING ANNOUNCEMENT BAR
   ============================================================ */
.scrolling-announcement-bar {
  background: var(--deep-olive);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9000;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.scrolling-announcement-track {
  display: flex;
  width: max-content;
  animation: scroll-announcement 25s linear infinite;
}

.scrolling-announcement-bar:hover .scrolling-announcement-track {
  animation-play-state: paused;
}

.scrolling-announcement-content {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 3rem;
  display: flex;
  align-items: center;
}

.scrolling-announcement-content span {
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@keyframes scroll-announcement {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Legacy static announcement banner */
.announcement-banner {
  background: var(--deep-olive);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9000;
  padding: 0.7rem 5%;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.announcement-icon { font-size: 1rem; opacity: 0.8; }

.announcement-text {
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.announcement-text strong {
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   INLINE & BADGE ICONS (SVG)
   ============================================================ */
.inline-icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.3em;
}

.badge-icon {
  width: 0.9em;
  height: 0.9em;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.3em;
  filter: brightness(0) invert(1);
}

.step-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: 0 auto;
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-link:hover .social-icon { transform: scale(1.1); }

/* ============================================================
   NAVIGATION — Centered Logo, Sticky Shrink
   ============================================================ */
nav {
  position: fixed;
  top: 40px;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 8000;
  background: rgba(245, 244, 239, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 197, 173, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 0.6rem 5%;
  box-shadow: 0 4px 30px rgba(45, 42, 38, 0.08);
  background: rgba(245, 244, 239, 0.98);
}

nav.scrolled .logo-img { width: 40px; height: 40px; }
nav.scrolled .logo-text h1 { font-size: 1.15rem; }

.logo-container { display: flex; align-items: center; gap: 0.8rem; }
.logo-container a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  width: 54px; 
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--taupe);
  transition: all 0.4s ease;
}

.logo-container a:hover .logo-img { transform: scale(1.05); }

.logo-text { display: flex; flex-direction: column; }

.logo-text h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--deep-brown);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: font-size 0.4s ease;
}

.logo-text p {
  font-size: 0.68rem;
  color: var(--medium-brown);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal-soft);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--muted-gold);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--deep-brown); }
.nav-links a.active { color: var(--deep-olive); font-weight: 700; }
.nav-links a.active::after { width: 100%; background: var(--deep-olive); }

/* ORDER HERE CTA */
.nav-cta {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.6rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 10px rgba(195, 123, 92, 0.3);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--deep-olive) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(74, 93, 62, 0.35) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 9999;
  position: relative;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Cart Icon */
.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.cart-icon:hover { transform: scale(1.1); }

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   EMAIL SIGNUP MODAL
   ============================================================ */
.email-signup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 38, 0.8);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(6px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.email-signup-content {
  background: var(--white);
  max-width: 440px;
  width: 100%;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: center;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-xl);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.email-signup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--charcoal);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-signup-close:hover {
  background: var(--deep-brown);
  color: var(--white);
}

.email-signup-icon { font-size: 3rem; margin-bottom: 1rem; }

.email-signup-content h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.email-signup-content > p {
  color: var(--medium-brown);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.email-signup-field {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.email-signup-field input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--taupe);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.email-signup-field input:focus {
  outline: none;
  border-color: var(--deep-olive);
  background: var(--white);
}

.email-signup-btn {
  padding: 1rem 1.5rem;
  background: var(--deep-olive);
  color: var(--white);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.email-signup-btn:hover { background: var(--terracotta); }
.email-signup-btn:disabled { background: var(--taupe); cursor: not-allowed; }

.email-signup-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.email-signup-success {
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.email-signup-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--deep-olive);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.email-signup-success p {
  color: var(--deep-olive);
  font-weight: 600;
  margin: 0;
}

.email-signup-secondary {
  display: inline-block;
  color: var(--medium-brown);
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.email-signup-secondary:hover { color: var(--deep-brown); }

/* ============================================================
   HERO VIDEO SECTION — Full viewport background video
   Mobile-optimized with poster fallback
   ============================================================ */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
}

/* Support for browsers without svh */
@supports not (height: 100svh) {
  .hero-video-section {
    height: 100vh;
    min-height: -webkit-fill-available;
  }
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

/* Fallback when video fails */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(45, 42, 38, 0.3) 0%,
    rgba(45, 42, 38, 0.5) 50%,
    rgba(45, 42, 38, 0.7) 100%
  );
  z-index: 2;
}

.hero-video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 5%;
  padding-top: 60px;
}

.hero-video-content .hero-tag {
  color: var(--cream);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

.hero-video-content .hero-tag::before,
.hero-video-content .hero-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--cream);
  display: inline-block;
}

.hero-video-content h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-video-content h1 em {
  font-style: italic;
  color: var(--muted-gold);
}

.hero-video-content > p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-video-content .hero-location {
  color: var(--cream);
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-video-content .cta-group { justify-content: center; }

.hero-video-content .cta-button {
  background: var(--deep-olive);
  border-color: var(--deep-olive);
}

.hero-video-content .cta-button:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.hero-video-content .cta-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.hero-video-content .cta-secondary:hover {
  background: var(--white);
  color: var(--deep-olive);
}

/* ============================================================
   HERO SECTION — Illustrated Art Piece (kept for fallback)
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 10rem 5% 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-text { animation: heroFadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--deep-olive);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--deep-olive);
}

.hero-text h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--deep-brown);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-text > p {
  font-size: 1.15rem;
  color: var(--medium-brown);
  margin-bottom: 1.5rem;
  max-width: 540px;
  line-height: 1.9;
}

.hero-location {
  font-size: 0.9rem;
  color: var(--deep-olive);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.cta-button {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: 2px solid var(--deep-olive);
  background: var(--deep-olive);
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  border-radius: var(--radius-pill);
}

.cta-button:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(195, 123, 92, 0.3);
}

.cta-secondary {
  background: transparent;
  color: var(--deep-olive);
}

.cta-secondary:hover {
  background: var(--deep-olive);
  color: var(--white);
}

/* Hero Image with Parallax */
.hero-image {
  display: flex;
  justify-content: center;
  animation: heroImageFloat 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
  transform: translateY(calc(var(--parallax, 0px) * 0.5));
}

@keyframes heroImageFloat {
  from { opacity: 0; transform: translateY(60px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 1px solid var(--taupe);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.5;
}

.hero-img {
  max-width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-img { transform: scale(1.03); }

/* Hero Placeholder */
.hero-placeholder {
  width: 100%;
  max-width: 500px;
  height: 450px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--taupe) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow-xl);
}

.hero-placeholder-icon { font-size: 4rem; opacity: 0.6; }

.hero-placeholder-text {
  color: var(--medium-brown);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   PULLED BANNER — Wheat Icons with Sway Animation
   ============================================================ */
.pulled-banner {
  background: var(--deep-olive);
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.pulled-banner .wheat-icon {
  width: 1.8rem;
  height: 1.8rem;
  filter: sepia(1) saturate(2) hue-rotate(10deg) brightness(1.2);
  transition: transform 0.4s ease;
}

.pulled-banner:hover .wheat-left {
  animation: wheatSwayLeft 0.6s ease-in-out;
}

.pulled-banner:hover .wheat-right {
  animation: wheatSwayRight 0.6s ease-in-out;
}

@keyframes wheatSwayLeft {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(10deg); }
}

@keyframes wheatSwayRight {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-10deg); }
}

.pulled-banner-text {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  text-align: center;
}

.pulled-banner-text strong {
  color: var(--muted-gold);
  font-weight: 600;
}

/* ============================================================
   SEASONAL ROLL BANNER
   ============================================================ */
.seasonal-banner {
  background: linear-gradient(135deg, var(--terracotta) 0%, #A86545 100%);
  padding: 5rem 5%;
  position: relative;
  overflow: hidden;
}

.seasonal-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.seasonal-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.seasonal-image-wrapper { position: relative; }

.seasonal-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.seasonal-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.seasonal-placeholder-icon { font-size: 3.5rem; opacity: 0.6; }

.seasonal-placeholder-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.seasonal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--muted-gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.seasonal-text { color: var(--white); }

.seasonal-text h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.seasonal-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 500px;
}

.seasonal-cta {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  background: var(--white);
  color: var(--terracotta);
  border-radius: var(--radius-pill);
  transition: all 0.4s ease;
}

.seasonal-cta:hover {
  background: var(--deep-brown);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 5%;
  background: var(--cream);
}

.divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--taupe) 50%, transparent 100%);
}

.divider-icon {
  width: 2rem;
  height: 2rem;
  opacity: 0.5;
}

/* ============================================================
   PRODUCTS / BEST SELLERS
   ============================================================ */
.products-section {
  padding: 6rem 5%;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--deep-olive);
  margin-bottom: 1rem;
  font-weight: 600;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--deep-brown);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-subtitle {
  color: var(--medium-brown);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.best-sellers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(212, 197, 173, 0.4);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image { transform: scale(1.08); }

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--taupe) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-placeholder-icon { font-size: 3rem; opacity: 0.5; }

.product-placeholder-text {
  color: var(--medium-brown);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--deep-olive);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-content { padding: 1.8rem; }

.product-content h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--deep-brown);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.product-price {
  font-size: 1.2rem;
  color: var(--muted-gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.product-description {
  font-size: 0.88rem;
  color: var(--medium-brown);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.add-to-cart {
  width: 100%;
  padding: 0.9rem;
  background: var(--deep-olive);
  color: var(--white);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Montserrat', sans-serif;
  border-radius: var(--radius-pill);
}

.add-to-cart:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

/* Deal Banner */
.deal-banner {
  background: linear-gradient(135deg, var(--muted-gold) 0%, var(--gold-light) 100%);
  text-align: center;
  padding: 4rem 5%;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.deal-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.deal-banner h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 500;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.deal-banner p {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  position: relative;
}

.deal-banner .cta-button {
  background: var(--white);
  color: var(--muted-gold);
  border-color: var(--white);
  position: relative;
}

.deal-banner .cta-button:hover {
  background: var(--deep-brown);
  border-color: var(--deep-brown);
  color: var(--white);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 6rem 5%;
  background: var(--cream-dark);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--charcoal-soft);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--deep-olive);
  font-weight: 600;
}

/* ============================================================
   PICKUP SECTION
   ============================================================ */
.pickup-section {
  padding: 6rem 5%;
  background: var(--cream);
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.pickup-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid rgba(212, 197, 173, 0.4);
  transition: all 0.4s ease;
  border-radius: var(--radius-md);
}

.pickup-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.pickup-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pickup-card h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep-brown);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.pickup-card p {
  font-size: 0.9rem;
  color: var(--medium-brown);
  line-height: 1.7;
}

.pickup-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
}

.pickup-note h4 {
  color: var(--deep-olive);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.pickup-note p {
  color: var(--medium-brown);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ============================================================
   FOOTER SCENE — Illustrated Farm Horizon
   FIXED: No decorative bird elements that cause emoji issues
   ============================================================ */
.footer-scene {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--deep-brown) 100%);
  padding: 0;
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.footer-scene-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.footer-scene-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--taupe) 50%, var(--deep-brown) 100%);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.footer-scene-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--deep-brown) 0%, transparent 100%);
}

.footer-scene-icon {
  font-size: 3rem;
  opacity: 0.4;
  z-index: 1;
}

.footer-scene-text {
  color: var(--medium-brown);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}

/* REMOVED: Scene birds and floating elements that caused emoji issues */
.scene-bird,
.scene-bird-left,
.scene-bird-right,
.floating-bird,
.floating-element {
  display: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--deep-brown);
  color: var(--cream);
  padding: 5rem 5% 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 500;
}

.footer-brand p {
  color: var(--taupe);
  font-size: 0.88rem;
  line-height: 1.9;
  margin-bottom: 0.4rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a,
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
}

.footer-social a:hover,
.social-link:hover {
  background: var(--terracotta);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
  color: var(--taupe);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(207, 187, 162, 0.15);
  padding-top: 2rem;
  text-align: center;
  color: var(--taupe);
  font-size: 0.82rem;
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-sidebar {
  position: fixed;
  right: -100%;
  top: 0;
  width: 420px;
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 50px rgba(45, 42, 38, 0.15);
  z-index: 10001;
  transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.cart-sidebar.active { right: 0; }

.cart-header {
  background: var(--deep-brown);
  color: var(--white);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.cart-header h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.close-cart {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  line-height: 1;
}

.close-cart:hover { transform: rotate(90deg); }

.cart-items { padding: 2rem; }

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cart-item-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-details h4 {
  color: var(--deep-brown);
  margin-bottom: 0.3rem;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.1rem;
}

.cart-item-price {
  color: var(--muted-gold);
  font-weight: 600;
}

.quantity-controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  align-items: center;
}

.quantity-controls button {
  width: 28px;
  height: 28px;
  background: var(--cream);
  border: 1px solid var(--taupe);
  cursor: pointer;
  font-weight: 600;
  color: var(--charcoal);
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  border-radius: 6px;
}

.quantity-controls button:hover {
  background: var(--deep-brown);
  color: var(--white);
  border-color: var(--deep-brown);
}

.quantity-controls span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}

.remove-item {
  background: none;
  border: none;
  color: var(--medium-brown);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.remove-item:hover {
  opacity: 1;
  color: #c44;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--medium-brown);
}

.cart-empty p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  background: var(--white);
  padding: 2rem;
  border-top: 1px solid var(--cream-dark);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--deep-brown);
  margin-bottom: 1.5rem;
}

.cart-total .total-amount { color: var(--muted-gold); }

.checkout-button {
  width: 100%;
  padding: 1.1rem;
  background: var(--deep-olive);
  color: var(--white);
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Montserrat', sans-serif;
  border-radius: var(--radius-pill);
}

.checkout-button:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

.checkout-button:disabled {
  background: var(--taupe);
  cursor: not-allowed;
}

/* ============================================================
   MODAL OVERLAY
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 38, 0.6);
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.modal-overlay:not(.active) {
  pointer-events: none;
}

.modal-overlay.active { display: block; }

/* ============================================================
   PAYMENT MODAL
   ============================================================ */
#paymentModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10003;
  overflow-y: auto;
  padding: 2rem;
  background: rgba(45, 42, 38, 0.75);
  backdrop-filter: blur(6px);
}

.payment-modal-content {
  background: var(--white);
  max-width: 550px;
  margin: 50px auto;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cream-dark);
}

.payment-header h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  color: var(--deep-brown);
  font-size: 1.6rem;
  font-weight: 500;
}

.payment-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--medium-brown);
  transition: all 0.3s ease;
}

.payment-close:hover {
  color: var(--deep-brown);
  transform: rotate(90deg);
}

.pickup-notice {
  background: var(--cream);
  border-left: 3px solid var(--deep-olive);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pickup-notice p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.88rem;
}

.pickup-notice p:first-child {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pickup-notice p:last-child { color: var(--medium-brown); }

#cart-summary {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.form-group label span { color: var(--terracotta); }

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--taupe);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.form-group input:focus {
  outline: none;
  border-color: var(--deep-olive);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 93, 62, 0.1);
}

.helper-text {
  font-size: 0.78rem;
  color: var(--medium-brown);
  margin-top: 0.4rem;
}

#card-container {
  min-height: 60px;
  border: 1px solid var(--taupe);
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.security-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--medium-brown);
  margin: 1.5rem 0;
}

#payButton {
  width: 100%;
  padding: 1.1rem;
  background: var(--deep-olive);
  color: var(--white);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.35s ease;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
}

#payButton:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

#payButton:disabled {
  background: var(--taupe);
  cursor: not-allowed;
}

.cancel-button {
  width: 100%;
  padding: 0.9rem;
  background: none;
  border: 2px solid var(--taupe);
  color: var(--medium-brown);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius-pill);
}

.cancel-button:hover {
  background: var(--cream);
  border-color: var(--medium-brown);
  color: var(--charcoal);
}

/* ============================================================
   ORDER POPUP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 38, 0.7);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
  animation: popupFadeIn 0.4s ease;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-content {
  background: var(--white);
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-xl);
}

@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(45, 42, 38, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--charcoal);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  background: var(--deep-brown);
  color: var(--white);
}

.popup-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.popup-body {
  padding: 2.5rem;
  text-align: center;
}

.popup-body h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--deep-brown);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.popup-body p {
  color: var(--medium-brown);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ============================================================
   SCROLL REVEAL ANIMATION CLASSES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-child.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   PAGE HEADER (news, reviews, menu, wholesale)
   ============================================================ */
.page-header {
  text-align: center;
  padding: 8rem 5% 3rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.page-header .tag {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--deep-olive);
  margin-bottom: 1rem;
  font-weight: 600;
  display: block;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 3.2rem;
  color: var(--deep-brown);
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-header p {
  color: var(--medium-brown);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.news-post {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--deep-olive);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.news-post-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.news-post-content {
  padding: 2rem 2.5rem;
}

.news-post-pinned {
  display: inline-block;
  background: linear-gradient(135deg, #c9a96e, #b8943d);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.news-post-date {
  color: var(--deep-olive);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.news-post-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  color: var(--deep-brown);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-post-body {
  color: var(--charcoal);
  line-height: 1.8;
  font-size: 1rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--medium-brown);
}

.empty-state h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--medium-brown);
  font-style: italic;
}

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--muted-gold);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.review-stars {
  color: var(--muted-gold);
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--deep-brown);
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--medium-brown);
  margin-top: 0.3rem;
}

.submit-section {
  background: var(--white);
  padding: 3rem;
  border: 1px solid rgba(212, 197, 173, 0.4);
  border-radius: var(--radius-md);
  text-align: center;
}

.submit-section h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.submit-section > p {
  color: var(--medium-brown);
  margin-bottom: 2rem;
}

.submit-section .form-row {
  text-align: left;
  margin-bottom: 1.5rem;
}

.submit-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.submit-section input,
.submit-section textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--taupe);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: var(--cream);
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.submit-section input:focus,
.submit-section textarea:focus {
  outline: none;
  border-color: var(--deep-olive);
  background: var(--white);
}

.submit-section textarea {
  min-height: 120px;
  resize: vertical;
}

.star-select {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.star-select button {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--taupe);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.star-select button.active,
.star-select button:hover {
  color: var(--muted-gold);
  transform: scale(1.1);
}

.submit-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--deep-olive);
  color: var(--white);
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.35s ease;
  font-family: 'Montserrat', sans-serif;
  margin-top: 1rem;
  border-radius: var(--radius-pill);
}

.submit-btn:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}

.submit-btn:disabled {
  background: var(--taupe);
  cursor: not-allowed;
  transform: none;
}

.success-msg {
  display: none;
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.success-msg p {
  color: var(--deep-olive);
  font-weight: 600;
  margin: 0;
}

/* ============================================================
   MENU PAGE
   ============================================================ */
.menu-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 5% 5rem;
}

.menu-category { margin-bottom: 4rem; }

.menu-category-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--deep-olive) 0%, #3A4D32 100%);
  border-radius: var(--radius-md);
  color: var(--white);
}

.menu-category-header.rolls-header {
  background: linear-gradient(135deg, var(--terracotta) 0%, #A86545 100%);
}

.menu-category-header h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.menu-category-header p {
  opacity: 0.9;
  font-size: 1rem;
}

/* ============================================================
   WHOLESALE PAGE
   ============================================================ */
.wholesale-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.wholesale-info { margin-bottom: 4rem; }

.wholesale-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.wholesale-intro h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--deep-brown);
  margin-bottom: 1rem;
  font-weight: 500;
}

.wholesale-intro p {
  color: var(--medium-brown);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 700px;
  margin: 0 auto;
}

.wholesale-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.wholesale-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(212, 197, 173, 0.4);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.wholesale-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.wholesale-feature h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.wholesale-feature p {
  color: var(--medium-brown);
  font-size: 0.9rem;
  line-height: 1.7;
}

.wholesale-form-section {
  background: var(--white);
  padding: 3rem;
  border: 1px solid rgba(212, 197, 173, 0.4);
  border-radius: var(--radius-md);
}

.wholesale-form-section > h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: center;
}

.wholesale-form-section > p {
  text-align: center;
  color: var(--medium-brown);
  margin-bottom: 2rem;
}

.wholesale-form .form-row { margin-bottom: 1.5rem; }

.wholesale-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wholesale-form label .required { color: var(--terracotta); }

.wholesale-form label .optional {
  color: var(--warm-gray);
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: lowercase;
}

.wholesale-form input,
.wholesale-form select,
.wholesale-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--taupe);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.wholesale-form input:focus,
.wholesale-form select:focus,
.wholesale-form textarea:focus {
  outline: none;
  border-color: var(--deep-olive);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 93, 62, 0.1);
}

.wholesale-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wholesale-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239D7052' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.wholesale-form .submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--deep-olive);
  color: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-success p {
  color: var(--medium-brown);
  margin-bottom: 1.5rem;
}

.wholesale-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--muted-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.wholesale-note p {
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-text h1 { font-size: 3.4rem; }
  .hero-text > p { margin-left: auto; margin-right: auto; }
  .hero-tag { justify-content: center; }
  .hero-location { justify-content: center; }
  .cta-group { justify-content: center; }
  .hero-image { order: -1; }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-social { justify-content: center; }
  
  .seasonal-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .seasonal-image-wrapper { order: -1; margin: 0 auto; }
  .seasonal-text p { margin: 0 auto 2rem; }
  
  .best-sellers-grid { grid-template-columns: repeat(2, 1fr); }
  .pickup-grid { grid-template-columns: repeat(2, 1fr); }
  
  .hero-video-content h1 { font-size: 3.5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px)
   FIXED: Nav menu no blur, high z-index, clickable links
   ============================================================ */
@media (max-width: 768px) {
  .scrolling-announcement-bar { height: 36px; }
  .scrolling-announcement-content { padding: 0 2rem; }
  .scrolling-announcement-content span { font-size: 0.75rem; }
  
  .announcement-banner { padding: 0.6rem 3%; }
  .announcement-content { gap: 0.5rem; }
  .announcement-icon { display: none; }
  .announcement-text { font-size: 0.75rem; }
  
  nav {
    top: 36px;
    z-index: 8000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
  }

  nav.scrolled {
    background: rgba(245, 244, 239, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 197, 173, 0.4);
    box-shadow: 0 4px 30px rgba(45, 42, 38, 0.08);
  }

  .mobile-menu-toggle { display: flex; }

  body.home-page .mobile-menu-toggle span {
    background: white;
    transition: background 0.3s;
  }

  body.home-page nav.scrolled .mobile-menu-toggle span {
    background: var(--charcoal);
  }

  .logo-text {
    opacity: 0;
    transition: opacity 0.3s;
  }

  nav.scrolled .logo-text {
    opacity: 1;
  }

  /* FIXED: Mobile menu - solid background, high z-index, no blur */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100dvh;
    width: 300px;
    max-width: 85vw;
    /* SOLID white background - no transparency/blur */
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(45, 42, 38, 0.2);
    /* HIGH z-index to be above everything */
    z-index: 11000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-links.active { right: 0; }
  
  .nav-links li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--cream-dark);
  }
  
  .nav-links li a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
    color: var(--charcoal);
  }
  
  .nav-links li a:hover { color: var(--deep-olive); }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links li a.active {
    color: var(--deep-olive) !important;
    font-weight: 700 !important;
    border-left: 3px solid var(--deep-olive);
    padding-left: 1rem;
  }

  .nav-links li a.nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: block;
  }
  
  .nav-links li .cart-icon {
    padding: 1rem 0;
    justify-content: flex-start;
  }

  .hero { padding: 9rem 5% 4rem; }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-text > p { font-size: 1rem; }
  
  .hero-video-section {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    align-items: center;
  }

  .hero-video-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
  }

  .hero-video-content {
    padding: 140px 5% 2rem;
    width: 100%;
  }

  .hero-video-content h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .hero-video-content > p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .hero-video-content .cta-group {
    flex-direction: column;
    gap: 0.6rem;
    width: 80%;
    margin: 0 auto;
  }

  .hero-video-content .cta-button,
  .hero-video-content .cta-secondary {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }

  .hero-video-content .hero-location {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  section { padding: 5rem 5%; }
  .section-title { font-size: 2.3rem; }

  .best-sellers-grid { grid-template-columns: 1fr; gap: 2rem; }
  .products-grid { grid-template-columns: 1fr; gap: 2rem; }
  .menu-page-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  
  .cart-sidebar { width: 100%; }
  .deal-banner h3 { font-size: 2rem; }
  .pickup-grid { grid-template-columns: 1fr; }
  
  .pulled-banner { padding: 1.2rem 5%; gap: 1rem; }
  .pulled-banner-text { font-size: 1.1rem; }

  .page-header {
    padding: 8rem 5% 1.5rem;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .news-post-image { height: 200px; }
  .news-post-content {
    padding: 1.5rem;
  }
  .submit-section {
    padding: 1.5rem;
    margin: 1rem 5%;
  }
  footer {
    padding: 2rem 5%;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-scene { min-height: 200px; }
  .footer-scene-image { height: 200px; }
  .footer-scene-placeholder { height: 200px; }
  
  .email-signup-content { padding: 2rem 1.5rem; }
  .email-signup-field { flex-direction: column; }
  .email-signup-btn { width: 100%; }
  
  .wholesale-features { grid-template-columns: 1fr; gap: 1.5rem; }
  .wholesale-form-section { padding: 2rem 1.5rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .scrolling-announcement-bar { height: 32px; }
  .scrolling-announcement-content { padding: 0 1.5rem; }
  .scrolling-announcement-content span { font-size: 0.7rem; }
  
  .announcement-text { font-size: 0.7rem; }
  nav { top: 32px; }
  
  .logo-text h1 { font-size: 1.1rem; }
  .logo-text p { font-size: 0.6rem; }
  .logo-img { width: 38px; height: 38px; }
  .hero-text h1 { font-size: 2.1rem; }
  .section-title { font-size: 1.9rem; }
  .cta-group { flex-direction: column; }
  .cta-button { width: 100%; text-align: center; }
  .payment-modal-content { padding: 1.5rem; border-radius: var(--radius-md); }
  
  .pulled-banner { flex-direction: column; gap: 0.8rem; }
  .pulled-banner .wheat-icon { display: none; }
  
  .seasonal-badge { position: static; margin-bottom: 1rem; display: inline-flex; }
  
  .hero-video-section {
    height: 65vh;
    min-height: 65vh;
  }

  .hero-video-content {
    padding-top: calc(120px + env(safe-area-inset-top, 0px));
  }

  .hero-video-content h1 {
    font-size: 1.8rem;
  }

  .hero-video-content > p {
    font-size: 0.9rem;
  }

  .hero-video-content .cta-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-video-content .cta-button,
  .hero-video-content .cta-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   REDUCED MOTION — Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-video-section {
    background-image: url('images/home-hero-art.jpg');
    background-size: cover;
    background-position: center;
  }
  
  .hero-video-section .hero-video-bg { display: none; }
  
  .scrolling-announcement-track { animation: none; }
  
  .reveal,
  .reveal-child,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== REVIEW CARDS - COMPACT HORIZONTAL GRID ===== */
#featuredReviews,
#allReviews {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    padding: 0 5% !important;
    max-width: 1400px !important;
    margin: 0 auto 3rem !important;
}

.review-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 1.5rem 2rem !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
    border: 1px solid #e8e0d4 !important;
}

.review-card .review-stars {
    font-size: 1.6rem !important;
    letter-spacing: 3px !important;
    margin-bottom: 0.8rem !important;
}

.review-card .review-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    margin-bottom: 0.8rem !important;
    color: #444 !important;
}

.review-card .review-author {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    font-style: normal !important;
    margin-bottom: 0.1rem !important;
}

.review-card .review-date {
    font-size: 0.75rem !important;
}

.review-card .featured-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.6rem !important;
    margin-bottom: 0.5rem !important;
}

@media (max-width: 900px) {
    #featuredReviews,
    #allReviews {
        grid-template-columns: 1fr !important;
    }
}
/* ===== END REVIEW CARDS ===== */

/* ===== REVIEW FORM ===== */
.submit-section {
    max-width: 550px !important;
    margin: 2rem auto !important;
    padding: 2rem !important;
}
.submit-section .form-row {
    margin-bottom: 1rem !important;
}
.submit-section .submit-btn {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}
.submit-btn {
    margin-top: 0.5rem !important;
}
/* ===== END REVIEW FORM ===== */
