/* =====================================
   ICONES REMIXICON
===================================== */
:where([class^="ri-"])::before {
  font-family: 'remixicon';
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  vertical-align: middle;
  content: "\f3c2";
}

/* =====================================
   STYLES GÉNÉRAUX
===================================== */
.glass-effect {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gold-gradient {
  background: linear-gradient(135deg, #D4AF37, #FFD700);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animations */
.animate-fade-in { animation: fadeIn 0.6s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }

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

/* =====================================
   EFFETS VISUELS
===================================== */
.hover-scale { transition: transform 0.3s ease; }
@media (hover: hover) {
  .hover-scale:hover { transform: scale(1.02); }
}

.blur-overlay {
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.4);
}

/* =====================================
   BARRE DE RECHERCHE ET SUGGESTIONS
===================================== */
.search-suggestions {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* =====================================
   BOUTONS CATÉGORIES
===================================== */
.category-btn {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1.5px solid #D4AF37;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.category-btn:active {
  transform: scale(0.95);
}
.category-btn:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.1);
}
.category-btn.active {
  color: #000;
  background: linear-gradient(135deg, #D4AF37, #FFD700);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Scrollbar cachée pour la barre catégories */
.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* =====================================
   GRILLE DU MENU — toujours visible
===================================== */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* =====================================
   CARTES DU MENU
===================================== */
.menu-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.1);
  }
}

/* =====================================
   COMPTEUR DE QUANTITÉ
===================================== */
.quantity-counter {
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid #D4AF37;
}

/* =====================================
   BADGES & PRIX
===================================== */
.portion-badge {
  background: linear-gradient(45deg, #D4AF37, #FFD700);
  color: black;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  white-space: nowrap;
}

.service-badge {
  background: rgba(212, 175, 55, 0.2);
  color: #D4AF37;
  border: 1px solid #D4AF37;
}

.search-highlight {
  background: rgba(212, 175, 55, 0.3);
  color: #FFD700;
  padding: 0.1rem 0.2rem;
  border-radius: 4px;
}

/* =====================================
   PANIER
===================================== */
#cart-modal {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =====================================
   PARTICULES DORÉES
===================================== */
.golden-particles {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #D4AF37;
  border-radius: 50%;
  pointer-events: none;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.5; }
}

/* =====================================
   VARIATIONS ET PRIX
===================================== */
.service-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* =====================================
   RESPONSIVE MOBILE
===================================== */
@media (max-width: 768px) {
  .search-suggestions {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.75rem;
    max-height: 45vh;
    overflow-y: auto;
    z-index: 1000;
    border-radius: 0;
  }

  .menu-card {
    padding: 1rem !important;
  }
  .menu-card img {
    height: 10rem !important;
    border-radius: 0.5rem !important;
  }
}

/* Safe area for iPhones with notch */
.safe-area-top { padding-top: env(safe-area-inset-top, 0); }
.safe-area-bottom { padding-bottom: env(safe-area-inset-bottom, 0); }
