/* ============================================================
   Willow Creek Farms Pantry — design system
   ============================================================ */
:root {
  --dark: #1d1611;
  --dark-2: #241b13;
  --dark-3: #2c2117;
  --cream: rgb(250 246 237 / 1);
  --cream-2: #f5edda;
  --paper: #fdfcf8;
  --white: #ffffff;
  --gold: #c9963c;
  --gold-2: #d9a845;
  --gold-soft: #e4c37e;
  --ink: #241c14;
  --muted: #6f6455;
  --muted-light: rgba(253, 252, 248, 0.72);
  --line: rgba(29, 22, 17, 0.1);
  --line-light: rgba(253, 252, 248, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 34px -14px rgba(29, 22, 17, 0.18);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  font-family: var(--font-body);
}

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

html { scroll-behavior: smooth; font-family: var(--font-body); }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Type ---------- */
h1, h2, h3, .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 3.9rem); color: var(--white); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
h1 em, h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 700;
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-sub {  color: var(--muted); font-size: 1.02rem;max-width: 32rem;
  margin: 0 auto;margin-top: 1rem; }

.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--dark);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-soft), var(--gold-2)); }
.btn-ghost {
  border-color: rgba(253, 252, 248, 0.35);
  color: var(--white);
  background: rgba(253, 252, 248, 0.04);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark {
  background: var(--dark);
  color: var(--gold-2);
}
.btn-dark:hover { background: var(--dark-3); }
.btn-lg { padding: 1rem 2.3rem; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 22, 17, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.site-header.scrolled { background: rgba(24, 18, 13, 0.97); box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-mark { width: 42px; height: 42px; }
.brand-name {
  font-size: 1.08rem;
  color: var(--white);
  white-space: nowrap;
}
.brand-light { color: var(--muted-light); font-weight: 500; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--muted-light);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-2); }
.header-actions { display: flex; align-items: center; }
.new-cart-custom{
  font-weight: 800 !important;
}
.btn-cart {
  padding: 0.5rem 1.3rem;
  font-size: 0.88rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark) !important;
  font-family: var(--font-body);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.4rem;
}
.btn-cart:hover {
  background: var(--gold-2);
  color: var(--dark) !important;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--dark);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
}
.nav-toggle { display: none; background: none; border: 0; width: 34px; padding: 4px; }
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% 20%, rgba(201, 150, 60, 0.14), transparent 60%),
    radial-gradient(700px 500px at 12% 85%, rgba(60, 42, 24, 0.55), transparent 65%),
    linear-gradient(160deg, #201810 0%, var(--dark) 45%, #171009 100%);
  padding: 4.5rem 0 6.5rem;
}
/* Hero background photo (wheat field) with dark overlay for text legibility */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 22, 17, 0.88) 0%, rgba(29, 22, 17, 0.72) 45%, rgba(29, 22, 17, 0.45) 100%),
    linear-gradient(180deg, rgba(29, 22, 17, 0.25) 0%, rgba(18, 13, 8, 0.65) 100%);
}
.hero::after {
  z-index: 1;
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 4, 0.55));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-eyebrow {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(201, 150, 60, 0.12);
  border: 1px solid rgba(201, 150, 60, 0.35);
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero-lead {
  color: var(--muted-light);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 1.4rem 0 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.4rem; }
.pill {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 252, 248, 0.18);
  background: rgba(253, 252, 248, 0.05);
  color: var(--muted-light);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.hero-visual { position: relative; padding-bottom: 3rem; }
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -2.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(24, 18, 13, 0.96);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 0.9rem 1.3rem;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}
.hero-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201, 150, 60, 0.18);
  color: var(--gold-2);
  flex: none;
}
.hero-badge-check svg { width: 16px; height: 16px; }
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.3;
}
.hero-badge small { color: var(--muted-light); font-size: 0.72rem; }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: #120d08;
  border-block: 1px solid var(--line-light);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
}
.marquee-track i { color: rgba(201, 150, 60, 0.5); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Why cards
   ============================================================ */
.why { padding: 5.5rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.6rem 2.6rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -16px rgba(29, 22, 17, 0.25); }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-2);
  margin-bottom: 1.4rem;
}

