:root {
  --bg: #ffffff;
  --bg-soft: #fffaf0;
  --bg-tint: #f7f9f4;
  --card: #ffffff;
  --card-2: #fcfcf8;
  --primary: #ffc72c;
  --primary-dark: #e3b221;
  --green: #0c3915;
  --green-2: #165526;
  --ink: #142016;
  --ink-soft: rgba(20, 32, 22, 0.72);
  --line: rgba(12, 57, 21, 0.12);
  --line-strong: rgba(12, 57, 21, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 57, 21, 0.08);
  --shadow-soft: 0 10px 28px rgba(12, 57, 21, 0.06);
  --danger: #b53b2e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 199, 44, 0.12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fffdf7 48%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.hidden { display: none; }
.container { width: min(1360px, calc(100% - 32px)); margin: 0 auto; }

.site-header,
.hero,
.menu-layout-section,
.checkout-wrap,
.site-footer,
.weekend-strip-section { position: relative; }

.site-header {
  padding: 14px 0 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12,57,21,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-logo {
  width: clamp(150px, 18vw, 240px);
  height: auto;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.desktop-nav a {
  font-weight: 800;
  color: var(--green);
  padding: 10px 0;
}
.desktop-nav a:hover { color: var(--primary-dark); }

.hero {
  padding: 18px 0 14px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 22px;
  align-items: stretch;
}
.hero-copy-card,
.hero-media-card,
.menu-section-card,
.product-card,
.cart-panel,
.checkout-form-wrap,
.empty-state,
.login-card,
.tracking-card,
.order-card,
.staff-summary-card {
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.hero-copy-card {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 420px;
  padding: 34px;
  background: linear-gradient(145deg, rgba(12,57,21,0.98), rgba(22,85,38,0.96));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-copy-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,0.22), rgba(255,199,44,0));
}
.hero-kicker {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-title {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 0.9;
  color: var(--white);
}
.hero-copy {
  margin: 0;
  max-width: 38rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
}
.hero-meta {
  display: grid;
  gap: 8px;
}
.hero-meta p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.hero-media-card {
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background: #e7eadf;
}
.hero-media-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.38));
}
.hero-callout {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
}
.panel-badge,
.section-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.callout-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.callout-grid p {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green);
}
.callout-grid span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12,57,21,0.68);
}

.weekend-strip-section {
  padding: 0 0 18px;
}
.weekend-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 0 2px;
}
.weekend-label,
.weekend-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}
.weekend-label {
  background: var(--green);
  color: var(--white);
}
.weekend-pill {
  background: #fff9e3;
  color: var(--green);
  border: 1px solid rgba(255,199,44,0.55);
}

.menu-layout-section {
  padding: 8px 0 44px;
}
.shop-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.menu-stage { min-width: 0; }
.menu-categories-rail {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 10px 0 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88), rgba(255,255,255,0));
}
.category-chips,
.subcategory-chips {
  display: flex;
  gap: 10px;
}
.category-chips-scroll {
  overflow-x: auto;
  padding: 4px 0 6px;
  scrollbar-width: none;
}
.category-chips-scroll::-webkit-scrollbar { display: none; }
.category-chips a,
.subcategory-chips a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.category-chips a:hover,
.subcategory-chips a:hover {
  background: var(--primary);
  border-color: rgba(255,199,44,0.9);
}
.menu-main {
  display: grid;
  gap: 22px;
}
.menu-section-block {
  scroll-margin-top: 96px;
}
.menu-section-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.menu-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.menu-section-count {
  color: rgba(12,57,21,0.72);
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
}
.section-note {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.subsection-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-top: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fcfdf8);
  border: 1px solid rgba(12,57,21,0.08);
}
.subsection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.subsection-head h3 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
}
.subsection-head span {
  color: var(--ink-soft);
  font-weight: 600;
}
.category-gallery {
  display: grid;
  gap: 12px;
}
.category-gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  background: #f2f2ea;
}
.category-gallery .contain-card {
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(12,57,21,0.08);
  padding: 10px;
}
.four-across-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-across-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-across-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.breakfast-gallery img { height: 160px; }
.mixed-gallery img { height: 190px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.compact-grid .product-card { min-height: 100%; }
.single-row-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcf7);
  border: 1px solid rgba(12,57,21,0.1);
}
.product-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.product-card h4 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-size: 1.45rem;
  line-height: 1.05;
  color: var(--green);
}
.product-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.62;
  font-size: 0.96rem;
}
.product-option {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}
.product-option span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green);
}
.product-option select,
.soup-select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(12,57,21,0.14);
  background: #ffffff;
  color: var(--ink);
}
.price-pill {
  color: var(--green);
  font-size: 0.96rem;
  font-weight: 900;
  white-space: nowrap;
  background: #fff6d4;
  border: 1px solid rgba(255,199,44,0.55);
  border-radius: 999px;
  padding: 8px 12px;
}
.price-pill-muted {
  background: #f2f5ef;
  border-color: rgba(12,57,21,0.1);
}
.product-card-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}
.muted-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.btn {
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: var(--green);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: #ffffff;
  color: var(--green);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: rgba(255,199,44,0.7); }
