:root {
  --bg: #050505;
  --surface: #111111;
  --surface-2: #181818;
  --ink: #ffffff;
  --muted: #c8c8c8;
  --accent: #f20d0d;
  --accent-dark: #9d0505;
  --gold: #ffb02e;
  --line: rgba(255, 255, 255, 0.12);
  --soft: #222222;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(242, 13, 13, 0.24), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(255, 176, 46, 0.16), transparent 26%),
    linear-gradient(180deg, #000 0%, #090909 42%, #050505 100%);
  color: var(--ink);
  font-family: Arial, sans-serif;
  margin: 0;
}

button,
input,
a {
  font: inherit;
}

.app-shell {
  margin: 0 auto;
  max-width: 820px;
  padding: 14px 14px 30px;
}

.hero {
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.82), rgba(25, 0, 0, 0.68)),
    url("./assets/optimized/dishes/shashlyk-baranina.webp") center 58% / cover;
  border: 1px solid rgba(242, 13, 13, 0.55);
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.hero::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.38));
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0;
}

.hero::after {
  display: none;
}

.brand-row {
  align-items: center;
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.logo-mark {
  align-items: center;
  background: #050505;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 900;
  flex: 0 0 64px;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 64px;
}

.logo-mark img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

h1,
h2 {
  margin: 0;
}

h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 #000;
}

.hero-copy {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  margin: 18px 0 0;
  max-width: 470px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.primary-link,
.ghost-link {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  padding: 12px 14px;
  text-decoration: none;
}

.primary-link {
  background: var(--accent);
  color: #fff;
}

.ghost-link {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.hero-meta span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.controls,
.cart,
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.controls {
  margin-top: 12px;
  padding: 12px;
}

.search span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.search input,
.form-input {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  outline: none;
  padding: 13px 12px;
  width: 100%;
}

.search input::placeholder,
.form-input::placeholder {
  color: #8f8f8f;
}

.search input:focus,
.form-input:focus {
  border-color: var(--accent);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab {
  background: #242424;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 12px;
}

.tab.active {
  background: var(--accent);
  color: #fff;
}

.menu-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.menu-card {
  overflow: hidden;
}

.dish-photo {
  align-items: center;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 176, 46, 0.95) 0 9px, transparent 10px),
    radial-gradient(circle at 36% 48%, rgba(242, 13, 13, 0.96) 0 18px, transparent 19px),
    radial-gradient(circle at 66% 43%, rgba(255, 107, 0, 0.9) 0 13px, transparent 14px),
    linear-gradient(135deg, #2a0b0b, #0a0a0a 58%, #1b1b1b);
  display: flex;
  height: 190px;
  justify-content: center;
  position: relative;
}

.dish-photo img {
  height: 94%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  margin: auto;
  width: 94%;
}

.drink-card .dish-photo {
  background: linear-gradient(135deg, #f7f1e8, #fff 52%, #ece0cf);
}

.drink-card .dish-photo img {
  height: 78%;
  object-fit: contain;
  width: 78%;
}

.set-family-card .dish-photo {
  height: 210px;
}

.set-family-card .dish-photo img {
  height: 88%;
  object-fit: cover;
  width: 88%;
}

.hot-dog-card .dish-photo img {
  height: 86%;
  width: 86%;
}

.smoker-card .dish-photo img {
  height: 88%;
  width: 88%;
}

.shashlyk-card .dish-photo img {
  height: 88%;
  width: 88%;
}

.lavash-shashlyk-card .dish-photo img {
  height: 86%;
  width: 86%;
}

.drink-card .dish-photo:has(img)::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
}

.dish-photo:has(img)::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}

.dish-icon {
  font-size: 44px;
  position: relative;
  z-index: 1;
}

.dish-photo:has(img) .dish-icon {
  display: none;
}

.dish-photo span {
  background: var(--accent);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}

.menu-body {
  padding: 13px;
}

.menu-title-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.menu-title {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.price {
  color: var(--gold);
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 900;
}

.description {
  color: #f2f2f2;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0 0;
}

.composition {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 6px 0 0;
}

.card-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.weight {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.add-button,
.qty-button,
.checkout-button,
.order-type-button,
.payment-type-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.add-button {
  background: var(--accent);
  color: #fff;
  padding: 10px 12px;
}

.qty-control {
  align-items: center;
  background: #242424;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  padding: 6px;
}

.qty-button {
  background: #fff;
  color: var(--accent);
  height: 30px;
  width: 30px;
}

.qty-text {
  color: #fff;
  font-weight: 900;
  min-width: 20px;
  text-align: center;
}

.cart {
  margin-top: 12px;
  padding: 14px;
}

.cart-head,
.cart-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-head {
  margin-bottom: 10px;
}

.cart-head h2 {
  color: #fff;
  font-size: 22px;
}

#cartTotal {
  color: var(--gold);
  font-size: 20px;
}

.cart-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-row {
  background: #242424;
  border-radius: 8px;
  color: #fff;
  padding: 10px;
}

.cart-row span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
}

.order-type {
  background: #242424;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
  padding: 6px;
}

.payment-type {
  background: #242424;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 10px;
  padding: 6px;
}

.order-type-button,
.payment-type-button {
  background: transparent;
  color: #fff;
  padding: 11px;
}

.order-type-button.active,
.payment-type-button.active {
  background: var(--accent);
  color: #fff;
}

.form-input {
  margin-bottom: 9px;
}

.checkout-button {
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  padding: 14px;
  width: 100%;
}

.cart-jump-button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  bottom: 18px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 18px;
  width: 58px;
  z-index: 40;
}

.cart-jump-button:active {
  transform: translateY(1px);
}

.cart-jump-arrow {
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
  width: 32px;
}

.cart-jump-count {
  align-items: center;
  background: var(--gold);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #090909;
  display: none;
  font-size: 11px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  position: absolute;
  right: -4px;
  top: -5px;
}

.cart-jump-button.has-items .cart-jump-count {
  display: flex;
}

@media (min-width: 700px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}
