:root {
  --ink: #241f1d;
  --muted: #736c66;
  --paper: #f7f0e3;
  --paper-deep: #efe3d0;
  --cream: #fffaf1;
  --plum: #563a5b;
  --plum-deep: #3d293f;
  --terracotta: #bd6039;
  --forest: #214b39;
  --line: rgba(36, 31, 29, 0.16);
  --soft-line: rgba(36, 31, 29, 0.09);
  --shadow: 0 22px 60px rgba(60, 42, 31, 0.11);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(189, 96, 57, 0.09), transparent 25rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(247, 240, 227, 0.92);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(18px);
}
.header-actions {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img, .footer-brand img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(36, 31, 29, 0.13);
}
.brand span { display: grid; line-height: 1.1; }
.brand strong {
  font: 700 1.16rem/1.1 var(--serif);
}
.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.daily-menu-link {
  min-height: 40px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.7);
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.daily-menu-link:hover { background: var(--cream); }
.daily-menu-link svg { width: 16px; height: 16px; flex: none; }

.cart-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.cart-chip-icon { width: 18px; height: 18px; flex: none; }
.cart-chip strong {
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--plum);
  border-radius: 50%;
}

main { overflow: hidden; }
.hero {
  max-width: 1320px;
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 82px) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.eyebrow, .section-label, .form-step {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  font: 800 clamp(3.6rem, 8vw, 7.6rem)/0.88 var(--serif);
  letter-spacing: -0.055em;
}
.hero-intro {
  max-width: 650px;
  margin: 34px 0 0;
  color: #625a55;
  font-size: clamp(1.05rem, 1.6vw, 1.34rem);
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}
.button-primary {
  color: white;
  background: var(--plum);
}
.button-primary:hover { background: var(--plum-deep); }
.text-link { font-weight: 700; text-underline-offset: 5px; }

.made-to-order-card {
  position: relative;
  padding: 40px;
  overflow: hidden;
  color: #fff8eb;
  background: var(--plum);
  border-radius: 3px 56px 3px 3px;
  box-shadow: var(--shadow);
}
.made-to-order-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
}
.made-to-order-card .section-label { color: #e9d08d; }
.made-to-order-card h2 {
  position: relative;
  max-width: 360px;
  margin: 0;
  font: 700 2.35rem/1 var(--serif);
}
.made-to-order-intro {
  position: relative;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.78);
}
.made-to-order-steps {
  position: relative;
  margin: 26px 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 18px;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.17);
}
.made-to-order-steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}
.made-to-order-steps li > span { color: #e9d08d; font-weight: 700; }
.made-to-order-steps p { margin: 0; color: rgba(255,255,255,0.73); }
.made-to-order-steps strong { display: block; margin-bottom: 4px; color: white; }
.made-to-order-notes {
  position: relative;
  margin: 24px 0 0;
  padding: 20px 0 0;
  display: grid;
  gap: 10px;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.17);
}
.made-to-order-notes li::before { content: "✓"; margin-right: 10px; color: #e9d08d; }

.section-heading h2, .request-heading h2 {
  margin: 0;
  font: 700 clamp(2.5rem, 5vw, 4.9rem)/0.98 var(--serif);
  letter-spacing: -0.04em;
}

.catalogue {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px clamp(18px, 5vw, 60px) 100px;
}
.section-heading, .request-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.section-heading > p, .request-heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  color: var(--muted);
}

