:root {
  --red: #72251f;
  --red-dark: #4b1715;
  --green: #6c8060;
  --yellow: #d7a56d;
  --paper: #f8f2e9;
  --ink: #321b18;
  --muted: #806b62;
  --line: #e6d5c2;
  --card: #fffdf9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.is-loading,
body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding-top: 48px;
  padding-bottom: 0;
  overflow-x: hidden;
}

body.is-flow .restaurant-top,
body.is-flow .delivery-strip {
  display: none;
}

body.is-flow .page {
  padding-top: 0;
}

body.is-flow .order-app {
  margin-top: 0;
}

body.is-flow .app-tabs {
  display: none;
}

body.is-flow .bag-bar {
  display: none;
}

.restaurant-top {
  padding: 24px 0 0;
  background: #f3f4f1;
  border-bottom: 0;
}

.hero-photo {
  display: none;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .3s ease, visibility .3s ease;
}

body:not(.is-loading) .loading-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loading-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(320px, calc(100% - 40px));
  padding: 28px;
  border: 1px solid #f0dfaa;
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 16px 34px #6b2d001c;
}

.loading-card img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.loading-card strong {
  color: var(--red-dark);
  font-size: 17px;
  font-weight: 900;
}

.loading-card span {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0 42%, #f4db9b 42% 100%);
  background-size: 220% 100%;
  animation: loading-move .85s ease-in-out infinite alternate;
}

@keyframes loading-move {
  to {
    background-position: 100% 0;
  }
}

.store-panel {
  width: min(1280px, calc(100% - 28px));
  min-height: 420px;
  margin: 128px auto 24px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: end;
  gap: 18px;
  padding: 104px 32px 28px;
  border: 1px solid #f0dfaa;
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 16px 34px #4b171514;
  overflow: visible;
}

.store-mark {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 132px;
  border: 1px solid #ead9c8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  background: #fffdf9;
  color: var(--red-dark);
  box-shadow: 0 10px 20px #4b171512;
  overflow: hidden;
}

.store-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.brand-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.store-copy h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: .96;
  font-weight: 900;
  text-wrap: balance;
  white-space: nowrap;
  text-align: center;
}

.store-copy {
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
}

.store-status,
.store-details {
  width: min(620px, 100%);
}

.store-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eadfd3;
}

.store-status button {
  border: 0;
  background: transparent;
  color: #e62b36;
  font-size: 15px;
  font-weight: 900;
}

.store-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.store-details > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.store-details > div + div {
  padding-left: 20px;
  border-left: 1px solid #eadfd3;
}

.store-details span {
  color: #8a817a;
  font-size: 14px;
  font-weight: 800;
}

.store-details strong {
  color: #6e7177;
  font-size: 22px;
  line-height: 1.05;
}

.store-details > div:last-child strong {
  color: #159447;
}

.store-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.store-badges span,
.open-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border-radius: 999px;
  padding: 9px 13px;
  background: #f1e1ce;
  color: #47310a;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.open-dot {
  background: #e8efe4;
  color: var(--green);
  animation: open-blink 1.2s ease-in-out infinite;
}

.open-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@keyframes open-blink {
  0%,
  100% {
    background: #eaf7ec;
    box-shadow: 0 0 0 0 #18834800;
  }

  50% {
    background: #d8f8df;
    box-shadow: 0 0 0 5px #18834816;
  }
}

.delivery-strip {
  position: relative;
  overflow: hidden;
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 10px 24px #4b17152b, inset 0 1px 0 #ffffff1c;
  transform: translateZ(0);
}

.delivery-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, #ffffff16, transparent);
  transform: skewX(-20deg);
  animation: strip-shine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes strip-shine {
  0%,
  55%,
  100% {
    left: -35%;
  }

  75% {
    left: 120%;
  }
}

.delivery-strip .strip-inner > span {
  background: var(--yellow);
}

