/* =========================================================================
   Sunrise Bakery — Main Stylesheet
   A warm, artisanal design system built with plain CSS (custom properties +
   Flexbox/Grid) rather than a large external framework, so the site has
   zero runtime dependency on third-party CDNs and loads fast.
   ========================================================================= */

/* ---- Self-hosted webfonts ---- */
@import url("../webfonts/fonts.css");

/* ---- Design tokens ---- */
:root {
  /* Brand colour palette (from client spec) */
  --cream: #faf6f1;
  --terracotta: #d4735e;
  --terracotta-dark: #bd5f4b;
  --soft-brown: #8b7355;
  --light-terracotta: #e8a391;
  --deep-brown: #5c4a3a;
  --white: #ffffff;
  --golden-wheat: #e6d5b8;

  /* Semantic aliases */
  --color-bg: var(--cream);
  --color-text: var(--soft-brown);
  --color-heading: var(--deep-brown);
  --color-accent: var(--terracotta);
  --color-accent-hover: var(--terracotta-dark);
  --color-border: var(--golden-wheat);

  /* Type */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  /* Spacing / shape */
  --radius-card: 16px;
  --radius-btn: 8px;
  --shadow-card: 0 2px 8px rgba(92, 74, 58, 0.12);
  --shadow-card-hover: 0 10px 24px rgba(92, 74, 58, 0.18);
  --container-width: 1200px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }

/* Hand-lettered accent style used sparingly for special callouts */
.script-accent {
  font-family: var(--font-script);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.6em;
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.25em;
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--terracotta-dark);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--deep-brown);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-tight { padding: clamp(32px, 5vw, 56px) 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-header.align-left {
  margin: 0 0 40px;
  text-align: left;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.bg-wheat { background-color: var(--golden-wheat); }
.bg-deep { background-color: var(--deep-brown); color: #f3ece3; }

.text-center { text-align: center; }

/* Subtle flour-texture overlay, applied as a pseudo-element on sections that
   want extra warmth without needing an image request. */
.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(139,115,85,0.05) 0, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(212,115,94,0.06) 0, transparent 45%);
}
.texture { position: relative; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  transform: scale(1.02);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background-color: rgba(255,255,255,0.15);
  transform: scale(1.02);
}

.btn-outline-brown {
  background-color: transparent;
  border-color: var(--soft-brown);
  color: var(--deep-brown);
}
.btn-outline-brown:hover, .btn-outline-brown:focus-visible {
  background-color: var(--soft-brown);
  color: #fff;
  transform: scale(1.02);
}

.btn-block { width: 100%; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.9rem; }
.btn-lg { padding: 1em 2.2em; font-size: 1.1rem; }

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---- Card ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.card-body { padding: 20px 22px 24px; }

.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: var(--golden-wheat);
  color: var(--deep-brown);
}
.badge-terracotta { background: var(--light-terracotta); color: #fff; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Note: intentionally not using backdrop-filter here — it creates a new
     containing block for fixed-position descendants (like the mobile nav
     panel) in most browsers, which breaks the full-height mobile menu. */
  background: rgba(250, 246, 241, 0.97);
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--deep-brown);
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand .brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-brown);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  color: var(--deep-brown);
  font-weight: 600;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background-color: var(--golden-wheat);
  color: var(--deep-brown);
}