.why h2 em{
  font-family:var(--font-display);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle-sm { width: 46px; height: 46px; flex: none; margin-bottom: 0; }
.icon-circle-sm svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 0.7rem; }
.why-card p { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   Products
   ============================================================ */
.pantry { padding: 5.5rem 0 6rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -16px rgba(29, 22, 17, 0.25); }
.product-media { position: relative; background: var(--cream-2); }
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.4rem 1.6rem;
}
.product-body h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.product-body p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.3rem;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: auto;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--cream);
}
.qty-btn {
  width: 28px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.qty-btn:hover { color: var(--gold); }
.qty-input {
  width: 26px;
  height: 34px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-add { padding: 0.55rem 1.35rem; font-size: 0.82rem; }
.pantry-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   Story
   ============================================================ */
.story { padding: 6rem 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-visual { position: relative; padding-bottom: 2.6rem; }
.story-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 56px -22px rgba(29, 22, 17, 0.35);
}
.story-photo img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.story-badge {
  position: absolute;
  right: -1.4rem;
  bottom: 0;
  background: var(--dark);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1rem 1.7rem;
  border-radius: 14px;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.45);
}
.story-copy h2 { margin-bottom: 1.4rem; }
.story-copy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 34rem; }
.check-list { list-style: none; margin: 1.6rem 0 2.2rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.check-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-2);
  flex: none;
}
.check-dot svg { width: 14px; height: 14px; }

/* ============================================================
   Wholesale
   ============================================================ */
.wholesale {
  position: relative;
  text-align: center;
  padding: 6rem 0;
  background:
    radial-gradient(700px 380px at 70% 25%, rgba(201, 150, 60, 0.12), transparent 65%),
    radial-gradient(900px 500px at 15% 90%, rgba(52, 36, 20, 0.5), transparent 70%),
    linear-gradient(150deg, #241b12 0%, var(--dark-2) 50%, #160f09 100%);
  overflow: hidden;
}
.wholesale .container { position: relative; max-width: 720px; }
.wholesale h2 { color: var(--white); }
.wholesale p { color: var(--muted-light); margin: 1.2rem auto 2.2rem; max-width: 34rem; }

/* ============================================================
   Recipes
   ============================================================ */
.recipes { padding: 5.5rem 0 6rem; }
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.recipe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -16px rgba(29, 22, 17, 0.25); }
.recipe-media { position: relative; }
.recipe-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.recipe-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.recipe-body { padding: 1.2rem 1.4rem 1.4rem; }
.recipe-body h3 { font-size: 1.08rem; }

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  text-align: center;
  padding: 4.5rem 0;
  background: linear-gradient(160deg, var(--dark-2), #1a130c);
}
.newsletter h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.newsletter p { color: var(--muted-light); margin-top: 0.7rem; font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  max-width: 470px;
  margin: 2rem auto 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(253, 252, 248, 0.07);
  border: 1px solid var(--line-light);
  padding: 0.3rem;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.7rem 1.2rem;
  color: var(--white);
  font-size: 0.92rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(253, 252, 248, 0.45); }
