:root {
  color-scheme: dark;
  --bg: #171412;
  --surface: #211c19;
  --surface-2: #2b2521;
  --card: #fff7eb;
  --card-2: #f5ead8;
  --text: #fff7eb;
  --muted: #c8b9a5;
  --dark-text: #241d18;
  --accent: #f27d52;
  --accent-2: #ffd08a;
  --line: rgba(255, 247, 235, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 70% 0%, rgba(242, 125, 82, 0.2), transparent 34rem),
    linear-gradient(180deg, #26201c 0%, #171412 44%, #100e0d 100%);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.phone-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.app {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 208, 138, 0.06), transparent 220px),
    var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 520px) {
  .phone-shell {
    padding: 18px 0;
  }

  .app {
    min-height: calc(100vh - 36px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
  }
}

.top-bar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: max(12px, env(safe-area-inset-top)) 18px 10px;
  background: rgba(23, 20, 18, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 247, 235, 0.08);
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f27d52, #ffd08a);
  color: #251912;
  font-size: 13px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 247, 235, 0.12);
  border-radius: 50%;
  background: rgba(255, 247, 235, 0.06);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.icon-button:last-child {
  font-size: 18px;
}

.is-hidden {
  visibility: hidden;
}

.view {
  padding: 18px 18px 120px;
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-bottom: 30px;
}

.night-visual {
  position: relative;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 50%),
    radial-gradient(circle at 68% 28%, rgba(255, 208, 138, 0.32), transparent 58px),
    linear-gradient(160deg, #312722, #181412);
  border: 1px solid rgba(255, 247, 235, 0.1);
}

.phone-glow {
  position: absolute;
  left: 34px;
  bottom: -20px;
  width: 126px;
  height: 168px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(180deg, #f27d52, #35231c);
  box-shadow: 0 0 38px rgba(242, 125, 82, 0.34);
  transform: rotate(-8deg);
}

.phone-glow::before,
.phone-glow::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.54);
}

.phone-glow::before {
  top: 42px;
}

.phone-glow::after {
  top: 68px;
  width: 58px;
}

.tiny-receipt {
  position: absolute;
  right: 24px;
  bottom: 26px;
  width: 146px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.92);
  color: var(--dark-text);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.tiny-receipt span {
  display: block;
  color: #7f6650;
  font-size: 12px;
}

.tiny-receipt strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.25;
}

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

.lead {
  color: #ead8c1;
  font-size: 18px;
  line-height: 1.55;
}

.safe-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.safe-note.small {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
}

.primary-button,
.result-actions button,
.cooldown-actions button,
.category-card,
.restaurant-card {
  min-height: 48px;
}

.primary-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 15px 18px;
  background: linear-gradient(135deg, #ff8b56, #ffd08a);
  color: #2a1b12;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(242, 125, 82, 0.24);
}

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

.hero-cta {
  margin-top: 4px;
}

.soft-panel,
.checkout-card,
.waiting-card,
.map-card,
.delivered-card,
.share-card {
  border: 1px solid rgba(255, 247, 235, 0.1);
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.07);
}

.soft-panel {
  padding: 18px;
  color: #ead8c1;
  line-height: 1.65;
}

.soft-panel h2 {
  margin-bottom: 8px;
  color: var(--text);
}

.soft-panel p + p {
  margin-top: 12px;
}

.page-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.page-heading.compact h1 {
  font-size: 26px;
}

.page-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.category-card {
  display: grid;
  gap: 10px;
  min-height: 162px;
  padding: 16px;
  border: 1px solid rgba(255, 247, 235, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 32%, transparent), transparent),
    rgba(255, 247, 235, 0.07);
  color: var(--text);
  text-align: left;
}

.category-emoji {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.14);
  font-size: 24px;
}

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

.category-card span:last-child {
  color: #dcc8b0;
  font-size: 13px;
  line-height: 1.45;
}

.restaurant-list {
  display: grid;
  gap: 12px;
}

.restaurant-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 247, 235, 0.1);
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.94);
  color: var(--dark-text);
  text-align: left;
}