.btn-block { width: 100%; }

.cart-panel {
  padding: 20px;
  background: linear-gradient(180deg, rgba(12,57,21,0.98), rgba(15,66,25,0.98));
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
}
.cart-panel-strip {
  position: sticky;
  top: 92px;
}
.cart-header,
.summary-line,
.order-head,
.order-items li,
.totals div,
.status-form,
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.cart-header h2 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  line-height: 1;
}
.cart-subtle {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
}
.text-btn,
.qty-btn {
  border: 0;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
}
.cart-items {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
}
.cart-item-title { font-weight: 800; }
.cart-item small { color: rgba(255,255,255,0.72); }
.cart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.summary-line {
  padding: 10px 0;
  border-top: 1px dashed rgba(255,255,255,0.16);
}
.summary-line.total,
.grand {
  font-size: 1.06rem;
  font-weight: 800;
}
.mini-branch-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,199,44,0.14);
  border: 1px solid rgba(255,199,44,0.22);
}
.mini-branch-card span,
.mini-branch-card small {
  color: rgba(255,255,255,0.8);
}
.cart-cta-stack,
.checkout-actions-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.section { padding: 48px 0; }
.checkout-wrap {
  border-top: 1px solid rgba(12,57,21,0.08);
  padding-bottom: 120px;
}
.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 820px);
}
.checkout-form-wrap,
.login-card,
.tracking-card,
.order-card,
.empty-state {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.section-head h2 {
  margin: 10px 0 6px;
  font-family: 'Baloo 2', cursive;
  font-size: 2.4rem;
  color: var(--green);
}
.section-head p,
.helper-text,
.order-result,
.footer-grid p {
  color: var(--ink-soft);
  line-height: 1.65;
}
.section-kicker {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-2);
}
.checkout-form {
  display: grid;
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--green);
}
input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(12,57,21,0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255,199,44,0.35);
  border-color: rgba(255,199,44,0.65);
}
.order-result {
  min-height: 24px;
  font-weight: 700;
}
.order-result.success { color: #20814c; }
.order-result.error { color: var(--danger); }

.site-footer {
  padding: 22px 0 96px;
  background: linear-gradient(180deg, #f9fbf7, #f2f6ef);
  border-top: 1px solid rgba(12,57,21,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.footer-brand {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  color: var(--green);
}

.mobile-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(16px);
  background: rgba(12,57,21,0.96);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
.mobile-cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.mobile-bottom-nav {
  display: none;
}
.mobile-bottom-nav a,
.mobile-bottom-nav button {
  color: inherit;
  text-decoration: none;
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 2px;
  font: inherit;
}
.mobile-bottom-nav span { font-size: 1.2rem; }
.mobile-bottom-nav small { font-size: 0.72rem; font-weight: 700; }

@media (max-width: 1180px) {
  .shop-shell { grid-template-columns: minmax(0, 1fr); }
  .cart-panel-strip {
    position: static;
    order: 2;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .footer-grid,
  .grid-2,
  .product-grid,
  .single-row-grid,
  .four-across-gallery,
  .three-across-gallery,
  .two-across-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy-card,
  .hero-media-card { min-height: 360px; }
  .desktop-nav { display: none; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 20px, 1000px); }
  .site-header { padding: 10px 0 8px; }
  .hero-grid,
  .footer-grid,
  .grid-2,
  .product-grid,
  .single-row-grid,
  .four-across-gallery,
  .three-across-gallery,
  .two-across-gallery {
    grid-template-columns: 1fr;
  }
  .hero-copy-card,
  .hero-media-card {
    min-height: auto;
    padding: 22px;
  }
  .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .subsection-head { align-items: start; }
  .menu-section-card,
  .subsection-block,
  .checkout-form-wrap,
  .cart-panel { padding: 16px; }
  .category-chips a,
  .subcategory-chips a { min-height: 42px; padding: 9px 14px; }
  .category-gallery img,
  .mixed-gallery img,
  .breakfast-gallery img { height: 200px; }
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97);
    border-top: 1px solid rgba(12,57,21,0.1);
    backdrop-filter: blur(12px);
  }
  .site-footer { padding-bottom: 104px; }
}
