:root {
  --accent: #b9ff5a;
  --accent-soft: rgba(185, 255, 90, 0.14);
  --text: #f7f8f3;
  --muted: #bbc1b6;
  --panel: rgba(8, 11, 14, 0.78);
  --line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #273929, #080b0e 55%, #030405);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.commercial-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease, visibility 0s linear 500ms;
}

.commercial-layer.is-playing {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.commercial-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(3, 5, 6, 0.93), rgba(6, 10, 9, 0.65));
}

.signage-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: clamp(18px, 2vw, 38px);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.brand-header, .brand-footer {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.brand-header {
  padding-bottom: clamp(10px, 1vw, 18px);
  border-bottom: 1px solid var(--line);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: clamp(44px, 4vw, 68px);
  aspect-ratio: 1;
  color: #081005;
  background: var(--accent);
  border-radius: 24%;
  font-size: clamp(1rem, 1.8vw, 2rem);
  font-weight: 950;
  transform: rotate(-4deg);
  box-shadow: 0 0 35px rgba(185, 255, 90, 0.25);
}

h1, h2, p { margin: 0; }

h1 {
  font-size: clamp(1rem, 1.7vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: clamp(0.56rem, 0.65vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.status {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 11, 14, 0.5);
  font: inherit;
  font-size: clamp(0.68rem, 0.85vw, 0.9rem);
  cursor: pointer;
}

.status.error { color: #ffd38a; border-color: rgba(255, 211, 138, 0.45); }
.status:hover, .status:focus-visible { color: var(--accent); border-color: var(--accent); }
.status:disabled { cursor: wait; opacity: 0.75; }

.menu-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(8px, 0.8vw, 14px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(6px, 0.6vw, 10px);
}

.menu-note { color: var(--muted); font-size: clamp(0.8rem, 1vw, 1.15rem); }

.price-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 24px);
  opacity: 1;
  transform: translateX(0);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
}

.price-board.is-leaving {
  opacity: 0;
  transform: translateX(-8vw);
}

.price-board.is-entering {
  opacity: 0;
  transform: translateX(8vw);
}

.price-column {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel), rgba(13, 18, 17, 0.68));
  border: 1px solid var(--line);
  border-radius: clamp(12px, 1vw, 20px);
  backdrop-filter: blur(12px);
}

@supports not (backdrop-filter: blur(1px)) {
  .price-column { background: rgba(8, 11, 14, 0.96); }
}

.price-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.6fr) repeat(var(--price-count), minmax(66px, 0.72fr));
  align-items: center;
  min-height: clamp(42px, 4.4vh, 62px);
  border-bottom: 1px solid var(--line);
}

.price-row:last-child { border-bottom: 0; }
.price-row:not(.price-header):not(.category-row):nth-child(even) { background: rgba(255,255,255,0.025); }
.price-row > * { padding: 8px clamp(8px, 0.8vw, 14px); }

.price-header {
  min-height: 42px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: clamp(0.64rem, 0.75vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-header > :not(:first-child), .price-value { text-align: right; }
.category-row { display: block; min-height: auto; padding: 7px clamp(8px, 0.8vw, 14px); color: #081005; background: var(--accent); font-size: clamp(0.64rem, 0.72vw, 0.82rem); font-weight: 950; letter-spacing: 0.12em; text-transform: uppercase; }
.product-cell { display: flex; align-items: center; gap: clamp(7px, 0.65vw, 11px); min-width: 0; }
.product-info { min-width: 0; }
.product-thumb {
  flex: 0 0 auto;
  width: clamp(38px, 3.2vw, 52px);
  height: clamp(38px, 3.2vw, 52px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
}
.product-name { font-size: clamp(0.78rem, 0.95vw, 1.15rem); font-weight: 820; letter-spacing: -0.015em; }
.product-description { margin-top: 2px; color: var(--muted); font-size: clamp(0.54rem, 0.6vw, 0.7rem); }
.price-value { color: var(--accent); font-size: clamp(0.95rem, 1.15vw, 1.4rem); font-weight: 950; font-variant-numeric: tabular-nums; }
.empty-price { color: rgba(255,255,255,0.25); }

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 16px;
  padding-top: 8px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  transition: width 250ms ease, background 250ms ease;
}

.slide-dot.is-active { width: 24px; background: var(--accent); }

.brand-footer {
  min-width: 0;
  padding-top: clamp(16px, 2vw, 28px);
  border-top: 1px solid var(--line);
}

.footer-badge { color: var(--accent); font-size: clamp(0.7rem, 0.9vw, 1rem); font-weight: 900; letter-spacing: 0.13em; white-space: nowrap; }
.ticker { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-track { width: max-content; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; animation: ticker 26s linear infinite; }

@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 720px) {
  .price-board { grid-template-columns: 1fr; }
  .price-column { overflow-x: auto; }
  .price-row { min-width: 560px; }
  .menu-note { display: none; }
  .status { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .video-background { display: none; }
  .commercial-layer { transition: none; }
  .price-board, .slide-dot { transition: none; }
}
