:root {
  --tomato: #d62828;
  --basil: #146b3a;
  --orange: #f77f00;
  --cream: #fff8ec;
  --paper: #ffffff;
  --charcoal: #1f1f1f;
  --muted: #6d6a62;
  --line: #e8dcc7;
  --gold: #ffd166;
  --shadow: 0 16px 38px rgb(31 31 31 / 12%);
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: #ede4d5;
  color: var(--charcoal);
  font-family: var(--font);
  overflow-x: hidden;
}

body.has-modal {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  align-items: center;
  background: rgb(255 248 236 / 94%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 44px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  filter: drop-shadow(0 5px 10px rgb(38 23 18 / 18%));
  height: 54px;
  object-fit: contain;
  width: 118px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--tomato), var(--orange));
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.header-contact {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  gap: 4px 10px;
  justify-content: flex-end;
  line-height: 1.25;
  min-width: 0;
}

.header-contact span,
.header-contact a {
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

.header-contact a {
  color: var(--charcoal);
}

.icon-button,
.product-card button {
  align-items: center;
  background: var(--tomato);
  border: 0;
  border-radius: 14px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.shop-shell {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  margin: 0 auto;
  max-width: 1220px;
  padding: 24px clamp(16px, 4vw, 44px) 40px;
}

.menu-area {
  min-width: 0;
}

.status-band {
  background: linear-gradient(135deg, #261712, var(--tomato) 56%, var(--orange));
  border-radius: 26px;
  color: white;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  min-height: 220px;
  overflow: hidden;
  padding: clamp(22px, 5vw, 38px);
}

.status-content {
  min-width: 0;
}

.status-band h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 16px 0 0;
  max-width: 760px;
}

.storefront-subheading {
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 850;
  line-height: 1.35;
  margin: 12px 0 0;
  max-width: 620px;
}

.storefront-hero-image {
  align-self: stretch;
  background-position: center;
  background-size: cover;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgb(31 31 31 / 18%);
  min-height: 150px;
}

.delivery-promise {
  align-self: end;
  background: rgb(255 255 255 / 18%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 18px;
  font-weight: 800;
  grid-column: 1;
  margin: 0;
  padding: 14px 16px;
}

.status-pill {
  background: #eaf8ee;
  border-radius: 999px;
  color: var(--basil);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.status-pill.is-paused {
  background: #fff2d1;
  color: #7a3d00;
}

.search-box {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  margin: 18px 0;
  padding: 0 14px;
}

.search-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input {
  background: transparent;
  border: 0;
  min-height: 52px;
  outline: 0;
  width: 100%;
}

.category-strip {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0 0 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 3px 2px 15px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
  height: 0;
}

.category-scroll-indicator {
  background: #eadfce;
  border-radius: 999px;
  cursor: pointer;
  height: 6px;
  margin: 0 4px 18px;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.category-scroll-indicator[hidden] {
  display: none;
}

.category-scroll-indicator span {
  background: #d62828;
  border-radius: inherit;
  cursor: grab;
  display: block;
  height: 100%;
  min-width: 34px;
  transform: translateX(0);
  transition: transform 120ms ease, width 120ms ease;
  width: 34%;
}

.category-scroll-indicator.is-dragging,
.category-scroll-indicator.is-dragging span {
  cursor: grabbing;
}

.category-scroll-indicator.is-dragging span {
  transition: none;
}

.category-strip button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgb(31 31 31 / 7%);
  color: var(--charcoal);
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 850;
  min-height: 42px;
  padding: 0 17px;
  scroll-snap-align: start;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.category-strip button[aria-pressed="true"] {
  background: #1f1f1f;
  border-color: #1f1f1f;
  box-shadow: 0 10px 22px rgb(31 31 31 / 14%);
  color: white;
}

.category-strip button:focus-visible {
  outline: 3px solid rgb(247 127 0 / 36%);
  outline-offset: 2px;
}

.category-strip button:hover {
  transform: translateY(-1px);
}

.product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: 92px minmax(0, 1fr) 44px;
  min-height: 130px;
  padding: 14px;
}

.product-card.is-sold-out {
  opacity: 0.62;
}

.product-card.is-sold-out button,
.product-card button:disabled {
  background: #c9beb0;
  cursor: not-allowed;
}

.food-visual {
  border-radius: 18px;
  height: 92px;
}

.food-visual.has-image {
  background: #f7f1e8;
  overflow: hidden;
}

.food-visual.has-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.food-visual.pizza {
  background:
    radial-gradient(circle at 45% 45%, var(--gold) 0 38%, #e07a31 39% 45%, #9f451a 46% 48%, transparent 49%),
    radial-gradient(circle at 34% 35%, var(--tomato) 0 7%, transparent 8%),
    radial-gradient(circle at 62% 58%, var(--basil) 0 6%, transparent 7%),
    #f8eedc;
}

.food-visual.kebab {
  background: linear-gradient(135deg, #f0b66b 0 42%, #d78042 43% 50%, #e7b76e 51% 100%);
}

.food-visual.burger {
  background: linear-gradient(#e9a451 0 28%, var(--gold) 29% 36%, #654321 37% 50%, var(--basil) 51% 60%, var(--tomato) 61% 68%, #e9a451 69% 100%);
}

.food-visual.salad {
  background:
    radial-gradient(circle at 30% 35%, #45a049 0 10%, transparent 11%),
    radial-gradient(circle at 64% 55%, var(--basil) 0 12%, transparent 13%),
    radial-gradient(circle at 45% 70%, var(--tomato) 0 8%, transparent 9%),
    #eaf8ee;
}

.food-visual.drinks {
  background: linear-gradient(90deg, var(--tomato) 0 35%, white 36% 44%, #111 45% 100%);
}

.product-copy h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.product-copy p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 8px;
}

.cart-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  height: max-content;
  padding: 20px;
  position: sticky;
  top: 86px;
}

.cart-drawer-toggle {
  display: none;
}

.entry-intake-modal {
  align-items: center;
  background: rgb(31 31 31 / 54%);
  display: grid;
  inset: 0;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.entry-intake-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 58px rgb(31 31 31 / 24%);
  display: grid;
  gap: 14px;
  justify-self: center;
  max-height: min(88dvh, 680px);
  max-width: 560px;
  overflow-y: auto;
  padding: 22px;
  width: min(100%, 560px);
}

.entry-brand-logo {
  display: block;
  filter: drop-shadow(0 8px 18px rgb(38 23 18 / 20%));
  height: auto;
  margin: -4px auto 2px;
  max-width: 178px;
  width: min(42vw, 178px);
}

.entry-intake-card .eyebrow {
  color: var(--tomato);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.entry-intake-card h2 {
  font-size: 28px;
  line-height: 1.08;
  margin: 0;
}

.entry-intake-copy {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.entry-service-switch {
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 12px;
}

.entry-service-switch legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 0 6px;
}

.entry-service-switch label {
  background: #f7f1e8;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  padding: 12px;
}

.entry-service-switch label:has(input:checked) {
  background: #eaf8ee;
  border-color: rgb(20 107 58 / 30%);
}

.entry-service-switch input {
  accent-color: var(--basil);
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.entry-service-switch span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.entry-service-switch strong {
  font-size: 15px;
}

.entry-service-switch small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.entry-delivery-fields {
  background: #f7f1e8;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.entry-delivery-fields.ok {
  background: #eaf8ee;
}

.entry-delivery-fields.is-error {
  background: #fff2d1;
}

.entry-delivery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(88px, 0.55fr) minmax(0, 1fr);
}

.entry-delivery-fields label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
}

.entry-delivery-fields input {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--charcoal);
  min-height: 44px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.entry-delivery-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  margin: 0;
}

.entry-delivery-fields.ok .entry-delivery-status {
  color: var(--basil);
}

.entry-delivery-fields.is-error .entry-delivery-status {
  color: #7a3d00;
}

.service-summary-button {
  align-self: end;
  background: rgb(255 255 255 / 18%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 16px;
  color: white;
  cursor: pointer;
  font-weight: 900;
  grid-column: 2;
  min-height: 46px;
  padding: 0 14px;
}

.customize-modal {
  align-items: center;
  display: grid;
  inset: 0;
  padding: 18px;
  position: fixed;
  z-index: 40;
}

.customize-backdrop {
  background: rgb(31 31 31 / 48%);
  inset: 0;
  position: absolute;
}

.customize-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 54px rgb(31 31 31 / 24%);
  display: grid;
  gap: 14px;
  justify-self: center;
  max-height: min(86dvh, 720px);
  max-width: 560px;
  overflow-y: auto;
  padding: 18px;
  position: relative;
  width: min(100%, 560px);
}

.customize-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.customize-head h2 {
  font-size: 24px;
  margin: 2px 0 6px;
}

.customize-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.customize-options {
  display: grid;
  gap: 12px;
}

.option-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
}

.option-group legend {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 0 3px;
  width: 100%;
}

.option-group legend span {
  font-weight: 900;
}

.option-group legend small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.option-choice {
  align-items: center;
  background: #f7f1e8;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 44px;
  padding: 9px 10px;
}

.option-choice:has(input:checked) {
  background: #eaf8ee;
  border-color: rgb(20 107 58 / 30%);
}

.option-choice input {
  accent-color: var(--basil);
  height: 18px;
  width: 18px;
}

.option-choice span,
.option-choice strong {
  font-size: 13px;
}

.option-choice strong {
  color: var(--basil);
  white-space: nowrap;
}

.item-note {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
}

.item-note textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--charcoal);
  min-height: 82px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

.customize-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  min-height: 18px;
}

.customize-message.is-error {
  color: var(--tomato);
}

.customize-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding-top: 14px;
}

.customize-actions strong {
  font-size: 20px;
  white-space: nowrap;
}

.cart-head,
.cart-line,
.cart-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-head h2 {
  margin: 0;
}

.cart-head span {
  color: var(--muted);
  font-weight: 800;
}

.tax-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: -4px 0 8px;
}

.account-box {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px 0;
}

.account-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.account-head h3 {
  font-size: 16px;
  margin: 0;
}

.account-head p,
.account-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin: 3px 0 0;
}