.main-nav a.is-active {
  background-color: var(--terracotta);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  position: relative;
  background: none;
  border: 2px solid var(--soft-brown);
  color: var(--deep-brown);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color .2s ease, color .2s ease;
}
.cart-btn:hover { background-color: var(--soft-brown); color: #fff; }
.cart-count {
  background: var(--terracotta);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 24px;
  margin-inline: auto;
  background: var(--deep-brown);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand .brand-tag { display: none; }
  .nav-actions { gap: 6px; }
  .cart-btn .cart-label { display: none; }
  .cart-btn { padding: 8px 10px; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-top: 1px solid rgba(139,115,85,.15);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
}

/* =========================================================================
   Hero sections
   ========================================================================= */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(92,74,58,0.55) 0%, rgba(92,74,58,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-content .eyebrow { color: var(--light-terracotta); }
.hero h1 { color: #fff; }
.hero-content p.lead {
  font-size: 1.2rem;
  color: #f4ece2;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.page-hero {
  min-height: 46vh;
}
.page-hero .hero-content { max-width: 640px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--deep-brown);
  color: #ecdfd2;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.site-footer a { color: #ecdfd2; }
.site-footer a:hover { color: var(--light-terracotta); }
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer .footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-list li { margin-bottom: 10px; line-height: 1.5; }
.footer-hours-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }

.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, border-color .2s ease;
}
.social-icons a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.social-icons svg { width: 18px; height: 18px; fill: #fff; }

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.newsletter-form input::placeholder { color: #cbb9a4; }
.newsletter-form button {
  border-radius: 999px;
  padding: 10px 20px;
}
.newsletter-note { font-size: 0.8rem; margin-top: 8px; color: #cbb9a4; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #cbb9a4;
}

/* =========================================================================
   Home page sections
   ========================================================================= */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .intro-split { grid-template-columns: 1fr; }
}
.intro-split img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

.product-card figure { margin: 0; overflow: hidden; }
.product-card img { transition: transform .4s ease; }
.product-card:hover img { transform: scale(1.06); }
.price-tag {
  font-family: var(--font-heading);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1.1rem;
}

.seasonal-section {
  background: linear-gradient(135deg, var(--golden-wheat) 0%, #f3e6cf 100%);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  border: 2px solid rgba(212, 115, 94, 0.25);
}
.seasonal-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) {
  .seasonal-flex { grid-template-columns: 1fr; }
}
.seasonal-flex img { border-radius: 18px; box-shadow: var(--shadow-card); }
.seasonal-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--terracotta);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--golden-wheat);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(92,74,58,0.55) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gallery-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(30, 20, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background-color .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--terracotta); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #f4ece2;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--light-terracotta);
  line-height: 0;
  display: block;
  margin-bottom: 8px;
}
.testimonial-card .stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card footer {
  margin-top: 16px;
  font-weight: 700;
  color: var(--deep-brown);
  font-size: 0.9rem;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(120deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #fce9e2; max-width: 560px; margin-inline: auto; }
.cta-strip .hero-actions { justify-content: center; }
.cta-strip .btn-primary { background: #fff; color: var(--terracotta-dark); }
.cta-strip .btn-primary:hover { background: var(--cream); }

/* =========================================================================
   About page
   ========================================================================= */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.story-block.reverse .story-copy { order: 2; }
@media (max-width: 800px) {
  .story-block { grid-template-columns: 1fr; margin-bottom: 40px; }
  .story-block.reverse .story-copy { order: 0; }
}
.story-block img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 800px) { .philosophy-grid { grid-template-columns: 1fr; } }
.philosophy-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.philosophy-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--golden-wheat);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }
.team-card { text-align: center; }
.team-card img { border-radius: 50%; width: 180px; height: 180px; object-fit: cover; margin: 0 auto 16px; box-shadow: var(--shadow-card); }
.team-card .role { color: var(--terracotta); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }

.wholesale-callout {
  background: var(--deep-brown);
  color: #f3ece3;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 700px) {
  .wholesale-callout { grid-template-columns: 1fr; text-align: center; }
}
.wholesale-callout h2 { color: #fff; }

/* =========================================================================
   Menu page
   ========================================================================= */
.menu-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.menu-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--soft-brown);
  background: transparent;
  color: var(--deep-brown);
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.menu-tab.is-active, .menu-tab:hover { background: var(--soft-brown); color: #fff; }

.menu-category { margin-bottom: 64px; }
.menu-category:last-child { margin-bottom: 0; }

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .menu-list { grid-template-columns: 1fr; } }

