@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --card: #1a1a1a;
  --card-2: #222222;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --green: #2ecc71;
  --green-dark: #27ae60;
  --green-soft: rgba(46, 204, 113, 0.14);
  --orange: #e67e22;
  --orange-soft: rgba(230, 126, 34, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.45);
  --danger: #ff6b57;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.cart-shell,
.cart-drawer,
.item-modal,
.slot-editor-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.26) transparent;
}

.cart-shell::-webkit-scrollbar,
.cart-drawer::-webkit-scrollbar,
.item-modal::-webkit-scrollbar,
.slot-editor-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.cart-shell::-webkit-scrollbar-track,
.cart-drawer::-webkit-scrollbar-track,
.item-modal::-webkit-scrollbar-track,
.slot-editor-body::-webkit-scrollbar-track {
  background: transparent;
}

.cart-shell::-webkit-scrollbar-thumb,
.cart-drawer::-webkit-scrollbar-thumb,
.item-modal::-webkit-scrollbar-thumb,
.slot-editor-body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  background-clip: padding-box;
}

.cart-shell:hover::-webkit-scrollbar-thumb,
.cart-drawer:hover::-webkit-scrollbar-thumb,
.item-modal:hover::-webkit-scrollbar-thumb,
.slot-editor-body:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.34);
  background-clip: padding-box;
}

.order-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-green {
  color: var(--green);
}

.brand-orange {
  color: var(--orange);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.header-meta span,
.header-meta a,
.status-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
}

.header-meta a {
  color: var(--green);
  font-weight: 700;
}

.order-layout {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1.5rem;
  padding: 1.5rem 2rem 3rem;
}

.menu-area {
  min-width: 0;
}

.order-intro {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  padding: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58)),
    url('/images/hero-bg.png') center / cover;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-intro h1,
.success-card h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.order-intro p,
.section-heading p,
.success-card p {
  max-width: 620px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.status-card {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.48);
}

.category-tabs {
  position: sticky;
  top: 72px;
  z-index: 30;
  display: flex;
  gap: 0.6rem;
  padding: 1rem 0;
  overflow-x: auto;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.category-tab.active {
  color: #07150d;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: transparent;
}

.category-tab:hover {
  transform: translateY(-1px);
  border-color: var(--green);
}

.loading-state {
  padding: 2rem;
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-cart {
  padding: 1.5rem 1rem;
  color: var(--muted);
  text-align: center;
}

.menu-section {
  scroll-margin-top: 150px;
  margin-bottom: 3rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.section-heading p {
  max-width: 360px;
  text-align: right;
  font-size: 0.9rem;
}

.item-grid,
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.item-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.drink-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.food-card,
.combo-card,
.drink-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.food-card:hover,
.combo-card:hover,
.drink-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 12px 34px rgba(46, 204, 113, 0.08);
}

.food-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  overflow: hidden;
}

.food-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.food-card:hover img,
.combo-card:hover img {
  transform: scale(1.05);
}

.price-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--orange);
  padding: 0.28rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.food-card-body,
.combo-card-body,
.drink-card {
  padding: 1rem;
}

.food-card h3,
.combo-card h3,
.drink-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.2;
}

