:root {
  --ink: #1f2937;
  --muted: #6b7280;
  --paper: #fff8f3;
  --panel: #ffffff;
  --line: #e9ded1;
  --accent: #ff6b00;
  --accent-dark: #e55e00;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --green: #16a34a;
  --yellow: #ffc857;
  --shadow: 0 18px 55px rgba(49, 37, 25, 0.13);
  --card-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
textarea {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-button {
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: white;
  border: 1px solid var(--line);
  font-weight: 900;
}

.brand-mark.brand-button {
  flex: 0 0 auto;
}

.brand-mark.brand-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.policy-dashboard {
  position: sticky;
  top: 67px;
  z-index: 9;
  max-height: calc(100dvh - 67px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.96);
  backdrop-filter: blur(18px);
  -webkit-overflow-scrolling: touch;
}

.policy-dashboard[hidden] {
  display: none;
}

.policy-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
}

.policy-open {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(233, 222, 209, 0.9);
  padding: 10px 0 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.policy-open strong,
.policy-open small {
  display: block;
}

.policy-open strong {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-open small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.policy-open > span:last-child {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.policy-content {
  padding-top: 14px;
}

.policy-content[hidden] {
  display: none;
}

.policy-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.policy-title h2 {
  font-size: 24px;
}

.policy-title small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 26px;
  row-gap: 0;
}

.policy-list details {
  background: transparent;
}

.policy-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid rgba(233, 222, 209, 0.9);
  padding: 11px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.policy-list summary::marker {
  content: "";
}

.policy-list summary::after {
  content: none;
}

.policy-list details[open] {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(233, 222, 209, 0.9);
  padding-bottom: 12px;
}

.policy-list details[open] summary {
  border-bottom-color: transparent;
  color: var(--accent-dark);
}

.policy-list p,
.policy-list ul {
  margin: 0;
  max-width: 920px;
  padding: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.policy-list ul {
  padding-left: 18px;
}

.policy-list li + li {
  margin-top: 5px;
}

.policy-list p:last-child,
.policy-list ul:last-child {
  padding-bottom: 0;
}

.policy-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.policy-note {
  margin-top: 10px;
  text-align: center;
  font-weight: 800;
}








.brand-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-mark img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}












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

.search-wrap {
  position: relative;
  width: min(270px, 30vw);
}

.nav a,
.ghost-button,
.help-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 13px;
  color: var(--muted);
  cursor: pointer;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.nav-icon {
  display: none;
  line-height: 1;
}

.help-button {
  font-weight: 400;
}

.top-search {
  display: block;
  position: relative;
  width: 100%;
}

.top-search::before {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: var(--muted);
  content: "⌕";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
}

.top-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 10px 38px;
  color: var(--ink);
  background: white;
  outline: none;
}

.top-search::before {
  width: 12px;
  height: 12px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  color: transparent;
  content: "";
  font-size: 0;
  line-height: 0;
  transform: translateY(-58%);
}

.top-search::after {
  position: absolute;
  top: 50%;
  left: 26px;
  z-index: 1;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
  content: "";
  transform: translateY(5px) rotate(45deg);
}

.top-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 72, 34, 0.12);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  display: grid;
  gap: 4px;
  width: min(420px, 82vw);
  max-height: min(360px, 58vh);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: white;
  box-shadow: var(--shadow);
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestions button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 10px 11px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.suggestion-group + .suggestion-group {
  border-top: 1px solid rgba(233, 222, 209, 0.9);
  margin-top: 4px;
  padding-top: 6px;
}

.suggestion-group p {
  margin: 4px 8px 3px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-suggestions button:hover,
.search-suggestions button:focus {
  background: #fff3eb;
}

.search-suggestions strong,
.search-suggestions small {
  display: block;
}

.search-suggestions strong {
  font-size: 14px;
  line-height: 1.25;
}

.search-suggestions small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.help-popover {
  position: fixed;
  top: 74px;
  right: clamp(16px, 4vw, 56px);
  z-index: 30;
  display: grid;
  gap: 8px;
  min-width: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.help-popover[hidden] {
  display: none;
}

.help-popover strong {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.help-popover a {
  color: var(--muted);
  font-weight: 500;
}

.help-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.help-note span {
  display: block;
  max-width: 100%;
}

.help-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: #f7efe6;
  cursor: pointer;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 38px 0;
}

body.search-active .hero {
  display: none;
}

body.search-active .restaurant-head {
  margin-top: 24px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-process {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.hero-benefits div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.benefit-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
}

.benefit-icon.clock {
  color: var(--accent);
  background: #fff1df;
}

.benefit-icon.leaf {
  color: var(--green);
  background: #eaf7ee;
}

.benefit-icon.pickup {
  color: var(--accent);
  background: #fff1df;
}

.hero-benefits strong,
.hero-benefits small {
  display: block;
}

.hero-benefits strong {
  font-size: 15px;
}

.hero-benefits small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  color: white;
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(233, 72, 34, 0.25);
}

.primary-action:hover {
  background: var(--accent-dark);
}

.primary-action.full {
  width: 100%;
}

.whatsapp-action {
  background: var(--whatsapp);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
}

.whatsapp-action:hover {
  background: var(--whatsapp-dark);
}

.trust-note {
  color: var(--muted);
  font-weight: 700;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(49, 37, 25, 0.12);
  background: var(--paper);
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 243, 0) 92%, rgba(255, 248, 243, 0.18) 100%);
  content: "";
  pointer-events: none;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 72%;
  display: block;
  opacity: 1;
  filter: saturate(1.1) contrast(1.04) brightness(1.02);
}

.ready-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 0;
  color: white;
  text-align: right;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.ready-strip span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-strip strong {
  color: white;
  font-size: 24px;
  line-height: 1.05;
}

.restaurant-card,
.menu-summary,
.cart-panel,
.menu-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

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

.section-head.compact {
  align-items: start;
  margin-top: 0;
}

.search-box {
  display: grid;
  gap: 6px;
  width: min(390px, 100%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input,
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  outline: none;
}

.search-box input:focus,
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 72, 34, 0.12);
}

