
  .nav__logo img { height: 34px; width: auto; display: block; }
  .nav__logo { gap: 10px; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; }

  /* hero: words left, the tray on the brand red right */
  .hero-stage { position: relative; background: var(--p-accent); overflow: hidden; display: grid; place-items: center; border-radius: var(--r-lg, 12px); }
  .hero-stage__q { position: absolute; right: 4%; top: 6%; height: 88%; width: auto; opacity: .16; filter: brightness(0) invert(1); pointer-events: none; }
  .hero-stage__pizza { position: relative; width: 94%; max-width: none; height: auto;  filter: drop-shadow(0 30px 40px rgba(60,10,5,.35)); }
  .hero-notice { color: var(--muted); }

  /* visit: the street set large */
  .type-moment { font: var(--display-weight) clamp(44px, 6.4vw, 96px)/1.02 var(--font-display); letter-spacing: -0.03em; margin: 0 0 var(--s-7); }
  .type-moment a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease, ease); }
  .type-moment a:hover { background-size: 100% 2px; }
  #visit .visit { align-content: start; }
  #visit .visit__cols { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  #visit .hours { grid-template-columns: auto auto; column-gap: var(--s-5); }
  #visit .hours dd, .closing .hours dd { white-space: nowrap; }
  #visit .visit__rows > li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-block: 14px; }
  #visit .visit__rows > li > :last-child { text-align: left; font-size: 16px; line-height: 1.5; }
  #visit .visit { align-content: space-between; }
  #visit .visit__address { font-size: 22px; line-height: 1.4; }
  .statement > .wrap { justify-content: center; }
  .statement .t-label { color: var(--p-ink); }
  .visit-sign { background: var(--p-ink); border-radius: var(--r-lg, 12px); display: grid; place-items: center; min-height: 100%; overflow: hidden; }
  .statement .mo-wh__text { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.12; max-width: 1080px; margin-top: var(--s-5); }
  .visit-sign img { width: 34%; height: auto; transition: transform .5s var(--ease, ease); }
  .visit-sign:hover img { transform: rotate(-6deg) scale(1.03); }

  /* the three whys */
  .why-grid { align-items: start; }
  .why { display: grid; gap: var(--s-4); color: inherit; text-decoration: none; }
  .why__panel { aspect-ratio: 1 / 1; border-radius: var(--r-lg, 12px); background: var(--p-surface); display: grid; place-items: center; overflow: hidden; transition: transform .35s var(--ease, ease); }
  .why__panel img { width: 92%; height: auto; transition: transform .5s var(--ease, ease); }
  .why:hover .why__panel { transform: translateY(-2px); }
  .why:hover .why__panel img { transform: scale(1.03); }
  .why__panel--red { background: var(--p-accent); color: #fff; }
  .why__num { font: 400 clamp(120px, 15vw, 220px)/.8 var(--font-display); letter-spacing: -0.05em; display: grid; justify-items: center; }
  .why__num small { font: 500 15px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; margin-top: 18px; }
  .why h3 { font: var(--display-weight) 28px/1.15 var(--font-display); letter-spacing: -0.01em; margin: 8px 0 0; }
  .why h3 .q { color: var(--p-accent); }
  .why p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 36ch; }

  /* order */
  /* the order holds the whole menu: it runs as long as the menu, never cut to two screens */
  main > section#comanda { height: auto; }
  .cart .form { grid-template-columns: minmax(0, 1fr); }
  .order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
  .order__step { font: 500 13px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
  .order__step b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--p-ink); color: var(--p-bg); font-size: 12px; letter-spacing: 0; }
  .shops { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
  .shop { position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 48px; border: 1px solid var(--line-strong); border-radius: var(--r-md, 8px); cursor: pointer; transition: border-color .2s, background .2s; min-height: 44px; }
  .shop input { position: absolute; left: 18px; top: 19px; accent-color: var(--p-accent); width: 18px; height: 18px; margin: 0; }
  .shop strong { font-weight: 500; }
  .shop span { color: var(--muted); font-size: 14px; }
  .shop:has(input:checked) { border-color: var(--p-ink); background: #fff; }
  .shop--soon { cursor: default; border-style: dashed; }
  .shop--soon span { color: var(--p-ink); }
  .jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; position: sticky; top: 72px; z-index: 3; background: var(--p-bg); padding-block: 8px; }
  .jump a { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
  .jump a:hover { background: var(--p-ink); color: var(--p-bg); }
  .menu-group { scroll-margin-top: 150px; margin-bottom: 40px; }
  .menu-group h3 { font: var(--display-weight) 30px/1.1 var(--font-display); margin: 0 0 4px; }
  .menu-group > p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
  .items { list-style: none; margin: 0; padding: 0; }
  .item { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 6px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .item__name { font-weight: 500; font-size: 16px; }
  .item__desc { grid-column: 1; color: #524d47; font-size: 15px; line-height: 1.45; }
  .item__price { grid-column: 2; grid-row: 1 / span 2; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .item__price small { color: var(--muted); font-size: 13px; }
  .item__add { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--p-ink); background: transparent; color: var(--p-ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, transform .12s; }
  .item__add:hover { background: var(--p-ink); color: var(--p-bg); }
  .item__add:active { transform: scale(.92); }
  .item__add.is-added { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }

  .cart { position: sticky; top: 96px; background: #fff; border-radius: var(--r-lg, 12px); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -24px rgba(28,25,23,.25); display: grid; gap: 18px; max-height: calc(100vh - 120px); overflow: auto; }
  .cart__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
  .cart__head .cart__shop { grid-column: 1; }
  .cart__close { grid-column: 2; grid-row: 1 / span 2; }
  .cart__total { padding-bottom: 8px; }
  .done h3 span { white-space: nowrap; }
  .scrim { display: none; position: fixed; inset: 0; background: rgba(28,25,23,.4); z-index: 58; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .scrim.is-on { opacity: 1; pointer-events: auto; }
  .cart__head h3 { font: var(--display-weight) 28px/1 var(--font-display); margin: 0; }
  .cart__shop { font-size: 14px; color: var(--muted); }
  .cart__empty { color: var(--muted); font-size: 15px; padding: 18px 0; border-block: 1px solid var(--line); }
  .cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .cart__lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .qty { display: inline-flex; align-items: center; gap: 4px; }
  .qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; cursor: pointer; font-size: 16px; color: var(--ink); }
  .qty button:hover { border-color: var(--ink); }
  .qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
  .cart__total { display: flex; justify-content: space-between; font: 500 18px/1 var(--font-text); font-variant-numeric: tabular-nums; }
  .cart .field { font-size: 14px; }
  .pay { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
  .pay legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
  .pay label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md, 8px); cursor: pointer; font-size: 15px; min-height: 44px; }
  .pay label:has(input:checked) { border-color: var(--p-ink); }
  .pay input { accent-color: var(--p-accent); width: 18px; height: 18px; margin: 0; }
  .pay small { margin-left: auto; color: var(--muted); font-size: 13px; }
  .cart .btn { width: 100%; justify-content: center; }
  .cart .btn[disabled] { opacity: .45; cursor: not-allowed; }
  .done { text-align: left; display: grid; gap: 14px; }
  .done__q { width: 56px; height: auto; }
  .done h3 { font: var(--display-weight) 30px/1.1 var(--font-display); margin: 0; }
  .done p { margin: 0; color: var(--muted); }
  .done strong { color: var(--ink); }
  .cartbar { display: none; }
  .cart__close { display: none; }

  /* franchise: the one brand band */
  .fr-band { background: #b8241e; color: #fff; --ink: #fff; --muted: #fff; --line: rgba(255,255,255,.28); --line-strong: rgba(255,255,255,.6); }
  .fr-band h2, .fr-band .link { color: #fff; }
  .fr { align-content: center; }
  .fr__mark { width: 56px; height: auto; filter: brightness(0) invert(1); margin-bottom: var(--s-6); display: block; }
  .fr { align-items: start; }
  .fr__lead { color: #fff; font-size: var(--t-lead); line-height: 1.5; margin: var(--s-5) 0 var(--s-7); max-width: 40ch; }
  .fr__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 var(--s-6); }
  .fr__facts dt { font: 400 var(--t-h2)/1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
  .fr__facts dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
  .steps { list-style: none; counter-reset: s; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .steps li::before { content: "0" counter(s); font: 400 20px/1.3 var(--font-display); color: var(--p-accent); }
  .fr-band .steps li::before { color: #fff; opacity: .8; }
  .steps li { font-size: 18px; padding: 22px 0; }

  .footer__address a { color: inherit; }
  .closing .close__word { color: var(--p-accent); }
  .close-q { display: inline-block; height: .8em; width: auto; vertical-align: -0.02em; margin-left: .04em; }

  @media (max-width: 1023px) {
    .scrim { display: block; }
    .order { grid-template-columns: minmax(0, 1fr); }
    .order__menu { min-width: 0; }
    .cart { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; border-radius: 16px 16px 0 0; max-height: 86vh; transform: translateY(105%); transition: transform .35s var(--ease, ease); padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
    .cart.is-open { transform: none; }
    .cart__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--p-surface); border-radius: 50%; cursor: pointer; font-size: 20px; }
    .cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 20px; min-height: 56px; border: 0; border-radius: 999px; background: var(--p-ink); color: var(--p-bg); font: 500 16px/1 var(--font-text); cursor: pointer; transform: translateY(150%); transition: transform .3s var(--ease, ease); }
    .cartbar.is-on { transform: none; }
    .cartbar b { background: var(--p-accent); padding: 8px 12px; border-radius: 999px; font-weight: 500; }
    .shops { grid-template-columns: 1fr; }
    .fr__facts dt { font-size: 52px; }
    .hero-stage { min-height: 320px; }
  }
  @media (max-width: 639px) {
    header.nav .nav__actions { display: none !important; }
    .why__panel { aspect-ratio: 4 / 3; }
    .why__panel img { width: 70%; }
    .why__num { font-size: 120px; }
    #visit .visit__cols { grid-template-columns: 1fr; gap: var(--s-4); }
    .why h3 { font-size: 24px; }
    .item { grid-template-columns: minmax(0, 1fr) auto 44px; gap: 4px 12px; }
    .menu-group h3 { font-size: 26px; }
    .jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; }
    .jump a { white-space: nowrap; }
  }
  @media (prefers-reduced-motion: reduce) { .cart, .cartbar { transition: none; } }

/* ---------- multi-page additions ---------- */
/* inner pages: sections run as long as their content */
main > section.auto { height: auto; min-height: 0; }
.page-head { padding-top: calc(var(--padt) + 24px); padding-bottom: 24px; }
.page-head h1 { margin: 0 0 var(--s-4); }
.page-head p { font-size: var(--t-lead); line-height: 1.5; max-width: 56ch; margin: 0; }
.nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav__cart { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__cart b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--p-accent); color: #fff; font-size: 12px; }
.nav__cart b:empty, .nav__cart b[data-n="0"] { display: none; }

/* photo slot: a frame waiting for the client's photograph */
.ph { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; background: var(--p-surface); border: 1.5px dashed color-mix(in oklab, var(--p-ink) 28%, transparent); border-radius: var(--r-lg, 12px); color: var(--p-muted); text-align: center; padding: 24px; min-height: 220px; }
.ph svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.5; opacity: .7; }
.ph span { font-size: 15px; font-weight: 500; max-width: 26ch; }
.ph small { font-size: 13px; opacity: .85; }
.ph--dark { background: #292523; color: #cfc9c2; border-color: rgba(255,255,255,.25); }

/* home: visit strip */
.vstrip { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; }
.vstrip .ph { min-height: 100%; }
.vstrip__info { background: var(--p-surface); border-radius: var(--r-lg, 12px); padding: 40px; display: grid; gap: 20px; align-content: space-between; }
.vstrip__info address { font: var(--display-weight) clamp(28px, 2.6vw, 40px)/1.15 var(--font-display); font-style: normal; letter-spacing: -0.01em; }
.vstrip__row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.vstrip__row .hours { margin: 0; }

/* locations */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc { display: grid; gap: 20px; align-content: start; }
.loc .ph { aspect-ratio: 4 / 3; min-height: 0; }
.loc h2 { font-size: clamp(28px, 2.6vw, 40px); margin: 0; }
.loc__meta { display: grid; gap: 10px; font-size: 16px; }
.loc__meta address { font-style: normal; }
.loc__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.loc--soon .soon { aspect-ratio: 4 / 3; border-radius: var(--r-lg, 12px); background: var(--p-ink); display: grid; place-items: center; }
.loc--soon .soon img { width: 26%; }
.tag { display: inline-block; font: 500 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--p-accent); }

/* franchise page */
.fr-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fr-hero .ph { aspect-ratio: 4 / 5; min-height: 0; }
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.offer > div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.offer h3 { font: var(--display-weight) 24px/1.2 var(--font-display); margin: 0 0 8px; }
.offer p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.5; }
.needs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.3); }
.needs li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 18px; }

/* about page */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.story p { font-size: 19px; line-height: 1.6; margin: 0 0 18px; max-width: 54ch; }
.story .ph { aspect-ratio: 4 / 3; min-height: 0; }
.gallery { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; align-items: start; }
.gallery .ph:nth-child(1) { aspect-ratio: 4 / 5; }
.gallery .ph:nth-child(2) { aspect-ratio: 1; }
.gallery .ph:nth-child(3) { aspect-ratio: 3 / 4; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.values h3 { font: var(--display-weight) 28px/1.15 var(--font-display); margin: 0 0 10px; }
.values h3 .q { color: var(--p-accent); }
.values p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; }
.ritual { list-style: none; padding: 0; margin: 0; counter-reset: r; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ritual li { counter-increment: r; border-top: 2px solid var(--p-ink); padding-top: 16px; font-size: 16px; line-height: 1.5; }
.ritual li::before { content: counter(r); display: block; font: 400 44px/1 var(--font-display); color: var(--p-accent); margin-bottom: 10px; }

/* closing band shared by inner pages */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: var(--r-lg, 12px); background: var(--p-ink); color: var(--p-bg); }
.cta-band h2 { color: var(--p-bg); margin: 0; font-size: clamp(28px, 3vw, 44px); }
.cta-band p { margin: 6px 0 0; color: #cfc9c2; }

@media (max-width: 1023px) {
  .vstrip, .locs, .fr-hero, .story, .offer, .values { grid-template-columns: 1fr; }
  .vstrip .ph { min-height: 240px; }
  .ritual { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .ph:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .fr-hero .ph { aspect-ratio: 4 / 3; }
}
@media (max-width: 639px) {
  .vstrip__info { padding: 24px; }
  .ritual { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 24px; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .nav__cart span { display: none; }
}
footer.closing.auto-foot { height: auto; }
.footer__pages a { color: inherit; line-height: 2; }
footer.closing.auto-foot > .wrap { height: auto; } footer.closing.auto-foot { min-height: 0; padding-top: var(--s-8, 64px); }

@media (max-width:1023px){ body > .cart{z-index:200; overscroll-behavior:contain; -webkit-overflow-scrolling:touch} body > .scrim{z-index:190} }

/* ---- connected to the staff panel ---- */
.item.is-out .item__name, .item.is-out .item__desc { opacity: .45; }
.item.is-out .item__price { color: var(--p-accent); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.item.is-out .item__add { opacity: .3; cursor: not-allowed; }
.item.is-out .item__add:hover { background: transparent; color: var(--p-ink); }
.shop em { font-style: normal; color: var(--p-accent); }
.notice { margin: 0; padding: 14px 16px; border-radius: var(--r-md, 8px); background: #fbe9e7; color: #7a1a15; font-size: 15px; }
.track { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: t; }
.track li { font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line-strong); }
.track li.is-past { border-color: var(--p-ink); color: var(--p-ink); }
.track li.is-now { border-color: var(--p-accent); color: var(--p-ink); font-weight: 600; }
.done.is-ready h3 { color: var(--p-accent); }
.lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 48px; border-radius: var(--r-lg, 12px); background: var(--p-surface, #ede4d6); }
.lead h2 { margin-top: 0; }
.lead__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.lead__form .field--full { grid-column: 1 / -1; }
.lead__form textarea { resize: vertical; }
.lead__done { margin: 0; font-size: 18px; }
@media (max-width: 1023px) { .lead { grid-template-columns: minmax(0,1fr); padding: 28px 20px; gap: 24px; } }
@media (max-width: 560px) { .lead__form { grid-template-columns: minmax(0,1fr); } }

/* statement: no grey resting state; the key words turn red as you reach them */
body .mo-wh .mo-w { color: var(--p-ink); }
.mo-wh strong .mo-w { transition: color .3s ease; }

/* the closing name always fits, ? included */
.closing .close__word { overflow: visible; font-size: clamp(56px, 13vw, 200px); }
@media (max-width: 639px) { .closing .close__word { font-size: 15.5vw; } }

/* delivery apps, with their own logos */
.delivery { display: grid; gap: 16px; padding-top: var(--s-5, 24px); border-top: 1px solid var(--line); }
.delivery__h { margin: 0; font-size: 15px; color: var(--muted); }
.delivery__apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 12px; }
.delivery__apps li { display: block; min-width: 0; }
.delivery__apps a { width: 100%; box-sizing: border-box; display: grid; place-items: center; height: 88px; padding: 0 20px; background: #fff; border-radius: var(--r-md, 8px); box-shadow: 0 1px 0 var(--line); transition: transform .2s var(--ease, ease), box-shadow .2s; }
.delivery__apps a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(28,25,23,.35); }
.delivery__apps img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.delivery__apps a::after { display: none !important; }
@media (max-width: 639px) {
  .delivery__apps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .delivery__apps a { height: 72px; padding: 0 10px; }
  .delivery__apps img { height: 30px; }
}

/* beat the footer's link styles (inline-flex + drawn underline) */
footer .delivery .delivery__apps { gap: 12px !important; }
footer .delivery .delivery__apps a { display: grid !important; place-items: center; justify-content: center; background: #fff !important; padding: 0 16px !important; }
footer .delivery .delivery__apps img { margin: 0 auto; }
@media (max-width: 639px) { footer .delivery .delivery__apps { gap: 8px !important; } footer .delivery .delivery__apps a { padding: 0 8px !important; } }
.closing .close__word { padding-bottom: 0; margin-bottom: .24em; line-height: 1; }
/* the footer grew (delivery apps): let it be as tall as it needs */
footer.closing { height: auto !important; min-height: 100vh; }
footer.closing > .wrap { grid-template-rows: auto auto !important; height: auto !important; }

/* menu items with a photo */
.item { grid-template-columns: 88px minmax(0, 1fr) auto 44px !important; column-gap: 18px; }
.item__pic { grid-column: 1; grid-row: 1 / span 2; width: 88px; height: 88px; border-radius: var(--r-md, 8px); background: var(--p-surface); overflow: hidden; display: grid; place-items: center; }
.item__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease, ease); }
.item__pic img[src$=".webp"][src^="img/"] { object-fit: contain; padding: 4px; transform: scale(1.15); }
.item:hover .item__pic img { transform: scale(1.04); }
.item:hover .item__pic img[src^="img/"] { transform: scale(1.19); }
.item__pic--empty { border: 1.5px dashed color-mix(in oklab, var(--p-ink) 22%, transparent); color: var(--p-muted); }
.item__pic--empty svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .55; }
.item__name, .item__desc { grid-column: 2 !important; }
.item__name { align-self: end; }
.item__desc { align-self: start; }
.item__price { grid-column: 3 !important; }
.item__add { grid-column: 4 !important; }
.item.is-out .item__pic { opacity: .45; }
@media (max-width: 639px) {
  .item { grid-template-columns: 72px minmax(0, 1fr) 44px !important; column-gap: 12px; row-gap: 2px; }
  .item__pic { width: 72px; height: 72px; grid-row: 1 / span 3; }
  .item__name { grid-row: 1; }
  .item__desc { grid-row: 2; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .item__price { grid-column: 2 !important; grid-row: 3 !important; font-size: 15px; }
  .item__add { grid-column: 3 !important; grid-row: 1 / span 3 !important; }
}

/* order button that follows you on every page */
.fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--p-accent); color: #fff !important; text-decoration: none !important; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(28,25,23,.45); transition: transform .2s var(--ease, ease), background .2s; background-image: none !important; }
.fab:hover { transform: translateY(-2px); background: #b8241e; }
.fab:active { transform: scale(.97); }
.fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fab b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--p-accent); font-size: 12px; display: grid; place-items: center; }
.fab b:empty { display: none; }
@media (max-width: 639px) { .fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 48px; padding: 0 18px; } }
@media print { .fab { display: none; } }

/* menu rows open the product page */
.item__name { all: unset; box-sizing: border-box; cursor: pointer; font-weight: 500; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.item__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.item__name:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; border-radius: 2px; }
.item__pic, .item__desc { cursor: pointer; }
.diet { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.diet--veg { background: #e3efe3; color: #2f6b3a; }
.diet--vegan { background: #d7ecd9; color: #1f5a2b; }
.diet--hot { background: #fbe4e2; color: #a5221d; }
.diet--meat { background: var(--p-surface); color: var(--p-muted); }

/* product page (dialog) */
.pdp { padding: 0; border: 0; width: min(920px, calc(100vw - 48px)); max-height: calc(100vh - 48px); border-radius: var(--r-lg, 12px); background: var(--p-bg); color: var(--p-ink); box-shadow: 0 40px 80px -30px rgba(28,25,23,.5); overflow: hidden; }
.pdp::backdrop { background: rgba(28,25,23,.5); }
.pdp[open] { animation: pdp-in .28s var(--ease, ease); }
@keyframes pdp-in { from { opacity: 0; transform: translateY(16px); } }
.pdp__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: minmax(0, 1fr) auto; max-height: calc(100vh - 48px); position: relative; }
.pdp__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--p-surface); font-size: 24px; line-height: 1; cursor: pointer; color: var(--p-ink); }
.pdp__x:hover { background: #e3d8c6; }
.pdp__pic { grid-row: 1 / span 2; background: var(--p-surface); display: grid; place-items: center; min-height: 360px; }
.pdp__pic img { width: 100%; height: 100%; object-fit: cover; }
.pdp__pic img[src^="img/"] { object-fit: contain; padding: 32px; }
.pdp__ph { display: grid; place-items: center; gap: 8px; color: var(--p-muted); border: 1.5px dashed color-mix(in oklab, var(--p-ink) 22%, transparent); border-radius: var(--r-md, 8px); width: 70%; aspect-ratio: 1; }
.pdp__ph svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .6; }
.pdp__body { overflow: auto; overscroll-behavior: contain; padding: 36px 36px 16px; }
.pdp__cat { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.pdp h2 { margin: 6px 56px 10px 0; font: var(--display-weight, 400) clamp(30px, 3vw, 40px)/1.1 var(--font-display); }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; }
.pdp__tags .diet { height: 24px; font-size: 12px; padding: 0 10px; border-radius: 12px; }
.pdp__g { font-size: 13px; color: var(--p-muted); margin-left: 4px; }
.pdp__price { margin: 0 0 22px; font-size: 22px; font-variant-numeric: tabular-nums; }
.pdp__price small { color: var(--p-muted); font-size: 14px; }
.pdp__out { color: var(--p-accent); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.pdp h3 { margin: 22px 0 10px; font: 600 13px/1.3 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.pdp__ingr, .pdp__all { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pdp__ingr li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.pdp__all li { padding: 6px 12px; border-radius: 999px; background: #fbe4e2; color: #8a1c17; font-size: 14px; font-weight: 600; }
.pdp__none { margin: 0; font-size: 15px; }
.pdp__note, .pdp__est { margin: 10px 0 0; font-size: 13px; color: var(--p-muted); line-height: 1.45; }
.pdp__nut { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; background: #fff; border-radius: var(--r-md, 8px); overflow: hidden; }
.pdp__nut th, .pdp__nut td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: right; font-weight: 400; }
.pdp__nut thead th { font-size: 12px; color: var(--p-muted); }
.pdp__nut th[scope=row] { text-align: left; font-weight: 500; }
.pdp__nut tr.sub th[scope=row] { font-weight: 400; padding-left: 26px; color: var(--p-muted); }
.pdp__nut tbody tr:first-child { font-weight: 600; }
.pdp__nut tbody tr:last-child > * { border-bottom: 0; }
.pdp__buy { display: flex; gap: 12px; align-items: center; padding: 16px 36px 24px; border-top: 1px solid var(--line); background: var(--p-bg); }
.pdp__buy .btn { flex: 1; justify-content: center; min-height: 52px; }
.pdp__buy .qty { display: inline-flex; align-items: center; gap: 10px; }
.pdp__buy .qty button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--p-ink); background: transparent; font-size: 20px; cursor: pointer; color: var(--p-ink); }
.pdp__buy .qty button:disabled { opacity: .3; cursor: default; }
.pdp__buy .qty span { min-width: 20px; text-align: center; font-size: 17px; font-weight: 500; }
@media (max-width: 767px) {
  .pdp { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .pdp__in { display: block; height: 100dvh; max-height: 100dvh; overflow: auto; overscroll-behavior: contain; }
  .pdp__pic { min-height: 0; aspect-ratio: 4 / 3; }
  .pdp__ph { width: 46%; }
  .pdp__body { overflow: visible; padding: 22px 20px 16px; }
  .pdp h2 { margin-right: 0; }
  .pdp__buy { position: sticky; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
  .pdp__x { position: fixed; }
  .pdp__x { background: rgba(247,242,234,.92); }
}
.site-toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 300; background: var(--p-ink); color: var(--p-bg); padding: 12px 18px; border-radius: 10px; font-weight: 500; transition: .25s; pointer-events: none; }
.site-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the order button: a round icon, out of the way */
.fab { width: 56px; height: 56px; min-height: 0; padding: 0; justify-content: center; gap: 0; }
.fab svg { width: 24px; height: 24px; }
.fab b { position: absolute; top: -4px; right: -4px; border: 2px solid var(--p-bg); }
@media (max-width: 639px) { .fab { width: 52px; height: 52px; min-height: 0; padding: 0; } }
/* keep the footer's last row clear of it */
footer.closing .footer__legal { padding-right: 72px; }

/* order page on a phone: the cart is the same small round button as on the other pages */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1023px) {
  .cartbar.fab { left: auto; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; min-height: 0; padding: 0; border-radius: 50%; background: var(--p-accent); color: #fff; display: grid; place-items: center; transform: scale(0); opacity: 0; transition: transform .25s var(--ease, ease), opacity .2s; }
  .cartbar.fab.is-on { transform: none; opacity: 1; }
  .cartbar.fab b { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--p-accent); border: 2px solid var(--p-bg); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
  .cartbar.fab b:empty { display: none; }
  .cartbar.fab.is-ready { background: #2f7a4a; }
  .cartbar.fab.is-ready b { color: #2f7a4a; }
}