.newsletter-form .btn { padding: 0.7rem 1.6rem; }
.form-note { margin-top: 1.1rem; color: var(--gold-2); font-size: 0.9rem; }
.form-note-dark { color: var(--gold); text-align: center; }

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: 5.5rem 0 6.5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 1.2rem; }
.contact-copy > p { color: var(--muted); max-width: 30rem; margin-bottom: 2rem; }
.contact-row { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-value { font-weight: 500; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 2.4rem;
}
.contact-form-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  margin-bottom: 1.2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 60, 0.18);
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: #b4a78f; }
.contact-form-card .btn { margin-top: 0.4rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #191209;
  color: var(--muted-light);
  border-top: 1px solid var(--line-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}
.footer-brand .brand-name { font-size: 1.15rem; }
.footer-brand p { font-size: 0.88rem; margin: 1.1rem 0 1.4rem; max-width: 22rem; }
.social-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--muted-light);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-dot:hover { color: var(--gold-2); border-color: var(--gold); }
.social-dot svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.78rem;
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
  font-size: 0.9rem;
  transform: translateY(140%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.show { transform: translateY(0); }
.toast-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 150, 60, 0.2);
  color: var(--gold-2);
  flex: none;
}
.toast-check svg { width: 12px; height: 12px; }
.toast strong { font-weight: 700; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Cart Drawer (Slide-out)
   ============================================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 7, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 92vw);
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}
.cart-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: #777;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}
.cart-drawer-close:hover {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--dark);
}
.cart-drawer-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}
.cart-empty-message {
  color: #888;
  font-size: 0.96rem;
  text-align: center;
}

/* WooCommerce Mini-Cart Drawer Styles */
.wcf-mini-cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}
.wcf-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.wcf-mini-cart-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
  flex: none;
}
.wcf-mini-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wcf-mini-cart-info {
  flex: 1;
}
.wcf-mini-cart-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.wcf-mini-cart-qty-price {
  font-size: 0.85rem;
  color: var(--gold-2);
  font-weight: 700;
}
.wcf-remove-cart-item {
  color: #999 !important;
  font-size: 1.2rem;
  padding: 0.2rem 0.5rem;
  transition: color 0.2s;
  text-decoration: none;
}
.wcf-remove-cart-item:hover {
  color: #b00 !important;
}
.wcf-mini-cart-footer {
  margin-top: 1.5rem;
  width: 100%;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}
.wcf-mini-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.wcf-mini-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ============================================================
   Page Header (Common Inner Page Title Banner)
   ============================================================ */
.page-hero {
  padding: 4rem 0 2rem;
  background: var(--paper);
}
.page-hero .eyebrow {
  margin-bottom: 0.8rem;
}
.page-hero h1 {
  color: var(--dark);
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.page-hero h1 em {
  color: var(--gold);
}
.page-hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
}

/* ============================================================
   Our Story Page Styles
   ============================================================ */
.story-page {
  padding: 2rem 0 6rem;
  background: var(--paper);
}
.story-page-intro {
  margin-bottom: 2.8rem;
}
.story-split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.story-text-col p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.story-text-col p:last-child {
  margin-bottom: 0;
}
.story-img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.story-img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-trio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0;
}
.story-trio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 13;
}
.story-trio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-quote-block {
  margin: 3.5rem 0;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.8;
  max-width: 780px;
}
.story-bottom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 3.5rem;
}
.story-bottom-split h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.story-bottom-split h2 em {
  color: var(--gold);
}
.story-bottom-split p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ============================================================
   Wholesale Page Styles
   ============================================================ */
.wholesale-page {
  padding: 1.5rem 0 5rem;
  background: var(--paper);
}
.wholesale-lead {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.wholesale-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.wholesale-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wholesale-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(29, 22, 17, 0.16);
}
.wholesale-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.9rem;
  color: var(--dark);
}
.wholesale-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.wholesale-card-wide {
  grid-column: 1 / 2;
}

/* ============================================================
   Recipes Page Styles
   ============================================================ */
