/* =========================================================
   TOP BURGER NJ — QR MENU
   Mobile-first. Brand tokens mirrored from /styles.css.
   ========================================================= */

:root {
  --tb-red:        #C8102E;
  --tb-red-deep:   #8E0A1E;
  --tb-yellow:     #FFD028;
  --tb-yellow-soft:#FFF1B8;
  --tb-cream:      #F5E6C8;
  --tb-wood-dark:  #3B2416;
  --tb-wood:       #5C3A1E;
  --tb-charcoal:   #1A0F08;
  --tb-black:      #0A0604;
  --tb-text:       #F8EFE2;
  --tb-text-dim:   #C9B89A;
  --tb-green-br:   #009B3A;
  --tb-blue-br:    #002776;

  --font-serif:  "Playfair Display", "Georgia", serif;
  --font-script: "Caveat", "Apple Chancery", cursive;
  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 4.5vw, 28px);
  --rad: 4px;          /* nada de "rounded-2xl" — restaurante real tem cantos discretos */
  --bar-h: 62px;
  --pills-h: 56px;

  /* fundo papelão: textura sutil em SVG inline pra não pegar lib */
  --paper-bg:
    radial-gradient(1200px 800px at 80% -10%, rgba(200,16,46,.07), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(255,208,40,.05), transparent 60%),
    var(--tb-charcoal);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper-bg);
  color: var(--tb-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* overflow-x: hidden quebra position:sticky em iOS — usamos clip que respeita sticky */
  overflow-x: clip;
  min-height: 100dvh;
}
@supports not (overflow-x: clip) {
  /* fallback: contain o overflow no body, mantendo html scrollável */
  html { overflow-x: visible; }
  body { overflow-x: hidden; }
}

body::before {
  /* grain — papel de cardápio impresso */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 1;
}

a { color: var(--tb-yellow); text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* =========================================================
   TOP BAR — brand + lang + status
   ========================================================= */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--pad);
  height: var(--bar-h);
  background: linear-gradient(180deg, var(--tb-black) 0%, rgba(10,6,4,.92) 100%);
  border-bottom: 1px solid rgba(245,230,200,.08);
  padding-top: calc(10px + env(safe-area-inset-top));
  box-sizing: content-box;
}
.bar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tb-yellow);
  box-shadow: 0 0 0 2px var(--tb-red-deep);
  flex: none;
}
.bar-title { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.bar-eyebrow {
  font-family: var(--font-script);
  font-size: 14px;
  color: var(--tb-yellow);
  letter-spacing: .02em;
  transform: translateY(2px);
}
.bar-name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.bar-name .bar-nj {
  color: var(--tb-red);
  font-style: italic;
  font-weight: 700;
  margin-left: 2px;
}

.bar-right { display: flex; align-items: center; gap: 10px; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tb-text-dim);
}
.status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tb-text-dim);
  box-shadow: 0 0 0 0 rgba(0,155,58,.7);
}
.status.is-open .dot {
  background: var(--tb-green-br);
  animation: pulse 1.8s ease-out infinite;
}
.status.is-closed .dot { background: #b85b3c; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(0,155,58,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(0,155,58,0);   }
  100% { box-shadow: 0 0 0 0   rgba(0,155,58,0);   }
}

.lang { display: inline-flex; gap: 2px; padding: 3px; background: rgba(245,230,200,.06); border-radius: 999px; }
.lang-pill {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--tb-text-dim);
  padding: 6px 9px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.lang-pill.is-active {
  background: var(--tb-yellow);
  color: var(--tb-black);
}

@media (max-width: 380px) {
  .status .status-text { display: none; }
}

/* =========================================================
   INTRO — editorial heading
   ========================================================= */
.intro {
  padding: 28px var(--pad) 18px;
  position: relative;
  z-index: 2;
}
.intro-script {
  font-family: var(--font-script);
  color: var(--tb-yellow);
  font-size: 22px;
  margin: 0 0 -4px;
  transform: rotate(-2deg);
  display: inline-block;
}
.intro-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 14vw, 88px);
  line-height: .92;
  margin: 4px 0 12px;
  letter-spacing: -.02em;
  color: var(--tb-cream);
}
.intro-title::after {
  content: ".";
  color: var(--tb-red);
  display: inline-block;
  transform: translateY(-.08em);
}
.intro-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--tb-text-dim);
  max-width: 38ch;
  margin: 0 0 16px;
}
.intro-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-chip {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tb-cream);
  padding: 6px 10px;
  background: rgba(245,230,200,.06);
  border: 1px solid rgba(245,230,200,.1);
  border-radius: 2px;
}
.meta-chip b {
  color: var(--tb-yellow);
  font-weight: 700;
  font-family: var(--font-serif);
  margin-right: 2px;
}

