/*
  Mr.Solde - Feuille de style principale
  Auteur : Votre nom
  Description : Styles principaux du site e-commerce Mr.Solde
*/

/* Variables CSS pour les couleurs et dimensions */
:root {
  --primary-red: #D63B14;
  --dark-red: #E84153;
  --light-gray: #F8F9FA;
  --dark-gray: #2C3E50;
  --text-gray: #6C757D;
  --white: #FFFFFF;
  --black: #000000;
  --border-gray: #E9ECEF;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  --container-max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --logo-black: #000000;
}

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

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* --- BANNIÈRE PROMO STYLE (identique à mrsolde.cm) --- */
.promo-banner {
  background: #F22F3B;
  color: #fff;
  padding: 0.7rem 0;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1100;
}
.promo-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 2rem;
}
.promo-slider {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.promo-slider .slide-message {
  color: #fff;
  font-weight: 700;
  margin-right: 1.5em;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.1rem;
  font-weight: 700;
}
.contact-info i {
  font-size: 1.3em;
  margin-right: 0.3em;
  color: #fff;
}
@media (max-width: 900px) {
  .promo-content {
    flex-direction: column;
    gap: 0.5em;
    padding: 0 0.5rem;
  }
  .promo-slider, .contact-info {
    font-size: 1rem;
  }
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.slide-message {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-weight: 500;
  pointer-events: none;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}

.slide-message.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- NAVIGATION STYLE (inspiré de mrsolde.cm) --- */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #D63B14;
  background: rgba(214, 59, 20, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 1rem 0;
}

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

.dropdown-links {
  display: flex;
  flex-direction: column;
}

.dropdown-links a {
  color: #333;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.dropdown-links a:hover {
  background: rgba(214, 59, 20, 0.1);
  color: #D63B14;
  padding-left: 2rem;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-btn, .user-btn, .cart-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 59, 20, 0.2);
  font-size: 1.1rem;
  color: #2C3E50;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-btn:hover, .user-btn:hover, .cart-btn:hover {
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.1), rgba(232, 65, 83, 0.1));
  color: #D63B14;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(214, 59, 20, 0.2);
  border-color: rgba(214, 59, 20, 0.4);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #D63B14, #E84153);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(214, 59, 20, 0.4);
  border: 2px solid #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.mobile-menu-btn {
  display: none;
  background: linear-gradient(135deg, #D63B14, #E84153);
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(214, 59, 20, 0.2);
}
.mobile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(214, 59, 20, 0.3);
}

/* --- HERO SLIDER STYLE (inspiré de mrsolde.cm) --- */
.hero-section {
  background: var(--white);
  padding: 0;
}
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 480px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), visibility 0.7s;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  position: relative;
}
.slide-black { background: #111; color: #fff; }
.slide-gray { background: #f5f5f5; color: #222; }
.slide-red { background: #D63B14; color: #fff; }
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 4rem;
  height: 100%;
}
.hero-text {
  flex: 1;
  z-index: 20;
  display: block !important;
  color: #fff !important;
  /* debug */
  border: 2px solid #f00;
  background: rgba(0,0,0,0.05);
}
.hero-title, .hero-subtitle, .hero-prices, .hero-btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero-prices {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.hero-current-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  background: #D63B14;
  padding: 0.2em 0.7em;
  border-radius: 0.5em;
}
.slide-black .hero-current-price, .slide-gray .hero-current-price {
  color: #D63B14;
  background: #fff;
}
.hero-old-price {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD600;
  text-decoration: line-through;
}
.hero-badge {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: #111;
  border-radius: 0.4em;
  padding: 0.1em 0.5em;
  margin-left: 0.5em;
  display: inline-block;
}
.slide-black .hero-badge, .slide-gray .hero-badge {
  background: #D63B14;
  color: #fff;
}
.hero-btn {
  display: block;
  margin-top: 1.5rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  background: #fff;
  color: #D63B14;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.slide-black .hero-btn, .slide-red .hero-btn {
  background: #111;
  color: #fff;
}
.slide-gray .hero-btn {
  background: #D63B14;
  color: #fff;
}
.hero-btn:hover {
  background: #D63B14;
  color: #fff;
}
.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  object-fit: contain;
  background: none;
}
.hero-image img:hover {
  transform: scale(1.05);
}
.hero-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}
.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #eee;
  border: 2px solid #D63B14;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot:hover {
  background: #D63B14;
  transform: scale(1.2);
}
.hero-dot.active {
  background: #D63B14;
  border-color: #D63B14;
  transform: scale(1.3);
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    padding: 1.5rem 1rem;
    text-align: center;
  }
  .hero-image {
    margin-top: 1.5rem;
  }
  .hero-section, .hero-slide, .hero-carousel {
    height: auto;
    min-height: 350px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-current-price, .hero-old-price {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .hero-section, .hero-slide, .hero-carousel {
    height: auto;
    min-height: 250px;
  }
  .hero-title {
    font-size: 1.2rem;
  }
  .hero-image img {
    max-width: 180px;
  }
}
/* --- SUPPRESSION DES ANCIENS STYLES HERO --- */
.hero-section .hero-content:not(.hero-slide) { display: none !important; }
.hero-section .hero-text:not(.hero-slide) { display: none !important; }
.hero-section .hero-image:not(.hero-slide) { display: none !important; }

/* Section Catégories */
.categories-section {
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-xl);
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.8) 100%);
  backdrop-filter: blur(10px);
  border-radius: 0;
  position: relative;
}

.categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.02) 0%, rgba(232, 65, 83, 0.02) 100%);
  pointer-events: none;
}

.categories-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--dark-gray);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #2C3E50, #D63B14);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.category-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 59, 20, 0.1);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.05) 0%, rgba(232, 65, 83, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

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

.category-card:hover::after {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(214, 59, 20, 0.15);
  border-color: rgba(214, 59, 20, 0.3);
}

.category-content {
  position: relative;
  z-index: 1;
}

.category-icon {
  width: 70px;
  height: 70px;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.1), rgba(232, 65, 83, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.2), rgba(232, 65, 83, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-icon::before {
  opacity: 1;
}

.category-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

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

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--dark-gray);
}

.category-card p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

.category-link {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: var(--dark-red);
}

/* Section Des Bons Deals */
.deals-section {
  background: var(--primary-red);
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-xl);
}

.deals-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.product-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(214, 59, 20, 0.1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.03) 0%, rgba(232, 65, 83, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(214, 59, 20, 0.15);
  border-color: rgba(214, 59, 20, 0.3);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.05), rgba(232, 65, 83, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover .product-image::before {
  opacity: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

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

.product-info {
  padding: var(--spacing-sm);
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--dark-gray);
  line-height: 1.4;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: var(--spacing-sm);
}

.add-to-cart {
  background: linear-gradient(135deg, #D63B14, #E84153);
  color: var(--white);
  border: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 12px rgba(214, 59, 20, 0.3);
  position: relative;
  overflow: hidden;
}

.add-to-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.add-to-cart:hover::before {
  left: 100%;
}

.add-to-cart:hover {
  background: linear-gradient(135deg, #E84153, #D63B14);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 59, 20, 0.4);
}

.view-all-container {
  text-align: center;
}

.view-all-btn {
  background: linear-gradient(135deg, #D63B14, #E84153);
  color: var(--white);
  border: 2px solid transparent;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(214, 59, 20, 0.3);
  position: relative;
  overflow: hidden;
}

.view-all-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.view-all-btn:hover::before {
  left: 100%;
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #E84153, #D63B14);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 59, 20, 0.4);
}

/* Sections Samsung et iPhone */
.samsung-section, .iphone-section {
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-xl);
}

.samsung-section h2, .iphone-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  color: var(--dark-gray);
}

.samsung-showcase, .iphone-showcase {
  background: var(--light-gray);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.samsung-content, .iphone-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-xl);
}

.samsung-video, .iphone-video {
  position: relative;
}

.samsung-video img, .iphone-video img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.video-overlay {
  position: absolute;
  bottom: var(--spacing-sm);
  left: var(--spacing-sm);
  right: var(--spacing-sm);
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: var(--spacing-sm);
  border-radius: 8px;
}

.samsung-info, .iphone-info {
  padding: var(--spacing-lg);
}

.nouveaute-badge, .nouveautes-badge {
  background: var(--primary-red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.samsung-info h3, .iphone-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

.samsung-info p, .iphone-info p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.acheter-btn {
  background: var(--primary-red);
  color: var(--white);
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.acheter-btn:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

/* Section FAQ */
.faq-section {
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-xl);
  background: var(--light-gray);
}

.faq-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

.faq-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--spacing-lg);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-gray);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  color: var(--text-gray);
  line-height: 1.6;
}

/* --- FOOTER MODERNE STYLE --- */
.main-footer {
  background: #2C3E50;
  color: #fff;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  margin-bottom: 3rem;
}

.footer-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.3;
}

