:root {
  color-scheme: dark;
  --ink: #15100c;
  --ink-soft: #21170f;
  --ink-raised: #2b1d13;
  --cream: #f6efdf;
  --paper: #fffaf0;
  --paper-soft: #f6eddd;
  --gold: #d9a22e;
  --gold-bright: #f0c968;
  --orange: #d95f28;
  --green: #5e8a60;
  --red: #b84935;
  --muted: #b9aa98;
  --paper-muted: #66584c;
  --line: rgba(240, 201, 104, 0.21);
  --paper-line: #dfd0b7;
  --shadow: 0 24px 70px rgba(9, 5, 2, 0.28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  overflow-x: clip;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 8% 2%, rgba(217, 95, 40, 0.14), transparent 32rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--gold-bright);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.order-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 8px;
  background: var(--gold-bright);
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

.product-card :focus-visible,
.basket-panel :focus-visible,
.return-panel :focus-visible,
.allergen-notice :focus-visible,
.order-dialog :focus-visible {
  outline-color: #76500a;
}

.dialog-close:focus-visible,
.product-dialog__intro :focus-visible,
.review-dialog__intro :focus-visible {
  outline-color: var(--gold-bright);
}

.mobile-basket-bar:focus-visible {
  outline-color: var(--ink);
}

.order-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
  background: rgba(21, 16, 12, 0.94);
  backdrop-filter: blur(18px);
}

.order-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.order-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  line-height: 1.15;
  text-decoration: none;
}

.order-brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(240, 201, 104, 0.5);
  transform: rotate(45deg);
}

.order-brand__mark::before,
.order-brand__mark::after,
.order-brand__mark span {
  position: absolute;
  content: "";
  border: 1px solid var(--gold);
}

.order-brand__mark::before {
  width: 22px;
  height: 22px;
}

.order-brand__mark::after {
  width: 10px;
  height: 10px;
  background: rgba(217, 162, 46, 0.16);
}

.order-brand__mark span {
  width: 4px;
  height: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-bright);
}

.order-brand__copy {
  display: grid;
}

.order-brand__copy strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.025em;
}

.order-brand__copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.order-header__status {
  min-height: 44px;
  margin-left: auto;
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ded2c3;
  border: 1px solid rgba(240, 201, 104, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 750;
}

.order-header__status > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 162, 46, 0.13);
}

.order-header__status[data-state="open"] > span:first-child {
  background: #79b979;
  box-shadow: 0 0 0 4px rgba(121, 185, 121, 0.14);
}

.order-header__status[data-state="closed"] > span:first-child,
.order-header__status[data-state="error"] > span:first-child {
  background: #e17c65;
  box-shadow: 0 0 0 4px rgba(225, 124, 101, 0.14);
}

.order-header__link {
  min-height: 44px;
  margin-left: auto;
  padding-inline: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d7cbbe;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.order-header__link:hover {
  color: var(--gold-bright);
}

.order-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.order-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--gold) 49%, var(--gold) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, var(--gold) 49%, var(--gold) 51%, transparent 52%);
  background-size: 68px 40px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, transparent);
}

.order-hero__inner {
  position: relative;
  min-height: 330px;
  padding-block: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 64px;
  align-items: center;
}

.order-eyebrow {
  margin: 0;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.order-eyebrow > span {
  width: 24px;
  height: 1px;
  margin: 0 9px 3px 0;
  display: inline-block;
  background: currentColor;
}

.order-hero h1 {
  max-width: 780px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.4vw, 88px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.order-hero h1 em {
  display: block;
  color: var(--gold-bright);
  font-weight: 500;
}

.order-hero__inner > div:first-child > p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d5c8b8;
  font-size: 17px;
}

.pickup-card {
  position: relative;
  min-height: 190px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--ink);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 255, 255, 0.6), transparent 6rem),
    linear-gradient(145deg, var(--gold-bright), var(--gold));
  box-shadow: var(--shadow);
}

.pickup-card::before {
  position: absolute;
  top: -45px;
  right: -25px;
  width: 145px;
  height: 145px;
  content: "";
  border: 1px solid rgba(30, 17, 6, 0.25);
  transform: rotate(45deg);
}

.pickup-card__number {
  position: absolute;
  top: 22px;
  left: 26px;
  font-family: var(--serif);
  font-size: 18px;
}