.strip-inner {
  width: min(1280px, calc(100% - 28px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.strip-inner > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: #22170a;
  flex: 0 0 auto;
  box-shadow: 0 6px 0 #9d6937, 0 10px 18px #16090840;
  transform: translateY(-2px);
  transition: transform .25s ease, box-shadow .25s ease;
}

.delivery-strip:hover .strip-inner > span {
  transform: translateY(-5px) rotate(-3deg);
  box-shadow: 0 8px 0 #9d6937, 0 14px 22px #16090855;
}

.strip-inner div {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.strip-inner strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.delivery-blink {
  display: inline-block;
  animation: delivery-blink .9s ease-in-out infinite;
}

@keyframes delivery-blink {
  0%,
  100% {
    color: #fff;
    text-shadow: 0 0 0 #f7c60000;
  }

  50% {
    color: var(--yellow);
    text-shadow: 0 0 12px #f7c60090;
  }
}

.strip-inner p {
  width: max-content;
  margin: 4px 0 0;
  color: #ffeeb4;
  font-size: 13px;
  font-weight: 700;
  animation: info-ticker 18s linear infinite;
}

@keyframes info-ticker {
  0%,
  15% {
    transform: translateX(0);
  }

  65%,
  100% {
    transform: translateX(-18%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-strip::before,
  .strip-inner p {
    animation: none;
  }
}

.strip-inner button {
  border: 2px solid #fff4c7;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 900;
}

.menu-section {
  padding: 34px max(18px, calc((100vw - 1280px) / 2)) 44px;
  background: var(--paper);
}

.menu-section.highlight {
  background: var(--red);
  color: #fff;
}

.menu-section.muted {
  background: #fff1bf;
}

.upsell-section {
  padding-top: 26px;
  padding-bottom: 30px;
}

.upsell-section .section-head {
  margin-bottom: 16px;
}

.upsell-section .section-head h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.upsell-section .section-head p {
  margin-top: 5px;
}

.menu-section.final {
  padding-bottom: 62px;
}

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

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 900;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.highlight .section-head p {
  color: #ffe8ab;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1e160a;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.section-head a svg {
  width: 15px;
  height: 15px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight .section-icon {
  background: var(--yellow);
  color: #231607;
}

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

.product-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-grid.drinks,
.product-grid.extras {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid.combos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  position: relative;
  min-height: 344px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 12px;
  color: var(--ink);
  box-shadow: 0 8px 22px #69390012;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #fff;
}

.product-card.best em {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: calc(100% - 40px);
  border-radius: 999px;
  background: var(--yellow);
  color: #281807;
  padding: 7px 10px;
  text-align: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 3px 10px #4d240026;
}

.product-card h3 {
  margin: 0;
  min-height: 40px;
  color: #211815;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.product-card p {
  margin: 8px 0 15px;
  min-height: 48px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.product-card small {
  margin-top: auto;
  color: #897a60;
  font-size: 11px;
  font-weight: 800;
}

.product-card strong {
  margin-top: 3px;
  color: var(--red);
  font-size: 23px;
  font-weight: 900;
}

.product-card button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease;
}

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

.product-card button.added {
  background: var(--red);
}

.product-card button i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-style: normal;
}

.product-card button svg {
  width: 13px;
  height: 13px;
}

.product-card.compact,
.product-card.no-photo {
  min-height: 312px;
}

.product-card.upsell-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 10px;
}

.product-card.upsell-card img {
  width: 78px;
  height: 78px;
  aspect-ratio: 1;
  margin: 0;
}

.product-card.upsell-card h3 {
  min-height: 0;
  font-size: 13px;
}

.product-card.upsell-card p {
  min-height: 0;
  margin: 4px 0 7px;
  font-size: 11px;
}

.product-card.upsell-card small {
  display: none;
}

.product-card.upsell-card strong {
  font-size: 18px;
}

.product-card.upsell-card button {
  width: auto;
  min-height: 32px;
  margin-top: 8px;
  padding: 0 11px;
  font-size: 12px;
}

.product-card.upsell-card button i {
  width: 18px;
  height: 18px;
}

.product-grid.drinks {
  gap: 10px;
}

.product-grid.drinks .product-card.upsell-card {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

.product-grid.drinks .product-card.upsell-card img {
  width: 54px;
  height: 54px;
}

.product-grid.drinks .product-card.upsell-card h3 {
  font-size: 12px;
  line-height: 1.15;
}

.product-grid.drinks .product-card.upsell-card p {
  margin: 2px 0 4px;
  font-size: 10px;
  line-height: 1.2;
}

.product-grid.drinks .product-card.upsell-card strong {
  font-size: 15px;
}

.product-grid.drinks .product-card.upsell-card button {
  min-height: 28px;
  margin-top: 5px;
  padding: 0 8px;
  font-size: 11px;
}

.product-grid.drinks .product-card.upsell-card button i {
  width: 16px;
  height: 16px;
}

.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 28px));
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 3px solid #fff4c6;
  border-radius: 8px;
  background: #201412;
  color: #fff;
  padding: 10px 16px;
  box-shadow: 0 16px 30px #2014123d;
}

.cart-bar.has-items {
  background: var(--green);
}

.cart-bar:focus-visible,
.product-card button:focus-visible,
.section-head a:focus-visible,
.strip-inner button:focus-visible,
.cart-dialog button:focus-visible,
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 3px solid #f7c600;
  outline-offset: 3px;
}

.cart-bar div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.cart-bar strong {
  border-radius: 6px;
  background: var(--yellow);
  color: #15100a;
  padding: 10px 15px;
  font-size: 13px;
}

.cart-bar.pulse {
  animation: cart-pulse .3s ease;
}

@keyframes cart-pulse {
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: #140c0a99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.cart-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: #fffefa;
  padding: 22px;
  box-shadow: 0 24px 70px #12080459;
}

.cart-dialog h2 {
  margin: 0 44px 18px 0;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.cart-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f7e9bf;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.empty-cart {
  display: grid;
  gap: 10px;
  padding: 20px 0 6px;
}

.empty-cart strong {
  font-size: 20px;
  font-weight: 900;
}

.empty-cart p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.empty-cart button,
.finish-order {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.cart-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 28px 32px;
  align-items: center;
  justify-items: center;
  gap: 4px;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.quantity-control b {
  font-size: 14px;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.checkout-form label:nth-child(3),
.checkout-form label:nth-child(4),
.order-total,
.finish-order,
.form-feedback {
  grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.checkout-form textarea {
  resize: vertical;
}

.order-total {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 8px;
  background: #201412;
  color: #fff;
}

.order-total span,
.order-total strong {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-total span {
  color: #f8e6b3;
  font-size: 13px;
  font-weight: 800;
}

.order-total strong {
  font-size: 18px;
  font-weight: 900;
}

.form-feedback {
  min-height: 18px;
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .product-grid,
  .product-grid.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid.drinks,
  .product-grid.extras,
  .product-grid.combos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .store-panel {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 300px;
    margin: 78px auto 18px;
    padding: 94px 18px 24px;
  }

  .store-mark {
    width: 98px;
    height: 98px;
    top: -28px;
  }

  .store-mark strong {
    font-size: 24px;
  }

  .store-mark span {
    font-size: 8px;
  }

  .section-head,
  .strip-inner {
    align-items: flex-start;
  }

  .section-head {
    flex-direction: column;
  }

  .strip-inner {
    padding: 14px 0;
  }

  .strip-inner button {
    display: none;
  }

  .product-grid,
  .product-grid.five,
  .product-grid.drinks,
  .product-grid.extras,
  .product-grid.combos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .hero-photo {
    display: none;
  }

  .store-panel {
    width: calc(100% - 20px);
    margin-top: 14px;
    grid-template-columns: 82px 1fr;
  }

  .store-mark {
    width: 82px;
    height: 82px;
    border-width: 4px;
  }

  .store-mark::before {
    width: 26px;
    height: 18px;
    border-width: 2px;
  }

  .store-copy h1 {
    max-width: 260px;
    font-size: 24px;
    line-height: 1.02;
  }

  .store-badges {
    gap: 7px;
  }

  .store-badges span {
    min-height: 33px;
    padding: 7px 8px;
    font-size: 10.5px;
  }

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

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

  .product-card.upsell-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-grid.drinks .product-card.upsell-card {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
  }

  .product-card.upsell-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .product-grid.drinks .product-card.upsell-card img {
    width: 52px;
    height: 52px;
    aspect-ratio: 1;
  }

  .product-card.upsell-card button {
    width: 100%;
  }

  .product-grid.drinks .product-card.upsell-card button {
    width: auto;
  }

  .product-card {
    min-height: auto;
  }

  .product-card h3,
  .product-card p {
    min-height: 0;
  }

  .cart-bar {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .cart-modal {
    padding: 10px;
  }

  .cart-dialog {
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .cart-item img {
    width: 56px;
    height: 56px;
  }

  .quantity-control {
    grid-column: 1 / -1;
    justify-self: stretch;
    grid-template-columns: 44px 1fr 44px;
  }

  .quantity-control button {
    width: 44px;
    height: 36px;
    border-radius: 6px;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }
}

.order-app {
  width: min(700px, calc(100% - 28px));
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid #eadfd3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px #2b160021;
}

.app-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #050505;
}

.app-tabs button {
  position: relative;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.app-tabs button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.app-tabs button.active::after {
  background: var(--red);
}

.order-screen {
  display: none;
  min-height: 620px;
  background: #fff;
}

.order-screen.active {
  display: block;
}

.order-screen[data-screen="home"] {
  padding: 16px;
  min-height: 0;
}

.delivery-callout {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 8px;
  background: #fff1f0;
  color: var(--red);
}

.callout-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffe0dd;
}

.delivery-callout strong,
.delivery-callout span {
  display: block;
}

.delivery-callout strong {
  font-size: 17px;
  font-weight: 900;
}

.delivery-callout span {
  margin-top: 3px;
  color: #7a2b25;
  font-size: 12px;
  font-weight: 700;
}

.app-section {
  scroll-margin-top: 64px;
  margin-bottom: 26px;
}

.app-section-head {
  margin-bottom: 12px;
}

.app-section-head h2 {
  margin: 0;
  color: #17120f;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.featured-fire {
  display: inline-block;
  transform-origin: 50% 85%;
  animation: fire-pulse 1.15s ease-in-out infinite;
}

@keyframes fire-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(-2deg);
    filter: drop-shadow(0 0 0 #e2741c00);
  }

  45% {
    transform: translateY(-2px) scale(1.16) rotate(3deg);
    filter: drop-shadow(0 0 7px #e2741c99);
  }

  70% {
    transform: translateY(0) scale(1.04) rotate(-1deg);
    filter: drop-shadow(0 0 3px #e2741c66);
  }
}

.app-section-head p {
  margin: 4px 0 0;
  color: #5e5752;
  font-size: 14px;
  font-weight: 600;
}

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

.featured-card,
.meal-row,
.compact-row,
.cart-flow-item,
.choice-block,
.summary-card,
.receipt-card,
.eta-card {
  border: 1px solid #eee4dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px #2d16000d;
}

.featured-card {
  overflow: hidden;
}

.featured-card img,
.meal-row img,
.compact-row img,
.product-card img,
.cart-flow-item img,
.option-row img {
  border-radius: 22px;
}

.featured-menu-card {
  display: grid;
  grid-template-columns: 225px minmax(300px, 1fr);
  grid-template-rows: 1fr 70px;
  align-items: start;
  gap: 12px;
  padding: 10px;
  overflow: visible;
  border-color: #ead7c4;
  background: #fffdf9;
  color: var(--ink);
  box-shadow: 0 8px 24px #4b17150d;
}

.featured-menu-card img {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 225px;
  height: 168px;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  object-fit: cover;
}

.featured-menu-card div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  height: auto;
  padding: 0;
}

.featured-menu-card h3,
.featured-menu-card p,
.featured-menu-card strong {
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}

.featured-menu-card p {
  overflow-wrap: anywhere;
  min-height: 70px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.featured-menu-card strong {
  display: block;
  color: var(--red);
  margin-top: 6px;
  min-height: 28px;
  white-space: nowrap;
}

.featured-menu-card button {
  grid-column: 2;
  grid-row: 2;
  width: 180px;
  max-width: 100%;
  height: 70px;
  min-height: 70px;
  min-height: 48px;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  background: var(--red);
  color: #fff;
}

.featured-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.featured-card div {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.featured-card h3,
.meal-row h3,
.compact-row strong,
.cart-flow-item strong {
  margin: 0;
  color: #17120f;
  font-weight: 900;
}

.featured-card h3 {
  font-size: 18px;
}

.featured-card p,
.meal-row p {
  margin: 0;
  color: #594e48;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-height: 70px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.featured-card del {
  color: #6d645e;
  font-size: 13px;
  font-weight: 700;
}

.featured-card strong,
.meal-row strong,
.detail-title strong {
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.featured-card button,
.meal-row button,
.primary-action,
.whatsapp-action {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 900;
}

.yellow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 22px;
  border: 1px solid #c98e52;
  border-radius: 999px;
  background: #e4b377;
  color: #3a2114;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  animation: badge-pulse 2.8s ease-in-out infinite;
}

.featured-menu-card .yellow-badge,
.meal-row .yellow-badge,
.featured-card .yellow-badge {
  width: fit-content;
  height: 32px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.best-seller-badge {
  border-color: #bd8737;
  background: #f5cf83;
  color: #48240f;
  animation: best-seller-pulse 2.8s ease-in-out infinite;
}

.best-seller-badge > span {
  display: inline-block;
  margin-right: 4px;
  animation: best-seller-star 2.8s ease-in-out infinite;
}

@keyframes best-seller-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #efc36a00;
  }

  50% {
    box-shadow: 0 0 0 5px #efc36a38;
  }
}

@keyframes best-seller-star {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.16) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .best-seller-badge,
  .best-seller-badge > span {
    animation: none;
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #d7a56d00;
  }

  50% {
    box-shadow: 0 0 0 4px #d7a56d2b;
  }
}

.meal-list {
  display: grid;
  gap: 10px;
}

.delivery-alert {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e8c6b8;
  border-radius: 16px;
  background: #fff2ee;
  color: var(--red-dark);
}

.delivery-alert-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.delivery-alert strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.delivery-alert p {
  margin: 3px 0 0;
  color: #704d45;
  font-size: 13px;
  font-weight: 700;
}

.meal-row {
  display: grid;
  grid-template-columns: 180px minmax(300px, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 8px;
  padding: 8px 10px;
  width: 100%;
}

.meal-row > div {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}

.meal-content {
  display: block;
  height: auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.meal-row img {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 180px;
  height: 135px;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  object-fit: cover;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.meal-title {
  display: none;
}

.meal-row h3.meal-name {
  width: 100%;
  min-width: 0;
  height: 38px;
  margin-bottom: 3px;
  font-size: 17px;
  min-height: 38px;
  line-height: 1.1;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meal-content .meal-name,
.meal-content .product-description,
.meal-content .product-price {
  max-width: 100%;
}

.meal-row .product-description {
  height: 72px;
  min-height: 72px;
  box-sizing: border-box;
  margin: 3px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.meal-row .product-price {
  display: flex;
  align-items: center;
  height: 32px;
  min-height: 32px;
  margin-top: 5px;
  white-space: nowrap;
}

.meal-row strong {
  display: block;
  margin-top: 6px;
  line-height: 1;
  min-height: 28px;
}

.meal-row button {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 66px;
  height: 66px;
  border-radius: 999px;
  white-space: normal;
  overflow-wrap: anywhere;
  margin-top: 0;
}

.compact-section {
  padding-top: 4px;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  min-width: 0;
  overflow: hidden;
}

.compact-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.compact-row img,
.compact-dot {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff6de;
  box-sizing: border-box;
  display: block;
  max-width: 100%;
}

.drink-row {
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  min-height: 72px;
}

.drink-row img {
  width: 54px;
  height: 54px;
  padding: 4px;
  background: #fff;
  border: 1px solid #f1e5d5;
  object-fit: contain;
  object-position: center;
}

.drink-row strong {
  font-size: 13px;
  line-height: 1.15;
}

.grouped-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.compact-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compact-group h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #17120f;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-dot {
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.compact-row strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.compact-row small {
  display: block;
  margin-top: 2px;
  color: #4b4039;
  font-size: 11px;
  font-weight: 800;
}

.compact-row button {
  width: 30px;
  height: 30px;
  border: 1px solid #eadfd3;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  flex: 0 0 auto;
}

.detail-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #140b08;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-action {
  position: absolute;
  top: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fffffff2;
  color: #17120f;
  font-size: 28px;
  font-weight: 900;
}

.circle-action.left {
  left: 18px;
}

.circle-action.right {
  right: 18px;
  font-size: 22px;
}

.detail-panel {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 18px 16px 20px;
  border-radius: 18px 18px 0 0;
  background: #fff;
}

.detail-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.detail-title h2 {
  margin: 0 0 4px;
  color: #17120f;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.detail-panel > p {
  margin: 8px 0 16px;
  color: #4d443d;
  font-size: 14px;
  font-weight: 600;
}

.choice-block {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
}

.recommendation-card {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #e7cdb8;
  border-radius: 16px;
  background: #fff7ee;
}

.recommendation-card strong,
.recommendation-card span {
  display: block;
}

.recommendation-card strong {
  color: var(--red);
  font-size: 15px;
}

.recommendation-card > div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.recommendation-list {
  display: grid;
  gap: 6px;
}

.recommendation-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.recommendation-item input {
  accent-color: var(--red);
}

.recommendation-item b {
  color: var(--red);
  white-space: nowrap;
}

.choice-block h3 {
  margin: 0 0 4px;
  color: #17120f;
  font-size: 16px;
  font-weight: 900;
}

.choice-block h3 small {
  color: #665d57;
  font-size: 12px;
}

.choice-row,
.option-row,
.payment-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-top: 1px solid #f1e8e0;
  color: #17120f;
  font-size: 14px;
  font-weight: 700;
}

.choice-row:first-of-type,
.option-row:first-of-type,
.payment-row:first-of-type {
  border-top: 0;
}

.choice-row input,
.option-row input,
.payment-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--red);
}

.choice-row small,
.payment-row small {
  display: block;
  color: #756c66;
  font-size: 11px;
  font-weight: 600;
}

.option-row b,
.choice-row b,
.payment-row b {
  white-space: nowrap;
}

.drink-option {
  grid-template-columns: 24px 34px minmax(0, 1fr) auto;
}

.drink-option img {
  width: 28px;
  height: 34px;
  object-fit: contain;
}

.detail-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  margin: 16px -16px -20px;
  padding: 12px 16px;
  border-top: 1px solid #f1e8e0;
  background: #fff;
}

.stepper {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  justify-items: center;
  min-height: 48px;
  border-radius: 12px;
  background: #f7f3ee;
  color: #17120f;
}

.stepper.small {
  width: 104px;
  min-height: 34px;
  margin-top: 8px;
  grid-template-columns: 30px 1fr 30px;
}

.stepper button {
  border: 0;
  background: transparent;
  color: #17120f;
  font-size: 20px;
  font-weight: 900;
}

.flow-header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  min-height: 62px;
  padding: 8px 14px;
  border-bottom: 1px solid #eee4dd;
}

.flow-header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #17120f;
  font-size: 24px;
  font-weight: 900;
}

.flow-header h2 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}

.cart-flow-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.cart-flow-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.cart-flow-item img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-flow-item span,
.cart-flow-item small {
  display: block;
  color: #5f554f;
  font-size: 13px;
  font-weight: 600;
}

.cart-flow-item small {
  margin-top: 2px;
  color: #17120f;
  font-weight: 800;
}

.notes-field,
.address-grid,
.summary-card,
.payment-note,
.summary-wrap,
.address-intro {
  margin: 0 14px 14px;
}

.text-field {
  display: grid;
  gap: 6px;
  color: #17120f;
  font-size: 13px;
  font-weight: 900;
}

.text-field span {
  color: #736a64;
  font-weight: 600;
}

.text-field input,
.text-field textarea {
  width: 100%;
  border: 1px solid #eee4dd;
  border-radius: 8px;
  background: #fff;
  padding: 13px 12px;
  color: #17120f;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.summary-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.summary-card span,
.summary-card strong {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.summary-card span {
  color: #3c332d;
  font-size: 14px;
  font-weight: 700;
}

.summary-card strong {
  color: #17120f;
  font-size: 20px;
  font-weight: 900;
}

.whatsapp-action {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  background: #079b35;
}

.ghost-action {
  display: block;
  width: calc(100% - 28px);
  min-height: 44px;
  margin: 0 14px 18px;
  border: 0;
  border-radius: 8px;
  background: #f7f3ee;
  color: #2a211c;
  font-size: 14px;
  font-weight: 800;
}

.empty-flow {
  display: grid;
  gap: 10px;
  padding: 24px 14px;
}

.empty-flow strong {
  font-size: 20px;
  font-weight: 900;
}

.empty-flow p {
  margin: 0;
  color: #5f554f;
  font-size: 14px;
  font-weight: 600;
}

.address-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-top: 16px;
}

.address-intro svg {
  width: 38px;
  height: 38px;
  color: var(--red);
  stroke-width: 3;
}

.address-intro strong,
.address-intro span {
  display: block;
}

.address-intro strong {
  font-size: 16px;
  font-weight: 900;
}

.address-intro span {
  margin-top: 2px;
  color: #5f554f;
  font-size: 12px;
  font-weight: 600;
}

.address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
}

.address-grid .wide {
  grid-column: 1 / -1;
}

.cep-button {
  align-self: end;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.cep-button:disabled {
  cursor: wait;
  opacity: .65;
}

.address-status {
  min-height: 18px;
  margin: 8px 14px 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

[data-screen="delivery"] .choice-block,
[data-screen="payment"] .choice-block {
  margin-left: 14px;
  margin-right: 14px;
}

.payment-row {
  grid-template-columns: 24px 42px minmax(0, 1fr) auto;
}

.payment-row.disabled {
  color: #8a827c;
}

.payment-row.disabled input {
  opacity: .45;
}

.payment-row em {
  border-radius: 999px;
  background: #ffe0dd;
  color: var(--red);
  padding: 4px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f7f3ee;
  color: var(--red);
  font-weight: 900;
}

.summary-wrap h3 {
  margin: 16px 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.lock {
  display: block;
  width: calc(100% - 28px);
  margin: 12px 14px;
}

[data-screen="delivery"] > .primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 28px);
  max-width: none;
  min-height: 58px;
  margin: 16px 14px 24px;
  padding: 0 20px;
  text-align: center;
  white-space: normal;
}

.payment-note {
  color: #5f554f;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.pix-payment-card {
  display: grid;
  gap: 14px;
  margin: 0 14px 14px;
  padding: 18px;
  border: 1px solid #eadfd3;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 12px 28px #4b171512;
}

.pix-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.pix-customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pix-customer-fields .pix-name-field {
  grid-column: 1 / -1;
}

.pix-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e4f4e9;
  color: #08783b;
  font-size: 12px;
  font-weight: 900;
}

.pix-card-head h3 {
  margin: 0;
  color: #241613;
  font-size: 18px;
  font-weight: 900;
}

.pix-card-head p {
  margin: 3px 0 0;
  color: #786b62;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .pix-customer-fields {
    grid-template-columns: 1fr;
  }

  .pix-customer-fields .pix-name-field {
    grid-column: auto;
  }
}

.pix-name-field {
  margin: 2px 0 0;
}

.pix-address-summary {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid #eee2d5;
  border-radius: 12px;
  background: #fbf5ee;
}

.pix-address-summary span,
.pix-address-summary small {
  color: #88766b;
  font-size: 11px;
  font-weight: 800;
}

.pix-address-summary strong {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.pix-setup {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #d9bca3;
  border-radius: 14px;
  background: #fff8f0;
}

.pix-setup strong {
  display: block;
  color: var(--red);
  font-size: 14px;
}

.pix-setup p {
  margin: 3px 0 0;
  color: #786b62;
  font-size: 12px;
  font-weight: 700;
}

.pix-qr-placeholder {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 8px solid #f1e5d7;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, #72251f 0 4px, #fff 4px 8px);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 1px 2px #000;
}

.pix-ready {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 2px;
  text-align: center;
}

.pix-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #140c0ac7;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.pix-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pix-dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: #fffefa;
  padding: 18px;
  box-shadow: 0 24px 70px #12080459;
}

.pix-modal-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 42px 14px 0;
}

.pix-modal-head h3 {
  margin: 0;
  color: #241613;
  font-size: 20px;
  font-weight: 900;
}

.pix-modal-head p {
  margin: 3px 0 0;
  color: #786b62;
  font-size: 12px;
  font-weight: 800;
}

.pix-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f7e9bf;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.pix-alert {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #f3c36b;
  border-radius: 8px;
  background: #fff4d8;
  color: #7a3a13;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.pix-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: #211514;
  color: #fff;
}

.pix-timer-pulse {
  animation: pix-timer-pulse 1.15s ease-in-out infinite;
}

@keyframes pix-timer-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #d7a56d66;
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 8px #d7a56d00;
    transform: scale(1.02);
  }
}