.account-message.is-error {
  color: var(--tomato);
}

.account-mode {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-mode button,
.text-button,
.secondary-action {
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.account-mode button {
  background: #f7f1e8;
  border-radius: 12px;
  color: var(--charcoal);
  font-size: 13px;
  min-height: 40px;
  min-width: 0;
  padding: 0 8px;
}

.account-mode button[aria-pressed="true"] {
  background: var(--charcoal);
  color: white;
}

.text-button {
  background: transparent;
  color: var(--tomato);
  padding: 0;
}

.account-form,
.account-profile-fields {
  display: grid;
  gap: 8px;
}

.account-form label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
}

.account-form input {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--charcoal);
  min-height: 42px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.secondary-action {
  background: var(--charcoal);
  border-radius: 14px;
  color: white;
  min-height: 44px;
  width: 100%;
}

.secondary-action:disabled {
  background: #c9beb0;
  cursor: not-allowed;
}

.account-orders {
  display: grid;
  gap: 7px;
}

.account-orders strong {
  font-size: 12px;
  text-transform: uppercase;
}

.account-order-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.account-order-list span {
  background: #eaf8ee;
  border-radius: 999px;
  color: var(--basil);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
}

.service-switch {
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0;
  padding: 12px;
}

.service-switch legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 0 6px;
}