.catalogue-tools { margin-top: 32px; }
.search-field {
  max-width: 520px;
  min-height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.search-field > span { color: var(--muted); font-size: 1.5rem; }
.chip-scroll {
  margin-top: 22px;
  padding-bottom: 4px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 700;
}
.filter-chip.is-active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.chip-scroll-secondary { margin-top: 10px; }
.chip-scroll-secondary .filter-chip.is-active { background: var(--forest); border-color: var(--forest); }
.catalogue-result-line {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}
.clear-filters, .clear-cart, .clear-cart {
  padding: 0;
  border: 0;
  color: var(--plum);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.dish-card {
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: rgba(255,250,241,0.48);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dish-card:hover { background: var(--cream); }
.dish-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.diet-pill {
  padding: 5px 8px;
  color: var(--forest);
  background: rgba(33,75,57,0.08);
  border-radius: 2px;
}
.dish-card h3 {
  margin: 34px 0 10px;
  font: 700 1.72rem/1.05 var(--serif);
}
.dish-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.dish-buy {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.dish-price { display: grid; }
.dish-price strong { font: 700 1.8rem/1 var(--serif); }
.dish-price span { margin-top: 6px; color: var(--muted); font-size: 0.73rem; }
.quantity-control {
  min-height: 42px;
  display: inline-grid;
  grid-template-columns: 40px minmax(28px, auto) 40px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
}
.quantity-control button {
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
}
.quantity-control button:hover { background: var(--paper-deep); }
.quantity-control strong { text-align: center; }
.catalogue-empty { padding: 80px 20px; text-align: center; border: 1px solid var(--line); }
.catalogue-empty strong { font: 700 2rem var(--serif); }
.catalogue-empty p { color: var(--muted); }

.request-section {
  padding: 100px max(20px, calc((100vw - 1160px) / 2)) 120px;
  background: #eee2cf;
}
.request-layout {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 28px;
}
.cart-card, .request-form {
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(60,42,31,0.06);
}
.cart-card { position: sticky; top: 100px; padding: 28px; }
.cart-card-heading { display: flex; align-items: center; justify-content: space-between; }
.cart-card-heading h3 { margin: 0; font: 700 1.55rem var(--serif); }
.cart-lines { margin-top: 18px; }
.cart-line {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid var(--soft-line);
}
.cart-line:first-child { border-top: 0; }
.cart-line p { margin: 0; }
.cart-line small { display: block; margin-top: 3px; color: var(--muted); }
.cart-line strong { white-space: nowrap; }
.cart-line .quantity-control { grid-column: 1 / -1; justify-self: start; transform: scale(0.9); transform-origin: left top; }
.cart-empty { padding: 50px 10px; color: var(--muted); text-align: center; }
.cart-empty span { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.cart-empty p { margin: 0; }
.cart-total {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--line);
}
.cart-total strong { font: 700 2rem var(--serif); }
.delivery-summary { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; }

.request-form { padding: 0 34px 34px; }
.form-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.form-step { margin-bottom: 22px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field-grid > label { min-width: 0; }
.request-form label > span, .choice-grid legend {
  display: block;
  margin-bottom: 8px;
  color: #514a45;
  font-size: 0.78rem;
  font-weight: 700;
}
.request-form input:not([type="radio"]):not([type="checkbox"]),
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: white;
}
.request-form textarea { resize: vertical; }
.request-form input[type="date"] {
  min-width: 0;
  max-width: 100%;
}
.request-form input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(86,58,91,0.09); }
.request-form label + label, .field-grid + label, fieldset + .field-grid, fieldset + label { margin-top: 16px; }
.choice-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}
.choice-grid legend { grid-column: 1 / -1; }
.choice-card { position: relative; margin: 0 !important; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span {
  min-height: 100%;
  margin: 0 !important;
  padding: 16px;
  display: block !important;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.choice-card strong { display: block; color: var(--ink); font-size: 0.86rem; }
.choice-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 0.7rem; font-weight: 400; line-height: 1.4; }
.choice-card input:checked + span { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); background: rgba(86,58,91,0.05); }
.choice-card input:focus-visible + span { outline: 3px solid rgba(86,58,91,0.2); }
.choice-grid-payment { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lead-time-check {
  margin-top: 16px;
  padding: 12px 14px;
  color: var(--forest);
  background: rgba(33,75,57,0.07);
  border-left: 3px solid var(--forest);
  font-size: 0.79rem;
}
.lead-time-check.is-error { color: #8b392e; background: rgba(189,96,57,0.09); border-left-color: var(--terracotta); }
.consent-row {
  margin: 26px 0 !important;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  cursor: pointer;
}
.consent-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--plum); }
.consent-row span { margin: 0 !important; color: var(--muted) !important; font-weight: 500 !important; line-height: 1.5; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: 16px; padding: 12px 14px; color: #7c2f28; background: #f8e4df; border: 1px solid #e2b4a9; }
.submit-button {
  width: 100%;
  min-height: 66px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: white;
  background: var(--plum);
  cursor: pointer;
  font-weight: 700;
}
.submit-button small { color: rgba(255,255,255,0.67); font-weight: 500; }
.submit-button:hover { background: var(--plum-deep); }
.submit-button:disabled { opacity: 0.58; cursor: wait; }

footer {
  min-height: 180px;
  padding: 40px max(20px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff8eb;
  background: var(--ink);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { margin: 0; display: grid; }
.footer-brand strong { font: 700 1.1rem var(--serif); }
.footer-brand span { color: rgba(255,255,255,0.58); font-size: 0.75rem; }
.footer-brand small { color: rgba(255,255,255,0.58); font-size: 0.68rem; margin-top: 4px; }
footer > a { color: #e9d08d; font-weight: 700; text-underline-offset: 5px; }

.request-success {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(28,22,20,0.66);
  backdrop-filter: blur(7px);
}
.success-sheet {
  width: min(520px, 100%);
  padding: 42px;
  text-align: center;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--forest);
  border-radius: 50%;
  font-size: 1.8rem;
}
.success-sheet h2 { margin: 0; font: 700 2.65rem/1 var(--serif); }
.success-sheet > p:not(.eyebrow) { color: var(--muted); }
.success-reference { margin: 28px 0; padding: 16px; display: grid; background: var(--paper); }
.success-reference span { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.success-reference strong { margin-top: 4px; }
.success-sheet .button { width: 100%; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  max-width: calc(100vw - 36px);
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  border-radius: 2px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .made-to-order-card { max-width: 580px; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-layout { grid-template-columns: 1fr; }
  .cart-card { position: static; }
}

@media (max-width: 640px) {
  .site-header { min-height: 70px; padding: 11px 16px; }
  .site-header { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 1.02rem; }
  .header-actions { gap: 6px; }
  .daily-menu-link { min-height: 36px; padding: 7px 9px; font-size: 0.71rem; }
  .cart-chip span { display: none; }
  .cart-chip { gap: 6px; padding: 6px 7px; border: 0; background: transparent; }
  .cart-chip-icon { width: 19px; height: 19px; }
  .hero { padding: 64px 18px 34px; gap: 50px; }
  .hero h1 { font-size: clamp(3.4rem, 18vw, 5.4rem); }
  .hero-intro { margin-top: 25px; }
  .made-to-order-card { padding: 32px 26px; border-radius: 3px 42px 3px 3px; }
  .made-to-order-card h2 { font-size: 2rem; }
  .catalogue { padding: 38px 0 70px; }
  .section-heading, .catalogue-tools, .catalogue-result-line { margin-left: 18px; margin-right: 18px; }
  .section-heading, .request-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-heading { padding-bottom: 28px; }
  .chip-scroll { margin-right: -18px; padding-right: 18px; }
  .dish-grid { grid-template-columns: 1fr; border-left: 0; }
  .dish-card { min-height: 320px; padding: 25px 22px; border-right: 0; }
  .request-section { padding: 76px 16px 84px; }
  .request-layout { margin-top: 28px; }
  .cart-card { padding: 22px; }
  .request-form { padding: 0 20px 22px; }
  .field-grid, .choice-grid, .choice-grid-payment { grid-template-columns: 1fr; }
  footer { align-items: start; flex-direction: column; }
  .success-sheet { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
