/* ==========================================================================
   Restaurant800 — storefront
   Warm cream, deep pine green, lacquer red and a little gold leaf.
   ========================================================================== */

:root {
  --ink: #173b32;
  --ink-deep: #0d2821;
  --ink-soft: #2c5549;
  --cream: #f7f0e4;
  --cream-deep: #efe4d1;
  --paper: #fffdf8;
  --paper-warm: #fcf7ec;
  --red: #b9472f;
  --red-deep: #92331f;
  --gold: #e2b66b;
  --gold-pale: #f4e4c4;
  --gold-ink: #7b5620;
  --text: #1d2b27;
  --muted: #706f66;
  --line: rgba(23, 59, 50, 0.12);
  --line-strong: rgba(23, 59, 50, 0.22);
  --shadow-sm: 0 4px 18px rgba(23, 45, 37, 0.07);
  --shadow-md: 0 18px 50px rgba(23, 45, 37, 0.12);
  --shadow-lg: 0 30px 80px rgba(13, 40, 33, 0.24);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --nav-height: 66px;
  --tabbar-height: 74px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(226, 182, 107, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(23, 59, 50, 0.06), transparent 32rem),
    linear-gradient(rgba(255, 253, 248, 0.5), rgba(247, 240, 228, 0.2));
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: -0.18em;
}

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

.narrow-page {
  width: min(720px, calc(100% - 40px));
  padding-block: 70px 100px;
}

.privacy-page {
  width: min(820px, calc(100% - 40px));
}

.privacy-page h1 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.privacy-updated {
  margin: 0 0 28px;
  color: #8a8a8a;
  font-size: 12px;
}

.privacy-intro {
  margin: 0 0 28px;
  color: #4d4a45;
  font-size: 15px;
  line-height: 1.75;
}

.privacy-section {
  margin: 0 0 24px;
  padding: 22px 24px;
  border: 1px solid rgba(35, 32, 29, 0.08);
  border-radius: 16px;
  background: #fff;
}

.privacy-section h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.privacy-section p,
.privacy-section li {
  color: #5a5650;
  font-size: 13px;
  line-height: 1.75;
}

.privacy-section p {
  margin: 0;
}

.privacy-list {
  margin: 0;
  padding-left: 18px;
}

.privacy-list li + li {
  margin-top: 8px;
}

.privacy-back {
  margin-top: 8px;
}

.checkout-privacy {
  margin: 10px 0 0;
  color: #8a8a8a;
  font-size: 11.5px;
  line-height: 1.5;
}

.checkout-privacy a {
  color: #5a3b21;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--dark {
  color: var(--red);
}

.muted {
  color: var(--muted);
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button--primary {
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 8px 18px rgba(23, 59, 50, 0.18);
}

.button--primary:hover {
  background: var(--ink-deep);
}

.button--gold {
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.button--gold:hover {
  background: #f0c67e;
}

.button--ghost {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.34);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.button--ghost:hover {
  border-color: rgba(255, 250, 240, 0.7);
}

.button--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--ink);
  background: rgba(23, 59, 50, 0.04);
}

.button--compact {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
}

.button--large {
  min-height: 58px;
  font-size: 16px;
}

.button--full {
  width: 100%;
}

.text-button {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(23, 59, 50, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.text-button:hover {
  text-decoration-color: var(--ink);
}

.icon-button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease;
}

.icon-button:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
}

.icon-button--muted {
  color: var(--muted);
  border-color: transparent;
  background: transparent;
}

.icon-button--muted:hover {
  color: var(--red);
  background: rgba(185, 71, 47, 0.08);
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: relative;
  z-index: 40;
}

.notice-bar {
  background: var(--gold-pale);
  color: #5d4520;
  border-bottom: 1px solid rgba(123, 86, 32, 0.12);
}

.notice-bar__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 7px;
  font-size: 12px;
  font-weight: 600;
}

.notice-bar__inner p {
  flex: 1;
  margin: 0;
  line-height: 1.35;
}

.notice-bar__icon {
  display: inline-grid;
  place-items: center;
  color: var(--gold-ink);
}

.notice-bar__icon .icon {
  width: 17px;
  height: 17px;
}

.test-pill {
  flex: none;
  border: 1px solid rgba(123, 86, 32, 0.24);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-bar__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand__seal {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--gold-pale);
  background: var(--ink);
  border: 1px solid rgba(226, 182, 107, 0.65);
  box-shadow: inset 0 0 0 3px rgba(226, 182, 107, 0.1);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand__copy strong {
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__copy small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-bar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(23, 59, 50, 0.07);
  margin-right: 5px;
}

.lang-toggle__button {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-soft);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.lang-toggle__button.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(23, 59, 50, 0.13);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav-icon:hover,
.nav-icon.is-active {
  background: rgba(23, 59, 50, 0.06);
  color: var(--ink);
}

.nav-icon .icon {
  width: 18px;
  height: 18px;
}

.nav-cart {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--gold-pale);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  margin-left: 2px;
}

.nav-cart:hover {
  background: var(--ink-deep);
}

.nav-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  min-height: 430px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--ink-deep);
  color: #fffaf0;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}

.hero__media,
.hero__media img,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.55;
  transform: scale(1.02);
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 34, 27, 0.97) 0%, rgba(10, 34, 27, 0.86) 44%, rgba(10, 34, 27, 0.34) 78%, rgba(10, 34, 27, 0.55) 100%),
    linear-gradient(0deg, rgba(10, 34, 27, 0.86), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(640px, 62%);
  padding: 58px 24px 44px 54px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 610px;
}

.hero__subtitle {
  margin-top: 18px;
  max-width: 480px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 15px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
}

.hero__stats dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.55);
}

.hero__stats dd {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-pale);
}

.hero__seal {
  position: absolute;
  z-index: 3;
  right: 46px;
  bottom: 42px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1px solid rgba(226, 182, 107, 0.6);
  color: var(--gold-pale);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  text-align: center;
  transform: rotate(7deg);
  background: rgba(10, 34, 27, 0.22);
  backdrop-filter: blur(4px);
}

.hero__seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(226, 182, 107, 0.45);
  border-radius: 50%;
}

.hero__seal span {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  writing-mode: vertical-rl;
}

.hero__seal small {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.service-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

.service-strip__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  color: var(--ink-soft);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.status-pill.is-open i {
  background: #2f8f5b;
  box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.13);
}

.status-pill.is-closed i {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(185, 71, 47, 0.1);
}

.service-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.service-strip__item .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-ink);
}

.service-strip__link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.service-strip__link .icon {
  width: 15px;
  height: 15px;
}

/* ------------------------------------------------------------------ layout */

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 36px;
  padding-block: 38px 80px;
  align-items: start;
}

.menu-column {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-heading p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section-heading__line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-bottom: 8px;
}

.section-heading--compact {
  margin-bottom: 16px;
}

.section-heading--compact h2 {
  font-size: 28px;
}

/* --------------------------------------------------------------- featured */

.featured {
  margin-bottom: 42px;
}

.featured__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

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

.featured-card {
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.featured-card__media {
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  height: 128px;
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  display: block;
}

.featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.featured-card:hover .featured-card__img {
  transform: scale(1.04);
}

.featured-card__body {
  padding: 12px 14px 14px;
}

.featured-card__body h3 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.featured-card__foot > span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.round-add {
  appearance: none;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-pale);
  display: grid;
  place-items: center;
  transition: background 160ms ease, transform 160ms ease;
}

.round-add:hover {
  background: var(--red);
  transform: rotate(90deg);
}

.round-add .icon {
  width: 16px;
  height: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.1;
}

.badge .icon {
  width: 11px;
  height: 11px;
}

.badge--signature {
  background: var(--ink);
  color: var(--gold-pale);
}

.badge--spicy {
  background: var(--red);
  color: #fff;
}

.badge--age {
  background: var(--gold-pale);
  color: var(--gold-ink);
  border: 1px solid rgba(123, 86, 32, 0.22);
}

.badge--soldout {
  background: #e9e5dc;
  color: var(--muted);
}

.featured-card__media .badge {
  position: absolute;
  left: 10px;
  top: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------------------------- menu */

.menu {
  scroll-margin-top: 82px;
  margin-bottom: 25px;
}

.menu__top {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  justify-content: space-between;
}

.search-box {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 59, 50, 0.08);
}

.search-box .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #98958b;
}

.search-box input::-webkit-search-cancel-button {
  display: none;
}

.search-box__clear {
  border: 0;
  background: transparent;
  padding: 4px;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.search-box__clear .icon {
  width: 14px;
  height: 14px;
}

.filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 17px;
}

.filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 150ms ease;
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-pale);
}

.category-tabs {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 13px 0 12px;
  margin-top: 5px;
  background: linear-gradient(var(--cream) 72%, rgba(247, 240, 228, 0));
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 150ms ease, color 150ms ease;
}

.cat-tab:hover {
  background: rgba(23, 59, 50, 0.05);
  color: var(--ink);
}

.cat-tab.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(23, 59, 50, 0.08);
}

