/**
 * E-commerce Modern Design System
 * Style dynamique pour les pages publiques Sodibur
 */

/* ===== VARIABLES CSS ===== */
:root {
  /* Couleurs primaires - basées sur le gradient de la page login */
  --primary: #667eea;
  --primary-dark: #764ba2;
  --primary-light: #8b9df0;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-gradient-hover: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);

  /* Couleurs secondaires */
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;

  /* Couleurs neutres */
  --dark: #1f2937;
  --dark-light: #374151;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  /* Couleurs e-commerce */
  --promo: #ef4444;
  --new-badge: #10b981;
  --sale-badge: #f59e0b;
  --bestseller: #8b5cf6;

  /* Typographie */
  --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;

  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Bordures et ombres */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-primary: 0 10px 40px -10px rgba(102, 126, 234, 0.4);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ===== RESET ET BASE ===== */
.ecom-page {
  font-family: var(--font-primary);
  color: var(--gray-800);
  line-height: 1.6;
}

/* ===== BANDEAU PROMOTIONNEL ===== */
.promo-banner {
  background: var(--primary-gradient);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.promo-banner__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.promo-banner__item i {
  font-size: 1.1rem;
}

.promo-banner__divider {
  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.3);
}

/* ===== NAVIGATION MODERNE ===== */
.navbar-modern {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  padding: var(--space-sm) 0;
}

.navbar-modern.scrolled {
  box-shadow: var(--shadow-md);
  padding: var(--space-xs) 0;
}

.navbar-modern .navbar-brand {
  flex-shrink: 0;
  margin-right: var(--space-lg);
}

.navbar-modern .navbar-brand img {
  max-height: 50px;
  width: auto;
  height: auto;
  transition: all var(--transition-normal);
}

.navbar-modern.scrolled .navbar-brand img {
  max-height: 40px;
}

.navbar-modern .navbar-nav {
  flex-wrap: wrap;
}

.navbar-modern .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-modern .nav-link:hover {
  color: var(--primary) !important;
  background: var(--gray-50);
}

/* Dropdown moderne */
.navbar-modern .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  animation: fadeInDown 0.2s ease;
}

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

/* Boutons CTA navbar */
.navbar-modern .btn-login {
  background: var(--primary-gradient);
  color: var(--white) !important;
  border: none;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.navbar-modern .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ===== HERO SECTION ===== */
.hero-modern {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-modern__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-modern__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(31, 41, 55, 0.6) 100%);
  z-index: 1;
}

.hero-modern__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
  padding: var(--space-3xl) 0;
}

.hero-modern__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero-modern__title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.hero-modern__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-modern__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ===== BOUTONS MODERNES ===== */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-modern--primary {
  background: var(--primary-gradient);
  color: var(--white);
}

.btn-modern--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  color: var(--white);
}

.btn-modern--secondary {
  background: var(--white);
  color: var(--gray-800);
}

.btn-modern--secondary:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn-modern--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-modern--outline:hover {
  background: var(--white);
  color: var(--gray-800);
}

.btn-modern--success {
  background: var(--success);
  color: var(--white);
}

.btn-modern--success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.4);
}

/* ===== BADGES DE CONFIANCE ===== */
.trust-badges {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white);
  opacity: 0.9;
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
}

.trust-badge__text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== SECTION CATEGORIES ===== */
.section-categories {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.section-header__subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
}

