/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Styles pour la page modifier-panier */
.cart-modify-section {
  padding: 3rem 0;
  background: #f8fafc;
}

.cart-item-modify {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.item-image {
  text-align: center;
}

.item-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-placeholder {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 2rem;
}

.item-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.item-description {
  color: #718096;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.item-weight {
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.item-weight i {
  margin-right: 0.5rem;
  color: #38a169;
}

.item-price {
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
}

.original-price {
  text-decoration: line-through;
  color: #a0aec0;
  margin-left: 0.5rem;
  font-size: 1rem;
}

.quantity-controls {
  margin-bottom: 1.5rem;
}

.quantity-controls label {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.quantity-input {
  display: flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  background: #f7fafc;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a5568;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #edf2f7;
  color: #2d3748;
}

.qty-btn:active {
  background: #e2e8f0;
}

.quantity-input input {
  border: none;
  padding: 0.75rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  width: 80px;
  background: white;
}

.quantity-input input:focus {
  outline: none;
  background: #f7fafc;
}

.total-price {
  background: #f7fafc;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  border: 2px solid #e2e8f0;
}

.total-price strong {
  font-size: 1.1rem;
  color: #2d3748;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-danger {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c53030 0%, #a52a2a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
}

/* Responsive pour modifier-panier */
@media (max-width: 768px) {
  .cart-item-modify {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .item-image {
    order: 1;
  }
  
  .item-details {
    order: 2;
  }
  
  .item-actions {
    order: 3;
  }
  
  .action-buttons {
    flex-direction: column;
  }
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: 80px !important; /* Compensation pour le header fixe */
  margin: 0 !important;
  position: relative !important;
  transition: overflow 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header moderne et élégant - FIXÉ */
.header {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  padding: 1.2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}

/* Garantir que le header reste fixé - Règles supplémentaires */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* Règles pour garantir que le header reste fixe */
header.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* Menu hamburger pour mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  z-index: 1001;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  .nav {
    margin: 0 1rem;
  }
  
  .nav ul {
    gap: 1.5rem;
  }
  
  .nav a {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
  
  .search input {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 999;
    margin: 0;
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
  }
  
  .nav li {
    width: 100%;
    text-align: center;
  }
  
  .nav a {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    width: 100%;
    border-radius: 12px;
  }
  
  /* Styles pour le menu déroulant sur mobile */
  .nav .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    border: none;
    margin-top: 1rem;
    border-radius: 0;
  }
  
  .nav .dropdown-menu a {
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-left: 3px solid #f6ad55;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .nav .dropdown-menu a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #f6ad55;
    border-radius: 50%;
    margin-right: 0.75rem;
    opacity: 0.7;
  }
  
  .nav .dropdown-menu a:hover {
    background: rgba(246, 173, 85, 0.15);
    transform: translateX(5px);
    border-left-color: #ed8936;
  }
  
  .nav .dropdown-menu a:hover::before {
    opacity: 1;
    transform: scale(1.2);
  }
  
  .header-actions {
    gap: 1rem;
  }
  
  .search {
    display: none;
  }
  
  .user-menu {
    gap: 0.5rem;
  }
  
  .btn-login,
  .btn-register {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Ajout d'une règle pour les écrans moyens */
@media (max-width: 1024px) {
  .search input {
    width: 180px; /* Encore plus petit sur les écrans moyens */
  }
  
  .header-actions {
    gap: 0.5rem; /* Réduit encore plus l'espacement */
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .header-content {
    gap: 0.5rem;
  }
  
  .user-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-login,
  .btn-register {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.3rem; /* Réduit l'espacement */
  min-width: 0; /* Permet la compression */
}

/* Navigation principale */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 1rem;
  min-width: 0; /* Permet la compression */
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem; /* Réduit l'espacement */
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0; /* Permet la compression */
}

.nav li {
  position: relative;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem; /* Réduit légèrement la taille de police */
  transition: all 0.3s ease;
  position: relative;
  padding: 0.4rem 0.6rem; /* Réduit le padding */
  display: block;
  border-radius: 8px;
  white-space: nowrap;
  min-width: 0; /* Permet la compression */
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 80%;
}

.nav a:hover {
  color: #f6ad55;
}

/* Styles pour le menu déroulant */
.nav .dropdown {
  position: relative;
}

.nav .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem; /* Réduit l'espacement */
  cursor: pointer;
  min-width: 0; /* Permet la compression */
}

.nav .dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav .dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.75rem 0;
  border: 1px solid #e2e8f0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav .dropdown-menu a {
  color: #2d3748;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 0;
  position: relative;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.nav .dropdown-menu a:hover {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  color: #f6ad55;
  transform: translateX(8px);
  border-left-color: #f6ad55;
  box-shadow: 0 2px 8px rgba(246, 173, 85, 0.1);
}

.nav .dropdown-menu a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #f6ad55;
  border-radius: 50%;
  margin-right: 0.75rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav .dropdown-menu a:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.nav .dropdown-menu a::after {
  display: none;
}
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo a {
  text-decoration: none;
}



.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Réduit de 1rem à 0.75rem */
}

.search {
  position: relative;
}

.search input {
  padding: 0.6rem 2.5rem 0.6rem 1.2rem;
  border: none;
  border-radius: 50px;
  width: 200px; /* Réduit de 250px à 200px */
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #f6ad55;
  box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.2);
}

.search button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.search button:hover {
  color: #f6ad55;
}

.user-menu {
  display: flex;
  gap: 0.75rem;
}

.btn-login,
.btn-register {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-login {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-register {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  border-color: #f6ad55;
}

.btn-login:hover,
.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-register:hover {
  background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.cart-icon {
  position: relative;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cart-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  border: 2px solid #2d3748;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Dropdown amélioré */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 50px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: #2d3748;
  text-decoration: none;
  border-bottom: 1px solid #f7fafc;
  transition: all 0.3s ease;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  transform: translateX(5px);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 0;
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background: #fbbf24;
  color: #1e3a8a;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

/* Sections */
.featured-products,
.advantages {
  padding: 4rem 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.featured-products h2,
.advantages h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.featured-products .section-header p {
  text-align: center;
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Products Grid - Design moderne et compact */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 200px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Cartes vedettes - Design moderne et compact */
.featured-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.featured-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.featured-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 20px;
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-card .placeholder-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.featured-card .placeholder-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 2s infinite;
}

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

.featured-card h3 {
  color: #1e293b !important;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 1.5rem 1.5rem 0.5rem;
  line-height: 1.3;
}

.featured-card .price {
  color: #667eea !important;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-card .price::before {
  content: "💰";
  font-size: 1.2rem;
}

.featured-card .description {
  color: #64748b !important;
  line-height: 1.6;
  margin: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  min-height: 3rem;
}

.featured-card .btn-secondary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin: 0 !important;
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.featured-card .btn-secondary::before {
  content: "👁️";
  font-size: 1rem;
}

.featured-card .btn-secondary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Badge Vedette moderne */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-badge::before {
  content: "⭐";
  margin-right: 0.3rem;
}

.product-card h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.2rem;
  color: #1e3a8a;
}

.product-card .price {
  padding: 0 1rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.product-card .description {
  padding: 0 1rem 1rem;
  color: #666;
  font-size: 0.9rem;
}

.btn-secondary {
  display: block;
  background: #1e3a8a;
  color: white;
  padding: 0.75rem 1rem;
  margin: 0 1rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background: #1e40af;
}

/* Section footer moderne */
.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.section-footer .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  border: none;
}

.section-footer .btn-primary::before {
  content: "🛒";
  font-size: 1.2rem;
}

.section-footer .btn-primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Animations et effets visuels */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Animation d'entrée pour les cartes */
.featured-card {
  animation: fadeInUp 0.6s ease-out;
}

.featured-card:nth-child(1) {
  animation-delay: 0.1s;
}

.featured-card:nth-child(2) {
  animation-delay: 0.2s;
}

.featured-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Styles pour l'affichage de la disponibilité */
.disponibilite-info {
  padding: 0 1rem 1rem;
  margin-top: 0.75rem;
  animation: fadeInUp 0.5s ease-out;
}

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

.disponibilite-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disponibilite-badge.disponible {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.disponibilite-badge.disponible:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.disponibilite-badge.indisponible {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-color: #b91c1c;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.disponibilite-badge.indisponible:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.disponibilite-badge.disponible-apres {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-color: #b45309;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.disponibilite-badge.disponible-apres:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.disponibilite-badge i {
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.disponibilite-badge small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage:hover {
  transform: translateY(-5px);
}

.advantage i {
  font-size: 3rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.advantage h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.advantage p {
  color: #666;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #fbbf24;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fbbf24;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #fbbf24;
  color: #1e3a8a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.alert-danger {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Pages d'authentification */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.auth-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.auth-form h1 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.auth-form p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.auth-links a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-links .separator {
  margin: 0 0.5rem;
  color: #666;
}

/* Page du panier */
.cart-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cart-table th {
  background: #1e3a8a;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 500;
}

.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-cell img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.product-cell h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}

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

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #f8f9fa;
}

.quantity-controls input {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.25rem;
}

.btn-edit {
  background: #3182ce;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 0.5rem;
  text-decoration: none;
  display: inline-block;
}

.btn-edit:hover {
  background: #2c5aa0;
}

.btn-remove {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-remove:hover {
  background: #dc2626;
}

.cart-summary {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.summary-row.total {
  font-weight: bold;
  font-size: 1.2rem;
  border-bottom: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #1e3a8a;
}

.free-shipping-info {
  background: #dcfce7;
  color: #16a34a;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.empty-cart h2 {
  color: #666;
  margin-bottom: 1rem;
}

.empty-cart p {
  color: #999;
  margin-bottom: 2rem;
}

/* Page de détail produit */
.breadcrumb {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #1e3a8a;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #666;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.product-images {
  position: relative;
}

.main-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.price-section {
  margin: 1.5rem 0;
}

.price-current {
  font-size: 2rem;
  font-weight: bold;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 1.2rem;
}

.promo-badge {
  background: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.product-meta {
  margin: 1.5rem 0;
}

.product-meta p {
  margin-bottom: 0.5rem;
}

.in-stock {
  color: #16a34a;
  font-weight: bold;
}

.out-of-stock {
  color: #ef4444;
  font-weight: bold;
}

.product-description {
  margin: 2rem 0;
}

.product-description h3 {
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.quantity-selector {
  margin: 1.5rem 0;
}

.quantity-selector label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.btn-add-cart-large {
  width: 100%;
  background: #fbbf24;
  color: #1e3a8a;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-add-cart-large:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.out-of-stock-message {
  text-align: center;
  padding: 2rem;
  background: #fee2e2;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.out-of-stock-message i {
  font-size: 2rem;
  color: #ef4444;
  margin-bottom: 1rem;
}

.product-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.feature i {
  color: #fbbf24;
  font-size: 1.2rem;
}

.similar-products {
  margin-top: 4rem;
}

.similar-products h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

/* Filtres produits */
.products-page {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.filters {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.filters h3 {
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-range input {
  flex: 1;
}

.btn-filter {
  width: 100%;
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.btn-clear {
  width: 100%;
  background: #6b7280;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
}

.products-header {
  margin-bottom: 2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-link {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
}

.no-products {
  text-align: center;
  padding: 4rem 2rem;
}

.no-products i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
}

/* Carrousel Hero moderne */
.hero-carousel {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: 0;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 3rem;
  z-index: 2;
  position: relative;
}

.slide-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.slide-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slideInDown 1.2s ease-out;
  background: linear-gradient(135deg, #ffffff, #f6ad55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-content p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: slideInUp 1.2s ease-out 0.3s both;
  font-weight: 400;
  line-height: 1.6;
}

.slide-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 1.2s ease-out 0.6s both;
}

.slide-buttons .btn-primary,
.slide-buttons .btn-secondary {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.slide-buttons .btn-primary {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  border-color: #f6ad55;
  box-shadow: 0 8px 25px rgba(246, 173, 85, 0.3);
}

.slide-buttons .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ed8936, #dd6b20);
  transition: left 0.4s ease;
}

.slide-buttons .btn-primary:hover::before {
  left: 0;
}

.slide-buttons .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(246, 173, 85, 0.4);
}

.slide-buttons .btn-primary span {
  position: relative;
  z-index: 1;
}

.slide-buttons .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.slide-buttons .btn-secondary:hover {
  background: white;
  color: #2d3748;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Contrôles du carrousel */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.8rem;
  padding: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
  border-color: #f6ad55;
}

.carousel-control.prev {
  left: 3rem;
}

.carousel-control.next {
  right: 3rem;
}

/* Indicateurs */
.carousel-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active,
.indicator:hover {
  background: #f6ad55;
  transform: scale(1.3);
  border-color: white;
}

/* Backgrounds des slides améliorés */
.slide-1 {
  background: linear-gradient(
      135deg,
      rgba(45, 55, 72, 0.7),
      rgba(26, 32, 44, 0.7)
    ),
    url('../images/chicken.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-2 {
  background: linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.8),
      rgba(5, 150, 105, 0.8)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
}

.slide-3 {
  background: linear-gradient(
      135deg,
      rgba(245, 158, 11, 0.8),
      rgba(217, 119, 6, 0.8)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
}

/* Animations améliorées */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Responsive Design amélioré */
@media (max-width: 1024px) {
  .hero-carousel {
    height: 70vh;
  }

  .slide-content h1 {
    font-size: 3rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }
  
  /* Optimisations pour la navigation sur tablettes */
  .header-content {
    gap: 0.2rem;
  }
  
  .nav {
    margin: 0 0.5rem;
  }
  
  .nav ul {
    gap: 0.3rem;
  }
  
  .nav a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
  
  .nav .dropdown-toggle {
    gap: 0.2rem;
  }
  
  .nav .dropdown-toggle i {
    font-size: 0.7rem;
  }
}

/* Optimisations pour écrans moyens-petits */
@media (max-width: 900px) and (min-width: 769px) {
  .header-content {
    gap: 0.1rem;
  }
  
  .nav {
    margin: 0 0.3rem;
  }
  
  .nav ul {
    gap: 0.2rem;
  }
  
  .nav a {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
  }
  
  .logo h1 {
    font-size: 1.4rem;
  }
  
  .header-actions {
    gap: 0.3rem;
  }
}

@media (max-width: 768px) {
  /* S'assurer que le header reste fixé sur mobile */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 1001; /* Plus élevé que le header */
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    width: 100%;
  }

  .nav a {
    font-size: 1.5rem;
    padding: 1rem 0;
  }

  .header-actions {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }

  .search {
    display: none;
  }

  .user-menu {
    gap: 0.5rem;
  }

  .btn-login,
  .btn-register {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Empêcher le scroll quand le menu mobile est ouvert */
  body.nav-open {
    overflow: hidden;
  }

  /* S'assurer que le padding-top est appliqué sur mobile */
  body {
    padding-top: 80px !important;
  }

  .search input {
    width: 100%;
    min-width: 250px;
  }

  .hero-carousel {
    height: 60vh;
    min-height: 500px;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  /* Responsive pour les produits vedettes */
  .featured-products {
    padding: 2rem 0;
  }

  .featured-products h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .featured-card {
    margin-bottom: 1rem;
  }

  .featured-card h3 {
    font-size: 1.2rem;
    margin: 1rem 1rem 0.5rem;
  }

  .featured-card .price {
    font-size: 1.3rem;
    margin: 0 1rem 1rem;
  }

  .featured-card .description {
    margin: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .featured-card .btn-secondary {
    margin: 0 1rem 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .section-footer .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }

  .slide-buttons {
    flex-direction: column;
    align-items: center;
  }

  .slide-buttons .btn-primary,
  .slide-buttons .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .carousel-control {
    padding: 1rem;
    font-size: 1.4rem;
  }

  .carousel-control.prev {
    left: 1rem;
  }

  .carousel-control.next {
    right: 1rem;
  }

  .carousel-indicators {
    bottom: 1.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .featured-products h2,
  .advantages h2 {
    font-size: 2.5rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header-content {
    gap: 0.5rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .mobile-menu-toggle {
    padding: 0.25rem;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
  }

  .hero-carousel {
    height: 50vh;
    min-height: 400px;
  }

  .slide-content {
    padding: 2rem 1rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .featured-products h2,
  .advantages h2 {
    font-size: 2rem;
  }

  .product-card {
    margin-bottom: 1rem;
  }

  .advantage {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }
}

/* Effets de scroll et animations supplémentaires */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Boutons avec effets spéciaux */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(246, 173, 85, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ed8936, #dd6b20);
  transition: left 0.3s ease;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(246, 173, 85, 0.4);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

/* Effets de particules pour le hero */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Loading spinner */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #f6ad55;
  animation: spin 1s ease-in-out infinite;
}

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

/* ===== NOUVELLES SECTIONS ===== */

/* Section Statistiques */
.stats-section {
  background: linear-gradient(135deg, #2d3748, #1a202c);
  color: white;
  padding: 4rem 0;
  margin: 0;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon {
  font-size: 3rem;
  color: #f6ad55;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Section Header amélioré */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #2d3748;
  font-weight: 800;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Badge produit */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

/* Section Témoignages */
.testimonials {
  background: #f8f9fa;
  padding: 5rem 0;
}

.testimonials::before {
  display: none;
}

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

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

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

.stars i {
  color: #f6ad55;
  font-size: 1.1rem;
}

.testimonial-content p {
  color: #4a5568;
  line-height: 1.6;
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.author-info h4 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: #718096;
  font-size: 0.9rem;
}

/* Section Newsletter */
.newsletter {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  padding: 4rem 0;
  margin: 0;
}

.newsletter::before {
  display: none;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.newsletter-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.newsletter-form .form-group {
  display: flex;
  gap: 1rem;
  margin: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn-primary {
  background: #2d3748;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter-form .btn-primary:hover {
  background: #1a202c;
  transform: translateY(-2px);
}

/* Section À propos */
.about-section {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 2rem;
  font-weight: 700;
}

.about-content p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2d3748;
  font-weight: 500;
}

.feature i {
  color: #f6ad55;
  font-size: 1.2rem;
}

.about-image {
  text-align: center;
}

.image-placeholder {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  font-size: 4rem;
}

.image-placeholder p {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }
}

/* Page des catégories */
.page-header {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  padding: 1rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.page-header p {
  font-size: 0.8rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.categories-section {
  padding: 2rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.category-content {
  padding: 1.5rem;
}

.category-content h3 {
  font-size: 1.3rem;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.category-description {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.category-meta {
  margin-bottom: 1.5rem;
}

.product-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

.product-count i {
  color: #fbbf24;
}

.category-content .btn-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.no-categories {
  text-align: center;
  padding: 4rem 2rem;
}

.no-categories i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.no-categories h2 {
  color: #666;
  margin-bottom: 1rem;
}

.no-categories p {
  color: #999;
  margin-bottom: 2rem;
}

.info-section {
  background: #f8f9fa;
  padding: 3rem 0;
}

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

.info-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2.5rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.info-card p {
  color: #666;
  line-height: 1.6;
}

/* Responsive pour les catégories */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-card {
    margin-bottom: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Page de contact */
.contact-section {
  padding: 0.8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  color: #1e3a8a;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.6rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item i {
  font-size: 1.5rem;
  color: #fbbf24;
  margin-top: 0.25rem;
}

.contact-item h3 {
  font-size: 1.1rem;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.contact-form {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: #1e3a8a;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Responsive pour le contact */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }
}

/* Styles pour les écrans très petits */
@media (max-width: 480px) {
  /* S'assurer que le header reste fixé sur très petits écrans */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
  }

  .container {
    padding: 0 15px;
  }

  .header-content {
    gap: 0.5rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .mobile-menu-toggle {
    padding: 0.25rem;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
  }

  /* S'assurer que le padding-top est appliqué */
  body {
    padding-top: 80px !important;
  }

  .hero-carousel {
    height: 50vh;
    min-height: 400px;
  }

  .slide-content {
    padding: 2rem 1rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .featured-products h2,
  .advantages h2 {
    font-size: 2rem;
  }

  .product-card {
    margin-bottom: 1rem;
  }

  .advantage {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }
}

/* Styles pour la page produits */
.products-hero {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.products-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-hero .hero-text {
  color: white;
}

.products-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.products-hero .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.products-hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.products-hero .stat-item {
  text-align: center;
}

.products-hero .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.products-hero .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.products-hero .hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-hero .hero-image-placeholder {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Layout de la page produits */
.products-page {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Sidebar des filtres */
.filters-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filters-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filters-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filters-card h3 i {
  color: #ff6b35;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.filter-select,
.price-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
}

.filter-select:focus,
.price-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-separator {
  color: #718096;
  font-weight: 500;
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.filter-actions .btn-primary,
.filter-actions .btn-secondary {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

/* Contenu des produits */
.products-content {
  min-height: 500px;
}

.products-header {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.results-info p {
  font-weight: 500;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-info i {
  color: #ff6b35;
}

/* Grille de produits améliorée */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.product-badge.promo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
  line-height: 1.3;
}

.product-description {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.price-old {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff6b35;
}

.product-stock {
  font-size: 0.85rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.product-actions .btn-secondary,
.product-actions .btn-primary {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.out-of-stock {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fed7d7;
  color: #c53030;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Pagination améliorée */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-link {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: white;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-link:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

.page-link.active {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

/* État vide amélioré */
.no-products {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.no-products-icon {
  font-size: 4rem;
  color: #cbd5e0;
  margin-bottom: 1.5rem;
}

.no-products h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

.no-products p {
  color: #718096;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Responsive pour la page produits */
@media (max-width: 1024px) {
  .products-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .filters-sidebar {
    position: static;
    order: 2;
  }

  .products-content {
    order: 1;
  }

  .products-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .products-hero .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 3rem 0;
  }

  .products-hero .hero-title {
    font-size: 2.5rem;
  }

  .products-hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .products-hero .hero-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .filters-card {
    padding: 1.5rem;
  }

  .product-info {
    padding: 1rem;
  }
}

/* ===== STYLES MODERNES POUR LA PAGE PRODUITS ===== */

/* Hero Section pour la page produits */
.products-hero {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.products-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.products-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.products-hero .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.products-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.products-hero .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-hero .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
}

.products-hero .stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Section Filtres Moderne */
.filters-section {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 80px;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.filters-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.modern-filter-form {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.filter-group label i {
  color: #ff6b35;
  font-size: 1rem;
}

.modern-select,
.modern-input {
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  color: #2d3748;
}

.modern-select:focus,
.modern-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.price-separator {
  color: #718096;
  font-weight: 600;
  font-size: 1.1rem;
}

.filter-actions {
  display: flex;
  gap: 1rem;
  align-items: end;
}

.btn-modern {
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-modern.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-modern.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-modern.btn-secondary {
  background: white;
  color: #4a5568;
  border: 2px solid #e2e8f0;
}

.btn-modern.btn-secondary:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  transform: translateY(-2px);
}

.btn-modern.btn-outline {
  background: transparent;
  color: #ff6b35;
  border: 2px solid #ff6b35;
}

.btn-modern.btn-outline:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-2px);
}

/* Section Produits Moderne */
.products-section-modern {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 1rem;
}

.results-count {
  color: #718096;
  font-size: 1.1rem;
  font-weight: 500;
}

.products-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.product-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.product-card-modern:hover .product-image img {
  transform: scale(1.08);
}

.promo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.product-content {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}

.product-category i {
  color: #ff6b35;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #2d3748;
  line-height: 1.3;
}

.product-description {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.price-original {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 500;
}

.price-current {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff6b35;
}

.product-stock {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}

.product-stock i {
  color: #38a169;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.product-actions .btn-modern {
  flex: 1;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.out-of-stock {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fed7d7;
  color: #c53030;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Pagination Moderne */
.pagination-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.page-link-modern {
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  background: white;
  color: #4a5568;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 44px;
  justify-content: center;
}

.page-link-modern:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.page-link-modern.active {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border-color: #ff6b35;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.page-numbers {
  display: flex;
  gap: 0.5rem;
}

/* État vide moderne */
.no-products-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.no-products-icon {
  font-size: 4rem;
  color: #cbd5e0;
  margin-bottom: 1.5rem;
}

.no-products-modern h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2d3748;
}

.no-products-modern p {
  color: #718096;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive pour le design moderne */
@media (max-width: 1024px) {
  .products-hero .hero-title {
    font-size: 3rem;
  }

  .products-hero .hero-stats {
    gap: 2rem;
  }

  .filter-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 4rem 0 3rem;
  }

  .products-hero .hero-title {
    font-size: 2.5rem;
  }

  .products-hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .products-hero .stat-item {
    padding: 1rem 1.5rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-actions {
    flex-direction: column;
  }

  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .pagination-modern {
    flex-wrap: wrap;
  }

  .page-numbers {
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .products-hero .hero-title {
    font-size: 2rem;
  }

  .products-hero .hero-subtitle {
    font-size: 1.1rem;
  }

  .products-grid-modern {
    grid-template-columns: 1fr;
  }

  .modern-filter-form {
    padding: 1.5rem;
  }

  .product-content {
    padding: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* ===== NOUVEAU DESIGN MODERNE POUR LA PAGE PRODUITS ===== */

/* Hero Section Moderne */
.products-hero-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.products-hero-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.2;
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  color: white;
}

.hero-title-modern {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.title-accent {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-modern {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 500px;
}

.hero-stats-modern {
  display: flex;
  gap: 1.5rem;
}

.stat-card-modern {
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.stat-number-modern {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-label-modern {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Section Filtres Moderne */
.filters-section-modern {
  background: white;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 80px;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.filters-container-modern {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-form-modern {
  background: white;
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.filter-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}

.filter-group-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label-modern {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-label-modern i {
  color: #667eea;
}

.filter-select-modern,
.filter-input-modern {
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9rem;
  background: #f9fafb;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.filter-select-modern:focus,
.filter-input-modern:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.price-range-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-separator-modern {
  color: #6b7280;
  font-weight: 500;
}

.filter-actions-modern {
  display: flex;
  gap: 1rem;
  align-items: end;
}

.btn-filter-modern {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary-modern {
  background: #f3f4f6;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.btn-secondary-modern:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

/* Section Produits Moderne */
.products-section-modern {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.header-content-modern {
  max-width: 600px;
  margin: 0 auto;
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-count-modern {
  font-size: 1.1rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.results-count-modern i {
  color: #667eea;
}

/* Grille de Produits Moderne */
.products-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-modern {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

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

.promo-badge-modern {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
}

.product-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-modern:hover .product-overlay-modern {
  opacity: 1;
}

.overlay-actions {
  display: flex;
  gap: 1rem;
}

.overlay-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.overlay-btn:hover {
  background: #667eea;
  color: white;
  transform: scale(1.1);
}

.product-content-modern {
  padding: 1.5rem;
}

.product-category-modern {
  font-size: 0.8rem;
  color: #667eea;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-description-modern {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-pricing-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.price-current-modern {
  font-size: 1.5rem;
  font-weight: 800;
  color: #667eea;
}

.price-original-modern {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.product-stock-modern {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-actions-modern {
  display: flex;
  gap: 0.75rem;
}

.btn-product-modern {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline-modern {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-outline-modern:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.out-of-stock-modern {
  flex: 1;
  padding: 0.75rem 1rem;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Pagination Moderne */
.pagination-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.page-link-modern {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-link-modern:hover,
.page-link-modern.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
}

.page-numbers {
  display: flex;
  gap: 0.5rem;
}

/* Message Aucun Produit Moderne */
.no-products-modern {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-products-icon {
  font-size: 4rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.no-products-modern h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 1rem;
}

.no-products-modern p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Responsive pour le design moderne */
@media (max-width: 1024px) {
  .products-hero .hero-title {
    font-size: 3rem;
  }

  .products-hero .hero-stats {
    gap: 2rem;
  }

  .filter-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 4rem 0 3rem;
  }

  .products-hero .hero-title {
    font-size: 2.5rem;
  }

  .products-hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .products-hero .stat-item {
    padding: 1rem 1.5rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-actions {
    flex-direction: column;
  }

  .products-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .pagination-modern {
    flex-wrap: wrap;
  }

  .page-numbers {
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .products-hero .hero-title {
    font-size: 2rem;
  }

  .products-hero .hero-subtitle {
    font-size: 1.1rem;
  }

  .products-grid-modern {
    grid-template-columns: 1fr;
  }

  .modern-filter-form {
    padding: 1.5rem;
  }

  .product-content {
    padding: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* ===== NOUVEAU DESIGN MODERNE POUR LA PAGE PRODUITS ===== */

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-modern {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-title-modern {
    font-size: 1.6rem;
  }

  .hero-stats-modern {
    flex-direction: column;
    gap: 1rem;
  }

  .filter-grid-modern {
    grid-template-columns: 1fr;
  }

  .filter-actions-modern {
    flex-direction: column;
  }

  .products-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-actions-modern {
    flex-direction: column;
  }

  .pagination-modern {
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-numbers {
    order: -1;
  }

  .card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 1.5rem 1.5rem;
  }

  .btn-add-cart {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  }

  .btn-add-cart:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  }

  .btn-add-cart:active {
    transform: translateY(0) scale(0.95);
  }

  .btn-add-cart i {
    transition: transform 0.3s ease;
  }

  .btn-add-cart:hover i {
    transform: scale(1.1);
  }

  /* Animation de succès */
  .btn-add-cart.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: successPulse 0.6s ease;
  }

  @keyframes successPulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

}

/* Styles spécifiques pour les cartes vedettes */
.featured-card .card-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: 0 1.5rem 1.5rem !important;
}

.featured-card .btn-add-cart {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.featured-card .btn-add-cart:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

.featured-card .btn-add-cart:active {
  transform: translateY(0) scale(0.95) !important;
}

.featured-card .btn-add-cart i {
  transition: transform 0.3s ease !important;
}

.featured-card .btn-add-cart:hover i {
  transform: scale(1.1) !important;
}

.featured-card .btn-add-cart.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  animation: successPulse 0.6s ease !important;
}

/* ===== STYLES POUR LES PAGES DE COMMANDE ===== */

/* Page de commande */
.checkout-page {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 2rem 0;
}

.checkout-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3rem;
}

.checkout-form-section {
  background: #f8fafc;
  border-radius: 15px;
  padding: 2.5rem;
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h3 {
  color: #2d3748;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-section h3 i {
  color: #667eea;
  font-size: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #4a5568;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Modes de paiement */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method {
  position: relative;
}

.payment-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.payment-method label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.payment-method input[type="radio"]:checked + label {
  border-color: #667eea;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.payment-method label i {
  font-size: 1.5rem;
  color: #667eea;
  width: 30px;
  text-align: center;
}

.payment-method label span {
  font-weight: 500;
  color: #2d3748;
}

/* Actions du formulaire */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Récapitulatif de commande */
.checkout-summary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 2.5rem;
  position: sticky;
  top: 120px;
}

.checkout-summary h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-items {
  margin-bottom: 2rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.order-item:last-child {
  border-bottom: none;
}

.item-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  flex: 1;
}

.item-details h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.item-price {
  font-size: 0.9rem;
  opacity: 0.9;
}

.item-total {
  font-weight: 600;
  font-size: 1.1rem;
}

.order-summary {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.free-shipping-info {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.free-shipping-info i {
  color: #10b981;
  font-size: 1.2rem;
}

.free-shipping-info p {
  font-size: 0.9rem;
  margin: 0;
}

.delivery-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
}

.delivery-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.delivery-info ul {
  list-style: none;
  padding: 0;
}

.delivery-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.delivery-info li:last-child {
  margin-bottom: 0;
}

.delivery-info li i {
  color: #10b981;
  width: 16px;
}

/* ===== STYLES POUR LA PAGE DE CONFIRMATION ===== */

.confirmation-page {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 2rem 0;
}

.confirmation-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-align: center;
  padding: 4rem 3rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s ease;
}

.confirmation-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.confirmation-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3rem;
}

.order-details {
  background: #f8fafc;
  border-radius: 15px;
  padding: 2.5rem;
}

.order-info,
.order-products,
.order-summary,
.delivery-details,
.order-notes {
  margin-bottom: 2.5rem;
}

.order-info h3,
.order-products h3,
.order-summary h3,
.delivery-details h3,
.order-notes h3 {
  color: #2d3748;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-info h3 i,
.order-products h3 i,
.order-summary h3 i,
.delivery-details h3 i,
.order-notes h3 i {
  color: #667eea;
  font-size: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item .label {
  font-weight: 500;
  color: #4a5568;
  font-size: 0.9rem;
}

.info-item .value {
  font-weight: 600;
  color: #2d3748;
  font-size: 1rem;
}

.status-en_attente {
  color: #d69e2e;
}

.status-confirmee {
  color: #38a169;
}

.status-en_preparation {
  color: #3182ce;
}

.status-expediee {
  color: #805ad5;
}

.status-livree {
  color: #10b981;
}

.status-annulee {
  color: #e53e3e;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  flex: 1;
}

.product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.product-quantity,
.product-price {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0.25rem;
}

.product-total {
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1rem;
}

.summary-details {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.summary-details .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.summary-details .summary-row:last-child {
  border-bottom: none;
}

.summary-details .summary-row.total {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  border-top: 2px solid #667eea;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.address-info {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.address-info p {
  margin-bottom: 0.5rem;
  color: #4a5568;
}

.address-info p:last-child {
  margin-bottom: 0;
}

.address-info p strong {
  color: #2d3748;
  font-weight: 600;
}

.next-steps {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 2.5rem;
  position: sticky;
  top: 120px;
}

.next-steps h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon i {
  font-size: 1.2rem;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
}

.contact-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.contact-info li:last-child {
  margin-bottom: 0;
}

.contact-info li i {
  color: #10b981;
  width: 16px;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem 3rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* Responsive Design pour les pages de commande */
@media (max-width: 1024px) {
  .checkout-content,
  .confirmation-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkout-summary,
  .next-steps {
    position: static;
  }
}

@media (max-width: 768px) {
  .checkout-content,
  .confirmation-content {
    padding: 2rem;
  }

  .checkout-form-section,
  .order-details,
  .next-steps {
    padding: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-header {
    padding: 3rem 2rem;
  }

  .confirmation-header h1 {
    font-size: 2rem;
  }

  .success-icon {
    font-size: 3rem;
  }

  .product-item {
    flex-direction: column;
    text-align: center;
  }

  .product-image {
    width: 100px;
    height: 100px;
  }
}

/* ===== MON COMPTE PAGE ===== */
.account-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.account-header {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.account-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.account-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.account-content {
  display: grid;
  gap: 2rem;
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
}

.alert-error {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  color: white;
}

/* Profile Section */
.profile-section,
.password-section,
.orders-section {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.profile-section h2,
.password-section h2,
.orders-section h2 {
  color: #333;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Orders List */
.orders-list {
  display: grid;
  gap: 1.5rem;
}

.order-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.order-card:hover {
  border-color: #667eea;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-info h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.order-date {
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-en_attente {
  background: #fef3c7;
  color: #92400e;
}

.status-confirmee {
  background: #dbeafe;
  color: #1e40af;
}

.status-en_preparation {
  background: #fef3c7;
  color: #92400e;
}

.status-expediee {
  background: #d1fae5;
  color: #065f46;
}

.status-livree {
  background: #dcfce7;
  color: #166534;
}

.status-annulee {
  background: #fee2e2;
  color: #991b1b;
}

.order-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-summary p {
  margin-bottom: 0.5rem;
  color: #555;
}

.order-actions .btn-outline {
  padding: 0.5rem 1rem;
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.order-actions .btn-outline:hover {
  background: #667eea;
  color: white;
}

/* No Orders */
.no-orders {
  text-align: center;
  padding: 3rem 2rem;
  color: #666;
}

.no-orders-icon {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.no-orders h3 {
  margin-bottom: 1rem;
  color: #333;
}

.no-orders p {
  margin-bottom: 2rem;
}

/* ===== ORDER DETAILS PAGE ===== */
.order-details-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.order-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-details-header h1 {
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
}

.back-link .btn-outline {
  padding: 0.75rem 1.5rem;
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link .btn-outline:hover {
  background: #667eea;
  color: white;
}

.order-details-content {
  display: grid;
  gap: 2rem;
}

.order-info-section,
.order-products-section,
.order-summary-section,
.delivery-section,
.notes-section {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.order-info-section h2,
.order-products-section h2,
.order-summary-section h2,
.delivery-section h2,
.notes-section h2 {
  color: #333;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

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

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.info-item .label {
  font-weight: 600;
  color: #555;
}

.info-item .value {
  color: #333;
  text-align: right;
}

.products-list {
  display: grid;
  gap: 1rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  flex-wrap: wrap;
}

.product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  flex: 1;
  min-width: 200px;
}

.product-info h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

.product-quantity,
.product-price {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.product-total {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.summary-details {
  display: grid;
  gap: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.summary-row.total {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.address-info p {
  margin-bottom: 0.5rem;
  color: #555;
}

.order-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive Design pour les pages mon-compte */
@media (max-width: 768px) {
  .account-header {
    padding: 2rem 1rem;
  }

  .account-header h1 {
    font-size: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-details {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .product-item {
    flex-direction: column;
    text-align: center;
  }

  .order-details-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive Design pour les pages catégories et contact */
@media (max-width: 768px) {
  .page-header {
    padding: 0.8rem 0;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  .page-header p {
    font-size: 0.7rem;
  }

  .categories-section,
  .contact-section {
    padding: 0.6rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .contact-info,
  .contact-form {
    padding: 0.8rem;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1rem;
  }
}

/* Section Nos Villes */
.cities-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.city-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid #e2e8f0;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.city-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.city-placeholder-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.city-placeholder-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 2s infinite;
}

.city-card h3 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 1.5rem 1rem 1.5rem;
  text-align: center;
}

.city-description {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 1.5rem 1.5rem 1.5rem;
  text-align: center;
}

.btn-city-details {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin: 0 1.5rem 1.5rem 1.5rem;
  text-align: center;
  width: calc(100% - 3rem);
  box-sizing: border-box;
}

.btn-city-details:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-city-details span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-city-details:hover span {
  transform: translateX(5px);
}

/* Responsive pour la section villes */
@media (max-width: 768px) {
  .cities-section {
    padding: 2rem 0;
  }
  
  .cities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .city-card h3 {
    font-size: 1.3rem;
    margin: 1rem 1rem 0.5rem 1rem;
  }
  
  .city-description {
    font-size: 0.9rem;
    margin: 0 1rem 1rem 1rem;
  }
  
  .btn-city-details {
    margin: 0 1rem 1rem 1rem;
    width: calc(100% - 2rem);
  }
}

/* Styles pour les vidéos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 250px;
  background: #000;
  overflow: hidden;
  transition: height 0.3s ease;
}

.video-thumbnail.playing {
  height: 350px;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.video-meta {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.video-meta i {
  margin-right: 0.5rem;
  color: #667eea;
  width: 16px;
}

.video-description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.video-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #667eea;
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.video-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Responsive pour les vidéos */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .video-thumbnail {
    height: 200px;
  }
  
  .video-thumbnail.playing {
    height: 300px;
  }
  
  .video-play-overlay {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
