/* Besa's Italian Restaurant — site styles */
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-2: #f4ece0;
  --ink: #221b17;
  --muted: #6b5d52;
  --line: #e6dccd;
  --red: #b3192a;
  --red-ink: #ffffff;
  --red-dark: #8c1120;
  --green: #2d5a3b;
  --wood: #3a2418;
  --destructive: #b3192a;
  --radius-control: 6px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(34, 27, 23, .06), 0 8px 24px rgba(34, 27, 23, .08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .65em 1.25em;
  border-radius: var(--radius-control); border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--red); color: var(--red-ink); }
.btn-primary:hover:not([disabled]) { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 38px; padding: .45em .9em; font-size: .95rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.link { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--red-dark); }
.text-btn { background: none; border: 0; padding: .25em 0; color: var(--muted); font: inherit; font-size: .92rem; text-decoration: underline; cursor: pointer; }
.text-btn:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: #fff; color: var(--red); font-size: .8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.badge:empty { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .call-btn { display: none; }
  .brand img { height: 42px; }
  .mobile-nav[data-open="true"] { display: block; border-top: 1px solid var(--line); padding: 8px 0 16px; }
  .mobile-nav a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .header-actions .order-label { display: none; }
  .site-header .bar { gap: 12px; }
}

/* mobile sticky action bar: Call now + Order */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  }
  .action-bar .btn { width: 100%; }
  body { padding-bottom: 76px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(86vh, 760px); display: flex; align-items: flex-end;
  background: var(--wood);
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(25,14,8,.86) 0%, rgba(25,14,8,.6) 45%, rgba(25,14,8,.1) 100%),
              linear-gradient(0deg, rgba(25,14,8,.55), rgba(25,14,8,0) 45%);
}
.hero .inner { padding-block: 120px 72px; max-width: 760px; }
.kicker { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.hero .kicker { color: #f4d9b0; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin: 14px 0 18px; }
.hero p.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 600px; color: #f8efe5; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.facts {
  background: var(--red); color: #fff;
}
.facts ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 8px 36px; justify-content: center; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .7; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); max-width: 560px; margin-top: 10px; }
.eyebrow { color: var(--red); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; display: block; }
.alt { background: var(--surface-2); }
.dark { background: var(--wood); color: #f8efe5; }
.dark .eyebrow { color: #f4b9a0; }
.dark .section-head p { color: #d9c8b6; }

/* favorites */
.favs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fav { text-decoration: none; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.fav:hover { transform: translateY(-3px); }
.fav img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.fav .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.fav h3 { font-size: 1.45rem; }
.fav p { color: var(--muted); }
.fav .more { margin-top: auto; padding-top: 8px; color: var(--red); font-weight: 700; }
@media (max-width: 860px) { .favs { grid-template-columns: 1fr; } }

/* lunch specials */
.lunch { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.lunch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.lunch-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.lunch-list strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.lunch-list .price { font-weight: 700; color: #fff; }
.lunch-list span.note { grid-column: 1 / -1; color: #d9c8b6; font-size: .95rem; }
@media (max-width: 860px) { .lunch { grid-template-columns: 1fr; } }

/* story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story figure { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story figure img { border-radius: var(--radius-lg); object-fit: cover; width: 100%; height: 100%; }
.story figure img.tall { grid-row: span 2; aspect-ratio: 470 / 868; }
.story figure img.wide { aspect-ratio: 1 / 1; }
.story h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.story p + p { margin-top: 14px; }
.story blockquote { margin: 26px 0 0; padding-left: 20px; border-left: 4px solid var(--red); font-family: var(--font-display); font-size: 1.35rem; font-style: italic; }
.story blockquote cite { display: block; margin-top: 8px; font: 600 .95rem var(--font-body); font-style: normal; color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* catering band */
.band { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 440px; background: var(--green); color: #fff; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band .copy { padding: clamp(36px, 6vw, 80px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.band p { color: #e3efe6; max-width: 520px; }
.band .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band img { aspect-ratio: 16 / 10; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; }
.review span { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: auto; }
.awards { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.awards img { height: 160px; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.awards p { max-width: 420px; color: var(--muted); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.visit img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.visit h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0 22px; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-weight: 600; }
.visit address { font-style: normal; font-size: 1.1rem; }
.visit .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.muted { color: var(--muted); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* footer */
.site-footer { background: #17100c; color: #d9c8b6; padding-block: 56px 32px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* page header (inner pages) */
.page-hero { background: var(--wood); color: #fff; position: relative; isolation: isolate; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,14,8,.88), rgba(25,14,8,.45)); }
.page-hero .inner { padding-block: clamp(56px, 8vw, 96px); max-width: 820px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 10px 0 14px; }
.page-hero p { color: #f1e4d6; font-size: 1.15rem; max-width: 620px; }
.page-hero .kicker { color: #f4d9b0; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- menu page ---------- */
.menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.section-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.section-nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 600; color: var(--muted); }
.section-nav a:hover { background: var(--surface-2); color: var(--ink); }
.section-nav a.active { background: var(--ink); color: #fff; }
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.menu-tabs button { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: var(--radius-control); font: 600 .95rem var(--font-body); cursor: pointer; }
.menu-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.notice { background: #fff4e5; border: 1px solid #f0d3a8; color: #6a4410; padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 24px; font-weight: 600; }
.notice.error { background: #fdecee; border-color: #f2b8bf; color: var(--destructive); }
.menu-section { padding-bottom: 48px; }
.menu-section > header { border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 8px; }
.menu-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.menu-section > header p { color: var(--muted); margin-top: 6px; }
.dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 80px); }
.dish.has-img { grid-template-columns: 96px 1fr auto; }
.dish img { width: 96px; height: 96px; border-radius: var(--radius-md); object-fit: cover; grid-row: span 2; }
.dish h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; }
.dish .desc { color: var(--muted); font-size: .97rem; grid-column: 1 / 2; }
.dish.has-img .desc { grid-column: 2 / 3; }
.dish .price { font-weight: 700; text-align: right; white-space: nowrap; }
.dish .variants { list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--muted); text-align: right; }
.dish .variants b { color: var(--ink); font-weight: 700; }
.dish .act { grid-column: -2 / -1; display: flex; justify-content: flex-end; align-items: flex-end; }
.dish .soldout { color: var(--muted); font-weight: 600; font-size: .9rem; }
.dish:target { background: #fff4e5; }
@media (max-width: 1100px) { .dishes { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .menu-layout { grid-template-columns: 1fr; }
  .section-nav { position: sticky; top: var(--header-h); z-index: 20; flex-direction: row; overflow-x: auto; max-height: none; background: var(--bg); padding: 10px 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
  .section-nav a { white-space: nowrap; }
  .dish.has-img { grid-template-columns: 72px 1fr auto; }
  .dish img { width: 72px; height: 72px; }
}
.skeleton { height: 76px; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--surface-2), #fff, var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s infinite; margin-bottom: 12px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- overlays (dish sheet + order drawer) ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(23, 16, 12, .55); display: flex; }
.overlay[hidden] { display: none; }
.sheet { margin: auto; width: min(560px, 100%); max-height: min(90vh, 900px); background: var(--surface); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.drawer { margin-left: auto; width: min(460px, 100%); height: 100%; background: var(--surface); display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.25); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.5rem; }
.panel-head p { color: var(--muted); margin-top: 6px; font-size: .97rem; }
.close-btn { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); border-radius: var(--radius-control); flex: none; }
.close-btn svg { width: 24px; height: 24px; }
.close-btn:hover { background: var(--surface-2); }
.panel-body { padding: 18px 22px; overflow: auto; flex: 1; }
.panel-foot { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sheet img.hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
fieldset.group { border: 0; padding: 0; margin: 0 0 22px; }
fieldset.group legend { font-weight: 700; display: flex; gap: 10px; align-items: baseline; padding: 0; margin-bottom: 8px; }
fieldset.group legend small { font-weight: 600; color: var(--muted); font-size: .85rem; }
.choice { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 8px; cursor: pointer; }
.choice:hover { border-color: var(--ink); }
.choice input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.choice span.name { flex: 1; }
.choice span.add { color: var(--muted); font-weight: 600; font-size: .92rem; }
.choice.disabled { opacity: .5; cursor: not-allowed; }
.field-error { color: var(--destructive); font-weight: 600; font-size: .92rem; margin-top: 4px; }
.field-error:empty { display: none; }
label.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.field input, .field textarea, .field select {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #cdbfae; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 72px; resize: vertical; }
label.field.has-hint { margin-bottom: 6px; }
.field-hint { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-control); }
.qty button { width: 40px; height: 40px; background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.foot-row { display: flex; align-items: center; gap: 14px; }
.foot-row .btn { flex: 1; }

.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line h3 { font: 700 1rem var(--font-body); letter-spacing: 0; }
.line ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .9rem; }
.line .lp { font-weight: 700; }
.line .ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.line .warn { grid-column: 1 / -1; color: var(--destructive); font-size: .9rem; font-weight: 600; }
.qty.small button { width: 34px; height: 34px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; margin-bottom: 14px; }
.seg button { border: 0; background: #fff; padding: 10px; font: 600 .95rem var(--font-body); cursor: pointer; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; display: grid; gap: 14px; justify-items: center; }
.fulfil-note { color: var(--muted); font-size: .9rem; margin: -6px 0 14px; }

/* catering page */
.cater-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cater-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.cater-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.cater-card p { color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 760px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 1.3rem var(--font-display); }
.steps strong { display: block; font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .cater-grid, .split { grid-template-columns: 1fr; } }

/* tips in the order drawer */
.seg.tip-seg { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.seg.tip-seg button { padding: 10px 2px; font-size: .9rem; white-space: nowrap; }
.seg.tip-seg button + button { border-left: 1px solid var(--line); }
.tip-line { display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; margin-top: -4px; }

/* pizza toppings in the dish sheet: whole pizza, left half or right half */
.topping-help { color: var(--muted); font-size: .92rem; margin: -4px 0 14px; }
.topping { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 8px; }
.topping:has(.place label:not(:first-child) input:checked) { border-color: var(--ink); }
.topping .t-name { flex: 1 1 8em; font-weight: 600; }
.topping .t-price { color: var(--muted); font-weight: 600; font-size: .92rem; }
.topping .place { display: grid; grid-template-columns: repeat(4, auto); border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; }
.topping .place label { position: relative; display: block; }
.topping .place input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.topping .place span { display: block; min-width: 3.4em; padding: 8px 9px; font-size: .88rem; font-weight: 600; text-align: center; white-space: nowrap; background: #fff; color: var(--ink); }
.topping .place label + label span { border-left: 1px solid var(--line); }
.topping .place input:checked + span { background: var(--ink); color: #fff; }
.topping .place label:first-child input:checked + span { background: var(--surface-2); color: var(--muted); }
.topping .place input:focus-visible + span { outline: 3px solid var(--green); outline-offset: -3px; }
.topping .place input:disabled { cursor: not-allowed; }
.topping .place input:disabled + span { opacity: .4; }
.topping.disabled .t-name, .topping.disabled .t-price { opacity: .5; }
@media (max-width: 520px) {
  .topping .place { flex: 1 0 100%; grid-template-columns: repeat(4, 1fr); }
  .topping .place span { padding-inline: 4px; }
  /* phones: the dish pop-up fills the screen and skips the big photo, so the options have room */
  .sheet { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .sheet img.hero-img { display: none; }
  .sheet .panel-head { padding: 14px 18px; }
  .sheet .panel-head p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}