.recipes-page {
  padding: 2rem 0 6rem;
  background: var(--paper);
}
.recipes-page-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}
.recipes-page-head h1 {
  color: var(--dark);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.18;
}
.recipes-page-head h1 em {
  color: var(--gold);
}
.recipe-page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.recipe-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -16px rgba(29, 22, 17, 0.25);
}
.recipe-page-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.recipe-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.recipe-page-card:hover .recipe-page-media img {
  transform: scale(1.04);
}
.recipe-overlay-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  z-index: 2;
  color: var(--white);
}
.recipe-cat {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 0.35rem;
}
.recipe-overlay-badge h3 {
  color: var(--white);
  font-size: 1.35rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.recipe-action-footer {
  padding: 1.1rem 1.4rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.86rem;
  color: #777;
  font-style: italic;
}
.recipes-cta-wrap {
  text-align: center;
  margin-top: 3.5rem;
}
.btn-outline-dark {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1.5px solid var(--dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--dark);
  transition: all 0.25s ease;
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   Dedicated Shop Page Styles (Matching Screenshot 1)
   ============================================================ */
.shop-page {
  padding: 2.5rem 0 6rem;
  background: var(--paper);
}
.shop-hero-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.shop-hero-head h1 {
  color: var(--dark);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.shop-hero-head h1 em {
  color: var(--gold);
}
.shop-hero-sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Category Filter Tabs */
.shop-tabs-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem auto 3.2rem;
  flex-wrap: wrap;
}
.shop-tab-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}
.shop-tab-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
}
.shop-tab-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* Shop 4-Col Grid (matches reference design) */
.shop-page .container,
.pantry .container { width: min(1280px, 94%); }
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.shop-item-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 0;
  box-shadow: 0 4px 14px -4px rgba(29, 22, 17, 0.10);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-item-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f1e8d6;
  overflow: hidden;
}
.shop-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.badge-signature {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.shop-item-body {
  padding: 1.4rem 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shop-item-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}
.shop-item-title a { color: inherit; transition: color 0.2s ease; }
.shop-item-card:hover .shop-item-title a { color: var(--gold); }
.shop-item-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}
.shop-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
}
.shop-item-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
}
.shop-item-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.shop-item-card .shop-qty-box {
  display: inline-flex;
  align-items: stretch;
  height: 36px;
  border: 1px solid rgba(29, 22, 17, 0.08);
  border-radius: 12px;
  background: var(--cream);
  overflow: hidden;
  padding: 0;
}
.shop-item-card .shop-qty-btn {
  background: transparent;
  border: 0;
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: 0;
  transition: color 0.2s ease, background 0.2s ease;
}
.shop-item-card .shop-qty-btn:hover { color: var(--gold); background: var(--cream-2); }
.shop-item-card .shop-qty-input {
  width: 36px;
  height: 100%;
  border: 0;
  background: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.shop-item-card .shop-qty-input::-webkit-outer-spin-button,
.shop-item-card .shop-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-btn-add {
  background: #000;
  color: var(--gold-2);
  border: 0;
  height: 36px;
  padding: 0 1rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  line-height: 36px;
}
.shop-btn-add:hover { background: var(--gold); color: #000; }
.shop-btn-add:active { transform: scale(0.95); }

/* Card hover: lift + deeper shadow + slow image zoom.
   The .reveal.visible selectors are needed so the hover transform
   is not cancelled by the scroll-reveal rule (transform: none). */
.shop-item-card.reveal { transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.shop-item-card:hover,
.shop-item-card.reveal.visible:hover {
  border-color: rgba(201, 150, 60, 0.55);   /* gold border */
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(29, 22, 17, 0.25);
}
.shop-item-card:hover .shop-item-media img {
   transform: scale(1.05);
  }

  .shop-item-card{
    border: 1px solid transparent;   /* pehle border: 0; tha */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

/* ============================================================
   Product Detail Page Styles (Matching Screenshot 2)
   ============================================================ */
.product-detail-page {
  padding: 1.5rem 0 5rem;
  background: var(--paper);
}
.product-breadcrumb {
  margin-bottom: 2rem;
}
.product-breadcrumb a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}
.product-breadcrumb a:hover {
  color: var(--gold);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: start;
}
.product-detail-media {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 0.8rem;
}
.product-detail-price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.6rem;
}
.product-detail-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.product-detail-desc a {
  color: var(--gold);
  text-decoration: underline;
}
.product-cart-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.product-detail-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 0.35rem 0.8rem;
  gap: 0.5rem;
}
.product-detail-qty .shop-qty-btn {
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
}
.product-detail-qty .shop-qty-input {
  width: 34px;
  font-size: 1rem;
}
.btn-detail-add {
  flex: 1;
  min-width: 200px;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-detail-add:hover {
  background: #333;
  transform: translateY(-2px);
}
.product-secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.product-secure-note a {
  color: var(--gold);
  text-decoration: none;
}

/* More from the Pantry Section */
.more-pantry-section {
  margin-top: 5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}
.more-pantry-section h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}
.more-pantry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.more-pantry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.more-pantry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -14px rgba(29, 22, 17, 0.22);
}
.more-pantry-card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  display: block;
  background: #f7f3ec;
}
.more-pantry-body {
  padding: 1.2rem 1.4rem 1.4rem;
}
.more-pantry-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.more-pantry-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