.restaurant-art,
.dish-art,
.menu-restaurant-art {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(135deg, #f27d52, #f6c978);
}

.restaurant-art {
  position: relative;
  overflow: hidden;
  width: 72px;
  height: 72px;
  font-size: 34px;
}

.restaurant-info {
  min-width: 0;
}

.restaurant-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.restaurant-title-row strong {
  font-size: 17px;
}

.restaurant-title-row span {
  flex: none;
  color: #8a6f58;
  font-size: 12px;
}

.restaurant-info p {
  margin-top: 6px;
  color: #725d4c;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.tag-row span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(242, 125, 82, 0.12);
  color: #9b563b;
  font-size: 11px;
  white-space: nowrap;
}

.menu-hero {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.menu-restaurant-art {
  position: relative;
  overflow: hidden;
  width: 82px;
  height: 82px;
  font-size: 40px;
}

.menu-hero h1 {
  font-size: 24px;
}

.menu-hero p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.notice-line {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 208, 138, 0.1);
  color: #ead8c1;
  font-size: 13px;
  line-height: 1.5;
}

.menu-sections {
  display: grid;
  gap: 20px;
}

.dish-section {
  display: grid;
  gap: 10px;
}

.dish-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dish-section-heading h2 {
  color: var(--text);
  font-size: 18px;
}

.dish-section-heading span {
  color: var(--muted);
  font-size: 12px;
}

.dish-waterfall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: start;
}

.dish-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.94);
  color: var(--dark-text);
  box-shadow: 0 10px 24px rgba(31, 20, 12, 0.1);
}

.dish-art {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  font-size: 32px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(135deg, #f27d52, #f6c978);
}

.restaurant-art img,
.menu-restaurant-art img,
.dish-art img,
.cart-line-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-art span,
.menu-restaurant-art span,
.dish-art span {
  position: relative;
  z-index: 1;
  display: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.restaurant-art img[hidden] + span,
.menu-restaurant-art img[hidden] + span,
.dish-art img[hidden] + span {
  display: block;
}

.dish-main {
  display: grid;
  min-width: 0;
}

.dish-main h3 {
  font-size: 15px;
  line-height: 1.32;
}

.dish-main p {
  margin-top: 5px;
  color: #735e4d;
  font-size: 12.5px;
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dish-sales {
  display: block;
  margin-top: 6px;
  color: #9a8069;
  font-size: 12px;
}

.dish-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  align-self: end;
  margin-top: 10px;
}

.dish-bottom strong {
  color: #d65e39;
  font-size: 17px;
}

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

.stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ff8b56;
  color: #241d18;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.stepper span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}

.cart-bar {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  align-items: center;
  gap: 8px 12px;
  width: min(calc(100vw - 24px), 406px);
  padding: 12px;
  border: 1px solid rgba(255, 247, 235, 0.1);
  border-radius: 8px;
  background: rgba(33, 28, 25, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
}

.cart-summary-button {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  background: rgba(255, 247, 235, 0.1);
  color: var(--text);
  text-align: left;
}

.cart-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8b56, #ffd08a);
  color: #241d18;
  font-size: 22px;
}

.cart-badge {
  position: absolute;
  left: 38px;
  top: 3px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border: 2px solid rgba(33, 28, 25, 0.96);
  border-radius: 999px;
  padding: 0 5px;
  background: #ff5f42;
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.cart-summary-copy {
  min-width: 0;
}

.cart-summary-copy strong {
  display: block;
  font-size: 22px;
}

.cart-summary-copy small,
.cart-pay-note {
  color: var(--muted);
  font-size: 12px;
}

.cart-pay-note {
  grid-column: 2;
  text-align: center;
}

.cart-sheet {
  width: min(100%, 394px);
  max-height: min(78vh, 680px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 247, 235, 0.12);
  border-radius: 8px 8px 0 0;
  background: #211c19;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}

.cart-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 247, 235, 0.08);
}

.cart-sheet-header h2 {
  margin-top: 4px;
  font-size: 20px;
}

.cart-sheet-list {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 12px 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.08);
}

.cart-line-image {
  position: relative;
  overflow: hidden;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(135deg, #f27d52, #f6c978);
}

.cart-line-main {
  min-width: 0;
}

.cart-line-main h3 {
  color: var(--text);
  font-size: 15px;
}

.cart-line-main p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  min-height: 30px;
  margin-top: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffb38d;
  font-size: 12px;
}

.cart-line-stepper {
  gap: 6px;
}

.cart-line-stepper button {
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.cart-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

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

.cart-sheet-footer {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 247, 235, 0.08);
  background: rgba(23, 20, 18, 0.96);
}

.cart-sheet-footer span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.cart-sheet-footer strong {
  display: block;
  margin-top: 2px;
  color: var(--accent-2);
  font-size: 24px;
}

.checkout-card {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}

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

.checkout-items div,
.info-row,
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ead8c1;
}

.checkout-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-total strong {
  color: var(--accent-2);
  font-size: 24px;
}

.field-label {
  color: var(--muted);
  font-size: 13px;
}

.select-field {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 247, 235, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 247, 235, 0.08);
  color: var(--text);
}

.remark-box {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 208, 138, 0.1);
  color: #ead8c1;
  font-size: 14px;
}