.pix-timer span {
  color: #e6c18d;
  font-size: 12px;
  font-weight: 800;
}

.pix-timer strong {
  color: #fff;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.pix-qr {
  width: 196px;
  height: 196px;
  padding: 8px;
  border: 1px solid #eadfd3;
  border-radius: 14px;
  background: #fff;
}

.pix-instruction {
  color: #241613;
  font-size: 14px;
}

.pix-or {
  color: #88766b;
  font-size: 11px;
  font-weight: 700;
}

.pix-transaction {
  max-width: 100%;
  color: #786b62;
  font-size: 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pix-copy-field {
  width: 100%;
  min-height: 78px;
  resize: none;
  border: 1px solid #eadfd3;
  border-radius: 10px;
  background: #fbf7f1;
  color: #5a453d;
  padding: 10px;
  font-family: monospace;
  font-size: 10px;
  line-height: 1.35;
}

.pix-copy-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-weight: 900;
}

.pix-copy-button:hover {
  background: #fff4ed;
}

.pix-paid-button {
  width: 100%;
  min-height: 46px;
}

.pix-copy-status,
.pix-status {
  min-height: 16px;
  margin: 0;
  color: #08783b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.confirmed-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 44px 18px 24px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #0a9835;
  color: #fff;
  font-size: 56px;
  font-weight: 900;
}

