/* PAGE PLATS - DESIGN MODERNE */

/* Hero minimaliste */
.page-hero-minimal {
  padding: 60px 40px !important;
  min-height: 250px !important;
}

.page-hero-minimal h1 {
  font-size: 36px !important;
  margin-bottom: 0 !important;
}

.page-hero-bg-1 {
  background-image: url('/Photos Plats/plat1.jpg');
}

.page-hero-bg-2 {
  background-image: url('/Photos Plats/plat5.jpg');
}

.page-hero-bg-3 {
  background-image: url('/Photos Plats/plat9.jpg');
}

.page-hero-bg-4 {
  background-image: url('/Photos Plats/plat13.jpg');
}

/* Barre de recherche moderne */
.modern-search-bar {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-wrapper {
  position: relative;
  flex: 1;
}

.search-icon-left {
  display: none;
}

.modern-search-input {
  width: 100%;
  padding: 16px 24px;
  border: 2px solid #E8E8E8;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #FAFAFA;
}

.modern-search-input:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.1);
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  background: #F5F5F5;
  border: 2px solid transparent;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

.chip:hover {
  background: #E8E8E8;
  transform: translateY(-2px);
}

.chip.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: white;
  border-color: var(--primary-gold);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.modern-select {
  padding: 12px 20px;
  border: 2px solid #E8E8E8;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 180px;
}

.modern-select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.1);
}

/* Compteur de résultats */
.results-count {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Grille moderne des plats */
.plats-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

/* Carte plat moderne */
.plat-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.plat-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.plat-card-modern:focus {
  outline: 3px solid var(--primary-gold);
  outline-offset: 4px;
}

.plat-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.plat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.plat-card-modern:hover .plat-img {
  transform: scale(1.1);
}

.plat-price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  color: var(--primary-gold-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plat-details {
  padding: 20px;
}

.plat-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plat-chef-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.plat-rating {
  color: var(--primary-gold-dark);
  font-weight: 700;
}

/* Pagination moderne */
.pagination-modern {
  display: flex;
  justify-content: center;
  margin: 48px 0;
}

.pagination-btns {
  display: flex;
  gap: 8px;
}

.page-btn {
  width: 44px;
  height: 44px;
  border: 2px solid #E8E8E8;
  background: white;
  border-radius: 12px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold-dark);
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  border-color: var(--primary-gold);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

/* Empty/Error states */
.empty-state,
.error-state {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.empty-state h3,
.error-state p {
  font-size: 24px;
  color: #999;
  margin: 0;
}

.empty-state p {
  font-size: 16px;
  color: #bbb;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .modern-search-bar {
    padding: 20px;
  }

  .filter-chips {
    justify-content: center;
  }

  .modern-select {
    width: 100%;
  }

  .plats-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .page-hero-minimal h1 {
    font-size: 28px !important;
  }
}
