/* ==========================================================
   AKN AREVI — Menu page
   Loaded after styles.css
   ========================================================== */

.bg__shade--menu {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(22, 22, 21, 0.55), rgba(22, 22, 21, 0.85) 70%),
    linear-gradient(180deg, rgba(22, 22, 21, 0.75) 0%, rgba(22, 22, 21, 0.9) 45%, rgba(22, 22, 21, 0.95) 100%);
}

.menu-page .page {
  grid-template-rows: auto minmax(0, 1fr);
}

.menu-page .header {
  padding-bottom: clamp(8px, 1.4vh, 14px);
}

/* The page never scrolls — only the dish list does */
.menu {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
}

.menu__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Toolbar ---------- */
.menu__toolbar {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240, 219, 136, 0.12);
  animation: rise-in 0.8s var(--ease) 0.1s both;
}

.menu__titlebar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.menu__title {
  margin: 0 auto 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.4vh, 42px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--gold);
}

html[lang="hy"] .menu__title {
  font-size: clamp(24px, 3.8vh, 36px);
  letter-spacing: 0.02em;
}

.table-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 50%, var(--gold-deep));
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(240, 219, 136, 0.2);
}

html[lang="hy"] .table-pill {
  letter-spacing: 0.03em;
}

.table-pill svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.scan-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(240, 219, 136, 0.4);
  color: rgba(247, 241, 220, 0.8);
  font-size: 12px;
  line-height: 1.3;
}

.scan-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

/* ---------- Tabs & filters (swipe horizontally) ---------- */
.tabs,
.filters {
  position: relative;
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--pad-x) * -1);
  padding: 4px var(--pad-x);
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.tabs::-webkit-scrollbar,
.filters::-webkit-scrollbar {
  display: none;
}

.filters {
  margin-top: 4px;
}

.tab {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(28, 28, 27, 0.55);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tab:hover {
  border-color: rgba(240, 219, 136, 0.6);
}

.tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 50%, var(--gold-deep));
  color: var(--ink);
  font-weight: 600;
}

.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 241, 220, 0.16);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.chip__icon {
  width: 15px;
  height: 15px;
}

.chip:hover {
  border-color: rgba(240, 219, 136, 0.4);
  color: var(--cream);
}

.chip[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(240, 219, 136, 0.12);
  color: var(--gold);
}

.chip--solid {
  padding: 10px 18px;
  border-color: var(--gold);
  color: var(--gold);
  font-size: 13px;
}

/* ---------- Dish list ---------- */
.menu__list {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 219, 136, 0.3) transparent;
  outline: none;
}

.menu__list > .menu__inner {
  padding-top: 18px;
  padding-bottom: 32px;
}

.menu.has-orderbar .menu__list > .menu__inner {
  padding-bottom: 110px;
}

.menu__status {
  margin: 40px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.menu__empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 60px 0;
  color: var(--muted);
  text-align: center;
}

.menu__empty p {
  margin: 0;
}

.menu__empty > svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  opacity: 0.7;
}

.menu-section {
  padding-bottom: 28px;
  animation: rise-in 0.6s var(--ease) both;
}

.menu-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 3vh, 28px);
  letter-spacing: 0.04em;
  color: var(--cream);
}

html[lang="hy"] .menu-section__title {
  font-size: clamp(19px, 2.6vh, 24px);
  letter-spacing: 0.01em;
}

.menu-section__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 219, 136, 0.35), transparent);
}

.menu-section__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
}

.menu-section__icon svg {
  width: 18px;
  height: 18px;
}

.menu-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 12px;
}

/* ---------- Dish card ---------- */
.dish {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(240, 219, 136, 0.12);
  background: linear-gradient(145deg, rgba(58, 58, 55, 0.6), rgba(26, 26, 25, 0.75));
  text-align: left;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.dish:not(.is-unavailable):hover {
  transform: translateY(-2px);
  border-color: rgba(240, 219, 136, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.dish:not(.is-unavailable):active {
  transform: scale(0.99);
}

.dish.is-unavailable {
  cursor: default;
  opacity: 0.55;
}

.dish.is-unavailable .thumb {
  filter: grayscale(1);
}

.thumb {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, var(--tint, rgba(240, 219, 136, 0.25)), transparent 70%),
    linear-gradient(145deg, #3d3d3a, #1d1d1c);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(240, 219, 136, 0.12);
}

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

.thumb__icon {
  width: 42%;
  height: 42%;
  stroke-width: 1.3;
}

.thumb--salad { --tint: rgba(140, 190, 100, 0.35); }
.thumb--snack { --tint: rgba(240, 200, 110, 0.3); }
.thumb--main { --tint: rgba(240, 219, 136, 0.28); }
.thumb--grill { --tint: rgba(230, 120, 60, 0.35); }
.thumb--dessert { --tint: rgba(220, 150, 170, 0.3); }
.thumb--lemonade { --tint: rgba(240, 225, 120, 0.38); }
.thumb--drink { --tint: rgba(190, 130, 80, 0.35); }

.thumb__star {
  position: absolute;
  top: 6px;
  left: 6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.thumb__star svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke-width: 1;
}

.thumb__new {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 7px;
  border-radius: 8px 0 0 0;
  background: #e8563c;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

html[lang="hy"] .thumb__new {
  letter-spacing: 0.04em;
}

.dish__thumb {
  width: clamp(84px, 22vw, 104px);
  height: clamp(84px, 22vw, 104px);
}

.dish__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.dish__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.15;
  color: var(--cream);
}

html[lang="hy"] .dish__name {
  font-size: 16px;
}

.dish__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: rgba(240, 219, 136, 0.08);
  color: rgba(240, 219, 136, 0.85);
  font-size: 10.5px;
  white-space: nowrap;
}

.tag svg {
  width: 12px;
  height: 12px;
}

.dish__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.dish__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.dish__price small {
  color: rgba(247, 241, 220, 0.45);
  font-size: 11.5px;
  font-weight: 400;
}

.dish__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 50%, var(--gold-deep));
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease);
}

