/* ===== СТРАНИЦА МЕНЮ ===== */
.menu {
  padding: 0 0 60px;
}

.menu h1 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 36px;
  font-family: var(--font-title);
  color: var(--dark);
}

/* ----- ФИЛЬТРЫ ----- */
.menu-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(111, 78, 55, 0.15);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(111, 78, 55, 0.3);
}

/* ----- КОМБО-СЕКЦИЯ ----- */
.combo-section {
  margin-bottom: 50px;
}

.combo-section.hidden {
  display: none;
}

.combo-title {
  text-align: center;
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 24px;
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Комбо-карточка */
.combo-card {
  background: linear-gradient(135deg, #fff8f0, #fff);
  border: 2px solid #f0d5b8;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.combo-card::before {
  content: 'КОМБО';
  position: absolute;
  top: 12px;
  right: -30px;
  background: #e67e22;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.combo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(111, 78, 55, 0.15);
  border-color: var(--primary);
}

/* Наложенные картинки */
.combo-images {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.combo-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  position: absolute;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.combo-img-back {
  top: 0;
  left: 0;
  z-index: 1;
}

.combo-img-front {
  bottom: 0;
  right: 0;
  z-index: 2;
}

.combo-info h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 10px;
}

.combo-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.combo-old-price {
  font-family: var(--font-title);
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.combo-price {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: #e67e22;
}

/* ----- СЕТКА ТОВАРОВ ----- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }
.card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8) { animation-delay: 0.4s; }
.card:nth-child(9) { animation-delay: 0.45s; }
.card:nth-child(10) { animation-delay: 0.5s; }

.card.hidden {
  display: none;
}

/* ===== ТЁМНАЯ ТЕМА ДЛЯ МЕНЮ ===== */
body.dark-theme .combo-card {
  background: linear-gradient(135deg, #2a2230, #2a2a3e);
  border-color: #4a3a50;
}

body.dark-theme .combo-info h3 {
  color: #f0f0f0;
}

body.dark-theme .combo-old-price {
  color: #777;
}

/* ===== MEDIA ===== */
@media (max-width: 768px) {
  .menu h1 { font-size: 28px; }
  .menu-filters { gap: 8px; margin-bottom: 30px; }
  .filter-btn { padding: 10px 18px; font-size: 13px; }
  .combo-grid { grid-template-columns: 1fr; gap: 16px; }
  .combo-images { width: 160px; height: 160px; }
  .combo-img { width: 120px; height: 120px; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
}

@media (max-width: 480px) {
  .menu h1 { font-size: 24px; }
  .filter-btn { padding: 8px 14px; font-size: 12px; }
  .combo-title { font-size: 20px; }
  .combo-images { width: 140px; height: 140px; }
  .combo-img { width: 110px; height: 110px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}