@charset "UTF-8";
:root {
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1d1d1f;
  background: #e5e7e5;
  font-synthesis: none;
  --green: #58b91b;
  --dark: #285e10;
  --muted: #767676;
  --line: #e7e8e8;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus,
textarea:focus {
  outline: none;
}
button:active,
a:active {
  opacity: 0.72;
}
input,
textarea {
  caret-color: var(--green);
}
.app {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  min-height: 100dvh;
  padding-bottom: 100px;
  box-shadow: 0 0 70px #22331808;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.8px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
  line-height: 1.5;
}
.subtle,
.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.store {
  padding: 30px 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.store .subtle {
  margin-top: 10px;
}
.menu-tools {
  padding: 0 32px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  background: #f5f6f2;
  border-radius: 6px;
}
.search > span {
  font-size: 28px;
  line-height: 1;
  color: #7f8c76;
}
.search input {
  width: 100%;
  padding: 13px 0;
  background: none;
  border: 0;
  font-size: 13px;
  outline-offset: 6px;
}
.menu-tools > .subtle {
  font-size: 12px;
  white-space: nowrap;
}
.catalog {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 26px;
  border-top: 1px solid var(--line);
}
.categories {
  padding: 18px 0;
  background: #f7f8f4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  position: sticky;
  top: 0;
  max-height: 65dvh;
  overflow-y: auto;
}
.category {
  background: none;
  min-height: 48px;
  text-align: left;
  padding: 12px 22px;
  font-size: 13px;
  color: #6c7665;
  border-left: 3px solid transparent;
}
.category[aria-pressed='true'] {
  background: #fff;
  color: var(--dark);
  font-weight: 650;
  border-left-color: var(--green);
}
.dish-list {
  padding: 24px 32px 105px 0;
  min-width: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: 17px;
}
.section-heading span {
  font-size: 12px;
  color: #99a28f;
}
.dish {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dish-image {
  width: 116px;
  height: 116px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.food-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2e7;
  color: #a2b191;
  font-size: 28px;
  font-weight: 600;
}
.dish-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dish-info > p {
  color: #89917f;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  font-size: 20px;
  letter-spacing: -0.7px;
}
.price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.add {
  background: var(--green);
  color: #fff;
  border-radius: 9px;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 11px;
  font-size: 14px;
  font-weight: 650;
}
.cart-bar {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(720px, 100%) - 48px);
  border-radius: 8px;
  background: #25321f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  box-shadow: 0 8px 24px #1e361527;
  z-index: 3;
}
.cart-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bag {
  border: 1px solid #5c6c52;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #c9e5ad;
}
.cart-summary strong {
  font-size: 21px;
}
.cart-summary small {
  display: block;
  font-size: 12px;
  color: #aabb9e;
  margin-top: 4px;
}
.primary,
.secondary {
  min-height: 46px;
  border-radius: 6px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover,
.add:hover {
  background: #4ca515;
}
.secondary {
  background: #f0f3ea;
  color: #46533a;
  border: 1px solid #e2e8dc;
}
.nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 100%);
  padding: 15px 0 calc(15px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  background: #ffffffed;
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  z-index: 4;
}
.nav a {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #8b9482;
  min-height: 25px;
  padding: 6px;
  position: relative;
}
.nav a.active {
  color: #377019;
  font-weight: 650;
}
.nav a.active:before {
  content: '';
  position: absolute;
  top: -16px;
  width: 28px;
  height: 3px;
  border-radius: 5px;
  background: var(--green);
  left: calc(50% - 14px);
}
.page-title {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 30px 32px 20px;
}
.page-title h1 {
  font-size: 25px;
}
.page-title .eyebrow {
  margin-bottom: 7px;
}
.back {
  font-size: 32px;
  font-weight: 300;
  width: 30px;
  display: inline-block;
  text-align: center;
  color: #778469;
}
.panel {
  margin: 16px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}
.hint {
  font-size: 12px;
  margin-top: 10px;
}
.wide {
  width: 100%;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.cart-line:first-child {
  padding-top: 0;
}
.cart-line small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.cart-line strong {
  font-size: 15px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}
.step {
  width: 32px;
  height: 32px;
  border: 1px solid #dae5d0;
  background: #f7faf3;
  color: #39711b;
  border-radius: 8px;
  font-size: 20px;
}
.metadata > div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}
.metadata dt {
  color: var(--muted);
  flex-shrink: 0;
}
.metadata dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.actions > * {
  flex: 1;
}
.metadata {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  margin: 0;
}
.text-button {
  background: none;
  color: #6d7d5d;
  font-size: 12px;
  padding: 12px 0;
  text-decoration: underline;
}
.order-tabs {
  position: sticky;
  top: 52px;
  z-index: 11;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.order-tabs::-webkit-scrollbar {
  display: none;
}
.order-tabs button {
  flex: 1 0 auto;
  min-width: 78px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f4f5f1;
  color: #596452;
  font-size: 13px;
}
.order-tabs button[aria-selected='true'] {
  background: var(--dark);
  color: #fff;
  font-weight: 650;
}
.order-tabs span {
  margin-left: 5px;
  font-size: 11px;
  opacity: 0.75;
}
.order-card {
  display: block;
}
.order-card-head,
.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.order-card-head b {
  color: #5d873e;
  font-weight: 500;
}
.order-card h3 {
  margin: 21px 0 8px;
}
.order-card p {
  font-size: 12px;
  color: var(--muted);
}
.order-card-foot {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.order-card-foot strong {
  font-size: 19px;
  color: #293720;
}
.order-card-foot strong span {
  margin-left: 20px;
  color: #b0bba5;
  font-size: 22px;
}
.empty {
  padding: 80px 24px;
  text-align: center;
  min-height: 50dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.empty h1 {
  font-size: 24px;
}
.empty p {
  font-size: 13px;
  line-height: 1.8;
  color: #87907e;
  max-width: 330px;
}
.empty.compact {
  min-height: 200px;
  padding: 24px 8px;
}
.empty.compact h3 {
  font-size: 14px;
}
.loader {
  width: 26px;
  height: 26px;
  border: 2px solid #e2ead9;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.notice {
  margin: 16px 24px;
  padding: 13px 16px;
  border: 1px solid #ebd5bd;
  background: #fff8ed;
  color: #846039;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}
.notice[hidden],
.toast[hidden] {
  display: none;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: #263720ed;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 20;
  box-shadow: 0 4px 18px #0002;
  max-width: 90vw;
}
dialog {
  padding: 0;
  border: 0;
  border-radius: 8px;
  width: min(460px, calc(100% - 28px));
  max-height: 88dvh;
  box-shadow: 0 20px 80px #12210740;
}
dialog::backdrop {
  background: #19201666;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #fffffff0;
  color: #4e5b46;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  font-size: 25px;
}
.dialog-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.dialog-content {
  padding: 24px;
}
.dialog-content h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 25px 0;
}
legend {
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 650;
}
legend small {
  font-size: 12px;
  font-weight: 400;
  color: #7c8a70;
  margin-left: 5px;
}
.choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.choice input[type='radio'],
.choice input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice span {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #e1e7d9;
  background: #fafbf7;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  cursor: pointer;
}
.choice b {
  font-size: 12px;
  font-weight: 400;
  color: #839271;
}
.choice input:checked + span {
  border-color: #72b847;
  background: #eff8e8;
  color: #3c761d;
}
.choice input:focus-visible + span {
  outline: none;
}
.choice input[type='number'] { width: 72px; margin-top: 6px; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; background: #fff; }
.combo-dialog-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.combo-dialog-title h2 {
  margin-bottom: 8px;
}
.combo-dialog-title > strong {
  flex-shrink: 0;
  color: #e46c22;
  font-size: 20px;
  line-height: 1.2;
}
.combo-group {
  margin: 20px 0;
}
.combo-choices {
  display: grid;
  gap: 8px;
}
.combo-choice {
  display: grid;
  gap: 8px;
}
.combo-choice input[type='radio'],
.combo-choice input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.combo-choice > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border: 1px solid #e1e7d9;
  background: #fafbf7;
  border-radius: 7px;
  padding: 10px 12px;
  cursor: pointer;
}
.combo-choice-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.combo-choice-main b {
  color: #1f241d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.combo-choice-main small {
  color: #7b8177;
  font-size: 12px;
  line-height: 1.35;
}
.combo-choice em {
  flex-shrink: 0;
  color: #78906b;
  font-size: 12px;
  font-style: normal;
}
.combo-choice input:checked + span {
  border-color: #72b847;
  background: #eff8e8;
}
.combo-choice input:checked + span .combo-choice-main b {
  color: #3c761d;
}
.combo-variant-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dde6d8;
  border-radius: 6px;
  background: #fff;
  color: #1d1d1f;
  padding: 0 10px;
  font-size: 14px;
}
.form-error {
  font-size: 12px;
  color: #a45436;
  min-height: 20px;
  margin-bottom: 12px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Adapted from the supplied dining templates: menu, cart, checkout and orders. */
[hidden] { display: none !important; }
.app { background: #ededed; box-shadow: none; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.app.has-cart-bar { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
html:has(.catalog), body:has(.catalog) { height: 100%; overflow: hidden; overscroll-behavior: none; }
body:has(.catalog) { position: fixed; inset: 0; width: 100%; }
.app:has(.catalog) { height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.app:has(.catalog) #main { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.app:has(.catalog) .store, .app:has(.catalog) .menu-tools, .app:has(.catalog) > .notice { flex-shrink: 0; }
.app:has(.catalog) .store, .app:has(.catalog) .menu-tools, .app:has(.catalog) .cart-bar, .app:has(.catalog) .nav { touch-action: pinch-zoom; }
.store-logo { -webkit-user-drag: none; user-select: none; }
.store-header { display: grid; grid-template-rows: 1fr; flex-shrink: 0; transition: grid-template-rows 180ms ease; }
.store-header > .store { min-height: 0; overflow: hidden; transition: padding 180ms ease, opacity 180ms ease; }
.store-header.is-collapsed { grid-template-rows: 0fr; }
.store-header.is-collapsed > .store { padding-top: 0; padding-bottom: 0; opacity: 0; }
.store-header.is-collapsed + .menu-tools { padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { .store-header, .store-header > .store { transition: none; } }
.store { padding: 18px 16px; gap: 12px; background: #fff; }
.store-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.store-logo { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; flex-shrink: 0; font-size: 22px; }
.store h1 { font-size: 17px; letter-spacing: 0; overflow-wrap: anywhere; }
.store .subtle { margin-top: 4px; font-size: 13px; }
.menu-tools { padding: 0 14px 12px; background: #fff; gap: 12px; }
.search { border-radius: 6px; gap: 8px; padding: 0 10px; background: #f4f4f4; }
.search input { padding: 10px 0; font-size: 14px; }
.menu-tools > .subtle { font-size: 12px; }
.catalog { grid-template-columns: 76px minmax(0, 1fr); gap: 0; background: #fff; flex: 1; min-height: 0; overflow: hidden; }
.categories { position: static; align-self: stretch; padding: 0; background: #f2f2f2; gap: 0; min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid #e5e5e5; }
.category { padding: 0 12px; min-height: 54px; flex-shrink: 0; font-size: 13px; color: #747a71; font-weight: 400; }
.category[aria-pressed='true'] { color: var(--green); font-weight: 700; }
.dish-list { padding: 0 12px 22px 14px; min-height: 0; overflow-y: auto; overscroll-behavior: none; touch-action: pan-y pinch-zoom; }
.dish-list > section:last-child { min-height: 100%; }
.menu-heading, .menu-section-heading { border-bottom: 1px solid #e5e5e5; scroll-margin-top: 0; }
.menu-heading { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-heading small, .menu-section-heading small { display: block; color: #858a81; font-size: 12px; line-height: 1.35; }
.menu-heading h2 { margin-top: 2px; font-size: 17px; line-height: 1.2; }
.menu-heading > span { font-size: 12px; color: #8a8f87; white-space: nowrap; }
.menu-section-heading { min-height: 58px; display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.menu-section-heading h2 { font-size: 16px; line-height: 1.2; }
.menu-section-heading small { margin-top: 3px; }
.section-heading { margin-bottom: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: 17px; }
.section-heading span { display: none; }
.dish { display: grid; grid-template-columns: 78px minmax(0, 1fr) 32px; gap: 10px; align-items: center; min-height: 108px; padding: 12px 0; border-color: #e5e5e5; }
.dish-media, .dish-detail { padding: 0; background: transparent; color: inherit; text-align: left; }
.dish-image { display: block; width: 78px; height: 78px; border-radius: 4px; }
.dish-image.food-placeholder { display: flex; }
.dish-info { min-height: 78px; align-self: stretch; padding: 2px 0; }
.dish h3 { font-size: 15px; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.dish-detail p { font-size: 12px; line-height: 1.35; margin-top: 4px; color: #85858b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-info > .price { margin-top: auto; padding-top: 8px; font-weight: 400; white-space: nowrap; }
.dish-controls { align-self: end; justify-self: end; margin-bottom: 1px; }
.dish .add { min-width: 30px; min-height: 30px; width: 30px; height: 30px; border-radius: 50%; padding: 0; color: var(--green); border-color: #85be69; font-size: 22px; font-weight: 300; line-height: 1; }
.dish .add-options { width: auto; padding: 0 6px; border-radius: 4px; font-size: 12px; white-space: nowrap; }
.dish .stepper { width: 84px; margin-left: -52px; gap: 4px; background: #fff; }
.dish .stepper .step { width: 28px; height: 28px; font-size: 17px; color: #555; }
.dish .stepper .step:last-child { color: var(--green); }
.dish .stepper output { min-width: 20px; font-size: 13px; }
.dish:has(.stepper) .price { max-width: calc(100% - 52px); overflow-wrap: anywhere; white-space: normal; }
.price { font-size: 16px; color: #ff5a00; letter-spacing: 0; }
.add { min-width: 36px; min-height: 36px; border-radius: 18px; padding: 5px 8px; background: #fff; color: var(--dark); border: 1px solid #b8d3aa; font-size: 14px; }
.add:hover { color: #fff; }
.cart-bar { bottom: calc(56px + env(safe-area-inset-bottom)); width: min(720px, 100%); height: 64px; border-radius: 0; padding: 0; gap: 0; background: #f4f4f4; color: #1d1d1f; box-shadow: none; border-top: 1px solid #ededed; }
.cart-summary { flex: 1; background: transparent; color: inherit; text-align: left; padding: 8px 20px; gap: 18px; min-height: 64px; }
.cart-bag { position: relative; flex-shrink: 0; width: 36px; height: 40px; color: var(--green); }
.bag { color: inherit; border: 0; border-radius: 0; width: 36px; height: 40px; }
.bag-count { position: absolute; inset: 16px 4px 3px; display: grid; place-items: center; font-size: 14px; line-height: 1; font-weight: 500; }
.cart-summary strong { font-size: 22px; font-weight: 600; white-space: nowrap; }
.cart-bar .cart-checkout { align-self: stretch; flex: 0 0 28%; min-width: 112px; border-radius: 0; font-size: 19px; font-weight: 500; padding: 0 16px; }
.cart-summary small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cart-summary em { font-style: normal; color: #e46c22; }
.primary, .secondary { border-radius: 5px; font-size: 15px; padding: 12px 18px; gap: 10px; min-height: 46px; }
.nav { padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); background: #fff; backdrop-filter: none; border-top: 1px solid #ededed; }
.nav a { min-height: 44px; display: grid; place-items: center; font-size: 16px; color: #999; }
.nav a.active { color: var(--green); font-weight: 600; }
.nav a.active:before { display: none; }
.page-title { background: var(--green); color: #fff; position: relative; justify-content: center; min-height: 64px; padding: 16px 52px; margin-bottom: 12px; }
.page-title h1 { font-size: 21px; letter-spacing: 0; }
.back { position: absolute; left: 10px; top: 9px; width: 40px; height: 44px; color: #fff; }
.compact-title { position: sticky; top: 0; z-index: 12; min-height: 52px; padding: 10px 56px; box-shadow: 0 1px 0 #0000000f; }
.compact-title .back { left: 8px; top: 4px; width: 44px; height: 44px; font-size: 40px; line-height: 1; }
.panel { margin: 10px 12px; border: 0; border-radius: 8px; padding: 16px; }
.panel .section-heading { align-items: center; }
.panel .section-heading .text-button { padding: 6px; text-decoration: none; }
.checkout-context { border-left: 4px solid var(--green); }
.checkout-context > strong { font-size: 18px; }
.checkout-context > p { margin-top: 5px; }
.cart-line { gap: 12px; padding: 14px 0; align-items: flex-start; }
.cart-line:first-child { padding-top: 14px; }
.cart-image { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.cart-copy { flex: 1; min-width: 0; }
.cart-copy h3 { font-size: 15px; overflow-wrap: anywhere; }
.cart-copy small { margin: 2px 0 6px; font-size: 12px; }
.cart-line-bottom { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.cart-line strong, .order-card-foot strong { color: #e46c22; }
.stepper { gap: 10px; flex-shrink: 0; }
.step { width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 3px; background: #fff; font-size: 20px; }
.stepper output { min-width: 16px; text-align: center; font-size: 14px; }
.order-card h3 { font-size: 18px; }
.order-card-foot { border-top-style: dashed; }
.empty { padding: 48px 20px; }
.notice { position: fixed; left: 50%; bottom: calc(82px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: calc(min(720px, 100%) - 24px); margin: 0; z-index: 21; }
.app.has-cart-bar > .notice, body:has(.app.has-cart-bar) .toast { bottom: calc(132px + env(safe-area-inset-bottom)); }
body.drawer-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: auto 0 0; margin: 0 auto; width: min(720px, 100%); max-width: 100%; max-height: min(82dvh, 760px); border-radius: 8px 8px 0 0; color: #1d1d1f; background: #fff; overflow: hidden; }
.cart-drawer[open] { display: flex; flex-direction: column; animation: drawer-up 240ms cubic-bezier(.2,.8,.2,1); }
.cart-drawer::backdrop { background: #0007; backdrop-filter: none; }
.drawer-handle { flex-shrink: 0; width: 36px; height: 4px; border-radius: 4px; background: #d6d6d6; margin: 10px auto 0; }
.drawer-header { display: flex; align-items: center; gap: 18px; padding: 6px 16px 12px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-header h2 { font-size: 18px; margin-right: auto; }
.drawer-header .text-button { text-decoration: none; min-height: 44px; }
.drawer-close { width: 44px; height: 44px; font-size: 28px; background: transparent; color: #777; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 0 16px; }
.drawer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex-shrink: 0; }
.drawer-footer small { display: block; color: var(--muted); font-size: 12px; }
.drawer-footer strong { display: block; font-size: 24px; color: #e46c22; margin-top: 3px; }
.drawer-footer .primary { min-width: 136px; }
@keyframes drawer-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 360px) { .catalog { grid-template-columns: 70px minmax(0, 1fr); } .category { padding-left: 10px; } .dish { grid-template-columns: 70px minmax(0, 1fr) 30px; gap: 8px; } .dish-image { width: 70px; height: 72px; } .dish-list { padding-left: 10px; padding-right: 10px; } .dish-info { min-height: 72px; } .dish:has(.stepper) .dish-info { padding-bottom: 32px; } .dish:has(.stepper) .price { max-width: none; } .cart-image { width: 60px; height: 68px; } .stepper { gap: 6px; } .drawer-footer .primary { min-width: 112px; } }
@media (prefers-reduced-motion: reduce) { .cart-drawer[open] { animation: none; } }
