/* ========================================
   APÉRO NIGHT 31 - Styles CSS
   Design exact du site React original
   ======================================== */

/* Variables CSS */
:root {
  --color-bg: #0a0a0f;
  --color-bg-light: #151520;
  --color-bg-lighter: #1a1a2e;
  --color-primary: #b026ff;
  --color-secondary: #00f3ff;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --color-text: #ffffff;
  --color-text-muted: #b8bcc4;
  --color-border: rgba(255, 255, 255, 0.1);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* ========================================
   BANDEAU LOI ALCOOL - Style Moderne
   ======================================== */

.legal-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.legal-banner.hidden {
  display: none;
}

.legal-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1280px;
  margin: 0 auto;
}

.legal-banner-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 113, 113, 0.9);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.legal-banner-text .icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: #dc2626;
}

.legal-banner-close {
  padding: 0.2rem;
  border-radius: 50%;
  color: rgba(248, 113, 113, 0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-banner-close:hover {
  background: rgba(220, 38, 38, 0.15);
  color: rgba(248, 113, 113, 0.9);
}

.legal-banner-close .icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Ajuster le header quand le bandeau est visible */
body:has(.legal-banner:not(.hidden)) .header {
  top: 1.75rem;
}

body:has(.legal-banner:not(.hidden)) .hero {
  padding-top: 6rem;
}

/* ========================================
   POPUP +18 ANS
   ======================================== */

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.age-modal.hidden {
  display: none;
}

.age-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.age-modal-content {
  position: relative;
  width: 100%;
  max-width: 28rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  animation: modalAppear 0.4s ease;
}

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

.age-modal-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-modal-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

.age-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1rem;
}

.age-modal-text {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.age-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .age-modal-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.age-modal-buttons .btn {
  flex: 1;
  max-width: 200px;
}

.age-yes {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

.age-no {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.age-no:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.age-modal-legal {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.age-modal-legal strong {
  color: #dc2626;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-white {
  color: white;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-text {
  text-shadow: 0 0 20px rgba(176, 38, 255, 0.5), 0 0 40px rgba(0, 243, 255, 0.3);
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
}

.card-hover {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-pulse {
  animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
}

/* Grid Background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(176, 38, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 38, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 4px 20px rgba(176, 38, 255, 0.3);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 30px rgba(176, 38, 255, 0.5);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline-cyan {
  padding: 0.75rem 1.5rem;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--color-secondary);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-outline-cyan:hover {
  background: rgba(0, 243, 255, 0.2);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
  color: white;
  width: 100%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-text {
  background: transparent;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
}

.btn-text:hover {
  color: white;
}

.btn-logout {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.3);
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */

#toast-container {
  position: fixed;
  top: 120px; /* ← MODIFIÉ (descend la bannière) */
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 4.7s forwards;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.toast.success {
  border-left: 3px solid #22c55e;
}

.toast.error {
  border-left: 3px solid #ef4444;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.3;
}

.logo-icon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  position: relative;
  z-index: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: white;
}

.logo-subtitle {
  font-size: 0.625rem;
  color: var(--color-text-muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 9999px;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

@media (min-width: 640px) {
  .phone-btn {
    display: flex;
  }
}

.phone-btn:hover {
  background: rgba(0, 243, 255, 0.2);
}

.cart-btn {
  position: relative;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all var(--transition-fast);
  color: white;
}

.cart-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-secondary);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.menu-toggle {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: all var(--transition-normal);
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20rem;
  background: var(--color-bg-light);
  border-left: 1px solid var(--color-border);
  padding: 6rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-nav-link {
  padding: 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: linear-gradient(90deg, rgba(176, 38, 255, 0.2), rgba(0, 243, 255, 0.2));
  color: white;
  border: 1px solid rgba(176, 38, 255, 0.3);
}

.mobile-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 0.75rem;
  color: var(--color-secondary);
}

.mobile-phone-btn .phone-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.mobile-phone-btn .phone-label {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(176, 38, 255, 0.1), transparent, var(--color-bg));
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.2;
}

.blob-1 {
  top: 25%;
  left: 25%;
  background: var(--color-primary);
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  bottom: 25%;
  right: 25%;
  background: var(--color-secondary);
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.status-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.status-badge.open {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.closed {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.open .status-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--color-secondary);
}

.location-badge .icon {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: rgba(176, 38, 255, 0.5);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card:nth-child(1) .feature-icon {
  color: var(--color-primary);
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--color-secondary);
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--color-primary);
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.wheel {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}

/* ========================================
   MENU SECTION
   ======================================== */

.menu-section {
  position: relative;
  padding: 5rem 0;
}

.section-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(176, 38, 255, 0.05), transparent);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(176, 38, 255, 0.3);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.section-badge .icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
}

.section-badge span {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}

.section-badge.badge-cyan {
  border-color: rgba(0, 243, 255, 0.3);
}

.section-badge.badge-cyan .icon,
.section-badge.badge-cyan span {
  color: var(--color-secondary);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

.section-line {
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 9999px;
  margin: 1.5rem auto 0;
}

/* Popular Section */
.popular-section {
  margin-bottom: 3rem;
}

.popular-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.popular-header .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
}

.popular-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.popular-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.popular-card:hover {
  border-color: rgba(176, 38, 255, 0.5);
}

.popular-card img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.popular-card:hover img {
  transform: scale(1.05);
}

.popular-card h4 {
  font-weight: 700;
  color: white;
  transition: color var(--transition-fast);
}

.popular-card:hover h4 {
  color: var(--color-primary);
}

.popular-card .price {
  color: var(--color-secondary);
  font-weight: 700;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  margin-right: 1rem;
}

.filter-label .icon {
  width: 1rem;
  height: 1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-color: transparent;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(176, 38, 255, 0.3);
}

/* Products Info */
.products-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.products-info span {
  color: white;
  font-weight: 700;
}

.cart-info {
  color: var(--color-secondary);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  position: relative;
  group: true;
}

.product-card-inner {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card:hover .product-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image-wrapper {
  position: relative;
  height: 10rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .product-image-wrapper {
    height: 12rem;
  }
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.1);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-light), transparent, transparent);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-popular {
  background: linear-gradient(135deg, #f97316, #dc2626);
  color: white;
}

.badge-new {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.product-price-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
}

.product-category-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

.category-snacks { background: linear-gradient(135deg, #f97316, #dc2626); }
.category-boissons { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.category-sucre { background: linear-gradient(135deg, #ec4899, #9333ea); }
.category-alcools { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.category-essentials { background: linear-gradient(135deg, #6b7280, #475569); }

.product-info {
  padding: 1.25rem;
}

.product-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.product-card:hover .product-info h3 {
  color: var(--color-primary);
}

.product-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.add-to-cart-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.add-to-cart-btn:not(.added) {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.add-to-cart-btn:not(.added):hover {
  box-shadow: 0 4px 20px rgba(176, 38, 255, 0.3);
}

.add-to-cart-btn.added {
  background: #22c55e;
  color: white;
}

.product-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  border-radius: 1rem;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.product-card:hover .product-glow {
  opacity: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 0;
}

.empty-icon {
  width: 6rem;
  height: 6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.empty-icon .icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-text-muted);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-muted);
}

/* Menu CTA */
.menu-cta {
  text-align: center;
  margin-top: 4rem;
}

.menu-cta p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.reviews-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.reviews-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--color-bg), rgba(176, 38, 255, 0.05), var(--color-bg));
  pointer-events: none;
}

.reviews-stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

@media (min-width: 640px) {
  .reviews-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.star {
  width: 1.5rem;
  height: 1.5rem;
  color: #fbbf24;
}

.star.empty {
  color: #4b5563;
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
  margin: 0 auto 0.5rem;
}

.stat-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 243, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}

.stat-icon-circle span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: white;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Reviews Carousel */
.reviews-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.reviews-fade-left,
.reviews-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  pointer-events: none;
  z-index: 10;
}

.reviews-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.reviews-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.reviews-carousel {
  display: flex;
  gap: 1.5rem;
  animation: scrollReviews 25s linear infinite;
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  flex-shrink: 0;
  width: 350px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
}

.review-quote {
  width: 2rem;
  height: 2rem;
  color: rgba(176, 38, 255, 0.7);
  margin-bottom: 1rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.review-stars .star {
  width: 1rem;
  height: 1rem;
}

.review-text {
  color: white;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.review-info {
  flex: 1;
}

.review-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: white;
}

.review-verified {
  width: 1rem;
  height: 1rem;
  color: #4ade80;
}

.review-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.reviews-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto 3rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: rgba(0, 243, 255, 0.5);
}

.contact-card-highlight {
  border-color: rgba(176, 38, 255, 0.3);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(0, 243, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform var(--transition-normal);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-icon .icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-secondary);
}

.contact-icon.gradient-icon {
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.2), rgba(0, 243, 255, 0.2));
}

.contact-icon.gradient-icon .icon {
  color: var(--color-primary);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.contact-card-highlight .contact-value {
  color: white;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contact-status {
  font-size: 0.875rem;
}

.contact-status.open {
  color: #4ade80;
}

.contact-status.closed {
  color: var(--color-text-muted);
}

/* Delivery Card */
.delivery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .delivery-card {
    flex-direction: row;
    text-align: left;
  }
}

.delivery-icon {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-icon .icon {
  width: 4rem;
  height: 4rem;
  color: white;
}

.delivery-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
}

.delivery-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.delivery-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .delivery-tags {
    justify-content: flex-start;
  }
}

.delivery-tag {
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #d1d5db;
}

/* Social Section */
.social-section {
  text-align: center;
}

.social-section p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: rgba(176, 38, 255, 0.2);
  color: var(--color-primary);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  position: relative;
  border-top: 1px solid var(--color-border);
}

.footer-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg), var(--color-bg-light));
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.footer-logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: white;
}

.footer-logo-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-description {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 24rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 9999px;
  color: var(--color-secondary);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.footer-phone:hover {
  background: rgba(0, 243, 255, 0.2);
}

.footer-nav h4,
.footer-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a,
.footer-info a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-info a:hover {
  color: var(--color-secondary);
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.footer-info .icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright,
.made-with {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.made-with {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.made-with .heart {
  width: 1rem;
  height: 1rem;
  color: #ef4444;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(176, 38, 255, 0.2);
  color: var(--color-primary);
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  background: var(--color-whatsapp);
  border-radius: 50%;
  animation: whatsappPulse 2s infinite;
  opacity: 0.3;
}

.whatsapp-pulse.delay {
  animation-delay: 0.5s;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-btn {
  position: relative;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn .icon {
  width: 2rem;
  height: 2rem;
  color: white;
}

.whatsapp-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 1.25rem;
  height: 1.25rem;
  background: #ef4444;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid var(--color-bg);
}

.whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

@media (min-width: 1024px) {
  .whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
  }
}

.tooltip-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid transparent;
  border-right-color: var(--color-bg-light);
}

/* ========================================
   CART SIDEBAR
   ======================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 28rem;
  background: var(--color-bg-light);
  border-left: 1px solid var(--color-border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(90deg, var(--color-bg-light), var(--color-bg-lighter));
  border-bottom: 1px solid var(--color-border);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.cart-title h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
}

.cart-title p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.cart-close {
  padding: 0.5rem;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.cart-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-close .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-text-muted);
}

.cart-close:hover .icon {
  color: white;
}

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

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.cart-empty-icon {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cart-empty-icon .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text-muted);
}

.cart-empty h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.cart-empty p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
}

.cart-item-image {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.875rem;
}

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

.qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--color-primary);
}

.qty-btn .icon {
  width: 0.75rem;
  height: 0.75rem;
  color: white;
}

.cart-item-qty {
  width: 1.5rem;
  text-align: center;
  font-weight: 700;
  color: white;
  font-size: 0.875rem;
}

.remove-item-btn {
  padding: 0.5rem;
  margin-left: auto;
  border-radius: 0.5rem;
  color: var(--color-text-muted);
  opacity: 0;
  transition: all var(--transition-fast);
}

.cart-item:hover .remove-item-btn {
  opacity: 1;
}

.remove-item-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.clear-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  color: #ef4444;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.clear-cart-btn:hover {
  color: #f87171;
}

.cart-footer {
  padding: 1rem;
  background: var(--color-bg-lighter);
  border-top: 1px solid var(--color-border);
}

.delivery-form {
  margin-bottom: 1rem;
}

.delivery-form h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 0.75rem;
}

.delivery-form h3 .icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
}

.form-group {
  position: relative;
  margin-bottom: 0.75rem;
}

.form-group .icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: white;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group textarea {
  padding-top: 0.625rem;
  resize: none;
  min-height: 3.5rem;
}

.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  background: var(--color-bg-lighter);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  max-height: 10rem;
  overflow-y: auto;
  z-index: 10;
  display: none;
}

.address-suggestions.active {
  display: block;
}

.address-suggestion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.address-suggestion:last-child {
  border-bottom: none;
}

.address-suggestion:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.address-suggestion .icon {
  position: static;
  transform: none;
  color: var(--color-secondary);
}

.address-loading {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   BARRE DE PROGRESSION PANIER (30€ min)
   ======================================== */

.cart-progress-container {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: 0.5rem;
}

.cart-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cart-progress-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.cart-progress-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.cart-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.cart-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cart-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cart-progress-fill.complete {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.cart-progress-message {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  text-align: center;
}

.cart-progress-message span {
  color: var(--color-secondary);
  font-weight: 600;
}

.cart-progress-message.complete {
  color: #4ade80;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.total-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-secondary);
}

.cart-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ========================================
   MODALS
   ======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 28rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.modal-close {
  padding: 0.5rem;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-close .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-text-muted);
}

.admin-form .form-group {
  margin-bottom: 1rem;
}

.admin-form label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.admin-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
}

.admin-form input:focus {
  border-color: var(--color-primary);
}

/* ========================================
   ADMIN PANEL
   ======================================== */

.admin-panel {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 400;
  overflow-y: auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .admin-panel {
    padding: 2rem;
  }
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.admin-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.admin-title h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.admin-title p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
}

.stat-box-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-box-icon.purple {
  background: rgba(176, 38, 255, 0.2);
}

.stat-box-icon.cyan {
  background: rgba(0, 243, 255, 0.2);
}

.stat-box-icon.green {
  background: rgba(34, 197, 94, 0.2);
}

.stat-box-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.stat-box-icon.purple .icon {
  color: var(--color-primary);
}

.stat-box-icon.cyan .icon {
  color: var(--color-secondary);
}

.stat-box-icon.green .icon {
  color: #4ade80;
}

.stat-box-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.stat-box-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.product-form {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.product-form h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: white;
  font-size: 0.875rem;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--color-primary);
}

.form-grid input::placeholder {
  color: var(--color-text-muted);
}

.form-grid .full-width {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .form-grid .full-width {
    grid-column: span 2;
  }
}

.image-upload {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .image-upload {
    grid-column: span 2;
  }
}

.image-upload label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.upload-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.upload-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.upload-tab.active {
  background: rgba(176, 38, 255, 0.3);
  color: var(--color-primary);
  border: 1px solid rgba(176, 38, 255, 0.5);
}

.upload-tab .icon {
  width: 1rem;
  height: 1rem;
}

.upload-content.hidden {
  display: none;
}

.upload-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.upload-btn:hover {
  border-color: rgba(176, 38, 255, 0.5);
  color: white;
}

.upload-btn .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.upload-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.image-preview {
  margin-top: 1rem;
}

.image-preview p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.preview-container {
  position: relative;
  width: 8rem;
  height: 8rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(239, 68, 68, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.preview-remove:hover {
  background: #ef4444;
}

.preview-remove .icon {
  width: 0.75rem;
  height: 0.75rem;
}

.form-checkboxes {
  display: flex;
  gap: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  cursor: pointer;
}

.checkbox-label input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--color-primary);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.admin-table th {
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.admin-table td {
  color: white;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-product img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.admin-product-name {
  font-weight: 500;
}

.admin-product-badges {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.admin-product-badge {
  font-size: 0.625rem;
}

.category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: capitalize;
  color: #d1d5db;
}

.price-cell {
  font-weight: 700;
}

.stock-cell {
  font-weight: 700;
}

.stock-cell.low {
  color: #ef4444;
}

.stock-cell.ok {
  color: #4ade80;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-action-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.admin-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-action-btn.edit:hover {
  background: rgba(0, 243, 255, 0.2);
  color: var(--color-secondary);
}

.admin-action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.admin-action-btn .icon {
  width: 1rem;
  height: 1rem;
}

/* Admin Toggle */
.admin-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 30;
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.admin-toggle:hover {
  opacity: 0.3;
}

.admin-toggle .icon {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   PWA PROMPT
   ======================================== */

.pwa-prompt {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: 90%;
  max-width: 24rem;
}

.pwa-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(176, 38, 255, 0.3);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pwa-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.pwa-text {
  flex: 1;
}

.pwa-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.pwa-text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.pwa-buttons {
  display: flex;
  gap: 0.5rem;
}

.pwa-close {
  padding: 0.25rem;
  border-radius: 0.5rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.pwa-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pwa-close .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}

/* Stagger delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 639px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 640px) {
  .show-mobile {
    display: none !important;
  }
}