.cat-tab span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.results-head h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.category-section {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
  scroll-margin-top: 128px;
  padding-bottom: 20px;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 0 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.category-heading h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.category-heading p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.category-heading > span {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.product-card {
  display: flex;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: rgba(23, 59, 50, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.product-card__media {
  appearance: none;
  border: 0;
  padding: 0;
  width: 112px;
  flex: none;
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__body {
  min-width: 0;
  flex: 1;
  padding: 11px 12px 11px 13px;
  display: flex;
  flex-direction: column;
}

.product-card__badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  min-height: 0;
  margin-bottom: 4px;
}

.product-card__badges:empty {
  display: none;
}

.product-card__body h3 {
  font-size: 14px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.product-card__body h3 button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}

.product-card__desc {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.product-card__meta .icon {
  width: 12px;
  height: 12px;
  vertical-align: -0.18em;
}

.product-card__sku {
  margin-left: auto;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-card .round-add {
  width: 29px;
  height: 29px;
}

.food-fallback {
  width: 100%;
  height: 100%;
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: rgba(255, 250, 240, 0.9);
  background: linear-gradient(145deg, #244f42, #173b32);
  position: relative;
  overflow: hidden;
}

.food-fallback::before,
.food-fallback::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(226, 182, 107, 0.25);
}

.food-fallback::before {
  width: 70px;
  height: 70px;
  top: -25px;
  right: -24px;
}

.food-fallback::after {
  width: 34px;
  height: 34px;
  bottom: -12px;
  left: -8px;
}

.food-fallback span {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.food-fallback .icon {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.food-fallback--1 {
  background: linear-gradient(145deg, #6d3a2a, #3f2118);
}

.food-fallback--2 {
  background: linear-gradient(145deg, #4c5b3c, #27331f);
}

.food-fallback--3 {
  background: linear-gradient(145deg, #7a5428, #433016);
}

.empty-state {
  text-align: center;
  padding: 28px 20px;
  color: var(--muted);
}

.empty-state > .icon {
  width: 34px;
  height: 34px;
  color: var(--gold-ink);
  opacity: 0.7;
  margin-bottom: 8px;
}

.empty-state h3,
.empty-state h1,
.empty-state h2 {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 5px;
}

.empty-state p {
  font-size: 13px;
  max-width: 380px;
  margin: 0 auto 14px;
}

.empty-state--page {
  padding: 80px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty-state--small {
  padding: 50px 20px;
}

/* --------------------------------------------------------------- desktop basket */

.desktop-basket {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.desktop-basket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.desktop-basket__head h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.desktop-basket__head span {
  font-size: 11px;
  color: var(--muted);
}

.basket-empty {
  text-align: center;
  padding: 32px 8px 20px;
}

.basket-empty > .icon {
  width: 35px;
  height: 35px;
  color: var(--gold-ink);
  opacity: 0.6;
  margin-bottom: 10px;
}

.basket-empty h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 5px;
}

.basket-empty p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.basket-lines {
  padding: 4px 0;
}

.basket-lines--compact {
  max-height: 310px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.basket-line {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.basket-line:last-child {
  border-bottom: 0;
}

.basket-line__thumb {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 11px;
  overflow: hidden;
  background: var(--cream-deep);
}

.basket-line__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-line__thumb .food-fallback {
  min-height: 54px;
}

.basket-line__thumb .food-fallback span {
  font-size: 18px;
}

.basket-line__thumb .food-fallback .icon {
  display: none;
}

.basket-line__body {
  flex: 1;
  min-width: 0;
}

.basket-line__top {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
}

.basket-line__top h3 {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.basket-line__top > span {
  flex: none;
  font-size: 12px;
  font-weight: 700;
}

.basket-line__options,
.basket-line__note {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
}

.basket-line__note {
  font-style: italic;
}

.basket-line__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.basket-line__foot .icon-button {
  width: 28px;
  height: 28px;
}

.basket-line__foot .icon-button .icon {
  width: 14px;
  height: 14px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  height: 38px;
  background: var(--paper);
}

.stepper button {
  appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
}

.stepper button:hover {
  background: rgba(23, 59, 50, 0.06);
}

.stepper .icon {
  width: 14px;
  height: 14px;
}

.stepper span {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.stepper--small {
  height: 30px;
}

.stepper--small button {
  width: 28px;
  height: 28px;
}

.stepper--small .icon {
  width: 11px;
  height: 11px;
}

.stepper--small span {
  min-width: 18px;
  font-size: 11px;
}

.basket-progress {
  padding: 10px 0 4px;
}

.basket-progress p {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}

.basket-progress p.is-success {
  color: #2f7f54;
  font-weight: 700;
}

.basket-progress .icon {
  width: 13px;
  height: 13px;
}

.progress {
  height: 4px;
  background: rgba(23, 59, 50, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 999px;
  transition: width 300ms ease;
}

.totals {
  padding: 10px 0 0;
  font-size: 12px;
}

.totals > div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--muted);
}

.totals__grand {
  margin-top: 5px;
  padding-top: 9px !important;
  border-top: 1px dashed var(--line-strong);
  color: var(--text) !important;
  font-size: 16px;
  font-weight: 800;
}

.totals__grand span:last-child {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

/* "Includes VAT (20%) £x.xx" sits under the grand total as a receipt-style note. */
.totals > .totals__vat {
  padding: 1px 0 0;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

.basket-hint {
  margin-top: 7px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}

.basket-hint--warn {
  color: var(--red);
}

.basket-more {
  display: flex;
  margin: 10px auto 0;
}

/* --------------------------------------------------------------- mobile nav */

.tabbar {
  display: none;
}

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

/* -------------------------------------------------------------------- modal */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 27, 22, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 180ms ease both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-modal {
  width: min(900px, 100%);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper);
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  box-shadow: var(--shadow-lg);
  animation: modal-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(13, 40, 33, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}

.modal-close:hover {
  background: var(--red);
}

.product-modal__media {
  position: relative;
  background: var(--cream-deep);
  min-height: 360px;
}

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

.product-modal__media .food-fallback {
  position: absolute;
  inset: 0;
  min-height: 360px;
}

.product-modal__media .food-fallback span {
  font-size: 68px;
}

.product-modal__media .food-fallback .icon {
  width: 33px;
  height: 33px;
}

.product-modal__media-badges {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 6px;
}

.product-modal__content {
  padding: 34px 30px 24px;
  overflow-y: auto;
  max-height: min(88vh, 860px);
}

.product-modal__content h2 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-right: 30px;
}

.product-modal__desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.spice-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
}

.spice-note .icon {
  width: 14px;
  height: 14px;
}

.notice-card {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gold-pale);
  color: var(--gold-ink);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 14px;
}

.notice-card .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

.notice-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.notice-card p {
  margin: 0;
}

.notice-card--age {
  background: #f3e2dc;
  color: #7a2c1b;
}

.option-group {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.option-group legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 9px;
}

.option-group legend span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
}

.option-choice {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  border-radius: 10px;
  min-height: 50px;
  padding: 7px 10px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  position: relative;
  transition: border-color 150ms ease, background 150ms ease;
}

.option-choice:hover {
  border-color: var(--line-strong);
}

.option-choice.is-selected {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.option-choice span {
  font-size: 12px;
  font-weight: 700;
}

.option-choice small {
  font-size: 10px;
  color: var(--muted);
}

.option-choice i {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
}

.option-choice i:empty {
  display: none;
}

.option-choice i .icon {
  width: 9px;
  height: 9px;
}

.product-modal__notes {
  margin-top: 19px;
}

.product-modal__notes label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}

.product-modal__notes label span {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-modal__notes textarea {
  width: 100%;
  resize: vertical;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-warm);
  padding: 10px 12px;
  font-size: 12px;
  outline: 0;
}

.product-modal__notes textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 59, 50, 0.08);
}

.product-modal__notes > p {
  margin-top: 4px;
  font-size: 9px;
  color: var(--muted);
}

.allergen-box {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f5f1e9;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.allergen-box strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
}

.allergen-box strong .icon {
  width: 13px;
  height: 13px;
}

.allergen-box__kitchen {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed var(--line);
}

.product-modal__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-modal__add {
  flex: 1;
}

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

.drawer-overlay {
  justify-content: flex-end;
  padding: 0;
  align-items: stretch;
}

.cart-drawer {
  width: min(430px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: drawer-in 240ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes drawer-in {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 22px 24px;
}

.cart-drawer .basket-lines {
  max-height: none;
}

.cart-drawer__continue {
  margin: 0 22px 18px;
  align-self: center;
}

/* ------------------------------------------------------------------ checkout */

.checkout-page {
  padding-block: 30px 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.back-link .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.back-link:hover {
  color: var(--ink);
}

.checkout-heading {
  margin-bottom: 26px;
}

.checkout-heading h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.checkout-heading > p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

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

.checkout-form {
  min-width: 0;
}

.form-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.form-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.form-section__head > span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 13px;
  display: grid;
  place-items: center;
}

.form-section__head h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field > span,
.field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.field > span b {
  font-size: 8px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper-warm);
  min-height: 46px;
  padding: 10px 12px;
  font-size: 13px;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field textarea {
  min-height: 78px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 59, 50, 0.08);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9c988d;
}

.field small {
  font-size: 9px;
  line-height: 1.4;
  color: var(--muted);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185, 71, 47, 0.09);
}

.field--postcode > span {
  color: var(--ink);
}

.postcode-block {
  margin-bottom: 14px;
}

.postcode-row {
  display: flex;
  gap: 8px;
}

.postcode-row input {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 15px;
}

.postcode-row .button {
  flex: none;
}

.postcode-feedback {
  min-height: 0;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.postcode-feedback:empty {
  display: none;
}

.postcode-feedback .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.postcode-feedback.is-valid {
  color: #2f7f54;
}

.postcode-feedback.is-invalid,
.postcode-feedback.is-notfound,
.postcode-feedback.is-outside,
.postcode-feedback.is-error {
  color: var(--red);
}

.postcode-feedback.is-checking {
  color: var(--muted);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(23, 59, 50, 0.18);
  border-top-color: var(--ink);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.75s linear infinite;
}

.spinner--small {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
}

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

.time-options,
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.time-options--single {
  grid-template-columns: 1fr;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  cursor: pointer;
  background: var(--paper-warm);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card.is-selected {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.radio-card__icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  color: var(--gold-ink);
}

.radio-card__icon .icon {
  width: 16px;
  height: 16px;
}

.radio-card strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

.radio-card small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.field--slot {
  margin-top: 12px;
}

.field--slot select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-note {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.form-note--disclaimer {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  border-radius: 0 8px 8px 0;
  color: var(--gold-ink);
}

.form-section--checks {
  padding: 18px 22px;
}

.check-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.check-line input {
  appearance: none;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper-warm);
  margin: 0;
  display: grid;
  place-items: center;
  transition: background 150ms ease, border-color 150ms ease;
}

.check-line input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.check-line input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.check-line--age {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--red-deep);
}

.form-error {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid rgba(185, 71, 47, 0.25);
  background: #fbeae6;
  color: var(--red-deep);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.form-error[hidden] {
  display: none;
}

.form-error .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
}

.form-error strong {
  display: block;
  margin-bottom: 2px;
}

.form-error p {
  margin: 0;
}

.form-error--inline {
  margin: 10px 0 0;
}

/* The chosen channel was paused after the customer opened checkout. */
.checkout-mode-notice {
  border: 1px solid rgba(180, 58, 42, 0.25);
  background: #fdf1ec;
  color: #92331f;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.checkout-submit {
  margin-top: 18px;
}

.checkout-submit > p {
  text-align: center;
  margin-top: 8px;
  font-size: 9px;
  color: var(--muted);
}

.checkout-summary {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.checkout-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checkout-summary__head h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.basket-lines--checkout {
  max-height: 280px;
  overflow-y: auto;
}

.test-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px dashed rgba(123, 86, 32, 0.3);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  color: var(--gold-ink);
  background: var(--gold-pale);
}

.test-badge .icon {
  width: 13px;
  height: 13px;
}

/* ------------------------------------------------------------- confirmation */

.confirmation-page {
  padding-block: 34px 100px;
}

.confirmation-hero {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 25px;
}

.confirmation-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-pale);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 8px rgba(23, 59, 50, 0.07);
}

.confirmation-hero__icon .icon {
  width: 30px;
  height: 30px;
}

.confirmation-hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.confirmation-hero > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.confirmation-meta {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 26px;
  text-align: left;
}

.confirmation-meta > div {
  background: var(--paper);
  padding: 14px 16px;
}

.confirmation-meta span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 4px;
}

.confirmation-meta strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.confirmation-meta .text-button {
  margin-top: 3px;
  font-size: 10px;
}

.timeline {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  max-width: 760px;
  margin: 0 auto 26px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.timeline li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  color: #a3a095;
  text-align: center;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.timeline li:first-child::before {
  display: none;
}

.timeline__dot {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  display: grid;
  place-items: center;
}

.timeline__dot .icon {
  width: 11px;
  height: 11px;
}

.timeline li.is-done {
  color: var(--ink);
}

.timeline li.is-done .timeline__dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-pale);
}

.timeline li.is-current .timeline__dot {
  box-shadow: 0 0 0 4px rgba(23, 59, 50, 0.12);
}

.timeline--cancelled {
  justify-content: center;
  color: var(--red);
}

.confirmation-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.panel h2 .icon {
  width: 18px;
  height: 18px;
  color: var(--gold-ink);
}

.panel__subhead {
  margin-top: 22px !important;
}

.address-block {
  font-size: 13px;
  line-height: 1.7;
}

.address-block strong {
  color: var(--ink);
}

.order-note {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--paper-warm);
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.order-item {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.4;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.order-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.order-item__qty {
  color: var(--muted);
  flex: none;
  min-width: 22px;
}

.order-item > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.order-item small {
  color: var(--muted);
  font-size: 10px;
}

.order-item > span:last-child {
  flex: none;
  font-weight: 700;
}

.totals--order {
  margin-top: 12px;
}

.confirmation-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.confirmation-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}

.confirmation-note .icon {
  width: 13px;
  height: 13px;
}

/* -------------------------------------------------------------------- orders */

.orders-page,
.info-page,
.admin-page {
  padding-block: 34px 100px;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading h1,
.admin-head h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-heading > p:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.orders-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.lookup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.lookup-form .button {
  align-self: flex-start;
  margin-top: 2px;
}

.lookup-result {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.lookup-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.lookup-result__head h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.recent-orders {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.recent-order {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  border-radius: 11px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease;
}

.recent-order:hover {
  border-color: var(--ink);
  background: #fff;
}

.recent-order__icon {
  width: 33px;
  height: 33px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
}

.recent-order__icon .icon {
  width: 15px;
  height: 15px;
}

.recent-order__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.recent-order__body small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

.recent-order > .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.status-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 800;
  background: #eef0ec;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge--new { background: #e9efe7; color: #336447; }
.status-badge--accepted { background: #e7eef0; color: #2f5868; }
.status-badge--preparing { background: #f5e9ce; color: #7b5620; }
.status-badge--out-for-delivery { background: #f3e0d8; color: #92331f; }
.status-badge--delivered { background: #e3eee7; color: #286443; }
.status-badge--cancelled { background: #eee9e7; color: #8a746d; }

/* ---------------------------------------------------------------------- info */

.info-hero {
  background: var(--ink);
  color: var(--gold-pale);
  border-radius: 24px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.info-hero::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(226, 182, 107, 0.2);
  border-radius: 50%;
  right: -85px;
  top: -115px;
}

.info-hero h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-top: 7px;
}

.info-hero p {
  color: rgba(244, 228, 196, 0.65);
  font-size: 12px;
  margin-top: 3px;
}

.delivery-only {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(226, 182, 107, 0.35);
  border-radius: 999px;
  padding: 4px 9px;
}

.delivery-only .icon {
  width: 12px;
  height: 12px;
}

.info-hero__seal {
  width: 98px;
  height: 98px;
  flex: none;
  border: 1px solid rgba(226, 182, 107, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  transform: rotate(7deg);
  position: relative;
  z-index: 1;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.info-grid .panel p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 10px;
}

.info-grid .panel p strong {
  color: var(--text);
}

.info-grid .panel a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel--wide {
  margin-top: 14px;
}

.panel--wide > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.info-postcode {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
}

.info-postcode .field > span {
  font-size: 10px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.hours-table th {
  text-align: left;
  font-weight: 700;
  padding: 4px 0;
  color: var(--muted);
  width: 80px;
}

.hours-table td {
  padding: 4px 0;
  text-align: right;
  font-weight: 600;
}

.faq {
  margin-top: 10px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.faq details[open] summary .icon {
  transform: rotate(90deg);
}

.faq p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.info-admin {
  text-align: center;
  margin-top: 28px;
  font-size: 10px;
  color: var(--muted);
}

.info-admin a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------- admin */

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.admin-head__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-login {
  max-width: 460px;
  margin: 6vh auto 0;
  text-align: center;
  padding: 34px;
}

.admin-login__seal {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-pale);
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
}

.admin-login__seal .icon {
  width: 22px;
  height: 22px;
}

.admin-login h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 7px;
}

.admin-login > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.admin-login form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.admin-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 12px;
}

.admin-orders {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.admin-order {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.admin-order__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-order__head strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.admin-order__head small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--muted);
}

.admin-order__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr 0.8fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-order__grid > div > span {
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.admin-order__grid p {
  font-size: 11px;
  line-height: 1.45;
}

.admin-order__grid p small {
  color: var(--muted);
  font-size: 9px;
}

.admin-order__grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-warm);
  padding: 6px 7px;
  font-size: 10px;
}

.admin-order > .text-button {
  margin-top: 9px;
  font-size: 10px;
}

.admin-modal {
  width: min(620px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.admin-modal h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 3px;
}

/* -------------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.45);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 30px;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.site-footer p {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}

.site-footer__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  align-items: center;
}

.site-footer__meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------- toast */

#toast-root {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 7px;
  pointer-events: none;
  width: min(420px, calc(100% - 32px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: var(--ink-deep);
  color: #fffaf0;
  border-radius: 11px;
  padding: 10px 13px;
  font-size: 11px;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
}

.toast--error {
  background: var(--red-deep);
}

.toast--info {
  background: var(--ink-soft);
}

/* --------------------------------------------------------------------- boot */

.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 30px;
}

.boot__seal {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-pale);
  border: 1px solid rgba(226, 182, 107, 0.5);
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}

.boot__title {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--ink);
}

.boot__copy {
  font-size: 11px;
  color: var(--muted);
}

.boot__line {
  width: 90px;
  height: 2px;
  background: rgba(23, 59, 50, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.boot__line span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  animation: boot-line 1s ease-in-out infinite;
}

@keyframes boot-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.error-page__card {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}

.error-page__card h1 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 5px;
}

.error-page__card p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.noscript {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  z-index: 300;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
  }

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

  .product-card__media {
    width: 118px;
  }

  .admin-order__grid {
    grid-template-columns: 1fr 1.2fr 0.8fr;
  }

  .admin-order__grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 60px;
  }

  .home-layout {
    grid-template-columns: 1fr;
    padding-bottom: calc(var(--tabbar-height) + 95px);
  }

  .desktop-basket {
    display: none;
  }

  .checkout-layout,
  .orders-layout,
  .confirmation-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .checkout-page,
  .orders-page,
  .info-page,
  .admin-page {
    padding-bottom: calc(var(--tabbar-height) + 90px);
  }

  .confirmation-page {
    padding-bottom: calc(var(--tabbar-height) + 90px);
  }

  .checkout-summary {
    order: 2;
  }

  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    height: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 -6px 24px rgba(23, 45, 37, 0.07);
  }

  .tabbar__item {
    appearance: none;
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 700;
    color: #99958a;
    padding: 0;
    position: relative;
  }

  .tabbar__item .icon {
    width: 20px;
    height: 20px;
  }

  .tabbar__item.is-active {
    color: var(--ink);
  }

  .tabbar__item--cart {
    color: var(--ink);
  }

  .tabbar__cart {
    width: 54px;
    height: 54px;
    margin-top: -24px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold-pale);
    display: grid;
    place-items: center;
    border: 4px solid var(--cream);
    box-shadow: 0 8px 18px rgba(23, 59, 50, 0.24);
    position: relative;
  }

  .tabbar__cart .icon {
    width: 22px;
    height: 22px;
  }

  .tabbar__cart b {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid var(--cream);
  }

  .mobile-cart-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(var(--tabbar-height) + 10px + env(safe-area-inset-bottom));
    z-index: 65;
    width: min(480px, calc(100% - 24px));
    background: var(--ink);
    color: #fffaf0;
    border: 0;
    border-radius: 999px;
    padding: 7px 15px 7px 8px;
    box-shadow: 0 14px 35px rgba(13, 40, 33, 0.28);
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-cart-bar__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    position: relative;
    flex: none;
  }

  .mobile-cart-bar__icon .icon {
    width: 19px;
    height: 19px;
  }

  .mobile-cart-bar__icon b {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    font-size: 9px;
  }

  .mobile-cart-bar__label {
    flex: 1;
    text-align: left;
  }

  .mobile-cart-bar__total {
    font-family: var(--serif);
    font-size: 17px;
  }

  .mobile-cart-bar > .icon {
    width: 16px;
    height: 16px;
    color: var(--gold);
  }

  .cart-drawer {
    width: 100%;
    height: auto;
    max-height: 88vh;
    margin-top: auto;
    border-radius: 24px 24px 0 0;
    animation: sheet-in 240ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @keyframes sheet-in {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: none; opacity: 1; }
  }

  .drawer-overlay {
    align-items: flex-end;
  }

  #toast-root {
    bottom: calc(var(--tabbar-height) + 82px);
  }

  .timeline {
    border-radius: 16px;
    padding: 12px 10px;
    overflow-x: auto;
  }

  .timeline li {
    min-width: 60px;
  }

  .timeline li::before {
    display: none;
  }

  .admin-order__grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-order__grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .nav-bar__inner,
  .notice-bar__inner,
  .hero {
    width: calc(100% - 28px);
  }

  .notice-bar__inner {
    gap: 7px;
    font-size: 10.5px;
  }

  .notice-bar__inner p {
    line-height: 1.35;
  }

  .test-pill {
    display: none;
  }

  .nav-bar__inner {
    gap: 8px;
  }

  .brand__seal {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .brand__copy strong {
    font-size: 13px;
  }

  .brand__copy small {
    font-size: 8px;
  }

  .nav-icon {
    display: none;
  }

  .lang-toggle__button {
    min-width: 32px;
    padding: 0 8px;
    height: 26px;
    font-size: 10px;
  }

  .nav-cart {
    width: 36px;
    height: 36px;
  }

  .hero {
    margin-top: 14px;
    min-height: 460px;
    border-radius: 22px;
  }

  .hero__media img {
    opacity: 0.4;
    object-position: 62% center;
  }

  .hero__veil {
    background:
      linear-gradient(0deg, rgba(10, 34, 27, 0.98) 2%, rgba(10, 34, 27, 0.83) 45%, rgba(10, 34, 27, 0.25) 100%);
  }

  .hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 30px 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero h1 {
    font-size: 38px;
    max-width: 340px;
  }

  .hero__subtitle {
    font-size: 12.5px;
    margin-top: 12px;
    max-width: 330px;
  }

  .hero__actions {
    margin-top: 18px;
  }

  .hero__actions .button {
    padding: 10px 17px;
    min-height: 42px;
    font-size: 12px;
  }

  .hero__stats {
    gap: 18px;
    margin-top: 22px;
    padding-top: 14px;
  }

  .hero__stats dt {
    font-size: 8px;
  }

  .hero__stats dd {
    font-size: 11px;
  }

  .hero__seal {
    width: 76px;
    height: 76px;
    right: 18px;
    top: 20px;
    bottom: auto;
    opacity: 0.8;
  }

  .hero__seal span {
    font-size: 15px;
  }

  .hero__seal small {
    font-size: 6px;
  }

  .service-strip__inner {
    min-height: 50px;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 10px;
    white-space: nowrap;
  }

  .service-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .service-strip__radius {
    display: none;
  }

  .service-strip__link {
    margin-left: 0;
  }

  .home-layout {
    padding-top: 25px;
    gap: 18px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 11px;
  }

  .featured {
    margin-bottom: 30px;
  }

  .featured__rail {
    grid-auto-columns: 205px;
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .featured-card__media {
    height: 112px;
  }

  .featured-card__body h3 {
    font-size: 13px;
  }

  .menu__top {
    display: block;
  }

  .search-box {
    margin-top: 13px;
    width: 100%;
  }

  .filter-row {
    margin-top: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: none;
  }

  .category-tabs {
    margin-inline: -14px;
    padding-inline: 14px;
    top: calc(var(--nav-height) - 1px);
  }

  .category-heading {
    padding-top: 20px;
  }

  .category-heading h2 {
    font-size: 23px;
  }

  .product-card__media {
    width: 104px;
  }

  .product-card__body {
    padding: 10px 11px;
  }

  .product-card__body h3 {
    font-size: 13px;
  }

  .product-card__desc {
    font-size: 10px;
    -webkit-line-clamp: 2;
  }

  .price {
    font-size: 17px;
  }

  .modal-close {
    right: 10px;
    top: 10px;
  }

  .overlay {
    padding: 0;
    align-items: flex-end;
  }

  .product-modal {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    overflow-y: auto;
    animation: sheet-in 240ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .product-modal__media {
    min-height: 280px;
    height: 280px;
    max-height: 280px;
  }

  .product-modal__media .food-fallback {
    min-height: 280px;
  }

  .product-modal__media .food-fallback span {
    font-size: 54px;
  }

  .product-modal__content {
    max-height: none;
    overflow: visible;
    padding: 18px 18px 18px;
  }

  .option-group {
    margin-top: 14px;
    padding-top: 12px;
  }

  .option-group legend {
    margin-bottom: 7px;
  }

  .option-choice {
    min-height: 44px;
    padding: 6px 9px;
  }

  .product-modal__content h2 {
    font-size: 26px;
  }

  .option-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .option-choice {
    min-height: 54px;
    padding: 7px;
    justify-content: center;
    text-align: center;
  }

  .option-choice span {
    font-size: 11px;
  }

  .option-choice i {
    right: 4px;
    top: 4px;
  }

  .product-modal__footer {
    position: sticky;
    bottom: 0;
    background: var(--paper);
    margin-inline: -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    z-index: 3;
  }

  .product-modal__add {
    font-size: 12px;
    padding: 11px 14px;
  }

  .confirmation-meta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
  }

  .confirmation-actions .button {
    flex: 1;
  }

  .checkout-page,
  .orders-page,
  .info-page,
  .admin-page {
    padding-top: 22px;
  }

  .form-section {
    padding: 18px 15px;
    border-radius: 18px;
  }

  .form-section__head h2 {
    font-size: 21px;
  }

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

  .field--full {
    grid-column: auto;
  }

  .postcode-row {
    gap: 6px;
  }

  .postcode-row .button {
    padding: 8px 12px;
    font-size: 11px;
  }

  .time-options,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .checkout-heading h1 {
    font-size: 38px;
  }

  .checkout-summary {
    padding: 16px;
  }

  .panel {
    padding: 18px;
  }

  .info-hero {
    padding: 22px;
  }

  .info-hero h2 {
    font-size: 28px;
  }

  .info-hero__seal {
    width: 72px;
    height: 72px;
    font-size: 12px;
  }

  .info-grid {
    gap: 10px;
  }

  .admin-head {
    display: block;
  }

  .admin-head__actions {
    margin-top: 12px;
  }

  .admin-order__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-order__grid > div:last-child {
    grid-column: auto;
  }

  .admin-modal {
    border-radius: 22px 22px 0 0;
    max-height: 92vh;
    padding: 24px 18px;
    align-self: flex-end;
  }

  .site-footer__inner {
    display: block;
    padding-bottom: 22px;
  }

  .site-footer__meta {
    margin-top: 12px;
  }

  .site-footer {
    margin-bottom: 0;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 33px;
  }

  .brand__copy small {
    display: none;
  }

  .hero__stats {
    gap: 12px;
  }

  .product-card__media {
    width: 94px;
  }

  .product-card__desc {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ==========================================================================
   Storefront v2 — POSPal-informed app shell, category rail, member centre
   ========================================================================== */

:root {
  --ink: #332a23;
  --ink-deep: #1f1712;
  --ink-soft: #6b5b4d;
  --cream: #f3f3f3;
  --cream-deep: #e9e2d7;
  --paper: #ffffff;
  --paper-warm: #fbf8f3;
  --red: #b43a2a;
  --red-deep: #8e2a1d;
  --gold: #d8a45c;
  --gold-pale: #fbefd9;
  --gold-ink: #7b5522;
  --text: #2b2622;
  --muted: #8b8379;
  --line: rgba(51, 42, 35, 0.11);
  --line-strong: rgba(51, 42, 35, 0.2);
  --shadow-sm: 0 3px 12px rgba(51, 42, 35, 0.06);
  --shadow-md: 0 14px 38px rgba(51, 42, 35, 0.12);
  --shadow-lg: 0 26px 70px rgba(31, 23, 18, 0.24);
  --nav-height: 54px;
  --tabbar-height: 57px;
}

html,
body {
  background: #e8e5df;
}

body {
  background-image: radial-gradient(circle at 20% 10%, rgba(216, 164, 92, 0.15), transparent 30rem),
    radial-gradient(circle at 80% 80%, rgba(180, 58, 42, 0.06), transparent 28rem);
}

#app {
  width: 100%;
  max-width: 560px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  box-shadow: 0 0 0 1px rgba(51, 42, 35, 0.05), 0 28px 80px rgba(31, 23, 18, 0.12);
  overflow-x: hidden;
}

html.menu-view,
body.menu-view {
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-view #app {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.page-shell {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding-inline: 14px;
}

.notice-strip {
  min-height: 31px;
  padding: 7px 12px;
  background: #ffedcc;
  color: #e68a00;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
}

.notice-strip__icon {
  display: grid;
  place-items: center;
  color: #e68a00;
}

.notice-strip__icon .icon {
  width: 16px;
  height: 16px;
}

.notice-strip p {
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------------ app bar */

.app-topbar {
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  backdrop-filter: blur(12px);
}

.app-topbar__back {
  appearance: none;
  border: 0;
  background: transparent;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  padding: 0;
}

.app-topbar__back .icon {
  width: 19px;
  height: 19px;
}

.app-topbar__title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-topbar__title strong {
  font-size: 15px;
  font-weight: 700;
}

.app-topbar__title small {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-toggle {
  background: #f1f0ee;
}

.lang-toggle--topbar {
  margin-right: 0;
}

.lang-toggle--compact .lang-toggle__button {
  min-width: 31px;
  height: 25px;
  padding: 0 7px;
  font-size: 9.5px;
}

.lang-toggle--hero {
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------- home */

.brand-home {
  padding-bottom: calc(var(--tabbar-height) + 30px + env(safe-area-inset-bottom));
}

.brand-hero {
  position: relative;
  background: #f1ece3;
}

.brand-hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.brand-hero__lang {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 3;
}

.home-utility {
  min-height: 42px;
  background: #fff;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--ink-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.home-utility::-webkit-scrollbar {
  display: none;
}

.home-utility .status-pill {
  font-size: 10px;
}

.home-utility__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.home-utility__item .icon {
  width: 13px;
  height: 13px;
  color: var(--red);
}

@media (max-width: 440px) {
  .home-utility__min {
    display: none;
  }

  .home-utility {
    gap: 8px;
  }
}

.home-utility__cta {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  height: 27px;
  padding: 0 9px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
}

.home-utility__cta .icon {
  width: 12px;
  height: 12px;
}

.home-banner,
.top-pick-banner,
.home-contact {
  display: block;
  background: #fff;
}

.home-banner img,
.top-pick-banner img,
.home-contact img {
  width: 100%;
  height: auto;
  display: block;
}

.home-modes {
  position: relative;
  background: #fff;
  line-height: 0;
}

.home-modes > img {
  width: 100%;
  height: auto;
  display: block;
}

.mode-hotspot {
  position: absolute;
  top: 5%;
  bottom: 5%;
  width: 30.5%;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
}

.mode-hotspot--off {
  left: 1.5%;
}

.mode-hotspot--off:nth-of-type(2) {
  left: 34.8%;
}

.mode-hotspot--delivery {
  right: 1.5%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 9px;
}

.mode-hotspot--delivery span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--red-deep);
  border: 1px solid rgba(180, 58, 42, 0.28);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.12);
}

.mode-hotspot--delivery span .icon {
  width: 11px;
  height: 11px;
}

.mode-hotspot--delivery:active {
  background: rgba(180, 58, 42, 0.05);
}

.delivery-only-note {
  margin: 0;
  padding: 7px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 9.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.delivery-only-note .icon {
  width: 12px;
  height: 12px;
  color: var(--red);
}

.top-pick-banner {
  margin-top: 8px;
}

.home-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: #f3f3f3;
}

.hp-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(51, 42, 35, 0.05);
}

.hp-card__media {
  appearance: none;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #efe9df;
  position: relative;
  overflow: hidden;
}

.hp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-card__media .food-fallback {
  min-height: 100%;
}

.hp-card__badge {
  position: absolute;
  left: 6px;
  top: 6px;
  background: var(--red-deep);
  color: #fff;
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hp-card__body {
  padding: 7px 8px 9px;
}

.hp-card__name {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-card__name strong {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-card__name small {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-card__foot {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-card__price {
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
}

.hp-card .round-add {
  width: 25px;
  height: 25px;
  background: var(--ink);
}

.home-menu-cta {
  padding: 3px 10px 13px;
  background: #f3f3f3;
}

.home-menu-cta .button {
  min-height: 40px;
  border-radius: 4px;
  font-size: 12px;
}

.home-contact {
  margin-top: 8px;
}

.home-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 12px 10px;
  color: #999;
  font-size: 9px;
}

.home-end a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.home-end .icon {
  width: 11px;
  height: 11px;
}

.home-end__admin {
  opacity: 0.55;
}

/* --------------------------------------------------------------------- menu */

.menu-page {
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  padding-bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
}

.menu-topbar {
  flex: none;
  height: 54px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  position: relative;
  z-index: 5;
}

.menu-topbar__title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.menu-topbar__title strong {
  font-size: 15px;
  font-weight: 700;
}

.menu-topbar__title small {
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  overflow: hidden;
}

.menu-rail {
  height: 100%;
  min-height: 0;
  background: #f4f4f4;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 20px;
}

.menu-rail::-webkit-scrollbar {
  display: none;
}

.menu-rail__item {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 67px;
  padding: 9px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  position: relative;
  color: #555;
  border-bottom: 1px solid rgba(0, 0, 0, 0.035);
}

.menu-rail__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: transparent;
  border-radius: 0 2px 2px 0;
}

.menu-rail__item.is-active {
  background: #fff;
  color: #1e1e1e;
}

.menu-rail__item.is-active::before {
  background: #222;
}

.menu-rail__icon {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: #3f3a35;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1px;
}

.menu-rail__icon .icon {
  width: 14px;
  height: 14px;
}

.menu-rail__item strong {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  word-break: break-all;
}

.menu-rail__item small {
  font-size: 8px;
  line-height: 1.1;
  color: #999;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.menu-rail__item.is-active small {
  color: #777;
}

.menu-pane {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.menu-sort {
  flex: none;
  height: 43px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 3;
}

.menu-sort__item {
  appearance: none;
  border: 0;
  background: transparent;
  height: 100%;
  font-size: 11.5px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
}

.menu-sort__item.is-active {
  color: #111;
  font-weight: 800;
}

.menu-sort__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--red);
  border-radius: 2px;
}

.menu-sort__arrows {
  font-size: 9px;
  line-height: 1;
}

.menu-product-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
}

.menu-row {
  display: flex;
  gap: 9px;
  padding: 10px 9px;
  background: #fff;
  border-bottom: 1px solid #f0efed;
  min-height: 112px;
}

.menu-row__media {
  appearance: none;
  border: 0;
  padding: 0;
  width: 94px;
  height: 94px;
  flex: none;
  overflow: hidden;
  background: #f3eee7;
  border-radius: 2px;
}

.menu-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-row__media .food-fallback {
  min-height: 94px;
}

.menu-row__media .food-fallback span {
  font-size: 28px;
}

.menu-row__media .food-fallback .icon {
  display: none;
}

.menu-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.menu-row__name {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #1d1b19;
}

.menu-row__name strong {
  font-size: 13.5px;
  line-height: 1.28;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-row__name span {
  font-size: 10.5px;
  line-height: 1.25;
  color: #4d4a46;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-row__allergens {
  margin-top: 2px;
  color: #9a958e;
  font-size: 8.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-row__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.menu-row__price {
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.menu-row__add {
  appearance: none;
  border: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: -1px;
}

.menu-row__add .icon {
  width: 14px;
  height: 14px;
}

.menu-empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* ------------------------------------------------------------------- member */

.member-login-page {
  min-height: 100dvh;
  background: #f6f6f6;
  padding: 42px 26px 40px;
  position: relative;
}

.member-login__back {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.member-login__back .icon {
  width: 19px;
  height: 19px;
}

.member-login__brand {
  text-align: center;
  margin-bottom: 32px;
}

.member-login__brand .brand__seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 13px;
  font-size: 24px;
}

.member-login__brand h1 {
  font-size: 18px;
  font-weight: 700;
}

.member-login__brand p {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}

.member-login-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-login-form .field {
  border-bottom: 1px solid #ddd;
  padding: 13px 0;
  gap: 7px;
}

.member-login-form .field > span {
  font-size: 13px;
  color: #333;
}

.member-login-form .field input {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: 28px;
  font-size: 14px;
}

.member-login-form .field input:focus {
  box-shadow: none;
}

.member-login-form > .button {
  margin-top: 22px;
  background: var(--red-deep);
  color: #fff;
  box-shadow: none;
}

.member-login-form > .button:hover {
  background: var(--red);
}

.member-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-code-row input {
  flex: 1;
  min-width: 0;
}

.member-code-row .button {
  flex: none;
  border: 0;
  color: var(--red);
  padding: 4px 0;
  min-height: 0;
  font-size: 11px;
}

.member-test-code {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 5px;
  padding: 9px 10px;
}

.member-test-code .icon {
  width: 13px;
  height: 13px;
}

.member-test-code .text-button {
  font-size: 10px;
  color: var(--red);
}

.member-login__continue {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 999px;
  font-size: 13px;
  color: #333;
  background: #fff;
}

.member-login__note {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.member-loading {
  min-height: 70dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.member-page {
  padding-bottom: calc(var(--tabbar-height) + 24px);
  background: #f6f4f1;
}

.member-hero {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #2a2019;
}

.member-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(0.72);
}

.member-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 18, 14, 0.78), rgba(25, 18, 14, 0.18) 65%);
}

.member-hero__lang {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.member-hero__home {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(6px);
}

.member-hero__home .icon {
  width: 16px;
  height: 16px;
}

.member-hero__profile {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
}

.member-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f4f1ea;
  color: #9b9389;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.65);
  flex: none;
}

.member-avatar .icon {
  width: 32px;
  height: 32px;
}

.member-hero__profile h1 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.member-hero__profile p {
  margin-top: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.member-stats {
  margin: -1px 0 0;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 15px 8px 13px;
  border-bottom: 1px solid var(--line);
}

.member-stats > div {
  text-align: center;
  border-right: 1px solid #f0efed;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.member-stats > div:last-child {
  border-right: 0;
}

.member-stats span {
  font-size: 9px;
  color: #999;
}

.member-stats strong {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: #222;
}

.member-stats small {
  font-size: 7.5px;
  color: #aaa;
}

.member-shortcuts {
  background: #fff;
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 5px;
  border-top: 1px solid #f1efec;
  border-bottom: 1px solid #f1efec;
}

.member-shortcuts button {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #444;
  font-size: 10px;
  padding: 0;
}

.member-shortcuts .icon {
  width: 24px;
  height: 24px;
  color: #5e574f;
}

.member-actions {
  margin-top: 8px;
  background: #fff;
  border-top: 1px solid #f1efec;
  border-bottom: 1px solid #f1efec;
}

.member-actions button {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid #f4f2ef;
  color: #333;
  font-size: 12px;
  text-align: left;
}

.member-actions button:last-child {
  border-bottom: 0;
}

.member-actions .icon {
  width: 18px;
  height: 18px;
  color: #6c6258;
}

.member-actions button > span {
  flex: 1;
}

.member-actions button > small {
  font-size: 9px;
  color: #aaa;
}

.member-actions button > .icon:last-child {
  width: 13px;
  height: 13px;
  color: #bbb;
}

.member-recent {
  margin-top: 8px;
  background: #fff;
  padding: 14px 14px 8px;
}

.member-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.member-section-head h2 {
  font-size: 15px;
  font-weight: 700;
}

.member-section-head .text-button {
  font-size: 10px;
  text-decoration: none;
  color: #999;
}

.member-section-head .icon {
  width: 12px;
  height: 12px;
}

.member-order-list {
  display: flex;
  flex-direction: column;
}

.member-order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 8px;
}

.member-order-card--compact {
  padding: 10px 0;
  border: 0;
  border-top: 1px solid #f2efec;
  border-radius: 0;
  margin-bottom: 0;
}

.member-order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.member-order-card__head strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.member-order-card__head small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: #999;
}

.member-order-card__items {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.45;
  color: #777;
}

.member-order-card__link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 7px 0 0;
  color: #8b5a2b;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.member-order-card__link .icon {
  width: 11px;
  height: 11px;
}

.member-empty {
  text-align: center;
  padding: 26px 10px 20px;
  color: #aaa;
}

.member-empty .icon {
  width: 30px;
  height: 30px;
  opacity: 0.45;
}

.member-empty p {
  margin: 8px 0 13px;
  font-size: 11px;
}

.member-demo-note {
  margin: 13px 14px 0;
  font-size: 9px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 4px;
}

.member-demo-note .icon {
  width: 12px;
  height: 12px;
}

.member-signout {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 17px;
  color: #9b9389;
  font-size: 11px;
}

.member-signout .icon {
  width: 14px;
  height: 14px;
}

.member-order-modal,
.member-settings-modal {
  position: relative;
  width: min(500px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
}

.member-profile-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-profile-email-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.member-profile-email-row .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.member-profile-email-row .button[hidden] {
  display: none;
}

.member-verify-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 16, 12, 0.46);
}

.member-verify-overlay[hidden] {
  display: none;
}

.member-verify-dialog {
  position: relative;
  width: min(380px, 100%);
  padding: 24px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.member-verify-dialog h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.member-verify-dialog .member-login__note {
  margin: 0 0 16px;
  line-height: 1.55;
  text-align: left;
}

.member-verify-dialog .field {
  margin-bottom: 12px;
}

.member-verify-dialog .text-button {
  display: block;
  margin: 12px auto 0;
}

.member-order-modal h2,
.member-settings-modal h2 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 7px;
}

.member-order-modal__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #999;
  font-size: 10px;
}

.member-order-modal__address {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: #666;
}

.member-order-modal__address strong {
  display: block;
  color: #222;
  margin-bottom: 2px;
}

.member-settings-lang {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.member-settings-lang .option-choice {
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

.member-settings-lang .icon {
  width: 13px;
  height: 13px;
}

/* ------------------------------------------------------------------- orders */

.compact-orders {
  padding-top: 0;
  padding-bottom: 40px;
}

.orders-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  margin-inline: -14px;
  padding-inline: 8px;
}

.orders-tabs::-webkit-scrollbar {
  display: none;
}

.orders-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 13px 13px 11px;
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  position: relative;
  flex: none;
}

.orders-tab.is-active {
  color: #222;
  font-weight: 800;
}

.orders-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 2px;
  background: #222;
  transform: translateX(-50%);
}

.orders-list {
  padding-top: 10px;
}

.orders-empty {
  padding: 60px 24px;
  text-align: center;
  background: #fff;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.orders-empty__icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #f6f4f1;
  color: #c9c4bd;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.orders-empty__icon .icon {
  width: 38px;
  height: 38px;
}

.orders-empty h1,
.orders-empty h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.orders-empty p {
  color: #999;
  font-size: 10px;
  margin-bottom: 18px;
}

.orders-empty .button {
  border-radius: 999px;
  min-height: 38px;
  font-size: 11px;
}

.orders-empty--inline {
  min-height: 320px;
  background: transparent;
}

.orders-empty--inline h2 {
  font-size: 14px;
}

/* ------------------------------------------------------------ responsive */

@media (min-width: 561px) {
  body {
    padding-block: 0;
  }

  #app {
    min-height: 100dvh;
  }
}

@media (max-width: 400px) {
  .menu-body {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .menu-row__media {
    width: 86px;
    height: 86px;
  }

  .menu-row__name strong {
    font-size: 12.5px;
  }

  .menu-row__name span {
    font-size: 9.5px;
  }

  .menu-row__price {
    font-size: 15px;
  }

  .home-picks {
    gap: 6px;
    padding: 8px;
  }

  .hp-card__name strong {
    font-size: 12px;
  }
}

/* Keep the original app feel: tabbar at the bottom of the phone frame. */
.tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(560px, 100%);
  height: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
  padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #eee;
  z-index: 70;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(14px);
}

.tabbar__item {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #9a958d;
  font-size: 9px;
  font-weight: 500;
  text-align: center;
  position: relative;
  padding: 0;
}

.tabbar__item .icon {
  width: 19px;
  height: 19px;
}

.tabbar__item.is-actived {
  color: #1e1b18;
  font-weight: 700;
}

.tabbar__item--cart {
  color: #1e1b18;
}

.tabbar__cart {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #4a4a4a;
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: -19px;
  border: 3px solid #f3f3f3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

.tabbar__cart .icon {
  width: 23px;
  height: 23px;
}

.tabbar__cart b {
  position: absolute;
  right: -5px;
  top: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
  border: 2px solid #f3f3f3;
}

.mobile-cart-bar {
  left: 50%;
  transform: translateX(-50%);
  width: min(530px, calc(100% - 22px));
  bottom: calc(var(--tabbar-height) + 8px + env(safe-area-inset-bottom));
  border-radius: 7px;
  background: #3d3935;
  padding: 6px 12px 6px 7px;
  z-index: 65;
}

.mobile-cart-bar__icon {
  width: 34px;
  height: 34px;
}

.mobile-cart-bar__icon .icon {
  width: 17px;
  height: 17px;
}

.mobile-cart-bar__total {
  font-size: 15px;
}

#toast-root {
  bottom: calc(var(--tabbar-height) + 72px + env(safe-area-inset-bottom));
  width: min(400px, calc(100% - 28px));
}

.checkout-page,
.orders-page,
.info-page,
.admin-page {
  padding-bottom: calc(var(--tabbar-height) + 30px);
}

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

.checkout-summary {
  position: static;
  order: 2;
}

.home-contact,
.home-banner,
.top-pick-banner {
  background: #fff;
}

@media (min-width: 900px) {
  .tabbar {
    display: grid;
  }

  .desktop-basket {
    display: none;
  }
}

/* Restored legacy homepage artwork/layout, scoped to the home route. */
.legacy-home {
  --ink: #173b32;
  --ink-deep: #0d2821;
  --ink-soft: #2c5549;
  --cream: #f7f0e4;
  --cream-deep: #efe4d1;
  --paper: #fffdf8;
  --paper-warm: #fcf7ec;
  --red: #b9472f;
  --red-deep: #92331f;
  --gold: #e2b66b;
  --gold-pale: #f4e4c4;
  --gold-ink: #7b5620;
  --text: #1d2b27;
  --muted: #706f66;
  --line: rgba(23, 59, 50, 0.12);
  --line-strong: rgba(23, 59, 50, 0.22);
  background: var(--cream);
  padding-bottom: calc(var(--tabbar-height) + 22px);
}

.legacy-home .site-header {
  position: relative;
  z-index: 4;
}

.legacy-home .nav-bar {
  background: rgba(255, 253, 248, 0.94);
}

.legacy-home .hero {
  width: min(560px, calc(100% - 28px));
  margin: 14px auto 0;
  border-radius: 22px;
}

.legacy-home .hero__content {
  width: 62%;
  padding: 58px 24px 44px 54px;
}

.legacy-home .hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.legacy-home .hero__seal {
  right: 46px;
  bottom: 42px;
}

.legacy-home__body {
  padding-top: 26px;
  padding-bottom: 8px;
}

.legacy-home__body .section-heading {
  margin-bottom: 14px;
}

.legacy-home__body .featured {
  margin-bottom: 28px;
}

.legacy-home__body .product-grid {
  gap: 10px;
}

.legacy-home__body .product-card {
  border-radius: 14px;
}

.legacy-home__body .legacy-picks {
  padding-bottom: 8px;
}

.legacy-home__cta {
  background: transparent;
  padding: 8px 0 18px;
}

.legacy-home__cta .button {
  border-radius: 999px;
  min-height: 46px;
}

.legacy-home .site-footer {
  background: rgba(255, 253, 248, 0.7);
}

.legacy-home + .tabbar {
  border-top-color: rgba(23, 59, 50, 0.12);
}

.legacy-home + .tabbar .tabbar__cart {
  background: #173b32;
  border-color: #f7f0e4;
}

@media (max-width: 720px) {
  .legacy-home .hero {
    width: calc(100% - 28px);
    margin-top: 14px;
    border-radius: 22px;
  }

  .legacy-home .hero__content {
    width: 100%;
    padding: 30px 22px 26px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .legacy-home .hero h1 {
    font-size: 38px;
  }

  .legacy-home .hero__seal {
    width: 76px;
    height: 76px;
    right: 18px;
    top: 20px;
    bottom: auto;
  }

  .legacy-home .featured__rail {
    margin-inline: 0;
    padding-inline: 0;
  }

  .legacy-home__body {
    padding-top: 24px;
  }
}

.menu-rail__count {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 8px;
  line-height: 1;
  color: #aaa;
  font-style: normal;
  font-weight: 600;
}

.menu-rail__item.is-active .menu-rail__count {
  color: #777;
}

.menu-group {
  background: #fff;
}

.menu-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 10px 7px;
  background: #faf8f5;
  border-top: 1px solid #f0efed;
  border-bottom: 1px solid #f0efed;
  position: sticky;
  top: 0;
  z-index: 2;
}

.menu-group__head > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.menu-group__head strong {
  font-size: 12.5px;
  color: #2b2622;
  font-weight: 700;
}

.menu-group__head span {
  font-size: 9px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-group__head em {
  flex: none;
  font-size: 9px;
  color: #aaa;
  font-style: normal;
}

@media (max-width: 400px) {
  .menu-group__head {
    top: 0;
  }
}

/* Checkout location + embedded Google map */
.location-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.location-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  min-height: 32px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
}

.location-button:hover {
  border-color: var(--ink);
  background: var(--paper-warm);
}

.location-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.location-button .icon {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.location-status {
  font-size: 9.5px;
  line-height: 1.4;
  color: var(--muted);
}

.location-status.is-success {
  color: #2f7f54;
}

.location-status.is-error {
  color: var(--red);
}

.location-hint {
  margin-top: 4px;
  font-size: 9px;
  color: #a19a91;
}

.delivery-map {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #f4f1eb;
  position: relative;
}

.delivery-map__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.delivery-map iframe {
  width: 100%;
  height: 190px;
  display: block;
  border: 0;
  filter: saturate(0.9);
  position: relative;
  z-index: 1;
  background: transparent;
}

.delivery-map__foot {
  position: relative;
  z-index: 2;
}

.delivery-map__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.delivery-map__foot a {
  flex: none;
  color: var(--red-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.delivery-map__foot a .icon {
  width: 11px;
  height: 11px;
}

@media (max-width: 420px) {
  .delivery-map iframe {
    height: 170px;
  }

  .delivery-map__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Member address book */
.addresses-page {
  padding-top: 22px;
  padding-bottom: 46px;
}

.addresses-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.addresses-head h1 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.addresses-head p:not(.eyebrow) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.addresses-head .button {
  flex: none;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.address-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.address-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.address-card__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.address-card__default {
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--gold-ink);
  padding: 3px 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.address-card__body {
  font-size: 11px;
  line-height: 1.6;
  color: #6d665e;
}

.address-card__body strong {
  color: var(--ink);
}

.address-card__actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #f0eeea;
}

.address-card__actions .text-button {
  font-size: 10px;
  text-decoration: none;
}

.text-button--danger {
  color: var(--red);
}

.address-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.address-form .field {
  gap: 5px;
}

.address-form .field input {
  background: #fbfaf8;
}

.address-form .address-default-check {
  margin-top: 2px;
}

.address-form__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.address-form__actions .button {
  flex: 1;
  border-radius: 8px;
}

.addresses-page .back-link {
  margin-bottom: 12px;
}

.addresses-page .orders-empty {
  border-radius: 10px;
}

.addresses-page .orders-empty--inline {
  min-height: 300px;
  background: #fff;
  border: 1px solid var(--line);
}

.addresses-page .orders-empty .text-button {
  margin-top: 10px;
}

.saved-address-picker {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #faf8f4;
}

.saved-address-picker > span {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.saved-address-picker > div {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.saved-address-picker button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9.5px;
  color: var(--ink-soft);
}

.saved-address-picker button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.info-delivery-map {
  margin-top: 12px;
}

/* Simplified contact centre */
.contact-page {
  padding-top: 18px;
  padding-bottom: calc(var(--tabbar-height) + 34px);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px 16px;
}

.contact-card h1 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-address {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.contact-actions .button {
  flex: 1;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 11px;
  border-radius: 8px;
}

.contact-map {
  margin-top: 14px;
}

.contact-facts {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.contact-facts > div {
  background: #fff;
  padding: 14px 15px;
}

.contact-facts span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-facts span .icon {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.contact-facts p {
  margin-top: 5px;
  color: #514a42;
  font-size: 10.5px;
  line-height: 1.65;
}

.contact-notes {
  margin-top: 12px;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #938b82;
  font-size: 9.5px;
  line-height: 1.45;
}

.contact-notes p {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.contact-notes .icon {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 1px;
  color: #b39b72;
}

@media (min-width: 560px) {
  .contact-facts {
    grid-template-columns: 1fr;
  }
}

/* Order centre */
.order-centre {
  padding-top: 22px;
  padding-bottom: calc(var(--tabbar-height) + 44px);
}

.order-centre-head {
  margin-bottom: 16px;
}

.order-centre-head h1 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.order-centre-head > p:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.order-lookup-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.order-lookup-card__head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.order-lookup-card__head > span {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
  color: var(--red);
}

.order-lookup-card__head .icon {
  width: 15px;
  height: 15px;
}

.order-lookup-card__head h2 {
  font-size: 14px;
  font-weight: 800;
}

.order-lookup-card__head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.order-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-lookup-form .field {
  gap: 5px;
}

.order-lookup-form .field input {
  background: #fbfaf8;
}

.order-lookup-form .button {
  margin-top: 2px;
}

.lookup-result {
  margin: 4px 0 14px;
  padding: 12px;
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  background: #fffdf8;
}

.lookup-result > .eyebrow {
  margin-bottom: 6px;
}

.order-recent {
  margin-top: 4px;
}

.order-recent h2 {
  margin: 10px 2px 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.orders-signin-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--red-deep);
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.orders-help-link {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 18px;
  padding: 13px 0 0;
  appearance: none;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 10px;
  text-align: left;
}

.orders-help-link .icon:first-child {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.orders-help-link .icon:last-child {
  width: 12px;
  height: 12px;
  margin-left: auto;
}

@media (max-width: 420px) {
  .order-centre-head h1 {
    font-size: 29px;
  }
}

.address-label-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.address-label-chip {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf8;
  color: var(--muted);
  min-height: 38px;
  font-size: 11px;
  font-weight: 700;
}

.address-label-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.address-label-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Delivery or pickup */
.fulfilment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  background: #f4f1eb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.fulfilment-switch__option {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  padding: 8px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}

.fulfilment-switch__option > .icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.fulfilment-switch__option span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.fulfilment-switch__option strong {
  font-size: 11px;
  color: var(--ink-soft);
}

.fulfilment-switch__option small {
  font-size: 8px;
  color: #9a9288;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fulfilment-switch__option.is-active {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: 0 1px 3px rgba(44, 37, 30, 0.07);
}

.fulfilment-switch__option.is-active > .icon,
.fulfilment-switch__option.is-active strong {
  color: var(--ink);
}

.fulfilment-switch__option.is-disabled,
.fulfilment-switch__option:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fulfilment-switch__option.is-disabled small,
.fulfilment-switch__option:disabled small {
  color: var(--red);
}

.pickup-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #faf8f4;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.pickup-card__icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
}

.pickup-card__icon .icon {
  width: 16px;
  height: 16px;
}

.pickup-card strong {
  font-size: 12px;
}

.pickup-card p {
  margin: 3px 0 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.pickup-card .text-button {
  font-size: 9.5px;
}

@media (max-width: 380px) {
  .fulfilment-switch__option small {
    display: none;
  }
}

/* Email magic-link sign in */
.member-magic-sent {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.member-magic-sent__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.member-magic-sent__icon .icon {
  width: 21px;
  height: 21px;
}

.member-magic-sent h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.member-magic-sent p {
  max-width: 280px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.member-magic-sent .button {
  margin-top: 4px;
}

.member-magic-sent .text-button {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-magic-warning {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  padding: 8px 9px;
  border-radius: 7px;
  background: #fff8e8;
  color: #8a6b2f !important;
}

.member-magic-warning .icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 1px;
}

.member-test-toggle {
  display: block;
  margin: 12px auto 0;
  font-size: 9.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-magic-sent > .spinner {
  margin: 8px auto;
}

/* Admin member lifecycle */
.admin-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 700;
}

.admin-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.admin-members {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.admin-member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
}

.admin-member__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-member__head strong {
  display: block;
  font-size: 13px;
}

.admin-member__head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.member-status {
  flex: none;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #edf6ee;
  color: #3f7d4b;
}

.member-status--disabled {
  background: #fff4e1;
  color: #9a6b23;
}

.member-status--archived,
.member-status--deleted {
  background: #f1efec;
  color: #8d857c;
}

.admin-member__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 11px;
}

.admin-member__grid span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-member__grid p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
}

.admin-member__actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #f0eeea;
}

.admin-member__actions .text-button {
  font-size: 9.5px;
  text-decoration: none;
}

/* Nested POSPal category rail */
.menu-rail__item--level-2 {
  min-height: 48px;
  padding: 8px 7px 7px 13px;
  background: #efefed;
}

.menu-rail__item--level-2 strong {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.menu-rail__item--level-2 small {
  font-size: 8px;
}

.menu-rail__item--level-2.is-active {
  background: #fff;
}

.menu-rail__item--level-2.is-active::before {
  width: 2px;
}

.menu-rail__chevron {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 10px;
  height: 10px;
  color: #999;
  transition: transform 0.15s ease;
}

.menu-rail__chevron .icon {
  width: 10px;
  height: 10px;
}

.menu-rail__chevron.is-open {
  transform: rotate(180deg);
}

/* Text-only category rail */
.menu-body {
  grid-template-columns: 104px minmax(0, 1fr);
}

.menu-rail__item {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 58px;
  padding: 9px 7px 8px 10px;
  text-align: left;
}

.menu-rail__icon {
  display: none;
}

.menu-rail__label {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.menu-rail__item strong {
  font-size: 11px;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: anywhere;
}

.menu-rail__item small {
  font-size: 7.5px;
  line-height: 1.2;
}

.menu-rail__item.has-children strong {
  font-weight: 800;
}

.menu-rail__meta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  color: #8f857a;
}

.menu-rail__meta em {
  font-size: 7.5px;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.menu-rail__count {
  display: none;
}

.menu-rail__chevron {
  position: static;
  width: 11px;
  height: 11px;
  display: grid;
  place-items: center;
  color: #71675d;
  transition: transform 0.15s ease;
}

.menu-rail__chevron .icon {
  width: 11px;
  height: 11px;
}

.menu-rail__chevron.is-open {
  transform: rotate(180deg);
}

.menu-rail__item--level-2 {
  min-height: 44px;
  padding: 7px 7px 7px 18px;
  background: #eeedeb;
}

.menu-rail__item--level-2 strong {
  font-size: 9.5px;
  font-weight: 600;
}

.menu-rail__item--level-2 small {
  font-size: 7px;
}

.menu-rail__item--level-2.is-active {
  background: #fff;
}

.menu-rail__item--level-2.is-active strong {
  font-weight: 800;
}

/* Clear parent-category affordance */
.menu-rail__meta {
  flex-direction: row;
  align-items: center;
  gap: 3px;
}

.menu-rail__item.has-children {
  background: #eae7e2;
}

.menu-rail__item.has-children.is-active {
  background: #fff;
}

.menu-rail__item.has-children .menu-rail__meta em {
  padding: 2px 4px;
  border-radius: 4px;
  background: #dcd7cf;
  color: #5a5148;
  font-size: 7px;
}

.menu-rail__item.has-children.is-active .menu-rail__meta em {
  background: #f1ede6;
}

.menu-rail__chevron.is-open {
  transform: none;
}

.menu-rail__chevron .icon {
  transform: rotate(0deg);
  transition: transform 0.15s ease;
}

.menu-rail__chevron.is-open .icon {
  transform: rotate(90deg);
}

.menu-rail__item--level-2 {
  box-shadow: inset 2px 0 #e2ded7;
}

/* Cart quantity feedback in category rail and product rows */
.menu-rail__item.has-children .menu-rail__meta .menu-rail__cart-count,
.menu-rail__cart-count {
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #2f2a25;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.menu-rail__item.is-active .menu-rail__meta .menu-rail__cart-count {
  background: var(--red);
}

.menu-row--in-cart {
  background: #fbf8f3;
  box-shadow: inset 3px 0 #d8b26b;
}

.menu-row__stepper {
  flex: none;
  height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #ded9d1;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.menu-row__stepper button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #2f2a25;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
}

.menu-row__stepper button:active {
  background: #f1ede6;
}

.menu-row__stepper span {
  min-width: 21px;
  text-align: center;
  color: #2f2a25;
  font-size: 11px;
  font-weight: 800;
}

.menu-row__stepper .icon {
  width: 12px;
  height: 12px;
}

.menu-product-list {
  scroll-behavior: smooth;
}

.menu-rail {
  scroll-behavior: auto;
}

/* Email verification code */
.member-code-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
  text-align: left;
}

.member-code-form .field {
  gap: 5px;
}

.member-code-form input[data-email-code] {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 7px;
  padding: 10px 8px;
}

.member-dev-code {
  width: 100%;
  padding: 7px 9px;
  border-radius: 7px;
  background: #f5f1e8;
  color: #6c5b43 !important;
  font-size: 10px !important;
}

.member-dev-code strong {
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--ink);
}

/* payment page */
.pay-panel { text-align: center; }
.pay-amount { font-size: 2rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.pay-qr__img { width: min(280px, 80vw); height: auto; display: block; margin: 0 auto 1rem; }


/* collapsible checkout sections */
.form-section--fold > summary { cursor: pointer; list-style: none; }
.form-section--fold > summary::-webkit-details-marker { display: none; }
.form-section--fold > summary::after { content: "▾"; margin-left: 0.5rem; color: #6b7f78; transition: transform 0.2s ease; }
.form-section--fold[open] > summary::after { transform: rotate(180deg); }
.form-section__value { margin-left: auto; font-size: 0.85rem; color: #6b7f78; text-align: right; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-section--fold[open] .form-section__value { display: none; }
.form-section--fold .form-section__body { margin-top: 0.75rem; }
.map-fold > summary { cursor: pointer; font-size: 0.9rem; color: #2f6f5e; padding: 0.35rem 0; }
.map-fold .delivery-map { margin-top: 0.5rem; }

/* order card */
.member-order-card { cursor: pointer; }
.order-pay-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 0.5rem; padding: 0.3rem 0.95rem; font-size: 0.8rem; font-weight: 600; border-radius: 999px; background: #2b2b2b; color: #fff; border: 0; }

/* compact checkout */
.checkout-layout { grid-template-columns: 1fr; }
.checkout-page .checkout-heading h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
.checkout-page .form-section { padding: 0.85rem 1rem; border-radius: 14px; }
.checkout-page .form-section__head h2 { font-size: 0.95rem; }
.checkout-page .form-section__head span { width: 1.35rem; height: 1.35rem; font-size: 0.7rem; }
.checkout-page .radio-card { padding: 0.6rem 0.7rem; }
.checkout-page .payment-options { gap: 0.5rem; }
.checkout-page .payment-options .radio-card { padding: 0.55rem 0.7rem; }
.checkout-summary-section .checkout-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.checkout-summary-section .checkout-summary__head h2 { font-size: 0.95rem; margin: 0; }
.checkout-summary-section .basket-lines--checkout { max-height: none; overflow: visible; }
.member-order-card { padding: 0.85rem 1rem; border-radius: 14px; }

/* smaller time picker */
.checkout-form { gap: 0.6rem; }
.checkout-page .time-options { gap: 0.5rem; }
.checkout-page .time-options .radio-card { padding: 0.5rem 0.65rem; gap: 0.5rem; }
.checkout-page .time-options .radio-card__icon { width: 1.7rem; height: 1.7rem; }
.checkout-page .time-options .radio-card strong { font-size: 0.85rem; }
.checkout-page .time-options .radio-card small { font-size: 0.72rem; }
.checkout-page .field--slot { margin-top: 0.5rem; }
.checkout-page .field--slot select { min-height: 2.5rem; font-size: 0.9rem; }

/* minimal checkout */
.time-chips { display: flex; gap: 0.5rem; }
.time-chip { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 0.45rem 0.6rem; border: 1px solid #e3e3e3; border-radius: 999px; font-size: 0.82rem; cursor: pointer; }
.time-chip input { position: absolute; opacity: 0; pointer-events: none; }
.time-chip.is-selected { border-color: #2b2b2b; background: #2b2b2b; color: #fff; }
.time-select { width: 100%; margin-top: 0.5rem; min-height: 2.4rem; font-size: 0.85rem; padding: 0 0.6rem; border-radius: 10px; border: 1px solid #e3e3e3; background: #fff; }
.radio-card--slim { display: flex; align-items: center; padding: 0.5rem 0.65rem; font-size: 0.83rem; }
.radio-card--slim input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card--slim > span { width: 100%; }
.payment-option__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.payment-option__brands { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.pay-brand { width: 20px; height: 20px; display: block; border-radius: 5px; }
.checkout-page .form-section__head { margin-bottom: 0.35rem; }
.checkout-page .form-section__head h2 { font-size: 0.9rem; }
.checkout-page .form-section { padding: 0.7rem 0.85rem; }

/* unpaid badge and countdowns */
.tabbar__item { position: relative; }
.tabbar__badge { position: absolute; top: 2px; left: 50%; margin-left: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #b3261e; color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.order-pay-row { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.order-countdown { font-size: 0.75rem; color: #8a8a8a; font-variant-numeric: tabular-nums; }

/* order card: pay action on the right */
.member-order-card { display: flex; align-items: center; gap: 0.75rem; }
.member-order-card__main { flex: 1; min-width: 0; }
.member-order-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; flex: none; }
.order-pay-row { display: none; }

/* order card: status stays top-right, pay goes to the bottom row */
.member-order-card { display: block; }
.member-order-card__main, .member-order-card__side { display: contents; }
.member-order-card__title { display: flex; align-items: baseline; gap: 0.4rem; }
.member-order-card__title small { font-size: 0.72rem; color: #8a8a8a; }
.member-order-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.45rem; }
.member-order-card__meta { font-size: 0.75rem; color: #8a8a8a; }
.member-order-card__pay { display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.member-order-card__pay .order-pay-btn { margin-top: 0; }

/* pay card */
.pay-card { background: #fff; border-radius: 24px; padding: 2rem 1.4rem 1.5rem; text-align: center; box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06); }
.pay-card__eyebrow { margin: 0 0 0.6rem; font-size: 0.78rem; letter-spacing: 0.04em; color: #9a9a9a; }
.pay-card__amount { margin: 0 0 0.9rem; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; }
.pay-card__timer { margin: 0 0 1.6rem; font-size: 0.82rem; color: #9a9a9a; font-variant-numeric: tabular-nums; }
.pay-card__cta { width: 100%; padding: 1rem; border: 0; border-radius: 999px; background: #23201d; color: #fff; font-size: 1rem; font-weight: 600; }
.pay-card__cta:active { opacity: 0.9; }
.pay-card__status { margin: 0.75rem 0 0; font-size: 0.8rem; color: #9a9a9a; }
.pay-card__hint { margin: 0.8rem 0 0; font-size: 0.78rem; line-height: 1.5; color: #9a9a9a; }
.pay-card__cancel { margin-top: 1.1rem; padding: 0.3rem 0.6rem; border: 0; background: none; color: #9a9a9a; font-size: 0.8rem; text-decoration: underline; }
.pay-card .pay-qr { margin-top: 0.5rem; }
/* Stripe Payment Element: the iframe needs a min height and must not be
   squeezed by the centred text layout around it. */
.pay-card__section-title { margin: 0 0 0.8rem; font-size: 0.95rem; font-weight: 600; }
.pay-card__stripe { text-align: left; min-height: 120px; margin-bottom: 1rem; }
.pay-card__stripe .muted { text-align: center; font-size: 0.85rem; color: #9a9a9a; }
.pay-card__testhint { margin: -0.4rem 0 0.9rem; font-size: 0.74rem; line-height: 1.5; color: #b3351f; text-align: left; }
.pay-card__cta[disabled] { opacity: 0.55; }
/* Apple Pay / Google Pay standalone buttons (Stripe renders them). The wrapper
   stays hidden until Stripe reports at least one wallet is available. */
.pay-card__express { margin: 0 0 1.2rem; }
.pay-card__divider { display: flex; align-items: center; gap: 0.7rem; margin: 1rem 0 0; font-size: 0.74rem; color: #9a9a9a; }
.pay-card__divider::before,
.pay-card__divider::after { content: ""; flex: 1; height: 1px; background: #ececec; }
/* Expired order: replaces the whole payment block, so it must not look like an
   error the customer caused. */
.pay-card__expired { margin: 0.2rem 0 0.5rem; font-size: 1.02rem; font-weight: 600; color: #23201d; }

/* order modal action stack */
.member-order-modal__actions { display: grid; gap: 0.6rem; margin-top: 1rem; }
.member-order-modal__actions .button { margin: 0; }
.member-order-modal .orders-help-link { margin-top: 1rem; }

/* product modal: readable allergen text */
.allergen-box { font-size: 12.5px; line-height: 1.55; }
.allergen-box strong { font-size: 12px; }
.allergen-box strong .icon { width: 15px; height: 15px; }
.product-modal__notes { margin-top: 16px; }

/* keep the black hint just above the bottom tab bar */
#toast-root { bottom: calc(var(--tabbar-height, 74px) + env(safe-area-inset-bottom) + 10px); }

/* let the last category scroll up to the top of the list */
.menu-product-list { padding-bottom: 96px; }

/* product detail: image stays put, only the content scrolls */
@media (max-width: 720px) {
  .product-modal {
    display: flex;
    flex-direction: column;
    height: 92vh;
    max-height: 92vh;
    overflow: hidden;
  }
  .product-modal__media {
    flex: 0 0 220px;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }
  .product-modal__content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Clear selected category */
.menu-rail__item.is-active,
.menu-rail__item.has-children.is-active,
.menu-rail__item--level-2.is-active {
  background: linear-gradient(90deg, #f7e8d1 0%, #fbf4e8 100%);
  color: #2e2117;
  box-shadow: inset 4px 0 var(--red);
}

.menu-rail__item.is-active::before {
  display: none;
}

.menu-rail__item.is-active strong {
  color: #8e2f22;
  font-weight: 800;
}

.menu-rail__item.is-active small {
  color: #8c6845;
}

.menu-rail__item.is-active .menu-rail__chevron {
  color: #8e2f22;
}

.menu-rail__item:active {
  background: #eee3d3;
}

/* Clear selected product */
.menu-row--in-cart {
  background: #fff7ea;
  box-shadow: inset 4px 0 var(--red);
  border-bottom-color: #f0ddc2;
}

.menu-row--in-cart .menu-row__name strong {
  color: #8e2f22;
}

.menu-row--in-cart .menu-row__price {
  color: var(--red);
}

.menu-row--in-cart .menu-row__stepper {
  border-color: #d9b98b;
  background: #fffaf1;
}

.menu-row:active {
  background: #f7f0e4;
}

.menu-row--in-cart:active {
  background: #f8ecd9;
}

/* Restaurant800 brand elements */
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
  object-fit: contain;
}

.brand__mark--large {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

.hero__tagline {
  margin-top: 8px;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.hero__seal--calligraphy {
  width: min(220px, 42vw);
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  text-align: right;
}

.hero__seal--calligraphy::before {
  display: none;
}

.hero__seal--calligraphy .brand-calligraphy {
  display: block;
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 5.4vw, 42px);
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__seal--calligraphy small {
  display: block;
  margin-top: 8px;
  color: var(--gold-pale);
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.site-footer__brandline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.site-footer__tagline {
  margin-top: 5px !important;
  color: var(--red) !important;
  font-family: var(--serif);
  font-size: 11px !important;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .hero__seal--calligraphy {
    right: 24px;
    bottom: 22px;
    width: 150px;
  }

  .hero__seal--calligraphy small {
    font-size: 7px;
  }
}

.legacy-home .hero__seal--calligraphy {
  width: min(220px, 42vw);
  height: auto;
}

@media (max-width: 700px) {
  .legacy-home .hero__seal--calligraphy {
    width: 148px;
    height: auto;
  }
}

/* POSPal-style pickup / delivery cards */
.home-modes--picker {
  background: transparent;
  padding: 14px 0 0;
}

.home-modes__grid {
  width: min(560px, calc(100% - 28px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-mode-card {
  position: relative;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(51, 35, 20, 0.12);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-mode-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 608 / 636;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-mode-card:active img {
  transform: scale(0.985);
  filter: brightness(0.96);
}

.home-mode-card.is-disabled {
  cursor: not-allowed;
  box-shadow: none;
}

.home-mode-card.is-disabled img {
  filter: grayscale(0.7) brightness(0.62);
}

.home-mode-card__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(35, 28, 22, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 420px) {
  .home-modes__grid {
    width: calc(100% - 20px);
    gap: 9px;
  }

  .home-mode-card {
    border-radius: 14px;
  }
}

/* POSPal-inspired storefront home */
.pospal-home {
  background: #f7f2e8;
  color: #2f2720;
  padding-bottom: 104px;
}

.pospal-hero,
.pospal-member,
.pospal-top-pick {
  display: block;
  width: min(560px, calc(100% - 20px));
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f7f2e8;
}

.pospal-hero img,
.pospal-member img,
.pospal-top-pick img {
  display: block;
  width: 100%;
  height: auto;
}

.pospal-hero {
  margin-top: 8px;
}

.pospal-member {
  background: #fff;
  box-shadow: 0 3px 14px rgba(57, 39, 23, 0.06);
}

.pospal-home .home-modes--picker {
  padding-top: 10px;
  background: transparent;
}

.pospal-home .home-modes__grid {
  width: min(560px, calc(100% - 20px));
  gap: 10px;
}

.pospal-home .home-mode-card {
  border-radius: 15px;
  box-shadow: 0 3px 14px rgba(57, 39, 23, 0.07);
}

.pospal-top-pick {
  margin-top: 14px;
  background: #fffaf0;
  box-shadow: 0 3px 14px rgba(57, 39, 23, 0.06);
}

.pospal-contact {
  width: min(560px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 16px 2px 8px;
  border-top: 1px solid rgba(62, 43, 26, 0.14);
}

.pospal-contact__label {
  margin: 0 0 2px;
  color: #6f5c48;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.pospal-contact__label + .pospal-contact__label {
  margin-top: 14px;
}

.pospal-contact__phone {
  display: inline-block;
  color: #2f2720;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-decoration: none;
}

.pospal-contact__address {
  margin: 2px 0 0;
  color: #2f2720;
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.pospal-hero:active img,
.pospal-member:active img,
.pospal-top-pick:active img {
  opacity: 0.92;
}

/* Distinct pickup / delivery menu headers */
.menu-fulfilment-bar {
  flex: none;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border-bottom: 1px solid #eadfce;
  background: #fbf4e8;
}

.menu-fulfilment-bar--pickup {
  background: #f7ead8;
  box-shadow: inset 4px 0 var(--red);
}

.menu-fulfilment-bar--delivery {
  background: #eef4ec;
  box-shadow: inset 4px 0 #2c5549;
}

.menu-fulfilment-bar__label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.menu-fulfilment-bar__label > .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #6f4a2e;
}

.menu-fulfilment-bar--delivery .menu-fulfilment-bar__label > .icon {
  color: #2c5549;
}

.menu-fulfilment-bar__label span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.menu-fulfilment-bar__label strong {
  font-size: 10px;
  line-height: 1.15;
}

.menu-fulfilment-bar__label small {
  overflow: hidden;
  color: #7a6752;
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-fulfilment-bar--delivery .menu-fulfilment-bar__label small {
  color: #5f756a;
}

.menu-fulfilment-bar > a {
  flex: none;
  padding: 4px 7px;
  border: 1px solid rgba(111, 74, 46, 0.25);
  border-radius: 999px;
  color: #6f4a2e;
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.menu-fulfilment-bar--delivery > a {
  border-color: rgba(44, 85, 73, 0.25);
  color: #2c5549;
}

.menu-fulfilment-bar__off {
  flex: none;
  padding: 4px 8px;
  border: 1px solid rgba(180, 58, 42, 0.25);
  border-radius: 999px;
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-mode-notice {
  margin: 0;
  padding: 7px 12px;
  border-bottom: 1px solid #eadfce;
  background: #fdf1ec;
  color: #92331f;
  font-size: 10px;
  line-height: 1.4;
}

/* ------------------------------------------------ cancellation requests */

.order-cancel-notice {
  display: grid;
  gap: 3px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(185, 71, 47, 0.28);
  border-left: 3px solid #b9472f;
  border-radius: 10px;
  background: #fff7f2;
  color: #7d2d1d;
  font-size: 12.5px;
  line-height: 1.55;
}

.order-cancel-notice strong {
  font-size: 13px;
}

.order-cancel-notice span {
  color: #6c5a50;
  font-size: 12px;
}

.order-cancel-notice--muted {
  display: block;
  border-color: rgba(23, 59, 50, 0.14);
  border-left-color: #746f63;
  background: #f7f2e8;
  color: #5d574d;
}

.order-cancel-line {
  margin: 6px 0 0;
  color: #9a4b2f;
  font-size: 11.5px;
  font-weight: 600;
}

.order-refund-notice {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(216, 168, 78, 0.38);
  border-left: 3px solid #d8a84e;
  border-radius: 9px;
  background: #fff9ec;
  color: #7a5514;
  font-size: 12px;
  line-height: 1.55;
}

.order-refund-notice strong {
  font-size: 12.5px;
}

.order-refund-notice span {
  color: #6c5a3e;
  font-size: 11.5px;
}

.order-refund-notice--done {
  display: block;
  border-color: rgba(47, 125, 91, 0.25);
  border-left-color: #2f7d5b;
  background: #f1f8f4;
  color: #1f6247;
  font-weight: 600;
}

/* Wordmark lockup used in the storefront header. */
.brand--wordmark {
  flex: 0 1 auto;
  min-width: 0;
}

.brand__wordmark {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .brand__wordmark {
    font-size: clamp(1.25rem, 5.4vw, 1.55rem);
  }
}

/* Category jumps are animated in JS; disable native smooth scrolling on the
   list so each animation frame is applied immediately. */
.menu-product-list {
  scroll-behavior: auto;
}

/* First-time member registration after email verification. */
.member-register-form {
  width: 100%;
  text-align: left;
  margin-top: 4px;
}

.member-register-form .field > span small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.member-register-form .button {
  margin-top: 18px;
}

.member-login-switch {
  display: block;
  margin: 14px auto 0;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Block all page interaction while account creation/POSPal sync is running. */
.member-blocking-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(246, 246, 246, 0.74);
  backdrop-filter: blur(3px);
}

.member-blocking-card {
  min-width: 220px;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 24px 28px;
  border: 1px solid rgba(23, 59, 50, 0.1);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 22px 60px rgba(23, 45, 37, 0.16);
  text-align: center;
}

.member-blocking-card .spinner {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

.member-blocking-card strong {
  color: var(--ink);
  font-size: 14px;
}

.member-blocking-card small {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.member-blocking-overlay {
  touch-action: none;
  overscroll-behavior: contain;
}

/* Customer order-status push opt-in */
.order-push-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(23, 59, 50, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.86);
}

.order-push-panel--muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.order-push-panel__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(23, 59, 50, 0.08);
  color: var(--ink);
}

.order-push-panel__icon .icon {
  width: 17px;
  height: 17px;
}

.order-push-panel > div {
  flex: 1;
  min-width: 0;
}

.order-push-panel strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.order-push-panel small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}

.order-push-panel__error {
  color: #a33a2a !important;
}

.order-push-panel .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .order-push-panel {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .order-push-panel .button {
    width: 100%;
  }
}

.button--small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 11px;
}

.member-contact-modal {
  max-height: min(86vh, 720px);
  overflow-y: auto;
}

.member-contact-modal .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.member-contact-modal__hint {
  margin: 4px 0 2px;
  font-size: 10.5px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .member-contact-modal .field-row {
    grid-template-columns: 1fr;
  }
}

/* Five-level spice rating */
.spice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spice-pips {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.spice-pips i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.spice-pips i.is-on {
  background: #fff;
}

.spice-badge--featured {
  position: absolute;
  left: 12px;
  top: 12px;
}

.spice-badge--media {
  font-size: 10px;
  letter-spacing: 0.02em;
}

/* Spice line under product names */
.spice-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #a4402f;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
}

.spice-inline .icon {
  width: 13px;
  height: 13px;
}

.spice-inline .spice-pips i {
  background: rgba(164, 64, 47, 0.2);
}

.spice-inline .spice-pips i.is-on {
  background: #a4402f;
}

.menu-row .spice-inline {
  margin-top: 1px;
}

/* Five-chili rating, matching the merchant console */
.spice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(164, 64, 47, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: #a4402f;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
}

.spice-chilis {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.spice-chili {
  display: inline-flex;
  color: rgba(23, 59, 50, 0.16);
}

.spice-chili.is-on {
  color: #b9472f;
}

.spice-chili .icon {
  width: 12px;
  height: 12px;
}

.spice-inline .spice-chilis {
  gap: 1px;
}

.spice-inline .spice-chili .icon {
  width: 13px;
  height: 13px;
}

/* Cancel order → call the shop */
.order-cancel-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9c3d2f;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 2px;
  cursor: pointer;
}

.cancel-phone-modal {
  text-align: center;
}

.cancel-phone-modal__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 2px auto 12px;
  border-radius: 50%;
  background: rgba(23, 59, 50, 0.08);
  color: var(--ink);
}

.cancel-phone-modal__icon .icon {
  width: 22px;
  height: 22px;
}

.cancel-phone-modal__order {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.cancel-phone-modal__hint {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.cancel-phone-modal__number {
  display: inline-block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Seafood allergen marker */
.badge--allergen {
  background: #f4dfb8;
  color: #6f4b16;
  border: 1px solid rgba(111, 75, 22, 0.16);
}

.badge--allergen .icon {
  width: 11px;
  height: 11px;
}

.allergen-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(244, 223, 184, 0.65);
  color: #6f4b16;
  font-size: 10.5px;
  font-weight: 700;
}

.allergen-inline .icon {
  width: 12px;
  height: 12px;
}

.allergen-box__seafood {
  margin-top: 6px;
  color: #8a4b12;
  font-weight: 700;
}