.pickup-card small {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pickup-card strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
}

.pickup-card > span:last-child {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.return-panel {
  padding-top: 34px;
}

.return-panel__card {
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  color: #2a2119;
  border: 1px solid #dfd0b7;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 15px 45px rgba(8, 4, 2, 0.15);
}

.return-panel__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3d889;
}

.return-panel__mark::after {
  content: "…";
  color: #39250b;
  font-size: 24px;
  font-weight: 900;
}

.return-panel[data-state="paid"] .return-panel__mark {
  background: #cde6c8;
}

.return-panel[data-state="paid"] .return-panel__mark::after {
  content: "✓";
  color: #234a27;
}

.return-panel[data-state="failed"] .return-panel__mark {
  background: #f0c5b9;
}

.return-panel[data-state="failed"] .return-panel__mark::after {
  content: "!";
  color: #6b251b;
}

.return-panel__card .order-eyebrow {
  color: #765710;
}

.return-panel__card h2 {
  margin: 4px 0 7px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.return-panel__card p {
  margin: 0;
}

.text-button {
  min-height: 44px;
  padding: 0;
  color: #684a08;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.return-panel__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.order-section {
  padding-block: 56px 96px;
}

.allergen-notice {
  margin-bottom: 34px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  color: #37271b;
  border: 1px solid #dfc697;
  border-radius: 16px;
  background: #faedcf;
}

.allergen-notice__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #2b1b0f;
  border-radius: 50%;
  background: var(--gold);
  font-weight: 900;
}

.allergen-notice strong {
  display: block;
  margin-bottom: 3px;
}

.allergen-notice p {
  margin: 0;
}

.allergen-notice a {
  color: #634606;
  font-weight: 850;
  text-underline-offset: 3px;
}

.order-state {
  min-height: 260px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ink-soft);
}

.order-state strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.order-state p {
  max-width: 540px;
  margin: 5px 0 0;
  color: var(--muted);
}

.order-spinner {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 3px solid rgba(240, 201, 104, 0.18);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: order-spin 800ms linear infinite;
}

.order-state__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  border-radius: 50%;
  background: var(--gold-bright);
  font-size: 22px;
  font-weight: 900;
}

.order-state[data-state="error"] .order-state__mark {
  background: #e6a18f;
}

.ordering-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.menu-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 310px);
  gap: 28px;
  align-items: end;
}

.menu-heading h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.menu-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
}

.menu-tools {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.search-field {
  position: relative;
  display: block;
}

.search-field__icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  width: 15px;
  height: 15px;
  border: 2px solid #7b6c5d;
  border-radius: 50%;
  transform: translateY(-56%);
  pointer-events: none;
}

.search-field__icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  content: "";
  background: #7b6c5d;
  transform: rotate(45deg);
}

.search-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 48px;
  color: #2b2119;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(8, 4, 2, 0.12);
}

.search-field input::placeholder {
  color: #706357;
}