.dish__add svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.dish:hover .dish__add {
  transform: scale(1.05);
}

.dish__na {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 241, 220, 0.2);
  color: rgba(247, 241, 220, 0.65);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Order bar ---------- */
.orderbar {
  position: absolute;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100% - 2 * var(--pad-x)));
  padding: 7px 20px 7px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 45%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  translate: -50% 0;
  animation: barIn 0.5s var(--ease) both;
}

@keyframes barIn {
  from {
    opacity: 0;
    translate: -50% 24px;
  }
}

.orderbar__count {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}

.orderbar__label {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

html[lang="hy"] .orderbar__label {
  letter-spacing: 0.02em;
}

.orderbar__total {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-page .toast {
  bottom: 92px;
}

/* ---------- Sheets (bottom sheet on phones, dialog on larger screens) ---------- */
.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}

.sheet::backdrop {
  background: rgba(10, 10, 9, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sheet[open] {
  animation: sheetUp 0.5s var(--ease) both;
}

.sheet[open]::backdrop {
  animation: fadeIn 0.35s ease both;
}

.sheet.is-closing {
  animation: sheetDown 0.3s ease-in both;
}

.sheet.is-closing::backdrop {
  animation: fadeOut 0.3s ease both;
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
}

@keyframes sheetDown {
  to {
    transform: translateY(100%);
  }
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

@keyframes sheetOut {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

.sheet__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 92dvh;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(240, 219, 136, 0.12), transparent 50%),
    linear-gradient(165deg, #3f3f3c, #1c1c1b 65%);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

.sheet__grip {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(247, 241, 220, 0.2);
  translate: -50% 0;
}

.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 22, 21, 0.55);
  color: var(--muted);
  transition: color 0.3s, transform 0.4s var(--ease);
}

.sheet__close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.sheet__close svg {
  width: 18px;
  height: 18px;
}

.sheet__body {
  display: grid;
  gap: 18px;
  padding: 28px 20px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sheet__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(240, 219, 136, 0.12);
  background: rgba(22, 22, 21, 0.55);
}

@media (min-width: 720px) {
  .sheet {
    width: min(560px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    margin: auto;
  }

  .sheet__panel {
    max-height: calc(100dvh - 48px);
    border-radius: 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  }

  .sheet__grip {
    display: none;
  }

  .sheet[open] {
    animation-name: sheetIn;
  }

  .sheet.is-closing {
    animation-name: sheetOut;
  }

  .sheet__body {
    padding: 28px 28px 22px;
  }

  .sheet__footer {
    padding: 16px 28px;
  }
}

/* Item sheet */
.sheet__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 40px;
}

.sheet__thumb {
  width: 96px;
  height: 96px;
}

.sheet__hero-text {
  min-width: 0;
}

.sheet__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: var(--gold);
}

html[lang="hy"] .sheet__title {
  font-size: 22px;
}

.sheet__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
}

.sheet__price small {
  color: rgba(247, 241, 220, 0.45);
  font-size: 12px;
  font-weight: 400;
}

.sheet__desc {
  margin: 0;
  color: rgba(247, 241, 220, 0.75);
  font-size: 14px;
  line-height: 1.55;
}

.sheet__group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sheet__label {
  padding: 0;
  color: rgba(247, 241, 220, 0.7);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[lang="hy"] .sheet__label {
  letter-spacing: 0.05em;
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(240, 219, 136, 0.2);
  background: rgba(16, 16, 15, 0.45);
  color: var(--cream);
  font-size: 13.5px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.opt:hover {
  border-color: rgba(240, 219, 136, 0.55);
}

.opt small {
  color: var(--gold);
  font-size: 12px;
}

.opt__check {
  width: 0;
  height: 16px;
  margin-right: -6px;
  opacity: 0;
  stroke-width: 2.6;
  transition: width 0.25s var(--ease), opacity 0.2s, margin 0.25s var(--ease);
}

.opt[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 50%, var(--gold-deep));
  color: var(--ink);
}

.opt[aria-pressed="true"] small {
  color: rgba(22, 22, 21, 0.7);
}

.opt[aria-pressed="true"] .opt__check {
  width: 16px;
  margin-right: 0;
  opacity: 1;
}

.textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(240, 219, 136, 0.18);
  background: rgba(16, 16, 15, 0.55);
  color: var(--cream);
  font: 400 16px/1.45 var(--sans); /* 16px stops iOS zooming in */
  resize: none;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.textarea::placeholder {
  color: rgba(247, 241, 220, 0.35);
  font-size: 14px;
}

.textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 219, 136, 0.14);
}