/*shahbaz new css start */

/* Why cards: hover lift (must beat .reveal.visible { transform: none }) */
.why-card.reveal {
  transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card.reveal.visible:hover,
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px -16px rgba(29, 22, 17, 0.28);
}

.hl-bg {
  background: #f5e6c8;
  padding: 0 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ============================================================
   Responsive Overrides for All Pages
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(24, 18, 13, 0.98);
    border-bottom: 1px solid var(--line-light);
    padding: 0.6rem 6% 1.4rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line-light); font-size: 1.05rem; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav .btn-cart {
    margin: 1rem 0 0.5rem;
    justify-content: center;
    padding: 0.8rem 1.5rem;
  }
  .nav-toggle { display: block; margin-left: 0.5rem; }
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 5rem; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(29, 22, 17, 0.82) 0%, rgba(18, 13, 8, 0.78) 100%); }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 1rem; }
  .story-badge { right: 1rem; }
  .recipes-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .story-split-section,
  .story-bottom-split,
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .more-pantry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-trio-row {
    grid-template-columns: 1fr;
  }
  .wholesale-cards-grid {
    grid-template-columns: 1fr;
  }
  .wholesale-card-wide {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  .why-grid, .products-grid, .shop-products-grid, .more-pantry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .brand-name { font-size: 0.92rem; }
  .newsletter-form { flex-direction: column; border-radius: 18px; gap: 0.5rem; padding: 0.5rem; }
  .newsletter-form input { text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .product-cart-row { flex-direction: column; align-items: stretch; }
  .btn-detail-add { width: 100%; }
}



/* ============================================================
   Home hero refinements (match live site)
   ============================================================ */
/* Nav font: sans-serif like live site */
.main-nav a { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: rgba(253, 252, 248, 0.92); }
.main-nav a:hover { color: var(--gold-2); }
.brand-mark { border-radius: 50%; object-fit: cover; border: 2px solid rgba(253, 252, 248, 0.9); background: #fff; }
.brand .custom-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(253, 252, 248, 0.9); }

/* Transparent full-width header over hero (home page only) */
.home .site-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.home .site-header.scrolled { background: rgba(24, 18, 13, 0.96); box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5); }
.home .header-inner { width: calc(100% - 80px); max-width: none; padding: 1.1rem 0; }
.admin-bar.home .site-header { top: 32px; }

/* Hero: full screen, very dark photo overlay, fade to cream at bottom */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 9rem;
  background: #14100b;
}
.hero-bg img { object-position: center 25%; }
.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(14, 11, 8, 0.82) 0%, rgba(14, 11, 8, 0.55) 60%, rgba(14, 11, 8, 0.4) 100%),
    linear-gradient(180deg, rgba(14, 11, 8, 0.82) 0%, rgba(20, 15, 10, 0.72) 55%, rgba(20, 15, 10, 0.7) 100%);
}
.hero::after {
  height: 190px;
  background: linear-gradient(180deg, rgba(253, 252, 248, 0) 0%, rgba(253, 252, 248, 0.55) 60%, var(--paper) 100%);
}
.hero-grid { width: min(1180px, 92%); }