.food-card p,
.combo-card p,
.drink-card p {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0.45rem 0 0.9rem;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.primary-button,
.secondary-button,
.ghost-button,
.quantity-button,
.icon-button {
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #06140c;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(46, 204, 113, 0.18);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 1rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.secondary-button {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
}

.ghost-button {
  background: transparent;
  color: var(--muted);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.quantity-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.combo-card .food-card-image {
  aspect-ratio: 16 / 10;
}

.combo-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.combo-includes span {
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.drink-card {
  gap: 0.75rem;
}

.drink-card p {
  min-height: auto;
  margin: 0;
}

.cart-panel {
  position: sticky;
  top: 92px;
  align-self: start;
}

.cart-shell {
  max-height: calc(100vh - 124px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(26, 26, 26, 0.94);
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.cart-list {
  padding: 0.5rem 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line h3 {
  margin: 0;
  font-size: 0.9rem;
}

.cart-line p {
  margin: 0.25rem 0 0;
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.45;
}

.cart-line-price {
  color: var(--orange);
  font-weight: 900;
  white-space: nowrap;
}

.cart-actions,
.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-actions {
  margin-top: 0.55rem;
}

.quantity-control {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem;
}

.quantity-button,
.icon-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
}

.quantity-control span {
  min-width: 1.3rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-form {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.7rem 0.75rem;
  outline: none;
}

.field textarea {
  min-height: 76px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
}

.totals {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.totals-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.totals-row.total {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 900;
}

.error-message {
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.45;
}

.mobile-cart-bar,
.cart-drawer,
.drawer-backdrop,
.modal-backdrop,
.item-modal,
.toast {
  position: fixed;
}

.mobile-cart-bar {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 1px solid rgba(46, 204, 113, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #06140c;
  padding: 0 1.1rem;
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.drawer-backdrop,
.modal-backdrop {
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.64);
}

.cart-drawer {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  max-height: 88vh;
  padding: 0.55rem 0.75rem 0.75rem;
  background: var(--bg);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow);
  overflow: auto;
}

.drawer-handle,
.modal-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 0.6rem;
  border-radius: 999px;
  background: var(--border-2);
}

.item-modal {
  top: 50%;
  left: 50%;
  z-index: 100;
  width: min(760px, calc(100vw - 2rem));
  max-height: min(86vh, 820px);
  transform: translate(-50%, -50%);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: auto;
}

.item-modal.slot-editor-open {
  overflow: hidden;
}

.modal-close {
  position: sticky;
  top: 0.75rem;
  left: calc(100% - 3rem);
  z-index: 2;
  margin: 0.75rem 0.75rem -2rem auto;
}

.modal-body {
  padding: 1rem 1.25rem 1.25rem;
}

.modal-top {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.modal-top img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.modal-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.1;
}

.modal-copy p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.option-block {
  margin-top: 1.25rem;
}

.option-block h3 {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.option-button,
.slot-card,
.picker-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.option-button {
  min-height: 58px;
  padding: 0.65rem;
  text-align: left;
}

.option-button strong,
.slot-card strong,
.picker-card strong {
  display: block;
  line-height: 1.25;
}

.option-button span,
.slot-card span,
.picker-card span {
  display: block;
  margin-top: 0.2rem;
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.35;
}

.option-button.active,
.slot-card.active,
.picker-card.active {
  border-color: var(--green);
  background: rgba(46, 204, 113, 0.12);
}

.modal-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 1.25rem -1.25rem -1.25rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.94);
  backdrop-filter: blur(12px);
}

.modal-price {
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 900;
  white-space: nowrap;
}

.modal-footer-copy {
  min-width: 0;
}

.modal-footer-message {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.slot-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 84px;
  padding: 0.55rem;
  text-align: left;
}

.slot-card.empty {
  grid-template-columns: minmax(0, 1fr);
  border-style: dashed;
  background: rgba(255, 255, 255, 0.025);
}

.slot-card.empty strong {
  color: var(--text);
}

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

.slot-card img,
.picker-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.picker-panel {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.picker-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.picker-header h3 {
  margin: 0;
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.picker-card {
  padding: 0.45rem;
  text-align: left;
}

.picker-card strong {
  margin-top: 0.45rem;
  font-size: 0.78rem;
}

.slot-editor-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.58);
}

.slot-editor {
  width: min(660px, calc(100vw - 2rem));
  max-height: min(82vh, 760px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slot-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

.slot-editor-header h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.15;
}

.slot-editor-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.slot-editor-body {
  overflow: auto;
  padding: 1rem;
  overscroll-behavior: contain;
}

.slot-editor-body.with-options {
  display: block;
}

.slot-editor-options {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.slot-editor-options .slot-editor-section + .slot-editor-section {
  margin-top: 0;
}

.slot-editor-options .option-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.slot-editor-section + .slot-editor-section {
  margin-top: 1.1rem;
}

.slot-editor-section h4 {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.65rem;
}

.slot-choice-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem;
  text-align: left;
  cursor: pointer;
}

.slot-choice-card.active {
  border-color: var(--green);
  background: rgba(46, 204, 113, 0.12);
}

.slot-choice-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.slot-choice-card strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.25;
}

.slot-editor-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.96);
}

.toast {
  left: 50%;
  bottom: 1.25rem;
  z-index: 120;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 2rem));
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.96);
  color: var(--text);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.success-card {
  width: min(680px, 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.success-brand {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
}

.status-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.55rem;
  color: var(--muted);
}

.status-row strong {
  color: var(--text);
  text-align: right;
}

@media (max-width: 1180px) {
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    padding-inline: 1.25rem;
  }

  .item-grid,
  .item-grid.compact,
  .combo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 86px;
  }

  .order-header {
    height: 64px;
    padding: 0 1rem;
  }

  .brand {
    font-size: 1.35rem;
  }

  .header-meta span {
    display: none;
  }

  .order-layout {
    display: block;
    padding: 1rem 1rem 2rem;
  }

  .order-intro {
    min-height: 210px;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 1.3rem;
  }

  .status-card {
    width: fit-content;
    white-space: normal;
  }

  .category-tabs {
    top: 64px;
    margin: 0 -1rem;
    padding: 0.8rem 1rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    max-width: none;
    text-align: left;
  }

  .item-grid,
  .item-grid.compact,
  .combo-grid,
  .drink-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .food-card-body,
  .combo-card-body,
  .drink-card {
    padding: 0.8rem;
  }

  .food-card h3,
  .combo-card h3,
  .drink-card h3 {
    font-size: 0.92rem;
  }

  .food-card p,
  .combo-card p {
    min-height: 2.65em;
    font-size: 0.72rem;
  }

  .cart-panel {
    display: none;
  }

  .cart-drawer .cart-shell {
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .mobile-cart-bar {
    display: flex;
  }

  .item-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    transform: none;
    border-radius: 22px 22px 0 0;
  }

  .modal-top {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .modal-copy h2 {
    font-size: 1.35rem;
  }

  .option-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-editor-backdrop {
    align-items: end;
    padding: 0;
  }

  .slot-editor {
    width: 100%;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }

  .slot-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-drawer,
  .cart-drawer .cart-shell,
  .item-modal,
  .slot-editor-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cart-drawer::-webkit-scrollbar,
  .cart-drawer .cart-shell::-webkit-scrollbar,
  .item-modal::-webkit-scrollbar,
  .slot-editor-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

@media (max-width: 480px) {
  .order-layout {
    padding-inline: 0.75rem;
  }

  .order-intro h1 {
    font-size: 2.25rem;
  }

  .item-grid,
  .item-grid.compact,
  .combo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .primary-button {
    min-height: 42px;
    font-size: 0.84rem;
  }

  .modal-body {
    padding-inline: 1rem;
  }

  .modal-footer {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .cart-drawer {
    padding-inline: 0.5rem;
  }

  .slot-editor-footer {
    grid-template-columns: 1fr;
  }
}