.checkout-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.checkout-summary span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.sticky-button {
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom));
}

.waiting-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.waiting-card h1 {
  font-size: 28px;
}

.waiting-card p:not(.eyebrow) {
  color: #ead8c1;
  line-height: 1.58;
}

.countdown {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 208, 138, 0.1);
}

.countdown span {
  color: var(--muted);
  font-size: 13px;
}

.countdown strong {
  color: var(--accent-2);
  font-size: 34px;
  line-height: 1;
}

.rider-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.map-card {
  position: relative;
  height: 260px;
  margin-top: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 247, 235, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 247, 235, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #2b2521, #171412);
  background-size: 42px 42px;
}

.map-route {
  position: absolute;
  left: 19%;
  top: 34%;
  width: 64%;
  height: 38%;
  border: 3px dashed rgba(255, 208, 138, 0.5);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 60px 0;
}

.map-home,
.map-shop,
.rider-dot {
  position: absolute;
  display: grid;
  place-items: center;
}

.map-home,
.map-shop {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.92);
  color: var(--dark-text);
  font-weight: 800;
}

.map-shop {
  left: 12%;
  top: 66%;
}

.map-home {
  right: 10%;
  top: 25%;
}

.rider-dot {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: #ff8b56;
  box-shadow: 0 0 0 8px rgba(255, 139, 86, 0.16);
  transition: left 600ms ease, top 600ms ease;
}

.rider-dot span {
  transform: translateY(-1px);
}

.cooldown-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.cooldown-actions button,
.result-actions button {
  border: 1px solid rgba(255, 247, 235, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 247, 235, 0.08);
  color: var(--text);
  font-weight: 700;
}

.cooldown-actions button:last-child {
  color: var(--accent-2);
}

.delivered-card {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 520px;
  padding: 24px;
  text-align: center;
}

.delivered-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8b56, #ffd08a);
  color: #241d18;
  font-size: 38px;
  font-weight: 900;
}

.delivered-card p {
  color: #ead8c1;
  line-height: 1.55;
}

.result-heading h1 {
  font-size: 28px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.summary-grid div {
  min-height: 126px;
  padding: 14px;
  border: 1px solid rgba(255, 247, 235, 0.1);
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.08);
}

.summary-grid span,
.summary-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.summary-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--accent-2);
  font-size: 23px;
  line-height: 1.15;
}

.result-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.result-actions .primary-button {
  border: 0;
  color: #2a1b12;
}

.share-wrap {
  display: grid;
  gap: 16px;
}

.share-card {
  min-height: 560px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 208, 138, 0.25), transparent 88px),
    linear-gradient(180deg, #fff7eb, #f2dfc4);
  color: var(--dark-text);
}

.share-card .eyebrow {
  color: #b9603e;
}

.share-card h1 {
  margin-top: 18px;
  color: #241d18;
  font-size: 32px;
}

.share-dishes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.share-dishes span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(242, 125, 82, 0.16);
  color: #8c4e38;
  font-size: 13px;
}

.share-stats {
  display: grid;
  gap: 12px;
}

.share-stats div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.share-stats span {
  display: block;
  color: #876c55;
  font-size: 13px;
}

.share-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.share-footer {
  margin-top: 28px;
  color: #876c55;
  line-height: 1.5;
}

.alternative-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.alternative-list div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.08);
}

.alternative-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 208, 138, 0.18);
  color: var(--accent-2);
  font-weight: 800;
}

.alternative-list p {
  color: #ead8c1;
  line-height: 1.5;
}

.active-order-banner {
  position: sticky;
  z-index: 18;
  top: 66px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 36px);
  min-height: 46px;
  margin: 10px 18px 0;
  border: 1px solid rgba(255, 208, 138, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 208, 138, 0.14);
  color: var(--text);
}

.active-order-banner span {
  color: #ead8c1;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 560px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.5;
}

.modal-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.48);
}

.modal-card {
  width: min(100%, 394px);
  padding: 20px;
  border: 1px solid rgba(255, 247, 235, 0.12);
  border-radius: 8px;
  background: #211c19;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44);
}

.modal-card p {
  margin: 12px 0 18px;
  color: #ead8c1;
  line-height: 1.6;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  width: min(calc(100vw - 36px), 380px);
  padding: 13px 15px;
  border-radius: 8px;
  background: rgba(255, 247, 235, 0.95);
  color: var(--dark-text);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 360px) {
  .view {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 30px;
  }

  .category-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .cart-bar {
    grid-template-columns: 1fr;
  }

  .cart-pay-note {
    grid-column: 1;
  }

  .cart-sheet-footer {
    grid-template-columns: 1fr;
  }
}
