/* Design tokens mirror the reference funnel: dark olive brand, 10px control
   radius, 24px cards, Archivo Narrow headings at weight 500-600, a 1312px
   container and generous vertical rhythm. --accent is overridden at runtime from
   the store's profile accent color and is used only for small highlights. */

:root {
  --brand: #32332b;
  --brand-light: #383930;
  --brand-dark: #2c2c25;
  --on-brand: #ffffff;
  --accent: #db594b;

  --bg: #ffffff;
  --fg: #0d0d0d;
  --body-text: #4d4d4d;
  --muted-bg: #ebebec;
  --tertiary: #f6f6f6;
  --border: #e5e5e5;
  --danger: #b00020;

  --radius-control: 0.625rem;
  --radius-input: 0.625rem;
  --radius-card: 1.5rem;
  --radius-media: 1.5rem;
  --radius-pill: 9999px;

  --font-heading: "Archivo Narrow", "Arial Narrow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1312px;
  --gutter: 24px;
  --section-pad: 88px;

  --title-2xl: 1.75rem;
  --title-3xl: 2.5rem;
  --title-4xl: 3.5rem;
}

/* Self-hosted heading font (optional).
   Drop the woff2 files into fonts/ and uncomment:

@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo-narrow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo-narrow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*/

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

/* Keep [hidden] authoritative: several components below set an explicit display. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius-control);
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.title {
  font-family: var(--font-heading);
  font-size: var(--title-3xl);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

.body {
  color: var(--body-text);
  margin: 0.75rem 0 0;
  max-width: 40rem;
}

.body--center {
  margin-inline: auto;
  text-align: center;
}

.body--small {
  font-size: 0.9375rem;
}

.body--error {
  color: var(--danger);
}

.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.icon {
  flex: none;
}

.icon--chevron {
  transition: transform 0.2s ease;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  background: var(--brand-light);
}

.btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.btn--sm {
  padding: 8px 12px;
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* --- Notice --------------------------------------------------------------- */

.notice {
  margin: 0;
  padding: 10px 24px;
  background: var(--muted-bg);
  color: var(--fg);
  font-size: 0.875rem;
  text-align: center;
}

.notice--error {
  background: #fdecef;
  color: var(--danger);
}

/* --- Hero + nav ----------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 672px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 56px;
  color: #fff;
  background: var(--brand-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legibility scrim. It is a sibling overlay rather than a pseudo-element on the
   media, because the hero image is now a real <img> (crawlable, cacheable). */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62) 0, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.35) 100%);
}

.hero__media--empty {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
}

.nav {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 64px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  text-decoration: none;
}

.nav__logo {
  max-height: 48px;
  width: auto;
}

.nav__brandText {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--fg);
  padding: 0 8px;
}

.nav__pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.nav__link {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--fg);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav__cart {
  min-width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--muted-bg);
  color: var(--fg);
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--title-4xl);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 20ch;
}

/* --- Split sections ------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}

.split--reverse {
  grid-template-columns: 1fr 1.02fr;
}

.split--reverse .media {
  order: 2;
}

.media {
  display: block;
  width: 100%;
  border-radius: var(--radius-media);
  background-color: var(--muted-bg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media--empty {
  background-image: linear-gradient(135deg, #f2efe9, #e6e1d8);
}

.split__body .body {
  font-size: 1.0625rem;
}

.split__actions {
  margin-top: 24px;
}

/* --- Photo bands ---------------------------------------------------------- */

.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 64px var(--gutter);
  background-color: var(--brand-dark);
  overflow: hidden;
}

.band--empty {
  background-image: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
}

.band__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05) 60%);
}

.band__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: calc((100% - (var(--container) - var(--gutter) * 2)) / 2);
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--bg);
}

.band__card .body {
  font-size: 1.0625rem;
}

.band__actions {
  margin-top: 24px;
}

/* --- Menu (ordering layout) ----------------------------------------------- */

/* Slim, sticky header for the menu page (the landing page uses the hero nav). */
.pageBar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.pageBar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--fg);
}

.pageBar__logo {
  max-height: 44px;
  width: auto;
}

.pageBar__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.pageBar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pageBar__link {
  color: var(--fg);
  font-size: 0.9375rem;
  text-decoration: none;
}

.pageBar__link:hover {
  text-decoration: underline;
}
/*
   Mirrors a dedicated ordering page: a sticky category rail with search on the
   left, and dish cards with photography on the right. The card's "+" is the only
   way in, because an item with required modifier groups cannot be added without
   choosing them (see menu.js / the customisation sheet below).
*/

.menu {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}

