:root {
  --bg: #090909;
  --ink: #f4efe6;
  --muted: #c3b6a6;
  --line: rgba(244, 239, 230, 0.12);
  --line-strong: rgba(244, 239, 230, 0.32);
  --bun: #eb9c37;
  --green: #7dce6c;
  --gold: #f0c14b;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(235, 156, 55, 0.09), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
.dish-head h3 {
  overflow-wrap: normal;
}

::selection {
  background: var(--bun);
  color: #1a1206;
}

:focus-visible {
  outline: 2px solid var(--bun);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--bun);
  color: #1a1206;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
.tagline,
.dish-head h3,
.combo-price,
.footer-brand {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2.8rem, 12vw, 6.5rem);
  line-height: 0.9;
}

h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 0.98;
}

.tagline {
  margin: 0.55rem 0 0;
  color: var(--green);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  padding: 0.45rem max(1rem, calc((100% - 1120px) / 2));
  background: #090909;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  color: inherit;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: auto;
}

.nav {
  display: flex;
  gap: 1.3rem;
  justify-self: center;
}

.nav a,
.footer a,
.proof,
.order-link,
.section-head a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.proof:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--bun);
  color: #1a1206;
}

.btn-primary:hover {
  background: #f3ae4d;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--bun);
  color: var(--bun);
}

.icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.hero {
  position: relative;
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem 0 0.4rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 70%);
  height: min(520px, 80vw);
  background: radial-gradient(circle, rgba(235, 156, 55, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
}

.lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.status {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.status-open {
  color: #b7e7a8;
}

.status-closed {
  color: #f0c9a0;
}

.status-unknown {
  color: var(--gold);
}

.status-detail {
  color: var(--muted);
  font-weight: 400;
}

.hero-visual {
  margin: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.75rem;
}

.hero-visual img {
  width: min(210px, 52vw);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45));
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.ingredients {
  margin-top: 1.8rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.section {
  padding: 3.2rem 0;
}

.menu-section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.section-head p,
.desc,
.fine,
.ig p,
.footer p,
address {
  color: var(--muted);
}

.section-head p {
  margin: 0;
  max-width: 40rem;
}

.section-head a {
  color: var(--bun);
  font-weight: 700;
}

address {
  margin: 0.9rem 0 0;
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.55;
}

.combo {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0 1.6rem;
  padding: 1.25rem;
  border: 1px solid rgba(235, 156, 55, 0.38);
  border-radius: 22px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(235, 156, 55, 0.2), transparent 48%),
    #241c14;
}

.combo-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin-top: 0.25rem;
}

.combo h3,
.combo-price {
  margin: 0;
}

.combo h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.combo-price {
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.combo .desc,
.combo-note {
  color: #f0e2d0;
}

.combo-note {
  margin: 0.45rem 0 0;
}

.menu-layout {
  display: grid;
  gap: 1rem;
}

.tabs {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 0.3rem;
  width: 100%;
  padding: 0.28rem;
  border-radius: 999px;
  background: #16130f;
}

.tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--bun);
  color: #1a1206;
}

.panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.dish {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.dish-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.dish-head h3 {
  margin: 0;
  min-width: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.price {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.desc {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
}

.order-link {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--bun);
  font-weight: 700;
  text-decoration: none;
}

.order-link:hover {
  text-decoration: underline;
}

.dish.is-soldout,
.combo.is-soldout {
  opacity: 0.62;
}

.soldout {
  margin: 0.7rem 0 0;
  color: var(--gold);
  font-weight: 700;
}

.extras {
  padding: 1rem 1.05rem 0.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #14110e;
}

.extras-kicker {
  margin-top: 0.9rem;
}

.extras .dish:last-child {
  border-bottom: 0;
}

.fine {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.hours-title {
  margin: 1.35rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: var(--muted);
}

.hours li[data-today="true"] {
  background: rgba(235, 156, 55, 0.16);
  color: var(--ink);
  font-weight: 700;
}

.visit-grid,
.map-wrap {
  min-width: 0;
}

.map-wrap {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #151515;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.visit-grid {
  display: grid;
  gap: 1.4rem;
}

.ig-section {
  padding-top: 0;
}

.ig {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #120f0c;
}

.ig p {
  margin: 0.25rem 0 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.8rem;
}

.footer-inner,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
}

.footer-inner {
  justify-content: space-between;
  align-items: end;
}

.footer-brand {
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-size: 1.5rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.dock {
  display: none;
}

section,
.combo {
  scroll-margin-top: 86px;
}

@media (max-width: 800px) {
  .header {
    grid-template-columns: 1fr;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero-visual {
    order: -1;
  }

  .dock {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(9, 9, 9, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .dock .btn {
    width: 100%;
    white-space: nowrap;
  }

  body {
    padding-bottom: calc(5.1rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 801px) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.7fr);
    align-items: center;
    padding: 3.2rem 0 1.5rem;
  }

  .hero-visual img {
    width: min(230px, 100%);
  }

  .section-head {
    grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1fr);
    align-items: end;
    gap: 2rem;
  }

  .combo {
    grid-template-columns: 1fr auto;
    padding: 1.4rem 1.5rem;
  }

  .tabs {
    width: max-content;
  }

  .menu-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 1.4rem;
  }

  .extras {
    position: sticky;
    top: 92px;
  }

  .visit-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 100%;
    height: 100%;
  }

  .section {
    padding: 4.4rem 0;
  }
}

@media print {
  .header,
  .dock,
  .hero-actions,
  .order-link,
  .visit-actions,
  .ig-section,
  .map-wrap,
  .ingredients,
  .proof,
  .status,
  .skip {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    padding: 0;
  }

  .panel[hidden] {
    display: block !important;
  }

  .panel-title {
    position: static;
    width: auto;
    height: auto;
    margin: 1.2rem 0 0.2rem;
    overflow: visible;
    clip: auto;
    color: black;
    font-size: 1.3rem;
  }

  .price,
  .kicker,
  .tagline,
  a,
  .desc,
  .fine,
  address,
  .hours li {
    color: black;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --- SEO / marca --- */
.h1-place {
  display: block;
  margin-top: 0.35em;
  color: var(--bun);
  font-size: max(0.4em, 1.4rem);
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.4rem;
  max-width: 820px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #120f0c;
}

.faq details[open] {
  border-color: rgba(235, 156, 55, 0.38);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--bun);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

.footer-sign {
  margin-top: 0.35rem !important;
  color: var(--bun);
  font-size: 0.92rem;
}

.footer-credit {
  margin-top: 0.7rem !important;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-credit a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-credit a:hover {
  color: var(--bun);
}

/* --- Pedido por WhatsApp (order.js) --- */
.add-box {
  margin-top: 0.7rem;
}

.add-box [hidden] {
  display: none !important;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid rgba(235, 156, 55, 0.55);
  border-radius: 999px;
  background: transparent;
  color: var(--bun);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.add-btn:hover {
  background: var(--bun);
  color: #1a1206;
}

.add-btn span[aria-hidden] {
  font-size: 1.2rem;
  line-height: 1;
}

.combo .add-btn {
  min-height: 50px;
  padding: 0 1.4rem;
  background: var(--bun);
  color: #1a1206;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--bun);
  color: #1a1206;
  font-weight: 800;
}

.stepper button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.stepper button:hover {
  background: rgba(0, 0, 0, 0.12);
}

.stepper output {
  min-width: 1.6rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.stepper-sm button {
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
}

.dish.in-order {
  box-shadow: inset 3px 0 0 var(--bun);
  padding-left: 0.9rem;
}

/* Barra "Ver mi pedido" */
.order-bar {
  position: fixed;
  z-index: 35;
  right: 1.2rem;
  bottom: 1.2rem;
}

.order-bar-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.45rem 1.3rem 0.45rem 0.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--bun);
  color: #1a1206;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.order-bar-count {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #1a1206;
  color: var(--bun);
}

.order-bar-total {
  font-variant-numeric: tabular-nums;
}

.order-bar.bump .order-bar-btn {
  animation: od-bump 0.35s ease;
}

@keyframes od-bump {
  40% { transform: scale(1.07); }
}

/* Ventanas */
.od-lock,
.od-lock body {
  overflow: hidden;
}

.order-dialog {
  width: min(460px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(235, 156, 55, 0.35);
  border-radius: 26px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(235, 156, 55, 0.14), transparent 60%),
    #120f0c;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.order-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.order-dialog[open] {
  animation: od-in 0.22s ease-out;
}

@keyframes od-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}

.od-inner {
  padding: 1.6rem 1.4rem 1.4rem;
}

.od-inner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  line-height: 1.05;
}

.od-sub {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.od-logo {
  display: block;
  width: 86px;
  height: auto;
  margin: 0 auto 0.9rem;
}

[data-step="choose"] {
  text-align: center;
}

.od-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.08);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.od-choices {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.3rem;
  text-align: left;
}

.od-choice {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(244, 239, 230, 0.04);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.od-choice:hover {
  border-color: var(--bun);
}

.od-choice strong,
.od-choice small {
  display: block;
}

.od-choice strong {
  font-size: 1.08rem;
}

.od-choice small {
  color: var(--muted);
  font-size: 0.9rem;
}

.od-choice-main {
  border-color: var(--bun);
  background: var(--bun);
  color: #1a1206;
}

.od-choice-main small {
  color: rgba(26, 18, 6, 0.75);
}

.od-choice-ghost {
  border-style: dashed;
}

.od-emoji {
  font-size: 1.7rem;
  line-height: 1;
}

.od-back,
.od-link {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.od-back {
  margin: -0.4rem 0 0.6rem;
  padding: 0.3rem 0;
}

.od-link {
  display: block;
  margin: 0.8rem auto 0;
  padding: 0.4rem;
  text-decoration: underline;
}

.od-wide {
  width: 100%;
  margin-top: 1.1rem;
  min-height: 54px;
  font-size: 1.05rem;
}

.od-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.od-form [data-delivery-only] {
  display: grid;
  gap: 0.75rem;
}

.od-form [data-delivery-only][hidden] {
  display: none;
}

.od-field {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.od-field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.od-field input,
.od-field textarea,
.od-note {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0b0908;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* evita el zoom automático en iPhone */
}

.od-field textarea {
  resize: vertical;
}

.od-field input:focus,
.od-field textarea:focus,
.od-note:focus {
  outline: none;
  border-color: var(--bun);
  box-shadow: 0 0 0 3px rgba(235, 156, 55, 0.25);
}

.od-field input[aria-invalid="true"] {
  border-color: #ff7a6b;
  box-shadow: 0 0 0 3px rgba(255, 122, 107, 0.2);
}

.od-field[hidden] {
  display: none;
}

/* Carrito */
.od-lines {
  margin-top: 1rem;
}

.od-line {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.od-line-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.od-line-head span {
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.od-line-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

.od-note {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 15px;
}

.od-hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.od-empty {
  color: var(--muted);
}

.od-totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  font-size: 1.15rem;
}

.od-totals strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.od-fine {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.od-fine a {
  color: var(--bun);
}

.od-group {
  margin: 1.3rem 0 0;
  padding: 0;
  border: 0;
}

.od-group legend {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.od-group .od-field {
  margin-top: 0.75rem;
}

.od-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.od-seg label {
  position: relative;
}

.od-seg input {
  position: absolute;
  opacity: 0;
}

.od-seg span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.od-seg input:checked + span {
  border-color: var(--bun);
  background: rgba(235, 156, 55, 0.16);
  color: var(--ink);
}

.od-seg input:focus-visible + span {
  outline: 2px solid var(--bun);
  outline-offset: 2px;
}

.od-closed {
  margin: 1.1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(240, 193, 75, 0.1);
  color: #f3dfa6;
  font-size: 0.92rem;
}

.od-send {
  margin-top: 1.3rem;
}

.od-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.od-done {
  text-align: center;
  padding-top: 2.2rem;
}

.od-done-icon {
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.od-toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 6.2rem;
  width: max-content;
  max-width: min(92vw, 420px);
  padding: 0.8rem 1.1rem;
  border-radius: 16px;
  background: #f4efe6;
  color: #1a1206;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 800px) {
  body.has-order .dock {
    display: none;
  }

  .order-bar {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(9, 9, 9, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .order-bar-btn {
    width: 100%;
    box-shadow: none;
  }

  .order-bar-label {
    flex: 1;
    text-align: left;
  }

  .order-dialog {
    width: 100vw;
    max-width: none;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
  }

  .order-dialog[open] {
    animation: od-up 0.25s ease-out;
  }

  .od-inner {
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  }
}

@keyframes od-up {
  from { transform: translateY(40px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .order-dialog[open],
  .order-bar.bump .order-bar-btn {
    animation: none;
  }
}