.footer-info p {
  font-size: 1rem;
  color: #BDC3C7;
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(214, 59, 20, 0.1);
  border-radius: 50%;
  margin-right: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.feature-icon i {
  color: #D63B14;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-icon:hover {
  background: #D63B14;
  transform: scale(1.05);
}

.feature-icon i:hover {
  color: #fff;
  transform: scale(1.1);
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-item p {
  color: #BDC3C7;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #BDC3C7;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #D63B14;
}

.footer-links a i {
  font-size: 1.1rem;
  width: 20px;
}

.footer-reviews {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.reviews-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.reviews-content .stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.reviews-content .stars i {
  color: #FFD700;
  font-size: 1.2rem;
}

.reviews-content p {
  color: #BDC3C7;
  font-size: 0.9rem;
  line-height: 1.5;
}

.reviews-content p i {
  color: #D63B14;
  margin: 0 0.3rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-sections {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-info h3 {
    font-size: 1.4rem;
  }
  
  .footer-info p {
    font-size: 0.9rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .user-actions {
    gap: 0.5rem;
  }

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

  .hero-text h1 {
    font-size: 2rem;
  }

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

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

  .samsung-content, .iphone-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .promo-content {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }
}

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

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .categories-section h2,
  .deals-section h2,
  .samsung-section h2,
  .iphone-section h2,
  .faq-section h2 {
    font-size: 1.8rem;
  }

  .current-price {
    font-size: 1.5rem;
  }

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

/* Animations d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card {
  animation: fadeInUp 0.6s ease-out;
}

.product-card {
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Styles pour améliorer l'accessibilité */
button:focus,
a:focus,
.faq-question:focus {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

/* Styles pour l'état de chargement */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-red);
} 

.slide-black .hero-title, .slide-black .hero-subtitle, .slide-black .hero-prices, .slide-black .hero-btn {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.slide-red .hero-title, .slide-red .hero-subtitle, .slide-red .hero-prices, .slide-red .hero-btn {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-gray .hero-title, .slide-gray .hero-subtitle, .slide-gray .hero-prices, .slide-gray .hero-btn {
  color: #222 !important;
  text-shadow: none;
}
.hero-content {
  padding: 2.5rem 4rem;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.2rem;
  font-weight: 500;
}
.hero-prices {
  font-size: 1.5rem;
  font-weight: 700;
}
.hero-btn {
  display: block;
  margin-top: 1.5rem;
  padding: 1.1rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  background: #fff;
  color: #D63B14;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.slide-black .hero-btn, .slide-red .hero-btn {
  background: #111;
  color: #fff;
}
.slide-gray .hero-btn {
  background: #D63B14;
  color: #fff;
}
.hero-btn:hover {
  background: #D63B14;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 59, 20, 0.3);
}
@media (max-width: 900px) {
  .hero-content {
    padding: 2rem 1.2rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}
@media (max-width: 600px) {
  .hero-content {
    padding: 1rem 0.5rem;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
} 

/* --- MENU MOBILE STYLE (inspiré de mrsolde.cm) --- */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 85vw;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
  border-right: 1px solid rgba(214, 59, 20, 0.1);
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav.active {
  transform: translateX(0);
}
.close-mobile-menu {
  background: linear-gradient(135deg, #D63B14, #E84153);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(214, 59, 20, 0.3);
}
.close-mobile-menu:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(214, 59, 20, 0.4);
}
.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav-link {
  color: #2C3E50;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(214, 59, 20, 0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mobile-nav-link:hover {
  background: linear-gradient(135deg, rgba(214, 59, 20, 0.1), rgba(232, 65, 83, 0.1));
  color: #D63B14;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(214, 59, 20, 0.15);
  border-color: rgba(214, 59, 20, 0.3);
}
.mobile-dropdown {
  list-style: none;
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0.5rem 0 0 0;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  border-left: 3px solid #D63B14;
}
.mobile-nav-item.dropdown.open > .mobile-dropdown {
  display: flex;
  animation: slideDown 0.3s ease;
}
.mobile-nav-item.dropdown > .mobile-nav-link::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.9em;
  margin-left: 0.5em;
  color: #D63B14;
  transition: transform 0.3s ease;
}
.mobile-nav-item.dropdown.open > .mobile-nav-link::after {
  transform: rotate(180deg);
}
.mobile-dropdown a {
  color: #6C757D;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: block;
}
.mobile-dropdown a:hover {
  background: rgba(214, 59, 20, 0.08);
  color: #D63B14;
  transform: translateX(2px);
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 769px) {
  .mobile-menu-overlay, .mobile-nav {
    display: none !important;
  }
} 

.hero-section,
.hero-carousel,
.hero-slides,
.hero-slide {
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem 2rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 2;
}
.hero-text {
  background: rgba(0,0,0,0.45);
  padding: 2.5rem 3rem;
  border-radius: 1.2rem;
  color: #fff;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 900px) {
  .hero-text {
    padding: 1.2rem 0.7rem;
    max-width: 95vw;
  }
}
.hero-slide {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  overflow: visible !important;
}
@media (max-width: 900px) {
  .hero-slide, .hero-section, .hero-carousel, .hero-slides {
    height: 320px;
  }
  .hero-content {
    padding: 1.2rem 0.5rem;
  }
}
.hero-content {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.hero-title, .hero-subtitle, .hero-prices, .hero-btn {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
} 

.hero-content.fade-in {
  animation: fadeInBlur 1s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeInBlur {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    filter: blur(2px);
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
} 

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,30,30,0.45);
  backdrop-filter: blur(2px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  z-index: 3100;
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  padding: 2.5rem 2rem 2rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal.active, .modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal.active {
  transform: translate(-50%, -50%) scale(1);
}
.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #D63B14;
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #222;
}
.modal h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #222;
}
.modal-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.1rem;
  border: 1.5px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  transition: border 0.2s;
}
.modal-input:focus {
  border: 1.5px solid #D63B14;
  outline: none;
}
.modal-btn {
  width: 100%;
  padding: 0.9rem 0;
  background: #D63B14;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.modal-btn:hover {
  background: #b92a10;
}
@media (max-width: 500px) {
  .modal {
    min-width: 90vw;
    width: 98vw;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
} 