/* ============================================================
   RESTAURANT MENU PAGE — Hero, Specials, Filters, Dishes, Promo
   ============================================================ */

/* -------- Restaurant hero (full-bleed) -------- */
.menu-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(14, 11, 10, 0.55) 0%, rgba(14, 11, 10, 0.65) 50%, rgba(14, 11, 10, 0.85) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.menu-hero .hero-inner {
  max-width: 880px;
  padding: 120px 24px 80px;
  animation: fadeUp 1.2s ease both;
}
.menu-hero .brand-mark { align-items: center; }
.menu-hero .brand-mark .name { color: var(--white); font-size: clamp(28px, 5vw, 52px); }
.menu-hero .brand-mark .place { color: var(--grey-soft); font-size: clamp(13px, 1.8vw, 18px); }
.menu-hero .brand-mark .city { color: var(--grey-soft); font-size: clamp(11px, 1.3vw, 14px); }

.menu-hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.menu-hero .tagline {
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sand-light);
  margin-top: 18px;
  font-weight: 300;
}
.menu-hero .lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.menu-hero .hero-meta {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 16px;
}
.menu-hero .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 700px), (max-height: 760px) {
  .menu-hero {
    justify-content: flex-start;
    flex-direction: column;
  }
  .menu-hero .hero-inner {
    padding: 110px 24px 28px;
  }
  .menu-hero .hero-meta {
    position: static;
    margin-top: 0;
    padding: 0 24px 30px;
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
}

/* -------- In-page menu nav (anchors to categories) -------- */
.menu-anchor-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(56, 47, 45, 0.08);
  position: sticky;
  top: 73px;
  z-index: 40;
}
.menu-anchor-bar .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.menu-anchor-bar a {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brown);
  white-space: nowrap;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease;
}
.menu-anchor-bar a:hover { color: var(--sand-deep); }

/* -------- Today's Specials -------- */
.specials {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.specials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(196, 167, 125, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(160, 217, 192, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.specials-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  background: var(--brown-ink);
  color: var(--white);
  padding: 22px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
}
.specials-banner .pulse {
  width: 12px; height: 12px;
  background: var(--mint);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.specials-banner .pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.5;
  animation: pulse 1.8s ease-out infinite;
}
.specials-banner .text strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 4px;
}
.specials-banner .text span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
}
.specials-banner .countdown { display: flex; gap: 8px; }
.specials-banner .countdown .unit {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 56px;
}
.specials-banner .countdown .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
}
.specials-banner .countdown .lbl {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 3px;
  display: block;
}
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
.special-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.special-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.special-card .image {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.special-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.special-card:hover .image img { transform: scale(1.06); }
.special-card .badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--peach);
  color: var(--brown-ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.special-card .badge.hot { background: #E8714A; color: var(--white); }
.special-card .badge.new { background: var(--mint); }
.special-card .badge.pair { background: var(--sand-light); }
.special-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.special-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.special-card .desc {
  font-size: 13px;
  color: var(--brown-soft);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.special-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.special-card .price {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--brown);
  font-weight: 500;
}
.special-card .price .currency { font-size: 14px; opacity: 0.7; margin-left: 3px; }
.special-card .original { font-size: 14px; color: var(--grey); text-decoration: line-through; }
.special-card .save {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2E8B57;
  font-weight: 500;
}

/* -------- Add-to-order button -------- */
.add-btn {
  width: 100%;
  padding: 12px;
  background: var(--cream);
  color: var(--brown);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.add-btn:hover { background: var(--brown); color: var(--white); }
.add-btn.added { background: var(--mint); color: var(--brown-ink); }

/* -------- Filter chips -------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}
.chip {
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  border: 1px solid rgba(56, 47, 45, 0.15);
  border-radius: 999px;
  background: var(--white);
  font-weight: 400;
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--sand); color: var(--sand-deep); }
.chip.active {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.chip .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}
.chip[data-tag="vegetarian"] .dot,
.chip[data-tag="vegan"] .dot { background: var(--mint); }
.chip[data-tag="spicy"] .dot { background: #E8714A; }
.chip[data-tag="gluten-free"] .dot { background: var(--sand); }
.chip[data-tag="signature"] .dot { background: var(--peach); }

/* -------- Menu sections / dish lists -------- */
.menu-section { padding: 100px 24px; }
.menu-section.alt { background: var(--paper); }

.order-line-options {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--brown-soft);
}

.dish-option-preview {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(196, 167, 125, 0.12);
  border: 1px dashed rgba(56, 47, 45, 0.14);
}

.dish-option-preview__group {
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--brown-soft);
}

.dish-option-preview__group strong {
  color: var(--brown);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dish-option-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 18, 17, 0.62);
  display: none;
  place-items: center;
  padding: 24px;
  z-index: 160;
}

