﻿:root {
  --ink: #fff5df;
  --paper: #fff8ec;
  --muted: rgba(255, 245, 223, 0.72);
  --green: #0d6d47;
  --red: #a62b1f;
  --gold: #e9b23f;
  --gold-bright: #ffc96a;
  --line: rgba(255, 243, 216, 0.15);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 18%, rgba(166, 43, 31, 0.42), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(13, 109, 71, 0.48), transparent 34%),
    linear-gradient(135deg, #130905, #2b110a 48%, #073126);
  font-family: Inter, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255, 201, 106, 0.15) 20px 22px),
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(13, 109, 71, 0.18) 26px 28px);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 8px clamp(18px, 3vw, 34px);
  background: rgba(18, 12, 8, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.topbar nav a {
  padding: 8px 0;
  color: rgba(255, 243, 216, 0.78);
  font-size: 16px;
  font-weight: 900;
}

.topbar nav a:hover,
.topbar nav a[href="kitchen.html"] {
  color: var(--gold-bright);
}

.lang-toggle {
  display: inline-flex;
  gap: 5px;
  min-width: 82px;
  min-height: 38px;
  padding: 4px;
  color: rgba(255, 243, 216, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 243, 216, 0.18);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.lang-toggle span {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
}

.lang-toggle.is-en [data-lang-option="en"],
.lang-toggle.is-es [data-lang-option="es"] {
  color: #7c1f16;
  background: #fff;
}

.kitchen-main {
  padding: 104px clamp(18px, 5vw, 76px) 56px;
}

.kitchen-hero,
.kitchen-board {
  max-width: 1260px;
  margin-right: auto;
  margin-left: auto;
}

.kitchen-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  align-items: center;
  gap: clamp(22px, 5vw, 58px);
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at bottom right, rgba(166, 43, 31, 0.34), transparent 38%);
  border: 1px solid var(--line);
  border-radius: 34px 8px 34px 8px;
  box-shadow: var(--shadow);
}

.kitchen-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.92;
}

.kitchen-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.kitchen-hero img {
  justify-self: end;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.34));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kitchen-board {
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px 34px 8px 34px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.board-head h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(32px, 5vw, 58px);
}

.board-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.order-ticket {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: #27140d;
  background: var(--paper);
  border: 1px solid rgba(255, 243, 216, 0.16);
  border-radius: 8px 28px 8px 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.order-ticket:nth-child(even) {
  border-radius: 28px 8px 28px 8px;
}

.order-ticket header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-ticket header strong {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.status-pill {
  padding: 8px 11px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.order-ticket ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-ticket li {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.note {
  margin: 0;
  padding: 12px;
  background: rgba(13, 109, 71, 0.08);
  border-radius: 8px;
  line-height: 1.5;
}

.danger-action {
  justify-self: start;
  min-height: 42px;
  padding: 11px 16px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cart-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  padding: 13px 16px;
  color: #201108;
  background: var(--gold-bright);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .kitchen-hero {
    grid-template-columns: 1fr;
  }
  .kitchen-hero img {
    justify-self: start;
  }
  .board-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    position: absolute;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
  }
  .topbar nav {
    flex: 1;
    flex-wrap: nowrap;
    gap: 13px;
    overflow-x: auto;
  }
  .topbar nav a {
    flex: 0 0 auto;
    font-size: 13px;
  }
  .kitchen-main {
    padding-top: 124px;
  }
}