.menu__head {
  margin-bottom: 32px;
}

.menu__head .body {
  margin-top: 8px;
}

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

/* --- left rail --- */

.menu__side {
  position: sticky;
  top: 24px;
}

.menu__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
}

.menu__searchIcon {
  color: var(--body-text);
  font-size: 1.1rem;
}

.menu__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--fg);
  outline: none;
}

.menu__nav {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}

.menu__navItem {
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
}

.menu__navItem:hover {
  background: var(--tertiary);
}

.menu__navItem--active {
  background: var(--brand);
  color: var(--on-brand);
}

/* --- main column --- */

.menu__main {
  display: grid;
  gap: 56px;
  min-width: 0;
}

.menu__label {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0;
}

.menu__desc {
  margin: 4px 0 0;
  color: var(--body-text);
  font-size: 0.9375rem;
}

.menu__empty {
  color: var(--body-text);
}

/* --- "Most ordered" rail --- */

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

.menu__stripNav {
  display: flex;
  gap: 8px;
}

.menu__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.menu__arrow:hover {
  background: var(--tertiary);
}

.menu__rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.menu__rail::-webkit-scrollbar {
  display: none;
}

.topCard {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.topCard__mediaWrap {
  position: relative;
  margin-bottom: 10px;
}

.topCard__media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background-color: var(--muted-bg);
}

.topCard__media--empty {
  background-image: linear-gradient(135deg, #f2efe9, #e6e1d8);
}

.topCard__name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9375rem;
}

.topCard__price {
  margin: 2px 0 0;
  color: var(--fg);
  font-size: 0.9375rem;
}

/* --- dish cards --- */

.menu__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
}

.item--off {
  opacity: 0.55;
}

.item__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.item__head {
  font-weight: 600;
}

.item__price {
  color: var(--accent);
  font-size: 0.9375rem;
}

.item__description {
  margin: 2px 0 0;
  color: var(--body-text);
  font-size: 0.875rem;
}

.item__optionsHint {
  margin: 6px 0 0;
  color: var(--body-text);
  font-size: 0.8125rem;
}

.item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.item__note {
  margin: 4px 0 0;
  color: var(--danger);
  font-size: 0.8125rem;
}

.item__mediaWrap {
  position: relative;
  flex: 0 0 148px;
  align-self: center;
}

.item__media {
  display: block;
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 14px;
  background-color: var(--muted-bg);
}

.item__media--empty {
  background-image: linear-gradient(135deg, #f2efe9, #e6e1d8);
}

.item__addBtn {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--fg);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.item__addBtn:hover:not(:disabled) {
  background: var(--tertiary);
}

.item__addBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- item customisation sheet --------------------------------------------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.sheet[hidden] {
  display: none;
}

.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.sheet__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 32px));
  max-height: min(80vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 12px;
}

.sheet__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
}

.sheet__desc {
  margin: 4px 0 0;
  color: var(--body-text);
  font-size: 0.875rem;
}

.sheet__close {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--tertiary);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px 16px;
  display: grid;
  gap: 20px;
}

.sheet__foot {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}

.optGroup {
  border: 0;
  margin: 0;
  padding: 0;
}

.optGroup__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0 0 8px;
}

.optGroup__title {
  font-weight: 600;
}

.optGroup__status {
  color: var(--body-text);
  font-size: 0.8125rem;
}

.optGroup__status--missing {
  color: var(--danger);
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  margin-bottom: 8px;
  cursor: pointer;
}

.opt:hover {
  background: var(--tertiary);
}

.opt__title {
  flex: 1;
}

.opt__price {
  color: var(--body-text);
  font-size: 0.875rem;
}

body.sheet-open {
  overflow: hidden;
}

/* --- responsive --- */

@media (max-width: 1100px) {
  .menu__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .menu__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .menu__side {
    position: static;
  }

  .menu__nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .menu__nav::-webkit-scrollbar {
    display: none;
  }

  .menu__navItem {
    flex: none;
    border: 1px solid var(--border);
  }

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

/* --- Gallery -------------------------------------------------------------- */

.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter);
}

.gallery__intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__cell {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background-color: var(--muted-bg);
}

/* --- Prose ---------------------------------------------------------------- */

.prose {
  display: grid;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-pad);
}

.prose__block {
  max-width: 27rem;
  margin-left: 52%;
  padding: 40px 0;
}

/* --- Reviews -------------------------------------------------------------- */

.reviews {
  background: var(--muted-bg);
  padding: 48px var(--gutter);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--bg);
}

.review__text {
  margin: 0;
  color: var(--fg);
}