/* Falling leaves */
.hero-leaves { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-leaves span {
  position: absolute;
  top: -40px;
  width: 26px; height: 14px;
  border-radius: 0 100% 0 100%;
  background: rgba(60, 70, 40, 0.55);
  filter: blur(1px);
  opacity: 0;
  animation: wcfLeaf 16s linear infinite;
}
.hero-leaves span:nth-child(1) { left: 12%; animation-delay: 0s; }
.hero-leaves span:nth-child(2) { left: 28%; animation-delay: 3s; animation-duration: 19s; }
.hero-leaves span:nth-child(3) { left: 45%; animation-delay: 6s; }
.hero-leaves span:nth-child(4) { left: 62%; animation-delay: 1.5s; animation-duration: 21s; }
.hero-leaves span:nth-child(5) { left: 78%; animation-delay: 8s; }
.hero-leaves span:nth-child(6) { left: 92%; animation-delay: 11s; animation-duration: 18s; }
@keyframes wcfLeaf {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.45; }
  90%  { opacity: 0.3; }
  100% { transform: translate(60px, 105vh) rotate(300deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-leaves { display: none; } }

/* Hero content */
.hero-eyebrow { background: rgba(20, 15, 10, 0.55); border-color: rgba(201, 150, 60, 0.4); }
.hero-lead { font-size: 1.1rem; max-width: 32rem; }
.btn-ghost { border-color: rgba(201, 150, 60, 0.5); color: var(--gold-2); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-2); background: rgba(201, 150, 60, 0.08); }
.pill { background: rgba(20, 15, 10, 0.5); border-color: rgba(201, 150, 60, 0.22); font-size: 0.74rem; }

/* Flour card: small, square corners, centered in right column */
.hero-visual { max-width: 340px; width: 100%; margin-inline: auto; padding-bottom: 0; }
.hero-card { border-radius: 2px; box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.7); }
.hero-card img { aspect-ratio: 4 / 5; }
.hero-badge { left: -1.5rem; bottom: -1.1rem; border-radius: 12px; padding: 0.8rem 1.1rem; background: rgba(28, 22, 16, 0.96); }
.hero-badge-check { background: rgba(201, 150, 60, 0.16); }
.hero-badge strong { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; }
.hero-badge small { font-size: 0.72rem; }

@media (max-width: 860px) {
  .home .header-inner { width: 92%; }
  .home .main-nav { top: 70px; }
  .hero { min-height: auto; padding: 7rem 0 7rem; }
  .hero-visual { margin-top: 1.5rem; }
  .hero-badge { left: 0.8rem; }
}


/* ============================================================
   Cart drawer with items + Add button loading state
   ============================================================ */
.cart-drawer-body.has-items {
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}
.shop-btn-add.loading { opacity: 0.6; pointer-events: none; }


/* ============================================================
   Our Story ("Rooted in Tradition") - exact match to reference
   ============================================================ */
/* Section eyebrows: text-xs, bold, 0.18em tracking (as on reference) */
.eyebrow { font-weight: 700; letter-spacing: 0.18em; }

.story .story-grid { width: min(1280px, 92%); gap: 5rem; align-items: center; }
.story-visual { position: relative; padding-bottom: 0; }

/* Image: square, rounded, thin cream border, no shadow */
.story-frame {
  position: relative;
  border-radius: 24px;
  border: 3px solid #f1e4cc;
  overflow: hidden;
  box-shadow: none;
  background: #f1e4cc;
}
.story-frame::after { content: none; }
.story-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Black quote badge overlapping bottom-right corner of the image */
.story-quote {
  position: absolute;
  right: -1.1rem;
  bottom: -1.1rem;
  left: auto;
  z-index: 2;
  background: #000;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  white-space: nowrap;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.45);
}

/* Copy */
.story-copy .eyebrow { margin-bottom: 0.75rem; }
.story-copy h2 {
  /* font-size: clamp(1.9rem, 2.4vw, 2.rem); */
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 1.4rem;
}
.story-copy p {
  max-width: none;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted);
  margin-bottom: 1rem;
}
.story-copy .check-list { margin: 1.5rem 0 2rem; }
.story-copy .check-list li {
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
}
.story-copy .check-dot {
  flex: none;
  width: 28px;
  height: 28px;
  background: #000;
  color: var(--gold-2);
  font-size: 0.8rem;
}
.story-copy .btn-dark {
  background: #000;
  color: var(--gold-2);
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}
.story-copy .btn-dark:hover { background: var(--dark-3); }