.confirmed-card h2 {
  margin: 0;
  color: #088231;
  font-size: 27px;
  font-weight: 900;
}

.confirmed-card p {
  max-width: 320px;
  margin: -4px 0 0;
  color: #4a413b;
  font-size: 14px;
  font-weight: 600;
}

.eta-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff1f0;
  text-align: left;
}

.eta-card svg {
  width: 42px;
  height: 42px;
  color: var(--red);
}

.eta-card span,
.eta-card strong {
  display: block;
}

.eta-card span {
  color: #6a4b45;
  font-size: 13px;
  font-weight: 700;
}

.eta-card strong {
  color: var(--red);
  font-size: 21px;
  font-weight: 900;
}

.receipt-card {
  display: grid;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
}

.receipt-card span {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1e8e0;
  color: #6a625d;
  font-size: 13px;
  font-weight: 700;
}

.receipt-card span:last-child {
  border-bottom: 0;
}

.receipt-card b {
  display: block;
  color: #17120f;
  font-size: 15px;
}

.whatsapp-outline {
  width: 100%;
  min-height: 48px;
  border: 2px solid #069c35;
  border-radius: 8px;
  background: #fff;
  color: #07852f;
  font-size: 14px;
  font-weight: 900;
}

.ghost-action.home {
  width: 100%;
  margin: 0;
}

