:root {
  color-scheme: light;
  --ink: #183b2a;
  --muted: #60735f;
  --line: #dbe6cb;
  --paper: #eef5df;
  --panel: #ffffff;
  --accent: #00784a;
  --accent-dark: #075234;
  --gold: #a7c521;
  --red: #e90019;
  --shadow: 0 20px 60px rgba(24, 59, 42, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(167, 197, 33, 0.24), transparent 25%),
    linear-gradient(135deg, rgba(0, 120, 74, 0.08), transparent 42%),
    var(--paper);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(238, 245, 223, 0.88);
  border-bottom: 1px solid rgba(219, 230, 203, 0.9);
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 20px;
}

.brand, .top-actions, .hero-actions, .order-panel-header, .dialog-header {
  align-items: center;
  display: flex;
}
.brand { gap: 10px; }
.brand-mark {
  align-items: center;
  background: var(--accent-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  font-weight: 900;
  height: 42px;
  place-items: center;
  width: 42px;
}
.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  margin-top: 2px;
}
.top-actions { gap: 10px; }

.icon-button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  height: 42px;
  place-items: center;
  width: 42px;
}

.primary-link, .button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
}
.primary-link, .button.dark {
  background: var(--accent);
  color: #fff;
}
.button.light {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.button.full { width: 100%; }

.hero {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: 520px;
  padding: 52px 20px 26px;
}
.hero-media {
  border-radius: 8px;
  min-height: 460px;
  overflow: hidden;
  position: relative;
}
.hero-media::after {
  background: linear-gradient(180deg, transparent, rgba(7, 82, 52, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}
.hero-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-copy {
  align-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  min-height: 460px;
  padding: clamp(26px, 6vw, 58px);
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 780px;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 620px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.quick-info {
  background: var(--accent);
  color: #fff;
  display: grid;
  font-size: clamp(1rem, 2vw, 1.25rem);
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 20px;
  text-align: center;
}

.controls, .menu-layout {
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 20px;
}
.controls {
  display: grid;
  gap: 14px;
}
.search-wrap {
  display: grid;
  gap: 8px;
}
.search-wrap span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}
.search-wrap input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 52px;
  padding: 0 16px;
}
.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.tab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 800;
  min-height: 42px;
  padding: 0 16px;
}
.tab.active {
  background: var(--accent-dark);
  color: #fff;
}

.menu-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding-bottom: 50px;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  margin: 0 0 18px;
}
.menu-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 150px;
  padding: 12px;
}
.menu-card img {
  aspect-ratio: 1;
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.menu-card h3 {
  font-size: 1.1rem;
  line-height: 1.15;
  margin: 0;
}
.menu-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  margin: 8px 0;
}
.menu-meta, .tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.menu-meta { justify-content: space-between; }
.price {
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 900;
}
.add-button {
  background: var(--accent-dark);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  padding: 0 12px;
}

.tag {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 5px 9px;
}
.tag.hot {
  background: rgba(233, 0, 25, 0.11);
  color: var(--red);
}
.tag.green {
  background: rgba(0, 120, 74, 0.12);
  color: var(--accent-dark);
}
.tag.gold {
  background: rgba(167, 197, 33, 0.18);
  color: #586d00;
}

.order-panel, .cart-dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.order-panel {
  padding: 18px;
  position: sticky;
  top: 90px;
}
.order-panel-header, .dialog-header, .order-total { justify-content: space-between; }
.order-panel-header strong, .floating-cart strong {
  background: var(--red);
  border-radius: 999px;
  color: #fff;
  min-width: 26px;
  padding: 3px 8px;
  text-align: center;
}
.cart-items {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.empty-cart {
  color: var(--muted);
  margin: 0;
}
.cart-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 10px;
}
.cart-row span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  margin-top: 2px;
}
.qty-actions {
  align-items: center;
  display: flex;
  gap: 6px;
}
.qty-actions button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  height: 32px;
  width: 32px;
}
.order-total {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  margin: 14px 0;
  padding-top: 14px;
}
.secondary-action {
  color: var(--muted);
  display: block;
  font-weight: 800;
  margin-top: 14px;
  text-align: center;
}

.poster-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 80px;
  max-width: 1180px;
  padding: 0 20px;
}
.poster-strip img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.floating-cart {
  align-items: center;
  background: var(--accent-dark);
  border: 0;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  cursor: pointer;
  display: none;
  font-weight: 900;
  gap: 10px;
  left: 50%;
  min-height: 52px;
  padding: 0 18px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 11;
}
.cart-dialog {
  border: 0;
  max-width: calc(100vw - 28px);
  padding: 18px;
  width: 420px;
}
.cart-dialog::backdrop { background: rgba(24, 59, 42, 0.48); }

@media (max-width: 900px) {
  .hero, .menu-layout, .quick-info, .poster-strip {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
  .hero-media, .hero-copy { min-height: 360px; }
  .order-panel { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .floating-cart { display: inline-flex; }
}

@media (max-width: 560px) {
  .primary-link { display: none; }
  .hero-copy {
    min-height: 380px;
    padding: 24px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .menu-card { grid-template-columns: 92px minmax(0, 1fr); }
  .menu-card p { font-size: 0.88rem; }
}