@media (max-width: 860px) {
  .story .story-grid { gap: 3rem; }
  .story-quote { right: 0.8rem; bottom: -1rem; font-size: 0.95rem; }
}

/* ============================================================
   Wholesale teaser: wheat-field photo background (like the hero)
   ============================================================ */
.wholesale { background: #0f131d; padding: 6rem 0; }
.wholesale-bg img { object-position: center 30%; }
.wholesale-bg::after {
  /* background: linear-gradient(180deg, rgba(12, 16, 26, 0.80) 0%, rgba(12, 16, 26, 0.85) 100%); */
  /* background: rgb(0, 0, 0); */
}
.wholesale .container { position: relative; z-index: 2; max-width: 820px; }
.wholesale h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.wholesale p {
  color: rgba(253, 252, 248, 0.65);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 1rem auto 2rem;
}
.wholesale .btn-gold { background: var(--gold); color: #000; }
.wholesale .btn-gold:hover { background: var(--gold-2); }

/* ============================================================
   Recipe cards: hover lift (beats .reveal.visible { transform: none })
   ============================================================ */
.recipe-card.reveal {
  transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.recipe-card:hover,
.recipe-card.reveal.visible:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -10px rgba(29, 22, 17, 0.22);
}

/* ============================================================
   Newsletter section (Contact Form 7 form inside)
   ============================================================ */
.newsletter { background: #1f1b16; padding: 4rem 0; text-align: center; }
.newsletter h2 { color: var(--white); font-size: 1.75rem; line-height: 1.2; }
.newsletter p { color: rgba(253, 252, 248, 0.75); font-size: 0.95rem; margin-top: 0.6rem; }
.newsletter .wpcf7 form { max-width: 560px; margin: 1.6rem auto 0; }
.wcf-newsletter-row {
  display: flex;
  align-items: stretch;
  height: 53px;
  border: 1px solid rgba(201, 150, 60, 0.22);
  border-radius: 999px;
  overflow: hidden;
  background: #2a2823;
  text-align: left;
}
.wcf-newsletter-row .wpcf7-form-control-wrap { flex: 1; min-width: 0; display: flex; }
.wcf-newsletter-row input[type="email"] {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 1.3rem;
  border: 0;
  background: transparent;
  color: #fdfcf8;
  font-size: 0.95rem;
  outline: none;
}
.wcf-newsletter-row input::placeholder { color: rgba(253, 252, 248, 0.5); }
.wcf-newsletter-row input[type="submit"] {
  flex: none;
  border: 0;
  padding: 0 2rem;
  background: var(--gold);
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wcf-newsletter-row input[type="submit"]:hover { background: var(--gold-2); }
.newsletter .wpcf7 form .wpcf7-response-output {
  border: 0;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--gold-2);
  text-align: center;
}
.newsletter .wpcf7-not-valid-tip { color: #ffb4a8; margin: 0.6rem 0 0; text-align: center; }

/* ============================================================
   Contact Form 7 - shared + contact card styling
   ============================================================ */
.wpcf7 form .wpcf7-form-control-wrap { display: block; }
.wpcf7 .wpcf7-spinner { display: none !important; }
.wpcf7-not-valid-tip { display: block; font-size: 0.78rem; color: #b3261e; margin: -0.8rem 0 1rem; }
.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(201, 150, 60, 0.45);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e7d32; color: #2e7d32; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; color: #b3261e; }

.contact-form-card input[type="submit"].wpcf7-submit {
  display: block;
  width: 100%;
  margin: 0.4rem 0 0;
  padding: 1.1rem 1.5rem;
  border: 0;
  border-radius: 14px;
  background: #000;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form-card input[type="submit"].wpcf7-submit:hover { background: #2b2b2b; }
.wcf-form-notice { font-size: 0.9rem; color: var(--muted); }