.dish-option-modal.is-open {
  display: grid;
}

.dish-option-modal__panel {
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.dish-option-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.dish-option-modal__subtitle {
  color: var(--brown-soft);
  margin-top: 8px;
}

.dish-option-modal__close {
  border: 1px solid rgba(56, 47, 45, 0.12);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
}

.dish-option-form {
  display: grid;
  gap: 16px;
}

.dish-option-group {
  border: 1px solid rgba(56, 47, 45, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.dish-option-group legend {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  padding: 0 8px;
}

.dish-option-group legend span {
  margin-left: 8px;
  color: var(--sand-deep);
  font-size: 10px;
}

.dish-option-group p {
  color: var(--brown-soft);
  font-size: 13px;
  margin-bottom: 12px;
}

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

.dish-option-choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(56, 47, 45, 0.08);
}

.dish-option-choice small {
  color: var(--sand-deep);
  white-space: nowrap;
}

.dish-option-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.option-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .dish-option-modal {
    padding: 12px;
  }

  .dish-option-modal__panel {
    padding: 18px;
  }

  .dish-option-choice {
    grid-template-columns: auto 1fr;
  }

  .dish-option-choice small {
    grid-column: 2;
  }
}

.menu-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px 50px;
}
.menu-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(56, 47, 45, 0.12);
  transition: opacity 0.3s ease;
}
.menu-item.dimmed { opacity: 0.25; }
.menu-item .thumb {
  width: 110px; height: 110px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.menu-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item .thumb .sig-flag {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--peach);
  color: var(--brown-ink);
  font-size: 9px;
  letter-spacing: 0.18em;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}
.menu-item .head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.menu-item .head .name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  flex: 1;
}
.menu-item .head .leader {
  flex: 0 1 auto;
  border-bottom: 1px dotted rgba(56, 47, 45, 0.25);
  height: 14px;
  min-width: 30px;
  flex: 1;
}
.menu-item .head .price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--sand-deep);
  font-weight: 500;
  white-space: nowrap;
}
.menu-item .desc {
  font-size: 13px;
  color: var(--brown-soft);
  line-height: 1.55;
}
.menu-item .tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
  background: var(--cream);
  padding: 3px 9px;
  border-radius: 999px;
}
.menu-section.alt .tag { background: var(--white); }
.tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grey);
}
.tag[data-t="vegetarian"]::before,
.tag[data-t="vegan"]::before { background: var(--mint); }
.tag[data-t="spicy"]::before { background: #E8714A; }
.tag[data-t="gluten-free"]::before { background: var(--sand); }
.tag[data-t="signature"]::before { background: var(--peach); }

.menu-item .actions { margin-top: 12px; }
.menu-item .add-btn {
  width: auto;
  padding: 8px 18px;
  font-size: 10px;
}

/* -------- Promotional set-menu strip -------- */
.promo-strip {
  background: var(--brown-ink);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-strip::before,
.promo-strip::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 167, 125, 0.15) 0%, transparent 60%);
}
.promo-strip::before { top: -180px; left: -180px; }
.promo-strip::after  { bottom: -180px; right: -180px; }
.promo-strip .inner { max-width: 720px; margin: 0 auto; position: relative; }
.promo-strip h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 16px;
}
.promo-strip h2 .accent {
  color: var(--sand);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
}
.promo-strip p { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.promo-strip .price-block {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.promo-strip .price-block .now {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--sand);
}
.promo-strip .price-block .was {
  font-size: 16px;
  text-decoration: line-through;
  opacity: 0.6;
}
.promo-strip .price-block .per {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .menu-anchor-bar .wrap { padding: 12px 18px; gap: 16px; }
  .specials-banner { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .specials-banner .pulse { margin: 0 auto; }
  .specials-banner .countdown { justify-content: center; }
  .menu-hero .hero-meta { gap: 22px; flex-wrap: wrap; padding: 0 20px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item { grid-template-columns: 80px 1fr; }
  .menu-item .thumb { width: 80px; height: 80px; }
}

/* -------- Print -------- */
@media print {
  .menu-anchor-bar, .specials-banner .countdown, .filter-bar, .add-btn,
  .promo-strip, .order-sheet, .order-backdrop, .order-dock { display: none !important; }
  .menu-hero { min-height: 40vh; }
  body { background: white; }
}

/* -------- Guest order dock + bottom sheet -------- */
body.has-order-dock .floating {
  bottom: 92px;
}

body.order-open { overflow: hidden; }

.order-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 10, 0.35);
  z-index: 85;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.order-backdrop:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

/* Floating dock chip */
.order-dock {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 75;
  width: min(520px, calc(100vw - 32px));
  animation: dockIn 0.45s cubic-bezier(.22,.61,.36,1) both;
}
body.has-order-dock .order-dock {
  bottom: 22px;
}
@keyframes dockIn {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.order-dock--nudge {
  animation: dockNudge 0.55s ease 2;
}
@keyframes dockNudge {
  0%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
}

.order-dock-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--brown-ink);
  color: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.order-dock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(56, 47, 45, 0.22);
}
.order-dock-badge {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--brown-ink);
  font-weight: 600;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.order-dock-copy strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.order-dock-copy small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.order-dock-action {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-light);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* Bottom sheet */
.order-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88vh, 760px);
  background: var(--cream);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 60px rgba(56, 47, 45, 0.18);
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(105%);
  transition: transform 0.38s cubic-bezier(.22,.61,.36,1);
}
.order-sheet.is-open {
  transform: translateY(0);
}
.order-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(56, 47, 45, 0.18);
  margin: 10px auto 0;
  flex-shrink: 0;
}