.time-row {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  gap: 8px;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.search-notice {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  background: #fffdfb;
}

.search-notice button {
  border: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.menu-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  text-align: left;
}

.menu-summary strong,
.menu-summary small {
  display: block;
}

.menu-summary strong {
  font-size: 19px;
}

.menu-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.menu-catalog-collapse {
  justify-self: center;
  border: 0;
  margin-top: 2px;
  padding: 4px 10px 2px;
  color: var(--green);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.menu-catalog-collapse:hover,
.menu-catalog-collapse:focus {
  color: #12813d;
  background: transparent;
  box-shadow: none;
}

.restaurant-card {
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.restaurant-card:hover,
.restaurant-card.active {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.12);
}

.restaurant-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.restaurant-body {
  padding: 16px;
}

.restaurant-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--green);
  background: #eaf7ee;
  font-size: 12px;
  font-weight: 800;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
  padding-bottom: 48px;
}

.menu-list,
.cart-items {
  display: grid;
  gap: 12px;
}

.menu-category {
  display: grid;
  gap: 10px;
  scroll-margin-top: 96px;
}

.category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: white;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  text-align: left;
}

.category-toggle strong,
.category-toggle small {
  display: block;
}

.category-toggle strong {
  font-size: 19px;
}

.category-toggle small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.category-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green);
  background: transparent;
  font-size: 24px;
  font-weight: 900;
}

.category-toggle[aria-expanded="true"] .category-icon {
  color: var(--muted);
}

.category-items {
  display: none;
  gap: 10px;
}

.category-items.open {
  display: grid;
}

.category-collapse {
  justify-self: center;
  border: 0;
  margin-top: 2px;
  padding: 4px 10px 2px;
  color: var(--green);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.category-collapse:hover,
.category-collapse:focus {
  color: #12813d;
  background: transparent;
  box-shadow: none;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.menu-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 0, 0.34);
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.1);
}