.search-field input:focus {
  border-color: var(--gold-bright);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.category-filter {
  min-height: 44px;
  padding: 8px 16px;
  color: #d9ccbc;
  border: 1px solid rgba(240, 201, 104, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 800;
}

.category-filter:hover,
.category-filter[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--gold-bright);
  background: var(--gold-bright);
}

.results-summary {
  min-height: 25px;
  margin: 18px 0;
  color: #cfc1b0;
  font-size: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  color: #2c2119;
  border: 1px solid rgba(240, 201, 104, 0.2);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(8, 4, 2, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 20px 50px rgba(8, 4, 2, 0.2);
  transform: translateY(-3px);
}

.product-card__art {
  position: relative;
  min-height: 138px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 50%),
    linear-gradient(135deg, #e9bc54, #c75c2b);
}

.product-card:nth-child(3n + 2) .product-card__art {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(135deg, #d9a22e, #577859);
}

.product-card:nth-child(3n + 3) .product-card__art {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(135deg, #d77e43, #69402a);
}

.product-card__art::before,
.product-card__art::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(36, 19, 7, 0.25);
  transform: rotate(45deg);
}

.product-card__art::before {
  width: 118px;
  height: 118px;
}

.product-card__art::after {
  width: 75px;
  height: 75px;
}

.product-card__sun {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 244, 196, 0.34);
}

.product-card__initials {
  position: relative;
  z-index: 1;
  color: #21140a;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.product-card__copy {
  padding: 22px;
}

.product-card__category {
  margin: 0 0 7px;
  color: #72510a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.product-card__description {
  min-height: 42px;
  margin: 10px 0 0;
  color: var(--paper-muted);
  font-size: 13px;
}

.product-card__footer {
  margin-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__footer > strong {
  font-size: 18px;
}

.product-card__button {
  min-height: 44px;
  padding: 8px 13px;
  color: var(--ink);
  border: 1px solid #e1b443;
  border-radius: 11px;
  background: #f0ca6e;
  font-size: 11px;
  font-weight: 850;
}

.product-card__button:hover {
  background: var(--gold-bright);
}

.no-results {
  min-height: 300px;
  padding: 44px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px dashed rgba(240, 201, 104, 0.3);
  border-radius: 20px;
}

.no-results > span {
  color: var(--gold-bright);
  font-size: 42px;
}

.no-results h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 28px;
}

.no-results p {
  margin: 5px 0 12px;
  color: var(--muted);
}

.basket-panel {
  position: sticky;
  top: 104px;
  max-height: calc(100dvh - 124px);
  padding: 25px;
  overflow: auto;
  color: #2a2119;
  border: 1px solid rgba(240, 201, 104, 0.22);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
}

.basket-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.basket-panel .order-eyebrow,
.review-summary .order-eyebrow {
  color: #75550d;
}

.basket-panel h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.basket-count {
  min-width: 38px;
  height: 38px;
  padding-inline: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--gold-bright);
  font-size: 13px;
  font-weight: 900;
}

.basket-empty {
  min-height: 190px;
  padding: 24px 8px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.basket-empty > span {
  position: relative;
  width: 44px;
  height: 34px;
  margin-bottom: 15px;
  border: 2px solid #9c825b;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.basket-empty > span::before {
  position: absolute;
  top: -9px;
  left: 9px;
  width: 22px;
  height: 12px;
  content: "";
  border: 2px solid #9c825b;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.basket-empty strong {
  font-family: var(--serif);
  font-size: 20px;
}

.basket-empty p {
  max-width: 230px;
  margin: 5px 0 0;
  color: var(--paper-muted);
  font-size: 12px;
}

.basket-items {
  margin-top: 18px;
  display: grid;
}

.basket-item,
.review-item {
  padding-block: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  border-top: 1px solid var(--paper-line);
}

.basket-item__copy,
.review-item__copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 3px;
}

.basket-item__copy strong,
.review-item__copy strong {
  overflow-wrap: anywhere;
}

.basket-item__copy small,
.review-item__copy small {
  color: #675a4f;
  font-size: 11px;
}

.basket-item__copy span,
.review-item__copy span {
  color: #6e6257;
  font-size: 11px;
}

.basket-item__controls,
.review-item__controls {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.basket-item--frozen,
.review-item--frozen {
  grid-template-columns: minmax(0, 1fr);
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 46px minmax(42px, auto) 46px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: var(--paper);
}

.quantity-control button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: #2f231a;
  border: 0;
  background: transparent;
  font-size: 20px;
}

.quantity-control button:hover:not(:disabled) {
  background: #f1e5cf;
}

.quantity-control button:disabled {
  color: #9f958b;
}

.quantity-control output {
  min-width: 40px;
  text-align: center;
  font-weight: 850;
}

.quantity-control--small {
  grid-template-columns: 44px minmax(30px, auto) 44px;
  border-radius: 9px;
}

.quantity-control--small button {
  min-width: 44px;
  min-height: 44px;
}

.basket-totals {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--paper-line);
}

.basket-totals > div,
.review-summary dl > div {
  min-height: 30px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.basket-totals dt,
.review-summary dt {
  color: #65594e;
  font-size: 12px;
}

.basket-totals dd,
.review-summary dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.basket-totals__final {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--paper-line);
}

.basket-totals__final dt,
.basket-totals__final dd {
  color: #24190f;
  font-size: 20px;
  font-weight: 900;
}

.basket-message {
  margin: 12px 0 16px;
  color: #5f5145;
  font-size: 11px;
}

.primary-button {
  min-height: 50px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  border: 1px solid #efcb72;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 9px 22px rgba(137, 85, 12, 0.2);
  font-size: 13px;
  font-weight: 900;
}