.service-switch label {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 8px;
}

.delivery-precheck {
  background: #f7f1e8;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px;
}

.delivery-precheck.ok {
  background: #eaf8ee;
}

.delivery-precheck.is-error {
  background: #fff2d1;
}

.delivery-precheck h3 {
  font-size: 14px;
  margin: 0;
}

.delivery-precheck p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin: 4px 0 0;
}

.delivery-precheck.ok p {
  color: var(--basil);
}

.delivery-precheck.is-error p {
  color: #7a3d00;
}

.delivery-precheck-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(82px, 0.55fr) minmax(0, 1fr);
}

.delivery-precheck label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
}

.delivery-precheck input {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--charcoal);
  min-height: 42px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.town-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.town-choice-list button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  min-height: 40px;
  padding: 0 12px;
}

.town-choice-list button[aria-pressed="true"] {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.cart-lines {
  min-height: 92px;
}

.cart-line {
  border-bottom: 1px solid #f0e7d7;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
}

.cart-line-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-line-options,
.cart-line-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.cart-line-note {
  color: #4a2f00;
}

.empty-cart {
  color: var(--muted);
  font-weight: 700;
}

.promotion-box {
  background: #f7f1e8;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.promotion-box label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.promotion-box div {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.promotion-box input {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  padding: 0 12px;
}

.promotion-box button {
  background: var(--charcoal);
  border: 0;
  border-radius: 12px;
  color: white;
  font-weight: 900;
  min-height: 42px;
  padding: 0 12px;
}

.promotion-box p {
  color: #4a2f00;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.minimum-box {
  background: #fff2d1;
  border-radius: 16px;
  color: #4a2f00;
  font-weight: 850;
  margin: 16px 0;
  padding: 14px;
}

.minimum-box.ok {
  background: #eaf8ee;
  color: var(--basil);
}

.checkout-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
}