.sheet__notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(240, 219, 136, 0.4);
  color: rgba(247, 241, 220, 0.85);
  font-size: 13.5px;
  line-height: 1.4;
}

.sheet__notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

.sheet__notice--muted {
  border-style: solid;
  border-color: rgba(247, 241, 220, 0.18);
  color: var(--muted);
}

/* Quantity stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 16, 15, 0.45);
}

.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  border-radius: 14px;
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}

.stepper button:hover:not(:disabled) {
  background: rgba(240, 219, 136, 0.1);
}

.stepper button:disabled {
  color: rgba(247, 241, 220, 0.25);
  cursor: not-allowed;
}

.stepper svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.stepper output {
  min-width: 26px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.stepper--sm {
  border-radius: 10px;
}

.stepper--sm button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.stepper--sm svg {
  width: 15px;
  height: 15px;
}

.stepper--sm output {
  min-width: 22px;
  font-size: 14px;
}

/* Gold action button */
.btn-gold {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8ebb4 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 28px rgba(240, 219, 136, 0.2);
  transition: box-shadow 0.3s, transform 0.2s, opacity 0.2s;
}

.btn-gold:hover:not(:disabled) {
  box-shadow: 0 14px 36px rgba(240, 219, 136, 0.32);
}

.btn-gold:active:not(:disabled) {
  transform: scale(0.985);
}

.btn-gold:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-gold[aria-busy="true"] {
  cursor: progress;
  opacity: 0.85;
}

.sheet__add {
  justify-content: space-between;
  min-width: 0;
  text-align: left;
}

.sheet__add-short {
  display: none;
}

@media (max-width: 420px) {
  .sheet__add-long {
    display: none;
  }

  .sheet__add-short {
    display: inline;
  }
}

.sheet__add-price {
  padding-left: 12px;
  border-left: 1px solid rgba(22, 22, 21, 0.25);
  white-space: nowrap;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(22, 22, 21, 0.25);
  border-top-color: var(--ink);
  animation: spin 0.8s linear infinite;
}

/* Order sheet */
.sheet__heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-right: 44px;
}

.sheet__heading .sheet__title {
  margin: 0;
}

.lines {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.line {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(240, 219, 136, 0.12);
  background: rgba(16, 16, 15, 0.35);
}

.line__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.line__name {
  font-size: 14.5px;
  font-weight: 600;
}

.line__price {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.line__opts,
.line__comment,
.line__na {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.line__comment {
  color: rgba(247, 241, 220, 0.55);
  font-style: italic;
  overflow-wrap: anywhere;
}

.line__na {
  color: #f0a08a;
}

.line.is-unavailable .line__name {
  color: var(--muted);
  text-decoration: line-through;
}

.line__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.line__remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.line__remove:hover {
  background: rgba(214, 96, 70, 0.14);
  color: #f0a08a;
}

.line__remove svg {
  width: 17px;
  height: 17px;
}

.order-total {
  display: grid;
  gap: 2px;
  flex-shrink: 0;
}

.order-total span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-total strong {
  color: var(--gold);
  font-size: 20px;
  white-space: nowrap;
}

.alert-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(240, 160, 138, 0.45);
  background: rgba(214, 96, 70, 0.14);
  color: #f0a08a;
  font-size: 13px;
  line-height: 1.4;
}

.alert-box svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Success */
.sheet__success {
  justify-items: center;
  gap: 14px;
  padding-top: 44px;
  padding-bottom: 28px;
  text-align: center;
}

.sheet__success .sheet__title {
  margin: 4px 0 0;
}

.success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8ebb4, var(--gold) 50%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 0 0 10px rgba(240, 219, 136, 0.12), 0 12px 40px rgba(240, 219, 136, 0.3);
  animation: pop 0.6s var(--ease) both;
}

.success__icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2.4;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.5s var(--ease) 0.25s forwards;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .dish {
    gap: 12px;
    padding: 10px;
  }

  .dish__add {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .dish__add span {
    display: none;
  }

  .sheet__thumb {
    width: 76px;
    height: 76px;
  }

  .sheet__title {
    font-size: 22px;
  }

  .orderbar__label {
    font-size: 12px;
  }
}

@media (max-height: 560px) {
  .menu__title {
    font-size: 24px;
  }

  .menu__titlebar {
    margin-bottom: 8px;
  }

  .menu__toolbar {
    padding-bottom: 8px;
  }
}