.primary-button:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.primary-button:disabled {
  opacity: 0.48;
}

.basket-panel > .primary-button {
  width: 100%;
}

.hosted-note {
  margin: 13px 0 0;
  color: #675a4f;
  font-size: 10px;
  text-align: center;
}

.order-footer {
  border-top: 1px solid var(--line);
  background: #100c09;
}

.order-footer__grid {
  padding-block: 56px 44px;
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) minmax(170px, 0.7fr) minmax(210px, 0.8fr);
  gap: 44px;
}

.order-footer__grid > div:first-child > p {
  max-width: 310px;
  margin: 18px 0 0;
  color: #b4a698;
  font-size: 14px;
}

.order-footer h2 {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.order-footer nav,
.order-footer__grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.order-footer nav a,
.order-footer__grid > div:last-child a {
  min-height: 44px;
  margin-left: -6px;
  padding-inline: 6px;
  display: inline-flex;
  align-items: center;
  color: #d2c6b9;
  font-size: 14px;
  text-underline-offset: 4px;
}

.order-footer__grid > div:last-child p {
  margin: 0;
  color: #c1b4a6;
  font-size: 14px;
  line-height: 1.6;
}

.order-footer__bottom {
  min-height: 78px;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #bdb0a3;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  text-align: center;
}

.order-footer__bottom p {
  margin: 0;
}

.order-footer__bottom strong {
  color: var(--cream);
}

.mobile-basket-bar {
  display: none;
}

.order-dialog {
  width: min(100% - 28px, 720px);
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: visible;
  color: #2a2119;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.order-dialog::backdrop {
  background: rgba(11, 7, 4, 0.78);
  backdrop-filter: blur(5px);
}

.order-dialog__surface {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid #dbc8a9;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(7, 3, 1, 0.46);
  scrollbar-width: thin;
}

.review-dialog {
  width: min(100% - 28px, 1100px);
}

.dialog-close {
  position: sticky;
  z-index: 4;
  top: 14px;
  float: right;
  width: 44px;
  height: 44px;
  margin: 14px 14px -58px 0;
  display: grid;
  place-items: center;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(21, 16, 12, 0.84);
  font-size: 27px;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--ink);
}

.product-dialog__intro,
.review-dialog__intro {
  padding: 42px 76px 34px 38px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(217, 95, 40, 0.16), transparent 60%),
    var(--ink-soft);
}

.product-dialog__intro .order-eyebrow,
.review-dialog__intro .order-eyebrow {
  color: var(--gold-bright);
}

.product-dialog__intro h2,
.review-dialog__intro h2 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.product-dialog__intro p:not(.order-eyebrow),
.review-dialog__intro p:not(.order-eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: #d6cabc;
}

.product-dialog__intro > strong {
  margin-top: 16px;
  display: block;
  color: var(--gold-bright);
  font-size: 17px;
}

.form-error-summary {
  margin: 26px 38px 0;
  padding: 18px 20px;
  color: #4a1710;
  border: 2px solid #b84935;
  border-radius: 12px;
  background: #fae4de;
}

.form-error-summary h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.option-groups {
  padding: 8px 38px 0;
}

.option-group {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--paper-line);
}

.option-group legend {
  width: 100%;
  padding: 0 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.option-group legend > span {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.option-group legend small {
  color: #66584c;
  font-size: 11px;
  font-weight: 700;
}

.option-choice {
  min-height: 56px;
  margin-top: 8px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: var(--paper-soft);
  cursor: pointer;
}

.option-choice:has(input:checked) {
  border-color: #bb8413;
  background: #faedcf;
  box-shadow: inset 0 0 0 1px #d9a22e;
}

.option-choice:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.65;
}

.option-choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #a66f08;
}

.option-choice > span:nth-child(2) {
  display: grid;
}

.option-choice small {
  color: #6f6256;
  font-size: 11px;
}

.option-choice__price {
  font-size: 12px;
  font-weight: 800;
}

.product-quantity {
  padding: 26px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-quantity > div:first-child {
  display: grid;
}

.product-quantity > div:first-child strong {
  font-family: var(--serif);
  font-size: 21px;
}

.product-quantity > div:first-child span {
  color: #66594d;
  font-size: 12px;
}

.dialog-action-bar {
  position: sticky;
  z-index: 3;
  bottom: 0;
  padding: 18px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--paper-line);
  background: rgba(255, 250, 240, 0.97);
  backdrop-filter: blur(10px);
}