.checkout-form-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.checkout-form-head h3 {
  font-size: 16px;
  margin: 0;
}

.checkout-form-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin: 3px 0 0;
}

.checkout-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.checkout-form label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--charcoal);
  font-size: 16px;
  min-width: 0;
  padding: 10px 12px;
  width: 100%;
}

.checkout-form textarea {
  min-height: 62px;
  resize: vertical;
}

.checkout-form .span-2 {
  grid-column: 1 / -1;
}

.payment-methods {
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
}

.payment-methods legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 0 6px;
}

.payment-method-list {
  display: grid;
  gap: 8px;
}

.payment-option {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  padding: 10px 12px;
}

.payment-option:has(input:checked) {
  border-color: var(--tomato);
  box-shadow: 0 0 0 2px rgba(214, 40, 40, 0.12);
}

.payment-option input {
  accent-color: var(--tomato);
  border: 0;
  height: 18px;
  margin: 0;
  padding: 0;
  width: 18px;
}

.payment-option span {
  display: grid;
  gap: 2px;
}

.payment-option strong {
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.2;
}

.payment-option small,
.payment-message,
.payment-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.checkout-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  min-height: 18px;
}

.checkout-message.is-ok {
  color: var(--basil);
}

.checkout-message.is-error {
  color: var(--tomato);
}

.checkout-message.has-status {
  color: var(--charcoal);
}

.order-status-card {
  background: #f7f1e8;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.order-status-head {
  display: grid;
  gap: 4px;
}

.order-status-head h3,
.order-status-head p {
  margin: 0;
}

.order-status-head h3 {
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.15;
}

.order-status-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-status-estimate {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.order-status-estimate span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.order-status-estimate strong {
  color: var(--basil);
  font-size: 20px;
  line-height: 1;
}

.order-status-steps {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-status-step {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
}

.order-status-marker {
  background: #d8c8b2;
  border: 3px solid #f7f1e8;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  height: 16px;
  margin-top: 2px;
  width: 16px;
}

.order-status-step.is-current .order-status-marker,
.order-status-step.is-done .order-status-marker {
  background: var(--basil);
}

.order-status-step strong {
  color: var(--charcoal);
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.order-status-step small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  margin-top: 2px;
}

.order-status-step.is-pending {
  opacity: 0.7;
}

.order-status-meta {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0;
  padding-top: 12px;
}

.order-status-meta dt,
.order-status-meta dd {
  font-size: 12px;
  font-weight: 850;
  margin: 0;
}

.order-status-meta dt {
  color: var(--muted);
}

.order-status-meta dd {
  color: var(--charcoal);
  text-align: right;
}

.order-status-actions {
  display: grid;
  gap: 10px;
}

.notification-permission-card {
  align-items: center;
  background: #e9f8ef;
  border: 1px solid #b8e5c8;
  border-radius: 16px;
  color: var(--charcoal);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px;
}

.notification-permission-card strong,
.notification-permission-card small {
  display: block;
}

.notification-permission-card strong {
  color: var(--basil);
  font-size: 14px;
}

.notification-permission-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 3px;
}

.notification-permission-card .secondary-action {
  margin: 0;
  min-height: 44px;
}

.cart-total {
  font-size: 22px;
  font-weight: 900;
  margin: 18px 0;
}

.primary-action {
  background: var(--tomato);
  border: 0;
  border-radius: 16px;
  color: white;
  cursor: pointer;
  font-weight: 900;
  min-height: 52px;
  width: 100%;
}

.primary-action:disabled {
  background: #c9beb0;
  cursor: not-allowed;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 clamp(16px, 4vw, 44px) 34px;
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--charcoal);
  font-size: 14px;
}