/* =========================================================
   STICKY PILLS — horizontal scroll-spy
   ========================================================= */
.pills {
  position: sticky;
  top: var(--bar-h);
  z-index: 40;
  background: linear-gradient(180deg, var(--tb-charcoal) 0%, rgba(26,15,8,.96) 100%);
  border-top: 1px solid rgba(245,230,200,.06);
  border-bottom: 1px solid rgba(245,230,200,.08);
  padding-top: env(safe-area-inset-top, 0);
}
.pills-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px var(--pad);
}
.pills-track::-webkit-scrollbar { display: none; }
.pill {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--tb-text-dim);
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(245,230,200,.14);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .18s, background .18s, border-color .18s;
}
.pill .pill-ico { font-size: 14px; line-height: 1; }
.pill:hover { color: var(--tb-cream); border-color: rgba(245,230,200,.3); }
.pill.is-active {
  color: var(--tb-black);
  background: var(--tb-yellow);
  border-color: var(--tb-yellow);
}

/* =========================================================
   MENU — sections, editorial numbering, hand-drawn dividers
   ========================================================= */
.menu { padding: 8px var(--pad) 120px; position: relative; z-index: 2; }

.cat {
  scroll-margin-top: calc(var(--bar-h) + var(--pills-h) + 8px);
  padding: 28px 0 8px;
}
.cat-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 14px;
  margin-bottom: 8px;
}
.cat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 52px;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--tb-yellow);
  text-stroke: 1px var(--tb-yellow);
  letter-spacing: -.04em;
}
.cat-title-wrap { min-width: 0; }
.cat-kicker {
  font-family: var(--font-script);
  color: var(--tb-red);
  font-size: 18px;
  line-height: 1;
  display: block;
  transform: rotate(-2deg) translateX(-2px);
}
.cat-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 6.6vw, 34px);
  line-height: 1.05;
  color: var(--tb-cream);
  margin: 2px 0 0;
  letter-spacing: -.01em;
}
.cat-title .cat-ico {
  font-size: .8em;
  margin-right: 6px;
  filter: saturate(1.1);
}

.divider {
  display: block;
  margin: 14px 0 18px;
  color: rgba(255,208,40,.42);
  width: 100%;
  height: 14px;
}

/* =========================================================
   CARD — horizontal layout: photo | text | price
   ========================================================= */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  align-items: stretch;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(245,230,200,.12);
  text-align: left;
  width: 100%;
  position: relative;
  transition: background .15s ease;
}
.card:hover, .card:focus-visible { background: rgba(245,230,200,.025); outline: none; }
.card:active { background: rgba(245,230,200,.05); }
.card:last-child { border-bottom: 0; }

.card-photo {
  width: 96px; height: 96px;
  border-radius: 2px;
  background: var(--tb-wood-dark);
  overflow: hidden;
  position: relative;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(245,230,200,.08);
}
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Items SEM foto: stripe colorida brasileira */
.card-stripe {
  width: 96px;
  height: 96px;
  position: relative;
  flex: none;
  background: var(--tb-wood-dark);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(245,230,200,.06);
}
.card-stripe::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(
    180deg,
    var(--tb-green-br) 0%, var(--tb-green-br) 33%,
    var(--tb-yellow) 33%, var(--tb-yellow) 66%,
    var(--tb-red) 66%, var(--tb-red) 100%
  );
}
.card-stripe-glyph {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 36px;
  color: rgba(245,230,200,.18);
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}

.card-body {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  color: var(--tb-cream);
  letter-spacing: -.005em;
}
.card-desc {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--tb-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }

.tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--tb-cream);
  background: rgba(245,230,200,.08);
  border: 1px solid rgba(245,230,200,.14);
}
.tag.is-combo  { color: var(--tb-yellow); border-color: rgba(255,208,40,.35); }
.tag.is-signature { color: #ffc4cf; border-color: rgba(200,16,46,.45); }
.tag.is-popular { color: var(--tb-yellow); border-color: rgba(255,208,40,.35); }

/* Vintage stamp — Bestseller */
.stamp {
  position: absolute;
  top: 8px;
  left: -6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tb-red);
  background: var(--tb-yellow-soft);
  padding: 3px 8px 3px 7px;
  border: 1.5px solid var(--tb-red);
  /* canto chanfrado em vez de pill */
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%, 6px 50%);
  transform: rotate(-4deg);
  box-shadow: 1px 1px 0 rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 2;
}