.promo-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -8px 0 24px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #121212;
  color: #fff;
}

.promo-card span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-card strong {
  font-size: 14px;
  font-weight: 900;
}

.promo-card b {
  color: var(--yellow);
}

.menu-group {
  display: grid;
  gap: 10px;
}

.menu-group + .menu-group {
  margin-top: 18px;
}

.menu-group > h3 {
  margin: 2px 0 0;
  color: #5c534d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.meal-row del,
.compact-row del,
.detail-title del {
  color: #8d847d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}

.save-badge,
.prep-chip {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.save-badge {
  background: #eaf8ee;
  color: #08772d;
}

.prep-chip {
  background: #fff2ca;
  color: #6e4a00;
}

.compact-row em {
  display: block;
  margin-top: 2px;
  color: #6d635d;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

.promo-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #15100f;
  color: #fff;
}

.promo-detail strong {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.promo-detail span {
  font-size: 18px;
  font-weight: 900;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.detail-chips span {
  border-radius: 999px;
  background: #f6f1ea;
  color: #3f352e;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 800;
}

.proof-card {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #eee4dd;
  border-radius: 8px;
  background: #fffaf4;
}

.proof-card strong,
.proof-card span,
.proof-card small {
  display: block;
}

.proof-card strong {
  color: #17120f;
  font-size: 14px;
  font-weight: 900;
}

.proof-card span,
.proof-card small {
  color: #6c625b;
  font-size: 11px;
  font-weight: 700;
}

.proof-card p {
  margin: 0;
  color: #3d332d;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.bag-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 60;
  width: min(700px, calc(100% - 24px));
  transform: translate(-50%, 120%);
  transition: transform .22s ease;
}

.bag-bar.show {
  transform: translate(-50%, 0);
}

.bag-bar button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: #15100f;
  color: #fff;
  padding: 10px 14px;
  box-shadow: 0 14px 32px #150d0a47;
}

.bag-bar span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.bag-bar strong {
  justify-self: start;
  font-size: 14px;
  font-weight: 900;
}

.bag-bar b {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 900;
}

.site-footer {
  border-top: 8px solid var(--yellow);
  background: var(--ink);
  color: #fffaf4;
  padding: 46px 32px 24px;
}

body.is-flow .site-footer {
  display: none;
}

.footer-main {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(360px, 2fr) minmax(210px, 1fr);
  gap: 42px;
  align-items: start;
}

.footer-brand,
.footer-support {
  display: grid;
  gap: 12px;
}

.footer-brand strong {
  font-size: 20px;
  font-weight: 900;
}

.footer-brand span {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-content: start;
}

.footer-links a,
.footer-support a {
  color: #fffaf4;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-support a:hover {
  color: var(--yellow);
}

.footer-support {
  justify-items: start;
}

.footer-support a:first-child {
  color: var(--yellow);
}

.footer-support .footer-service {
  color: #e07b6d;
  font-size: 18px;
}

@media (max-width: 760px) {
  .page {
    padding-top: 32px;
  }

  .featured-menu-card {
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-rows: 1fr 58px;
  }

  .featured-menu-card img {
    width: 150px;
    height: 112px;
  }

  .featured-menu-card div {
    height: auto;
  }

  .featured-menu-card button {
    height: 58px;
    min-height: 58px;
  }

  .restaurant-top {
    border-bottom-width: 3px;
  }

  .store-panel {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    min-height: 170px;
    margin-top: -48px;
    padding: 14px;
  }

  .store-mark {
    width: 92px;
    height: 92px;
  }

  .store-mark img {
    width: 100%;
    height: 100%;
  }

  .store-copy h1 {
    max-width: 100%;
    font-size: clamp(28px, 7vw, 40px);
    white-space: nowrap;
  }

  .brand-kicker {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .store-badges {
    gap: 6px;
    margin-top: 12px;
    width: 100%;
  }

  .store-badges span,
  .open-dot {
    min-height: 32px;
    flex: 1 1 0;
    justify-content: center;
    padding: 7px 6px;
    font-size: 10px;
    white-space: nowrap;
  }

  .order-app {
    width: 100%;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

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

  .meal-row {
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .meal-row img {
    width: 150px;
    height: 112px;
  }

  .meal-row button {
    width: 100%;
    min-height: 58px;
    height: 58px;
  }

  .compact-list {
    grid-template-columns: 1fr;
  }

  .compact-group {
    grid-template-columns: 1fr;
  }
}

/* Brand finish: food-first storefront styling shared by the menu and checkout. */
:root {
  --red: #7b2d26;
  --red-dark: #321b18;
  --green: #47745c;
  --yellow: #e0b36f;
  --paper: #f5eee4;
  --ink: #2f201c;
  --muted: #766861;
  --line: #e4d6c8;
  --card: #fffdf9;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.page {
  padding-top: 0;
}

.restaurant-top {
  position: relative;
  padding: 0 0 30px;
  background: #2b1714;
  overflow: hidden;
}

.hero-photo {
  position: relative;
  isolation: isolate;
  display: block;
  height: 130px;
  background: #2b1714;
  overflow: hidden;
}

.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
}

.hero-photo::before {
  z-index: -2;
  background: url("assets/dish-bife.jpg") center center / cover no-repeat;
  filter: blur(12px) saturate(1.06);
  transform: scale(1.08);
}

.hero-photo::after {
  z-index: -1;
  background: linear-gradient(180deg, #20100b47 0%, #321b1833 46%, #2b1714e6 100%);
}

.store-panel {
  width: min(1040px, calc(100% - 40px));
  min-height: 0;
  margin: -86px auto 0;
  z-index: 1;
  grid-template-columns: 148px minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: stretch;
  align-content: center;
  gap: 12px 24px;
  padding: 30px 34px 28px 204px;
  border: 1px solid #f3e5d8;
  border-radius: 20px;
  background: #fffdf9f5;
  box-shadow: 0 22px 44px #170a083d;
  backdrop-filter: blur(12px);
}

.store-mark {
  top: 50%;
  left: 34px;
  width: 148px;
  height: 148px;
  transform: translateY(-50%);
  border: 8px solid #fffdf9;
  box-shadow: 0 12px 26px #321b1835;
}

.store-copy {
  grid-column: 1 / -1;
  justify-items: start;
}

.brand-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.store-copy h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: .98;
  text-align: left;
}

.store-status,
.store-details {
  width: 100%;
}

.store-status {
  grid-column: 1 / -1;
  padding-bottom: 15px;
}

.store-details {
  grid-column: 1 / -1;
  max-width: 620px;
}

.store-details strong {
  color: var(--ink);
}

.store-details > div:last-child strong {
  color: var(--green);
}

.order-app {
  width: min(920px, calc(100% - 40px));
  margin: 26px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.order-screen[data-screen="home"] {
  padding: 0 0 34px;
  background: transparent;
}

.app-section-head {
  margin: 0 0 18px;
  padding: 4px 4px 0;
}

.menu-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.app-section-head h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -.02em;
}

.app-section-head p {
  max-width: 590px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.delivery-alert {
  border: 1px solid #eccdc4;
  border-radius: 16px;
  background: #fff7f3;
  box-shadow: 0 10px 24px #7b2d2610;
}

.menu-group {
  gap: 12px;
}

.menu-group + .menu-group {
  margin-top: 30px;
}

.menu-group > h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .12em;
}

.menu-group > h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.meal-row {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px 16px;
  padding: 10px;
  border-color: var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 26px #3c1c160b;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.meal-row:hover {
  border-color: #d9b58c;
  box-shadow: 0 14px 30px #3c1c1618;
  transform: translateY(-2px);
}

.meal-row img {
  width: 190px;
  height: 143px;
  border-radius: 14px;
}

.meal-row h3.meal-name {
  height: auto;
  min-height: 38px;
  color: var(--ink);
}

.meal-row .product-description {
  color: var(--muted);
}

.meal-row .product-price {
  color: var(--red);
}

.meal-row button,
.primary-action,
.whatsapp-action {
  border-radius: 12px;
  background: var(--red);
  box-shadow: 0 8px 0 #5c211c, 0 12px 22px #7b2d2626;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.meal-row button:hover,
.primary-action:hover,
.whatsapp-action:hover {
  background: #8d352c;
  box-shadow: 0 5px 0 #5c211c, 0 12px 22px #7b2d2638;
  transform: translateY(3px);
}

.bag-bar button {
  border-radius: 14px;
  background: var(--red-dark);
  box-shadow: 0 16px 34px #321b1852;
}

.bag-bar b {
  color: var(--yellow);
}

.flow-header {
  min-height: 72px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
}

.order-screen:not([data-screen="home"]) {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 16px 38px #3c1c1612;
}

.pix-payment-card,
.summary-card,
.choice-block,
.cart-flow-item,
.receipt-card,
.eta-card {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px #3c1c160c;
}

.pix-card-head h3 {
  font-size: 22px;
  letter-spacing: -.02em;
}

.pix-card-head p {
  font-size: 13px;
}

.pix-customer-fields .text-field input,
.text-field textarea {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 12px;
  background: #fffefa;
}

.pix-address-summary {
  border-color: #e3cdb8;
  background: #fbf2e8;
}

.summary-card strong {
  color: var(--red-dark);
}

@media (max-width: 760px) {
  .hero-photo {
    height: 95px;
  }

  .restaurant-top {
    padding-bottom: 22px;
  }

  .store-panel {
    width: calc(100% - 24px);
    margin: -52px auto 0;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 78px 18px 22px;
    border-radius: 18px;
  }

  .store-mark {
    top: -26px;
    left: 50%;
    width: 104px;
    height: 104px;
    transform: translateX(-50%);
  }

  .store-copy,
  .store-status,
  .store-details {
    grid-column: auto;
  }

  .store-copy {
    justify-items: center;
  }

  .brand-kicker {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .store-copy h1 {
    font-size: clamp(27px, 8vw, 38px);
    text-align: center;
    white-space: normal;
  }

  .order-app {
    width: 100%;
    margin-top: 18px;
  }

  .order-screen[data-screen="home"] {
    padding: 0 12px 26px;
  }

  .meal-row {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .meal-row img {
    width: 126px;
    height: 95px;
  }

  .meal-row button {
    min-height: 54px;
    height: 54px;
    box-shadow: 0 5px 0 #5c211c, 0 9px 18px #7b2d2626;
  }

  .order-screen:not([data-screen="home"]) {
    border-radius: 0;
    border-right: 0;
    border-left: 0;
  }
}

@media (max-width: 440px) {
  .store-panel {
    padding-right: 12px;
    padding-left: 12px;
  }

  .meal-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .meal-row img {
    width: 112px;
    height: 84px;
  }
}

.delivery-distance {
  display: inline-block;
  color: #9b3b31 !important;
  transform-origin: left center;
  animation: delivery-distance-pulse 2.4s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes delivery-distance-pulse {
  0%,
  100% {
    opacity: .82;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-distance {
    animation: none;
    opacity: 1;
  }
}

.meal-row h3.meal-name {
  height: auto;
  min-height: 0;
  margin-bottom: 0;
}

.meal-row .product-description {
  margin-top: 0;
}

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

.pix-customer-fields .pix-cpf-field {
  grid-column: 1 / -1;
}

/* Open status should read instantly as active and available. */
.open-dot {
  border: 1px solid #a9e4b9;
  background: #d8f7df;
  color: #15733d;
  box-shadow: 0 5px 14px #35ad5d24;
}

.open-dot::before {
  width: 8px;
  height: 8px;
  background: #1da653;
  box-shadow: 0 0 0 4px #8ee1a833;
}

@keyframes open-blink {
  0%,
  100% {
    background: #d8f7df;
    box-shadow: 0 5px 14px #35ad5d24;
  }

  50% {
    background: #c5f2d0;
    box-shadow: 0 5px 18px #35ad5d42;
  }
}

@media (max-width: 440px) {
  .featured-menu-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  .featured-menu-card img {
    width: 112px;
    height: 84px;
  }

  .hero-photo {
    height: 95px;
  }

  .store-panel {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    margin-top: 64px;
    padding: 86px 12px 20px;
    min-height: 270px;
  }

  .store-mark {
    width: 78px;
    height: 78px;
    top: -24px;
  }

  .store-mark img {
    width: 100%;
    height: 100%;
  }

  .store-copy h1 {
    max-width: 100%;
    font-size: 25px;
    white-space: nowrap;
  }

  .store-badges {
    gap: 3px;
  }

  .store-badges span,
  .open-dot {
    min-height: 28px;
    gap: 3px;
    padding: 5px 3px;
    font-size: 8px;
    letter-spacing: 0;
  }

  .store-badges svg {
    width: 14px;
    height: 14px;
  }

  .app-tabs button {
    font-size: 12px;
  }

  .order-screen[data-screen="home"] {
    padding: 12px;
  }

  .delivery-callout {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    padding: 12px;
  }

  .callout-icon {
    width: 44px;
    height: 44px;
  }

  .featured-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .featured-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .featured-card h3 {
    font-size: 17px;
  }

  .meal-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  .meal-row img {
    width: 112px;
    height: 84px;
  }

  .meal-row h3 {
    font-size: 15px;
  }

  .meal-row strong,
  .featured-menu-card strong {
    font-size: 21px;
  }

  .meal-row p {
    font-size: 12px;
  }

  .meal-row strong {
    font-size: 20px;
  }

  .detail-hero {
    height: 250px;
  }

  .detail-footer {
    grid-template-columns: 106px minmax(0, 1fr);
  }

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

  .cart-flow-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-flow-item > b {
    grid-column: 2;
  }
}

/* Keep the reference-style store header stacked and readable on narrow screens. */
@media (max-width: 760px) {
  .page {
    padding-top: 0;
  }

  .restaurant-top {
    padding-top: 0;
  }

  .store-panel {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    min-height: 300px;
    margin: 24px auto 18px;
    padding: 78px 18px 20px;
  }

  .store-copy,
  .store-status,
  .store-details {
    transform: translateY(-4px);
  }

  .store-mark {
    width: 116px;
    height: 116px;
    top: -4px;
  }

  .store-copy h1 {
    max-width: 100%;
    font-size: clamp(28px, 6vw, 38px);
    white-space: nowrap;
  }

  .store-status,
  .store-details {
    width: 100%;
  }

  .store-status {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
  }

  .store-status button {
    padding: 0;
    font-size: 13px;
  }

  .store-details {
    gap: 12px;
  }

  .store-details > div + div {
    padding-left: 12px;
  }

  .store-details strong {
    font-size: 18px;
  }
}

@media (max-width: 440px) {
  .store-panel {
    min-height: 285px;
    margin-top: 22px;
    padding: 74px 12px 18px;
  }

  .store-copy,
  .store-status,
  .store-details {
    transform: translateY(-4px);
  }

  .store-mark {
    width: 96px;
    height: 96px;
    top: -4px;
  }

  .store-copy h1 {
    font-size: 28px;
    line-height: 1;
    white-space: normal;
  }

  .store-status {
    gap: 8px;
  }

  .store-status button {
    font-size: 12px;
  }

  .store-details {
    gap: 10px;
  }

  .store-details > div + div {
    padding-left: 10px;
  }

  .store-details span {
    font-size: 12px;
  }

  .store-details strong {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 34px 18px 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    gap: 12px 18px;
  }

  .footer-support {
    justify-items: start;
  }

}

/* Final responsive pass: keep the branded header consistent with the desktop treatment. */
@media (max-width: 760px) {
  .hero-photo {
    display: block;
    height: 95px;
    background-position: center 52%;
  }

  .restaurant-top {
    padding: 0 0 22px;
  }

  .store-panel {
    width: calc(100% - 24px);
    min-height: 0;
    margin: -52px auto 0;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 78px 18px 22px;
    border-radius: 18px;
  }

  .store-mark {
    top: -26px;
    left: 50%;
    width: 104px;
    height: 104px;
    transform: translateX(-50%);
  }

  .store-copy,
  .store-status,
  .store-details {
    grid-column: auto;
    transform: none;
  }

  .store-copy {
    justify-items: center;
  }

  .store-copy h1 {
    font-size: clamp(27px, 8vw, 38px);
    text-align: center;
    white-space: normal;
  }

  .store-status,
  .store-details {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .store-panel {
    margin-top: -46px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .store-mark {
    width: 96px;
    height: 96px;
  }
}