.menu-item h3 {
  margin: 3px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.menu-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.item-category {
  font-size: 13px;
  font-weight: 900;
}

.inline-price {
  color: var(--green);
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap;
}

.price {
  color: var(--green);
  font-weight: 900;
}

.add-button,
.qty-button {
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.add-button {
  min-width: 78px;
  min-height: 38px;
  color: var(--accent);
  background: transparent;
}

.add-button:hover,
.add-button:focus {
  color: var(--accent-dark);
  background: transparent;
  box-shadow: none;
}

.qty-plus {
  color: #16a34a;
  background: transparent;
}

.qty-plus:hover {
  color: #0f9f45;
  background: transparent;
}

.qty-minus {
  color: #ef1f1f;
  background: transparent;
}

.qty-minus:hover {
  color: #dc1616;
  background: transparent;
}

.add-button.is-added {
  color: var(--green);
  background: transparent;
  font-size: 14px;
}

.qty-button {
  width: 30px;
  height: 30px;
  background: transparent;
}

.qty-button:hover,
.qty-button:focus {
  background: transparent;
  box-shadow: none;
}

.qty-button.qty-plus,
.qty-button.qty-plus:hover,
.qty-button.qty-plus:focus {
  color: #16a34a;
  background: transparent;
}

.qty-button.qty-minus,
.qty-button.qty-minus:hover,
.qty-button.qty-minus:focus {
  color: #ef1f1f;
  background: transparent;
}

.cart-panel {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
}

.cart-header,
.cart-item,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fffaf7;
  cursor: pointer;
  text-align: left;
}

.cart-summary strong,
.cart-summary small {
  display: block;
}

.cart-summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.cart-summary b {
  color: var(--green);
  white-space: nowrap;
}

.cart-list {
  display: none;
}

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

.cart-collapse {
  justify-self: center;
  border: 0;
  margin-top: 2px;
  padding: 4px 10px 2px;
  color: var(--green);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.cart-items.is-expanded + .order-form {
  margin-top: 8px;
}

.cart-collapse:hover,
.cart-collapse:focus {
  color: #12813d;
  background: transparent;
  box-shadow: none;
}

.cart-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-item strong,
.cart-item small {
  display: block;
}

.cart-item small {
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.order-form {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}

.order-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.total-row {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 18px;
}

.form-hint,
.powered-by,
.app-version {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.powered-by {
  text-align: center;
  color: var(--ink);
  font-weight: 900;
}

.app-version {
  margin-top: -4px;
  text-align: center;
  color: #9a9189;
  font-size: 12px;
  font-weight: 600;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.empty-cart {
  display: grid;
  gap: 5px;
  text-align: center;
}

.empty-cart strong {
  color: var(--ink);
  font-size: 16px;
}

.empty-cart span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .menu-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .hero-panel img {
    min-height: 340px;
  }

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

  .cart-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 112px;
  }

  main {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand small {
    display: block;
    font-size: 11px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .policy-dashboard {
    top: 98px;
    max-height: calc(100dvh - 98px);
  }

  .policy-inner {
    width: min(100% - 24px, 1180px);
    padding: 12px 0 14px;
  }

  .policy-title {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
  }

  .policy-title h2 {
    font-size: 20px;
    line-height: 1.15;
  }

  .policy-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav a {
    display: grid;
    min-height: 46px;
    place-items: center;
    padding: 0;
    font-size: 14px;
  }

  .help-button {
    min-height: 46px;
    padding: 0;
    font-size: 14px;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px 52px;
    width: 100%;
    gap: 8px;
  }

  .search-wrap {
    width: 100%;
  }

  .top-search {
    width: 100%;
  }

  .search-suggestions {
    width: calc(100vw - 24px);
    max-height: 44vh;
  }

  .top-search input {
    min-height: 46px;
    font-size: 16px;
  }

  .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .help-button .nav-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .help-button .nav-icon {
    display: none;
  }

  .nav-icon {
    display: inline;
    color: var(--muted);
    font-size: 20px;
    font-weight: 900;
  }

  .cart-link .nav-icon {
    font-size: 18px;
  }

  .help-popover {
    top: 112px;
    right: 12px;
    left: 12px;
    padding: 16px;
  }

  .help-note {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
  }

  .help-note span {
    display: block;
  }

  h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .restaurant-head h2 {
    font-size: clamp(20px, 5.5vw, 24px);
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero {
    gap: 18px;
    padding: 20px 0 28px;
  }

  body.search-active .restaurant-head {
    margin-top: 14px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
  }

  .hero-benefits div {
    align-items: flex-start;
    gap: 7px;
  }

  .benefit-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .hero-benefits strong {
    font-size: 12px;
    line-height: 1.2;
  }

  .hero-benefits small {
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-process {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.35;
  }

  .primary-action {
    width: 100%;
    min-height: 48px;
  }

  .hero-panel,
  .hero-panel img {
    min-height: 300px;
  }

  .restaurant-body,
  .cart-panel {
    padding: 14px;
  }

  .restaurant-grid {
    gap: 12px;
    margin-bottom: 32px;
  }

  .restaurant-card img {
    height: 128px;
  }

  .restaurant-body h3 {
    font-size: 18px;
  }

  .meta-line {
    font-size: 13px;
  }

  .section-head {
    display: grid;
    align-items: start;
    margin: 18px 0 14px;
  }

  .menu-layout {
    gap: 18px;
  }

  .menu-list,
  .cart-items {
    gap: 9px;
  }

  .menu-category {
    gap: 8px;
    scroll-margin-top: 112px;
  }

  .category-toggle {
    padding: 12px;
  }

  .category-toggle strong {
    font-size: 18px;
  }

  .category-icon {
    width: 32px;
    height: 32px;
  }

  .menu-item {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .menu-item h3 {
    font-size: 16px;
    line-height: 1.28;
  }

  .inline-price {
    font-size: 17px;
  }

  .item-category {
    font-size: 12px;
  }

  .add-button {
    width: auto;
    min-width: 64px;
    min-height: 34px;
    padding: 7px 12px;
  }

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

  .order-form input,
  .order-form select,
  .order-form textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .cart-panel {
    margin-top: 2px;
  }
}