.dialog-action-bar > div {
  display: grid;
}

.dialog-action-bar small {
  color: #66584c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dialog-action-bar > div strong {
  font-size: 21px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
}

.review-details {
  padding: 10px 38px 38px;
}

.review-section {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--paper-line);
}

.review-section__heading,
.collection-choice > legend {
  width: 100%;
  padding: 0 0 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.review-section__heading > span,
.collection-choice > legend > span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #38270c;
  border-radius: 50%;
  background: #f1d383;
  font-size: 11px;
  font-weight: 900;
}

.review-section h3,
.collection-choice legend strong {
  margin: 0;
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.15;
}

.review-section__heading p,
.collection-choice legend small {
  margin: 4px 0 0;
  display: block;
  color: #66594d;
  font-family: var(--sans);
  font-size: 12px;
}

.review-item:first-child {
  border-top: 0;
}

.choice-card {
  min-height: 64px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #c7962e;
  border-radius: 12px;
  background: #faedcf;
}

.choice-card input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #9a6706;
}

.choice-card > span {
  display: grid;
}

.choice-card small {
  color: #605144;
  font-size: 11px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-fields label {
  display: grid;
  gap: 7px;
  color: #2f241c;
  font-size: 12px;
  font-weight: 850;
}

.contact-fields label span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.contact-fields label small {
  color: #6a5b4f;
  font-size: 10px;
  font-weight: 700;
}

.contact-fields input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  color: #2a2119;
  border: 1px solid #cdbb9d;
  border-radius: 10px;
  background: #fffdf8;
}

.contact-fields input:focus {
  border-color: #a66f08;
  outline-color: #9c6c0d;
}

#phone-help {
  grid-column: 1 / -1;
  margin: -5px 0 0;
  color: #66594d;
  font-size: 11px;
}

.review-summary {
  position: sticky;
  top: 0;
  min-height: 100%;
  padding: 34px 28px;
  border-left: 1px solid var(--paper-line);
  background: var(--paper-soft);
}

.review-summary h3 {
  margin: 5px 0 20px;
  font-family: var(--serif);
  font-size: 30px;
}

.review-summary dl {
  margin: 0;
}

.review-summary dl > div:last-child {
  min-height: 54px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #ccbaa0;
}

.review-summary dl > div:last-child dt,
.review-summary dl > div:last-child dd {
  color: #251a11;
  font-size: 20px;
  font-weight: 900;
}

.review-submit-message {
  min-height: 38px;
  margin: 14px 0 7px;
  color: #5f4309;
  font-size: 11px;
  font-weight: 750;
}

.review-summary .primary-button {
  width: 100%;
  text-align: left;
}

.review-summary > p:not(.order-eyebrow, .review-submit-message) {
  margin: 13px 0 0;
  color: #615449;
  font-size: 10px;
}

.review-summary a {
  color: #684a08;
  font-weight: 800;
  text-underline-offset: 3px;
}

.noscript-message {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px;
  color: #2b2119;
  border: 2px solid var(--orange);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

@keyframes order-spin {
  to {
    transform: rotate(360deg);
  }
}

.ordering-preview-notice {
  position: relative;
  z-index: 30;
  color: var(--ink);
  border-bottom: 1px solid rgba(228, 170, 22, 0.72);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 42%),
    var(--gold-bright);
  box-shadow: 0 14px 32px rgba(21, 16, 12, 0.14);
}