.menu-item {
  display: flex;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.menu-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.menu-item > div { min-width: 0; }
.menu-item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 10px;
  align-items: baseline;
}
.menu-item-head h4 { margin: 0; font-size: 1.05rem; color: var(--deep-brown); min-width: 0; overflow-wrap: break-word; flex: 1 1 auto; }
.menu-item .desc { font-size: 0.92rem; margin: 6px 0 8px; }
.menu-item .meta { font-size: 0.78rem; color: var(--soft-brown); opacity: 0.8; }
.diet-icons { display: flex; gap: 6px; margin-top: 8px; }
.diet-icon {
  font-size: 0.7rem;
  background: var(--golden-wheat);
  color: var(--deep-brown);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.menu-item.seasonal {
  border: 2px solid var(--terracotta);
  background: linear-gradient(135deg, #fff 60%, var(--golden-wheat) 140%);
}

.ordering-info-box {
  background: var(--golden-wheat);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.dietary-key {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.dietary-key span { font-size: 0.9rem; font-weight: 700; color: var(--deep-brown); }

/* =========================================================================
   Order Online page
   ========================================================================= */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
}

.order-steps {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.order-step {
  flex: 1;
  min-width: 140px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-brown);
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-step .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.order-category h3 {
  border-bottom: 2px solid var(--golden-wheat);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.order-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
@media (max-width: 700px) { .order-product-grid { grid-template-columns: 1fr; } }

.order-product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  gap: 14px;
}
.order-product-card img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.order-product-info { flex: 1; min-width: 0; }
.order-product-info h4 { margin: 0 0 4px; font-size: 1rem; }
.order-product-info .desc { font-size: 0.85rem; margin: 0 0 8px; }
.order-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--golden-wheat);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  background: var(--cream);
  border: none;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--deep-brown);
  font-weight: 700;
}
.qty-control button:hover { background: var(--golden-wheat); }
.qty-control input {
  width: 34px;
  border: none;
  text-align: center;
  font-weight: 700;
  color: var(--deep-brown);
  background: transparent;
}

.cart-panel {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  position: sticky;
  top: 96px;
}
.cart-panel h3 { margin-bottom: 4px; }
.cart-items { max-height: 260px; overflow-y: auto; margin: 16px 0; }
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--golden-wheat);
  font-size: 0.9rem;
}
.cart-line .name { font-weight: 700; color: var(--deep-brown); }
.cart-line .remove-line {
  background: none; border: none; color: var(--terracotta); cursor: pointer; font-size: 0.8rem; text-decoration: underline;
}
.cart-empty { text-align: center; color: var(--soft-brown); padding: 20px 0; font-size: 0.9rem; }
.cart-totals { border-top: 2px solid var(--golden-wheat); padding-top: 14px; }
.cart-totals .row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.9rem; }
.cart-totals .row.total { font-size: 1.15rem; font-weight: 800; color: var(--deep-brown); margin-top: 10px; }

/* Form elements shared */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-weight: 700; font-size: 0.9rem; color: var(--deep-brown); }
.form-field .required { color: var(--terracotta); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #ddd0bd;
  background: var(--white);
  color: var(--deep-brown);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(212,115,94,0.18);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #c0392b;
}
.field-error {
  color: #c0392b;
  font-size: 0.82rem;
  min-height: 1.1em;
}
.form-field.honeypot { position: absolute; left: -9999px; top: -9999px; }

fieldset.form-field { border: none; padding: 0; margin: 0 0 18px; }
fieldset.form-field legend { font-weight: 700; font-size: 0.9rem; color: var(--deep-brown); padding: 0; margin-bottom: 8px; }

.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #ddd0bd;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.92rem;
}
.radio-option input { width: 16px; height: 16px; accent-color: var(--terracotta); }
.radio-option.is-selected { border-color: var(--terracotta); background: #fdf1ee; }

.timeslot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 500px) { .timeslot-grid { grid-template-columns: repeat(2, 1fr); } }
.timeslot {
  padding: 9px 6px;
  border: 1.5px solid #ddd0bd;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-brown);
  cursor: pointer;
  transition: all .15s ease;
}
.timeslot:hover:not(:disabled) { border-color: var(--terracotta); }
.timeslot.is-selected { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.timeslot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.notice-box {
  display: flex;
  gap: 12px;
  background: #fdf1ee;
  border: 1.5px solid var(--light-terracotta);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.notice-box.info { background: #f3efe6; border-color: var(--golden-wheat); }

.payment-box {
  background: var(--cream);
  border: 1.5px dashed var(--soft-brown);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
}

.confirmation-panel {
  text-align: center;
  padding: 48px 24px;
  max-width: 640px;
  margin-inline: auto;
}
.confirmation-panel .checkmark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.confirmation-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  background: var(--golden-wheat);
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  margin: 14px 0;
  letter-spacing: .05em;
}
.confirmation-details {
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  margin: 24px 0;
}
.confirmation-details .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--golden-wheat); font-size: 0.92rem; }
.confirmation-details .row:last-child { border-bottom: none; }

[hidden] { display: none !important; }

/* Toast / feedback */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--deep-brown);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 4000;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  max-width: 320px;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast.toast-success { background: #3f6b47; }
.toast.toast-error { background: #a13d31; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.map-embed iframe { max-width: 100%; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  margin-bottom: 24px;
}
.contact-info-row { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info-row > div { min-width: 0; overflow-wrap: anywhere; }
.contact-info-row .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--golden-wheat);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid #f0e6d8; }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 10px 4px; font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--deep-brown); }
.hours-table tr.today { background: #fdf1ee; }

.map-embed {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

.wholesale-note {
  background: var(--golden-wheat);
  border-radius: var(--radius-card);
  padding: 22px;
  margin-top: 24px;
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { opacity: 0.8; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Scroll-reveal animation (progressive enhancement) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