.site-footer span,
.site-footer a {
  font-size: 12px;
  font-weight: 850;
}

.site-footer a {
  color: #006eb6;
  text-decoration: none;
}

.legal-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}

.legal-page {
  background:
    linear-gradient(180deg, rgb(214 40 40 / 9%), transparent 280px),
    #f4efe7;
  min-height: 100vh;
}

.legal-shell {
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(20px, 5vw, 52px);
}

.legal-top {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.legal-brand {
  align-items: center;
  color: var(--charcoal);
  display: inline-flex;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
}

.legal-brand img {
  display: block;
  height: 54px;
  object-fit: contain;
  width: 82px;
}

.legal-back-link {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.legal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 46px);
}

.legal-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 8px 0 10px;
}

.legal-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 18px;
}

.legal-notice {
  background: #fff7d7;
  border: 1px solid #ead889;
  border-radius: 12px;
  color: #6d5610;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 24px;
  padding: 12px 14px;
}

.legal-body {
  display: grid;
  gap: 20px;
}

.legal-body section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.legal-body section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-body h2 {
  font-size: 1.08rem;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.legal-body p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
}

.offline-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.offline-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 420px;
  padding: 28px;
}

@media (max-width: 880px) {
  body {
    background: #f4efe7;
    -webkit-tap-highlight-color: transparent;
  }

  .topbar {
    gap: 10px;
    padding: 10px 14px;
  }

  .topbar-actions {
    flex: 1 1 auto;
    gap: 8px;
    justify-content: flex-end;
  }

  .header-contact {
    display: grid;
    font-size: 11px;
    gap: 2px;
    justify-items: end;
    max-width: min(50vw, 220px);
    text-align: right;
  }

  .header-contact span,
  .header-contact a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  .legal-top {
    align-items: flex-start;
    display: grid;
  }

  .brand-mark {
    border-radius: 11px;
    height: 36px;
    width: 36px;
  }

  .brand-logo {
    height: 46px;
    width: 100px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  .shop-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 12px min(52dvh, 470px);
  }

  .status-band {
    border-radius: 20px;
    gap: 10px;
    grid-template-columns: 1fr;
    min-height: 116px;
    padding: 16px;
  }

  .status-band h1 {
    font-size: 24px;
    line-height: 1.05;
    margin-top: 10px;
  }

  .storefront-subheading {
    font-size: 14px;
    margin-top: 8px;
  }

  .storefront-hero-image {
    border-radius: 16px;
    min-height: 118px;
  }

  .delivery-promise {
    align-self: start;
    border-radius: 14px;
    font-size: 13px;
    grid-column: auto;
    padding: 10px 12px;
  }

  .service-summary-button {
    grid-column: auto;
    min-height: 44px;
    width: 100%;
  }

  .entry-intake-modal {
    align-items: end;
    padding: 0;
  }

  .entry-intake-card {
    border-radius: 22px 22px 0 0;
    max-height: min(92dvh, 760px);
    max-width: none;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    width: 100%;
  }

  .entry-brand-logo {
    max-width: 136px;
    width: min(38vw, 136px);
  }

  .entry-intake-card h2 {
    font-size: 24px;
  }

  .entry-service-switch {
    grid-template-columns: 1fr;
  }

  .entry-service-switch label {
    min-height: 62px;
  }

  .entry-delivery-grid {
    grid-template-columns: minmax(82px, 0.48fr) minmax(0, 1fr);
  }

  .entry-delivery-fields input {
    font-size: 16px;
    min-height: 46px;
  }

  .status-pill {
    font-size: 12px;
    padding: 7px 10px;
  }

  .search-box {
    border-radius: 14px;
    margin: 10px 0 8px;
  }

  .search-box input {
    min-height: 46px;
  }

  .category-strip {
    background: #f4efe7;
    margin: 0 -12px 6px;
    padding: 9px 12px 11px;
    position: sticky;
    top: 58px;
    z-index: 8;
  }

  .category-scroll-indicator {
    margin: 0 0 10px;
  }

  .category-strip button {
    border-radius: 14px;
    min-height: 44px;
    padding: 0 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card {
    border-radius: 18px;
    box-shadow: 0 8px 20px rgb(31 31 31 / 8%);
    gap: 10px;
    grid-template-columns: 74px minmax(0, 1fr) 42px;
    min-height: 102px;
    padding: 10px;
  }

  .food-visual {
    border-radius: 15px;
    height: 74px;
  }

  .product-copy h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .product-copy p {
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 6px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-card button {
    border-radius: 13px;
    height: 44px;
    width: 44px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .cart-panel {
    border-radius: 22px 22px 0 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    max-height: min(40dvh, 350px);
    overscroll-behavior: contain;
    overflow-y: auto;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    top: auto;
    z-index: 20;
    box-shadow: 0 -18px 38px rgb(31 31 31 / 18%);
  }

  .cart-drawer-toggle {
    align-self: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    flex: 0 0 auto;
    height: 24px;
    margin: -4px 0 4px;
    order: 0;
    padding: 0;
    position: relative;
    width: 72px;
  }

  .cart-drawer-toggle,
  .cart-head,
  .cart-total {
    touch-action: none;
  }

  .cart-head,
  .cart-total {
    cursor: grab;
  }

  .cart-drawer-toggle::before {
    background: #d8c8b2;
    border-radius: 999px;
    content: "";
    height: 4px;
    left: 15px;
    position: absolute;
    right: 15px;
    top: 10px;
  }

  .cart-panel.is-compact {
    max-height: 96px;
    overflow: hidden;
  }

  .cart-panel.is-compact .service-switch,
  .cart-panel.is-compact .delivery-precheck,
  .cart-panel.is-compact .minimum-box,
  .cart-panel.is-compact .account-box,
  .cart-panel.is-compact .checkout-form,
  .cart-panel.is-compact .checkout-message,
  .cart-panel.is-compact .cart-lines,
  .cart-panel.is-compact .promotion-box,
  .cart-panel.is-compact #checkoutButton {
    display: none;
  }

  .cart-panel.is-compact .cart-total {
    border-top: 1px solid var(--line);
    display: flex;
    margin-bottom: 0;
  }

  .cart-panel.has-items {
    max-height: min(46dvh, 420px);
  }

  .cart-panel.is-checkout-open {
    max-height: min(88dvh, 760px);
  }

  .cart-panel.is-account-open {
    max-height: min(76dvh, 680px);
  }

  .cart-panel.is-checkout-open.is-account-open {
    max-height: min(88dvh, 760px);
  }

  .cart-panel.is-tracking {
    border-radius: 0;
    bottom: 0;
    display: flex;
    left: 0;
    max-height: calc(100dvh - 68px);
    min-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    right: 0;
    top: 68px;
  }

  .cart-panel.is-tracking .cart-drawer-toggle,
  .cart-panel.is-tracking .service-switch,
  .cart-panel.is-tracking .delivery-precheck,
  .cart-panel.is-tracking .minimum-box,
  .cart-panel.is-tracking .account-box,
  .cart-panel.is-tracking .checkout-form,
  .cart-panel.is-tracking .cart-lines,
  .cart-panel.is-tracking .promotion-box,
  .cart-panel.is-tracking .cart-total,
  .cart-panel.is-tracking #checkoutButton {
    display: none;
  }

  .cart-panel.is-tracking .cart-head {
    border-bottom: 1px solid var(--line);
    cursor: default;
    margin: 0 0 12px;
    order: 0;
    padding-bottom: 12px;
  }

  .cart-panel.is-tracking .cart-head span {
    background: #eaf8ee;
    color: var(--basil);
  }

  .cart-panel.is-tracking .checkout-message {
    display: block;
    flex: 1 1 auto;
    order: 1;
  }

  .cart-panel.is-tracking .order-status-card {
    border-radius: 20px;
    gap: 16px;
    padding: 18px;
  }

  .cart-panel.is-tracking .order-status-head h3 {
    font-size: 22px;
  }

  .cart-panel.is-tracking .order-status-head p:not(.eyebrow) {
    font-size: 14px;
  }

  .cart-panel.is-tracking .order-status-steps {
    gap: 13px;
  }

  .cart-head {
    flex: 0 0 auto;
    order: 1;
  }

  .cart-head h2 {
    font-size: 18px;
  }

  .cart-head span {
    background: #f7f1e8;
    border-radius: 999px;
    padding: 6px 9px;
  }

  .service-switch {
    flex: 0 0 auto;
    margin: 10px 0;
    order: 5;
  }

  .delivery-precheck {
    flex: 0 0 auto;
    margin-bottom: 10px;
    order: 6;
    padding: 10px 12px;
  }

  .delivery-precheck-grid {
    grid-template-columns: minmax(72px, 0.46fr) minmax(0, 1fr);
  }

  .delivery-precheck input {
    font-size: 16px;
    min-height: 44px;
  }

  .town-choice-list button {
    font-size: 14px;
    min-height: 44px;
  }

  .minimum-box {
    flex: 0 0 auto;
    margin: 10px 0;
    order: 7;
    padding: 10px 12px;
  }

  .account-box,
  .checkout-form {
    flex: 0 0 auto;
    order: 4;
  }

  .account-box {
    background: #fbf7ef;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin: 10px 0;
    padding: 12px;
  }

  .account-mode {
    background: #f1e7d8;
    border-radius: 14px;
    gap: 4px;
    padding: 4px;
  }

  .account-mode button {
    border-radius: 11px;
    min-height: 44px;
  }

  .cart-total {
    background: var(--paper);
    flex: 0 0 auto;
    font-size: 20px;
    margin: 10px 0;
    order: 2;
    padding-top: 10px;
  }

  .cart-panel.is-compact .cart-head {
    margin-bottom: 4px;
  }

  #checkoutButton {
    box-shadow: 0 10px 24px rgb(31 31 31 / 16%);
    flex: 0 0 auto;
    order: 3;
  }

  .checkout-message {
    flex: 0 0 auto;
    order: 8;
  }

  .order-status-card {
    border-radius: 16px;
    gap: 12px;
    padding: 14px;
  }

  .order-status-head h3 {
    font-size: 18px;
  }

  .order-status-estimate strong {
    font-size: 18px;
  }

  .order-status-actions .secondary-action {
    min-height: 48px;
  }

  .cart-lines {
    flex: 0 0 auto;
    order: 9;
  }

  .promotion-box {
    flex: 0 0 auto;
    margin-top: 10px;
    order: 10;
    padding: 10px 12px;
  }

  .cart-panel:not(.has-items) .promotion-box,
  .cart-panel:not(.has-items) .minimum-box,
  .cart-panel:not(.has-items) .cart-total,
  .cart-panel:not(.has-items) #checkoutButton {
    display: none;
  }

  .cart-panel.is-compact:not(.has-items) .cart-total {
    display: flex;
  }

  .cart-lines {
    min-height: 0;
  }

  .cart-panel:not(.has-items) .cart-lines {
    display: none;
  }

  .cart-panel.has-items .cart-lines {
    max-height: 112px;
    overflow-y: auto;
  }

  .cart-panel.is-checkout-open .cart-lines,
  .cart-panel.is-account-open .cart-lines {
    max-height: 72px;
  }

  .promotion-box div {
    grid-template-columns: 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    background: #fbf7ef;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-top: 10px;
    padding: 12px;
  }

  .checkout-form .span-2 {
    grid-column: auto;
  }

  .customize-modal {
    align-items: end;
    padding: 0;
  }

  .customize-sheet {
    border-radius: 22px 22px 0 0;
    max-height: min(88dvh, 760px);
    max-width: none;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    width: 100%;
  }

  .customize-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 0 14px min(52dvh, 470px);
  }

}