.ordering-preview-notice__inner {
  min-height: 76px;
  padding-block: 13px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.ordering-preview-notice__badge {
  min-height: 34px;
  padding: 7px 11px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(47, 36, 29, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ordering-preview-notice strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.15;
}

.ordering-preview-notice p {
  margin: 3px 0 0;
  color: #5c4413;
  font-size: 12px;
}

body[data-ordering-preview="true"] .order-hero {
  border-bottom-color: rgba(228, 170, 22, 0.42);
}

body[data-ordering-preview="true"] .pickup-card {
  box-shadow:
    0 0 0 3px rgba(228, 170, 22, 0.12),
    var(--shadow);
}

body[data-ordering-preview="true"] [data-preview-checkout="true"] {
  color: var(--paper);
  border-color: var(--gold);
  background: var(--ink);
  box-shadow: none;
}

body[data-ordering-preview="true"] [data-preview-checkout="true"]:hover:not(:disabled) {
  filter: none;
  transform: none;
}

body[data-ordering-preview="true"] [data-preview-sensitive]:disabled {
  color: var(--muted);
  border-style: dashed;
  background: var(--cyan-soft);
  opacity: 1;
}

@media (max-width: 720px) {
  .ordering-preview-notice__inner {
    padding-block: 15px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ordering-preview-notice__badge {
    width: max-content;
  }
}

@media (max-width: 1040px) {
  .ordering-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .order-header__link {
    display: none;
  }

  .order-hero__inner {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 36px;
  }

  .ordering-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .basket-panel {
    position: static;
    max-height: none;
  }

  .order-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-summary {
    position: static;
    border-top: 1px solid var(--paper-line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  body:has(.mobile-basket-bar:not([hidden])) {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .order-shell {
    width: min(100% - 28px, 1180px);
  }

  .order-header__inner {
    min-height: 68px;
    gap: 14px;
  }

  .order-brand__mark {
    width: 34px;
    height: 34px;
  }

  .order-brand__copy strong {
    font-size: 16px;
  }

  .order-header__status {
    max-width: 150px;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .order-hero__inner {
    min-height: 0;
    padding-block: 56px 46px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .order-hero h1 {
    font-size: clamp(52px, 15vw, 74px);
  }

  .pickup-card {
    min-height: 190px;
    padding: 58px 26px 26px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pickup-card__number {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
  }

  .return-panel__card {
    padding: 22px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
  }

  .return-panel__mark {
    width: 42px;
    height: 42px;
  }

  .order-section {
    padding-block: 38px 76px;
  }

  .allergen-notice {
    padding: 18px;
  }

  .menu-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .menu-heading > p {
    max-width: 440px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .order-footer__grid {
    grid-template-columns: 1fr;
  }

  .order-footer__grid > div:first-child {
    grid-column: auto;
  }

  .order-footer__bottom {
    padding-block: 24px max(24px, env(safe-area-inset-bottom));
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .mobile-basket-bar {
    position: fixed;
    z-index: 120;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    min-height: 62px;
    padding: 9px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink);
    border: 1px solid #f8dd91;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 16px 42px rgba(8, 4, 2, 0.48);
  }

  .mobile-basket-bar:not([hidden]) {
    display: flex;
  }

  .mobile-basket-bar > span:first-child {
    display: grid;
    text-align: left;
  }

  .mobile-basket-bar small {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-basket-bar strong {
    font-size: 14px;
  }

  .order-dialog {
    width: 100%;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .order-dialog__surface {
    max-height: 94dvh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .product-dialog__intro,
  .review-dialog__intro {
    padding: 38px 68px 28px 24px;
  }

  .option-groups,
  .review-details {
    padding-right: 24px;
    padding-left: 24px;
  }

  .form-error-summary {
    margin-right: 24px;
    margin-left: 24px;
  }

  .product-quantity,
  .dialog-action-bar {
    padding-right: 24px;
    padding-left: 24px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }

  #phone-help {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .order-brand__copy small {
    display: none;
  }

  .order-header__status {
    max-width: 132px;
    font-size: 10.5px;
  }

  .order-hero__inner > div:first-child > p:last-child {
    font-size: 16px;
  }

  .allergen-notice {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 13px;
  }

  .allergen-notice__icon {
    width: 32px;
    height: 32px;
  }

  .order-state {
    padding: 28px 20px;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .basket-panel {
    padding: 21px 18px;
  }

  .product-card__copy {
    padding: 20px;
  }

  .product-quantity {
    align-items: flex-start;
    flex-direction: column;
  }

  .dialog-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-action-bar .primary-button {
    width: 100%;
  }

  .option-group legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 330px) {
  .order-brand__copy {
    display: none;
  }

  .order-header__status {
    max-width: 180px;
  }

  .product-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-preference="full"]) {
    scroll-behavior: auto;
  }

  html:not([data-motion-preference="full"]) *,
  html:not([data-motion-preference="full"]) *::before,
  html:not([data-motion-preference="full"]) *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .order-brand__mark,
  .product-card,
  .basket-panel,
  .order-dialog__surface,
  .option-choice,
  .choice-card {
    border: 1px solid CanvasText;
  }
}