.review__text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review__toggle {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.review__stars {
  letter-spacing: 0.15em;
}

.review__author {
  margin: 0;
  font-size: 0.9375rem;
}

.review__time {
  color: var(--body-text);
}

.review__source {
  display: block;
  margin-top: 4px;
  color: var(--body-text);
  font-size: 0.8125rem;
}

.reviews__attribution {
  max-width: var(--container);
  margin: 24px auto 0;
  color: var(--body-text);
  font-size: 0.8125rem;
}

/* --- Feature chips -------------------------------------------------------- */

.chips {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
  text-align: center;
}

.chips .title {
  margin-bottom: 40px;
}

.chips__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 140px;
  margin: 0 32px 32px;
  color: var(--fg);
}

.chip__label {
  font-size: 0.9375rem;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter) var(--section-pad);
}

.faq .title {
  margin-bottom: 24px;
}

.faq__row {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__row[open] .icon--chevron {
  transform: rotate(90deg);
}

.faq__answer {
  padding-bottom: 20px;
  max-width: 52rem;
}

/* --- Location ------------------------------------------------------------- */

.location {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section-pad);
}

.location .title {
  margin-bottom: 24px;
}

.location__card {
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--tertiary);
}

.location__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.location__store {
  margin: 0;
  color: var(--body-text);
  font-size: 0.9375rem;
}

.location__city {
  margin: 4px 0 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.location__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.location__label {
  margin: 0 0 4px;
  color: var(--body-text);
  font-size: 0.875rem;
}

.location__value {
  margin: 0;
  display: grid;
  gap: 2px;
}

.location__hours {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.location__hoursActions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.location__schedule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 24px;
  margin: 16px 0 0;
}

.location__schedule dt {
  color: var(--body-text);
}

.location__schedule dd {
  margin: 0;
}

/* --- App promo ------------------------------------------------------------ */

.app {
  background: var(--tertiary);
  padding: 48px var(--gutter);
}

.app__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.app__eyebrow {
  margin: 0;
  color: var(--body-text);
  font-size: 0.875rem;
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  background: var(--tertiary);
  padding: 32px var(--gutter) 48px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 2fr;
  gap: 24px;
  padding: 16px 0 32px;
}

.footer__links {
  display: contents;
}

.footer__link {
  justify-self: center;
  text-decoration: none;
  font-weight: 500;
}

.footer__tagline {
  justify-self: end;
  text-align: right;
}

.footer__promo {
  margin: 0;
  color: var(--body-text);
  font-size: 0.875rem;
}

.footer__taglineText {
  margin: 2px 0 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legalLink,
.footer__copyright,
.footer__poweredBy {
  color: var(--body-text);
  font-size: 0.875rem;
  text-decoration: none;
  margin: 0;
}

.footer__legalLink:hover {
  text-decoration: underline;
}

/* --- Cart drawer ---------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer[hidden] {
  display: none;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 24px;
  overflow-y: auto;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--tertiary);
  cursor: pointer;
}

.drawer__close .icon--chevron {
  transform: rotate(180deg);
}

.drawer__body {
  flex: 1;
  padding: 24px 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.drawer__line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.drawer__footer {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.drawer__total {
  display: flex;
  justify-content: space-between;
}

.drawer__field {
  display: grid;
  gap: 6px;
  font-size: 0.9375rem;
}

.drawer__select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--bg);
  font: inherit;
}

/* --- Cart: scheduled pickup ---------------------------------------------- */

.schedule {
  display: grid;
  gap: 10px;
}

.schedule-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--bg);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.schedule-toggle::after {
  content: '⌄';
  color: var(--body-text);
}

.schedule-toggle.is-open::after {
  content: '⌃';
}

.schedule-days,
.schedule-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-chip {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font: inherit;
  font-size: 0.875rem;
  color: var(--fg);
  cursor: pointer;
}

.schedule-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.schedule-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.schedule-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--body-text);
}

.schedule-note--error {
  color: var(--danger);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --section-pad: 64px;
  }

  .prose__block {
    margin-left: 40%;
  }

  .band__card {
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split--reverse .media {
    order: 0;
  }

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

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

  .prose {
    padding-bottom: var(--section-pad);
  }

  .prose__block {
    max-width: none;
    margin-left: 0;
    padding: 24px 0;
  }

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

  .footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    grid-column: 1 / -1;
  }

  .footer__link {
    justify-self: start;
  }

  .footer__tagline {
    justify-self: start;
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__link {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding-bottom: 40px;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .band {
    min-height: 0;
    padding: 32px var(--gutter);
  }

  .band__card {
    padding: 24px;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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

  * {
    transition: none !important;
  }
}