.card-price-col {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start;
  gap: 4px;
  padding-top: 2px;
  min-width: 58px;
}
.card-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--tb-yellow);
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.card-add {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,208,40,.1);
  color: var(--tb-yellow);
  display: grid; place-items: center;
  font-size: 18px; line-height: 1;
  border: 1px solid rgba(255,208,40,.3);
  transition: background .15s, transform .1s;
}
.card-add:hover { background: rgba(255,208,40,.18); }
.card-add:active { transform: scale(.92); }
.card-add.has-qty {
  background: var(--tb-yellow);
  color: var(--tb-black);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
}

.empty {
  padding: 40px var(--pad);
  text-align: center;
  color: var(--tb-text-dim);
  font-family: var(--font-script);
  font-size: 22px;
}

/* =========================================================
   SKELETON
   ========================================================= */
.sk-cat { padding: 26px 0 8px; }
.sk-num {
  width: 52px; height: 40px; border-radius: 2px;
  background: rgba(245,230,200,.04);
  margin-bottom: 6px;
}
.sk-title {
  width: 60%; height: 30px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(245,230,200,.04), rgba(245,230,200,.09), rgba(245,230,200,.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  margin-bottom: 14px;
}
.sk-cards { display: flex; flex-direction: column; gap: 18px; }
.sk-card {
  height: 96px;
  background: linear-gradient(90deg, rgba(245,230,200,.04), rgba(245,230,200,.08), rgba(245,230,200,.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 2px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =========================================================
   FAB CART
   ========================================================= */
.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px;
  background: var(--tb-yellow);
  color: var(--tb-black);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .005em;
  box-shadow: 0 10px 28px rgba(255,208,40,.25), 0 2px 6px rgba(0,0,0,.4);
  z-index: 60;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .25s;
}
.fab.is-on {
  transform: translateY(0);
  opacity: 1;
}
.fab:active { transform: scale(.97); }
.fab-count {
  background: var(--tb-red);
  color: var(--tb-cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 4px;
}
.fab svg { color: var(--tb-black); }

/* =========================================================
   SHEET (bottom drawer)
   ========================================================= */
.sheet {
  position: fixed; inset: 0;
  z-index: 70;
  pointer-events: none;
}
.sheet[aria-hidden="false"] { pointer-events: auto; }
.sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,6,4,.6);
  opacity: 0;
  transition: opacity .25s;
}
.sheet[aria-hidden="false"] .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 88dvh;
  background: linear-gradient(180deg, #2b1a10 0%, var(--tb-charcoal) 70%);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,.5);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255,208,40,.2);
}
.sheet[aria-hidden="false"] .sheet-panel { transform: translateY(0); }
.sheet-handle {
  width: 44px; height: 4px;
  background: rgba(245,230,200,.3);
  border-radius: 999px;
  margin: 10px auto 4px;
  cursor: pointer;
}
.sheet-body { padding: 0 var(--pad) 24px; }

.item-hero {
  margin: 6px calc(var(--pad) * -1) 14px;
  height: 220px;
  background: var(--tb-wood-dark);
  overflow: hidden;
  position: relative;
}
.item-hero img { width: 100%; height: 100%; object-fit: cover; }
.item-hero-stripe {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--tb-green-br) 0 33%,
    var(--tb-yellow) 33% 66%,
    var(--tb-red) 66% 100%
  );
  margin: 6px calc(var(--pad) * -1) 14px;
}
.item-cat {
  font-family: var(--font-script);
  font-size: 20px;
  color: var(--tb-yellow);
  line-height: 1;
  display: block;
}
.item-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  margin: 4px 0 6px;
  color: var(--tb-cream);
  letter-spacing: -.01em;
}
.item-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--tb-text-dim);
  margin: 8px 0 16px;
}
.item-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  border-top: 1px dashed rgba(245,230,200,.18);
  border-bottom: 1px dashed rgba(245,230,200,.18);
  margin-bottom: 18px;
}
.item-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  color: var(--tb-yellow);
  letter-spacing: -.01em;
}
.qty {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(245,230,200,.06);
  border: 1px solid rgba(245,230,200,.14);
}
.qty button {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--tb-yellow);
  color: var(--tb-black);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  display: grid; place-items: center;
  line-height: 1;
}
.qty button:disabled { background: rgba(245,230,200,.15); color: var(--tb-text-dim); }
.qty-val {
  font-family: var(--font-serif); font-weight: 700; font-size: 18px;
  color: var(--tb-cream);
  min-width: 18px; text-align: center;
}
.item-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }

.item-add {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--tb-red);
  color: var(--tb-cream);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  padding: 16px;
  border-radius: 4px;
  letter-spacing: .005em;
  box-shadow: 0 6px 16px rgba(200,16,46,.3);
  transition: transform .1s;
}
.item-add:active { transform: scale(.98); }

/* =========================================================
   CART SHEET
   ========================================================= */
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px var(--pad) 12px;
}
.cart-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--tb-cream);
  margin: 0;
  letter-spacing: -.01em;
}
.cart-head h2::before {
  content: "—";
  color: var(--tb-yellow);
  margin-right: 6px;
}
.cart-clear {
  font-family: var(--font-script);
  font-size: 18px;
  color: var(--tb-text-dim);
  text-decoration: underline;
  text-decoration-color: rgba(245,230,200,.3);
  text-underline-offset: 3px;
}
.cart-clear:hover { color: var(--tb-yellow); }

.cart-list {
  list-style: none;
  margin: 0; padding: 0 var(--pad);
  max-height: 50dvh;
  overflow-y: auto;
}
.cart-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(245,230,200,.12);
}
.cart-row:last-child { border-bottom: 0; }
.cart-qty {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--tb-black);
  background: var(--tb-yellow);
  border-radius: 4px;
  padding: 2px 7px;
  min-width: 34px;
  text-align: center;
}
.cart-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--tb-cream);
  line-height: 1.25;
}
.cart-name small {
  display: block;
  color: var(--tb-text-dim);
  font-size: 11px;
  margin-top: 2px;
}
.cart-row-side { display: flex; align-items: center; gap: 8px; }
.cart-line-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--tb-yellow);
}
.cart-rm {
  font-size: 16px; line-height: 1;
  color: var(--tb-text-dim);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.cart-rm:hover { color: var(--tb-red); background: rgba(200,16,46,.1); }

.cart-empty {
  padding: 32px 0;
  text-align: center;
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--tb-text-dim);
}

.cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px var(--pad);
  margin-top: 8px;
  border-top: 1px solid rgba(245,230,200,.1);
}
.cart-total span {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tb-text-dim);
}
.cart-total strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 34px;
  color: var(--tb-cream);
  letter-spacing: -.02em;
}

.checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 var(--pad);
  padding: 16px;
  background: var(--tb-green-br);
  color: white;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  border-radius: 4px;
  width: calc(100% - var(--pad) * 2);
  box-shadow: 0 8px 22px rgba(0,155,58,.32);
  transition: transform .1s, background .2s;
}
.checkout:hover { background: #00aa42; }
.checkout:active { transform: scale(.985); }
.checkout:disabled { background: rgba(245,230,200,.1); color: var(--tb-text-dim); box-shadow: none; }

.cart-fine {
  margin: 12px var(--pad) 8px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--tb-text-dim);
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  padding: 26px var(--pad) 100px;
  text-align: center;
  color: var(--tb-text-dim);
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.foot-script {
  font-family: var(--font-script);
  font-size: 24px;
  color: var(--tb-yellow);
  margin: 0;
  transform: rotate(-1.5deg);
}
.foot-info { margin: 6px 0 4px; }
.foot-info a { font-weight: 600; }
.foot-addr { margin: 0; opacity: .7; }

/* =========================================================
   LARGER SCREENS (tablet+ — still feels like a menu, not a webapp)
   ========================================================= */
@media (min-width: 720px) {
  :root { --pad: 40px; }
  .menu { max-width: 760px; margin: 0 auto; }
  .intro, .pills, .foot { max-width: 760px; margin-left: auto; margin-right: auto; }
  .card { grid-template-columns: 120px 1fr auto; }
  .card-photo, .card-stripe { width: 120px; height: 120px; }
  .card-title { font-size: 19px; }
  .card-desc { font-size: 13.5px; -webkit-line-clamp: 3; }
  .sheet-panel { max-width: 560px; left: 50%; transform: translate(-50%, 100%); border-radius: 16px; bottom: 24px; }
  .sheet[aria-hidden="false"] .sheet-panel { transform: translate(-50%, 0); }
}

@media (min-width: 1024px) {
  .menu { max-width: 880px; }
  .intro, .pills, .foot { max-width: 880px; }
  .cat-num { font-size: 64px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
