:root {
  --bg: #0f0a08;
  --bg-card: #1a1210;
  --text: #fef3c7;
  --text-muted: #a8a29e;
  --border: rgba(168, 162, 158, 0.12);
  --accent: #f97316;
  --accent-light: #fdba74;
  --accent-glow: rgba(249, 115, 22, 0.25);
  --accent-gradient: linear-gradient(135deg, #fdba74, #f97316);
  --accent-secondary: #eab308;
  --glass-bg: rgba(249, 115, 22, 0.06);
  --hero-bg: radial-gradient(ellipse at 30% 20%, rgba(249,115,22,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(234,179,8,0.1) 0%, transparent 50%), #0f0a08;
  --radius-lg: 20px;
  --font-display: 'Outfit', system-ui, sans-serif;
}

.cart-btn {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-panel {
  position: fixed;
  right: -400px;
  top: 0;
  bottom: 0;
  width: min(380px, 100%);
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 300;
  transition: right 0.3s;
  display: flex;
  flex-direction: column;
}

.cart-panel.open { right: 0; }

.cart-panel-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-panel-header h3 {
  font-family: var(--font-display);
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-panel-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-controls button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  z-index: 1;
}

.menu-item-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: rgba(0, 0, 0, 0.2);
}

.menu-item-body {
  padding: 1.25rem;
}

.menu-item-body h4 {
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.menu-item-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.menu-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-light);
}

.menu-add {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.popular-dish {
  text-align: center;
  padding: 1.5rem;
}

.popular-dish-emoji {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.popular-dish h4 {
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.popular-dish p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.gallery-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.review-card {
  padding: 1.5rem;
}

.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.delivery-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.reservation-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .reservation-section {
    grid-template-columns: 1fr;
  }
}