/* ===== CARDS CATEGORIES MODERNES ===== */
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.category-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image {
  transform: scale(1.08);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.category-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-card__badge--new {
  background: var(--new-badge);
  color: var(--white);
}

.category-card__badge--promo {
  background: var(--promo);
  color: var(--white);
}

.category-card__badge--bestseller {
  background: var(--bestseller);
  color: var(--white);
}

.category-card__body {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.category-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.category-card__title a:hover {
  color: var(--primary);
}

.category-card__description {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.category-card__subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.category-card__subcategory {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.category-card__subcategory:hover {
  background: var(--primary);
  color: var(--white);
}

.category-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.category-card__brands {
  display: flex;
  gap: var(--space-sm);
}

.category-card__brand-logo {
  height: 24px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.category-card__brand-logo:hover {
  opacity: 1;
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.category-card__link:hover {
  gap: var(--space-sm);
  color: var(--primary-dark);
}

.category-card__link i {
  transition: transform var(--transition-fast);
}

.category-card__link:hover i {
  transform: translateX(4px);
}

/* ===== SECTION MARQUES ===== */
.section-brands {
  background: var(--gray-50);
  padding: var(--space-3xl) 0;
}

.brands-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.brand-logo {
  height: 50px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-normal);
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== SECTION AVANTAGES ===== */
.section-benefits {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.benefit-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--gray-50);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.benefit-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: 1.75rem;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.benefit-card__description {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== SECTION NEWSLETTER ===== */
.section-newsletter {
  background: var(--primary-gradient);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: var(--white);
}

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

.newsletter-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.newsletter-subtitle {
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form__input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
}

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

.newsletter-form__button {
  padding: var(--space-md) var(--space-xl);
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-form__button:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ===== FOOTER MODERNE ===== */
.footer-modern {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-3xl) 0 0;
}

.footer-modern__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-modern__section {
  /* Footer section styles */
}

.footer-modern__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-modern__logo-wrapper {
  background: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-modern__logo {
  max-height: 50px;
  display: block;
}

.footer-modern__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}

.footer-modern__phone:hover {
  color: var(--primary-light);
}

.footer-modern__phone i {
  font-size: 1.4rem;
  color: var(--primary);
}

.footer-modern__description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-modern__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-modern__links li {
  margin-bottom: var(--space-sm);
}

.footer-modern__links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-modern__links a:hover {
  color: var(--white);
}

.footer-modern__links a i {
  font-size: 1rem;
  color: var(--primary);
}

.footer-modern__social {
  display: flex;
  gap: var(--space-sm);
}

.footer-modern__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  color: var(--gray-400);
  border-radius: var(--radius-lg);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-modern__social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-modern__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.footer-modern__contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-modern__bottom {
  border-top: 1px solid var(--gray-800);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-modern__copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-modern__payment {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.footer-modern__payment-icon {
  height: 24px;
  opacity: 0.6;
}

/* ===== CARROUSEL MODERNE ===== */
.carousel-modern {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.carousel-modern .carousel-inner {
  border-radius: var(--radius-xl);
}

.carousel-modern .carousel-item {
  padding: var(--space-md);
}

/* Les cartes dans le carousel */
.carousel-modern .category-card {
  margin: 0;
  height: 100%;
  box-shadow: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.carousel-modern .category-card__image-wrapper {
  height: 280px;
}

.carousel-modern .category-card__overlay {
  opacity: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.carousel-modern .category-card:hover .category-card__overlay {
  opacity: 1;
}

.carousel-modern .category-card__body {
  background: var(--white);
}

/* Contrôles du carousel */
.carousel-modern .carousel-control-prev,
.carousel-modern .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: var(--radius-full);
  opacity: 0.9;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.carousel-modern .carousel-control-prev:hover,
.carousel-modern .carousel-control-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.carousel-modern .carousel-control-prev {
  left: var(--space-sm);
}

.carousel-modern .carousel-control-next {
  right: var(--space-sm);
}

.carousel-modern .carousel-control-prev-icon,
.carousel-modern .carousel-control-next-icon {
  filter: invert(1) brightness(0);
  width: 20px;
  height: 20px;
}

/* Indicateurs */
.carousel-modern .carousel-indicators {
  margin-bottom: var(--space-sm);
  bottom: 0;
}

.carousel-modern .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  margin: 0 var(--space-xs);
  background-color: var(--primary);
  opacity: 0.4;
  border: none;
  transition: all var(--transition-fast);
}

.carousel-modern .carousel-indicators button.active {
  opacity: 1;
  width: 24px;
  background-color: var(--primary);
}

/* ===== BARRE DE RECHERCHE MODERNE ===== */
.search-modern {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-modern__input {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  padding-right: 50px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.search-modern__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.search-modern__button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-full);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-modern__button:hover {
  transform: translateY(-50%) scale(1.05);
}

/* ===== UTILITAIRES ===== */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease;
}

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

.animate-pulse {
  animation: pulse 2s infinite;
}

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

/* ===== BREADCRUMBS MODERNES ===== */
.breadcrumb-modern {
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-md);
}

.breadcrumb-modern__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-modern__item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb-modern__item:not(:last-child)::after {
  content: "/";
  margin-left: var(--space-sm);
  color: var(--gray-400);
}

.breadcrumb-modern__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-modern__link:hover {
  color: var(--primary);
}

.breadcrumb-modern__link i {
  font-size: 1rem;
}

.breadcrumb-modern__item--active span {
  color: var(--dark);
  font-weight: 500;
}

/* ===== PAGE HEADER MODERNE ===== */
.page-header-modern {
  position: relative;
  background: var(--primary-gradient);
  padding: var(--space-3xl) 0 var(--space-2xl);
  margin-bottom: var(--space-2xl);
  overflow: hidden;
}

.page-header-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header-modern__content {
  position: relative;
  z-index: 1;
}

.page-header-modern__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.page-header-modern__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
}

.page-header-modern__image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-height: 300px;
  opacity: 0.9;
  z-index: 1;
}

.page-header-modern__breadcrumb {
  margin-bottom: var(--space-lg);
}

.page-header-modern__breadcrumb .breadcrumb-modern__link {
  color: rgba(255, 255, 255, 0.8);
}

.page-header-modern__breadcrumb .breadcrumb-modern__link:hover {
  color: var(--white);
}

.page-header-modern__breadcrumb .breadcrumb-modern__item:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.5);
}

.page-header-modern__breadcrumb .breadcrumb-modern__item--active span {
  color: var(--white);
}

/* Admin actions in header */
.page-header-modern__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.page-header-modern__actions .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.page-header-modern__actions .btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== SECTION PAGE CONTENU ===== */
.page-content {
  padding: var(--space-2xl) 0;
}

.page-content__main {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.page-content__main p {
  margin-bottom: var(--space-md);
}

.page-content__main h2,
.page-content__main h3 {
  color: var(--dark);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.page-content__sidebar {
  position: sticky;
  top: 100px;
}

/* ===== SECTION GRILLE PRODUITS/SERIES ===== */
.products-grid {
  padding: var(--space-2xl) 0;
}

.products-grid__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--gray-100);
}

.products-grid__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.products-grid__title i {
  color: var(--primary);
}

.products-grid__count {
  background: var(--gray-100);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ===== PRODUCT CARD MODERNE ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--gray-50);
}

.product-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform var(--transition-normal);
}

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

.product-card__badges {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-card__badge {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card__badge--new {
  background: var(--new-badge);
  color: var(--white);
}

.product-card__badge--promo {
  background: var(--promo);
  color: var(--white);
}

.product-card__body {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card__brand {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.product-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.product-card__title a:hover {
  color: var(--primary);
}

.product-card__description {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.product-card__footer {
  padding: var(--space-md);
  padding-top: 0;
  margin-top: auto;
}

.product-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.product-card__cta:hover {
  background: var(--primary-gradient-hover);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-modern__title {
    font-size: 2.5rem;
  }

  .hero-modern {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-modern__title {
    font-size: 2rem;
  }

  .hero-modern__subtitle {
    font-size: 1rem;
  }

  .section-header__title {
    font-size: 1.75rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer-modern__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .promo-banner {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .promo-banner__divider {
    display: none;
  }

  .hero-modern__cta {
    flex-direction: column;
  }

  .btn-modern {
    width: 100%;
  }
}