.order-panel-head {
  padding: 18px 24px 16px;
  border-bottom: 1px solid rgba(56, 47, 45, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  flex-shrink: 0;
}
.order-panel-head .eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sand-deep);
  margin-bottom: 8px;
}
.order-panel-head h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 6px;
}
.order-panel-head .hint {
  font-size: 13px;
  color: var(--brown-soft);
  margin: 0;
  max-width: 420px;
}
.order-minimize {
  align-self: flex-start;
  padding: 8px 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--cream);
  border-radius: 999px;
  border: 1px solid rgba(56, 47, 45, 0.12);
  flex-shrink: 0;
}
.order-minimize:hover {
  border-color: var(--sand);
  color: var(--sand-deep);
}

.order-panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px;
}
.order-empty {
  text-align: center;
  color: var(--brown-soft);
  font-size: 14px;
  padding: 40px 12px;
}
.order-line {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.order-line-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.order-line-main strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}
.order-line-price {
  color: var(--sand-deep);
  font-family: var(--font-serif);
  white-space: nowrap;
}
.order-line-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-line-note-wrap {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.order-line-note {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(56, 47, 45, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  resize: vertical;
  min-height: 64px;
  background: #fffdf8;
  color: var(--brown);
}
.order-line-note:focus {
  outline: none;
  border-color: var(--sand-deep);
  box-shadow: 0 0 0 3px rgba(190, 160, 117, 0.2);
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(56, 47, 45, 0.12);
  font-size: 18px;
  line-height: 1;
}
.qty-val {
  min-width: 24px;
  text-align: center;
  font-weight: 500;
}
.order-remove {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.order-panel-foot {
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(56, 47, 45, 0.08);
  background: var(--white);
  flex-shrink: 0;
  max-height: 42vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.order-total-row strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--brown);
  letter-spacing: 0;
  text-transform: none;
}
.order-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.order-actions .btn-primary,
.order-actions .btn-outline {
  flex: 1;
  justify-content: center;
  min-width: 140px;
}
.share-code-box {
  margin-top: 16px;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--radius-lg);
}
.share-code-box .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand-deep);
  margin-bottom: 14px;
  text-align: center;
}
.share-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.share-method {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 8px;
  text-align: center;
}
.share-code-col strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  letter-spacing: 0.28em;
  color: var(--brown);
  text-align: center;
}
.share-qr-col {
  text-align: center;
}
.share-qr-col img {
  display: inline-block;
  border-radius: var(--radius);
  background: var(--white);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.share-code-box small {
  display: block;
  margin-top: 14px;
  color: var(--brown-soft);
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
}
.share-edit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

@media (max-width: 540px) {
  .order-sheet {
    max-height: 94vh;
  }
  .order-panel-head {
    padding: 16px 16px 14px;
    flex-wrap: wrap;
  }
  .order-panel-body {
    padding: 12px 16px;
  }
  .order-panel-foot {
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    max-height: 48vh;
  }
  .order-actions .btn-primary,
  .order-actions .btn-outline {
    min-width: 0;
  }
  .share-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .share-code-box {
    padding: 14px 12px;
  }
  .share-code-col strong {
    font-size: 28px;
    letter-spacing: 0.18em;
  }
  .share-qr-col img {
    width: 112px;
    height: 112px;
  }
  .order-dock-copy strong {
    font-size: 12px;
  }
  .order-dock-action {
    display: none;
  }
}

@media (max-height: 740px) {
  .order-sheet {
    max-height: 96vh;
  }
  .order-panel-head {
    padding-bottom: 12px;
  }
  .order-panel-head .hint {
    font-size: 12px;
  }
  .order-panel-foot {
    max-height: 52vh;
  }
  .share-code-box {
    padding: 14px 12px;
  }
  .share-code-col strong {
    font-size: 28px;
    letter-spacing: 0.16em;
  }
}
