/* ========================================
   VARIABLES GLOBALES
   ======================================== */
:root {
  --primary: #fec341;
  --secondary: #c60013;
  --dark: #2c3e50;
  --light-bg: #f8f9fa;
  --border: #e0e0e0;
  --price: #999;
  --error: #c60013;
  --success: #28a745;
  --warning: #fec341;
}
.newsletter-form {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

em {
    font-style: normal;
    margin-left: -1px;;
    padding: 0 2px;
}

.newsletter-input-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

/* input en erreur */
.newsletter-input-wrapper input.error {
    border: 1px solid #c60013 !important;
}

/* message sous l'input */
.newsletter-error-message {
    margin: 5px 24px;
    font-size: 13px;
    color: #c60013;
    line-height: 1.4;
}

/* ========================================
   RÃ‰INITIALISATION & STYLES DE BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ========================================
   LIGNE 1 - HEADER TOP
   ======================================== */
.header-top {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark);
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 700px;
}

/* SÃ©lecteur de langue */
.lang-switcher {
  display: flex;
  gap: 5px;
  align-items: center;
}

.lang-btn {
  padding: 5px 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
}

.lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--light-bg);
  font-weight: bold;
}

/* Barre de recherche */
.search-container {
  flex: 1;
  position: relative;
}

.search-box {
  display: flex;
  border: 2px solid var(--primary);
  border-radius: 25px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-box select {
  padding: 10px 15px;
  border: none;
  border-left: 1px solid var(--border);
  outline: none;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.search-box button {
  padding: 0 25px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #fec341;
}

.search-box i {
  font-size: 16px;
  color: var(--dark);
}

/* Actions header (panier, compte) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

 

.badge {
  position: absolute;
  top: -8px;
  left: -8px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

/* Dropdown du compte */
.account-dropdown {
  position: relative;
}



.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; 
  margin-top: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1000;
}

.account-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 10px; /* Pont invisible entre le bouton et le menu */
    background: transparent;
}
.account-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
  border-bottom: 1px solid var(--border);
}

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

.dropdown-menu a:hover {
  background: var(--light-bg);
  color: var(--secondary);
}

/* ========================================
   LIGNE 2 - NAVIGATION PRINCIPALE
   ======================================== */
.main-nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 35px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 15px 0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu > li > a:hover {
  color: var(--primary);
}

/* Sous-menus */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 10px 0;
  z-index: 1000;
}

.nav-menu > li:hover .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}

.submenu li a:hover {
  background: var(--light-bg);
  color: var(--secondary);
  padding-left: 25px;
}

/* ========================================
   LIGNE 3 - SLIDER HÃ‰RO
   ======================================== */
.hero-slider {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.slide-content {
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 20px;
}

.slide-content h2 {
  font-size: 42px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  display: inline-block;
  padding: 12px 35px;
  background: var(--primary);
  color: var(--dark);
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ========== SECTION NEWSLETTER ========== */
.newsletter {
    padding: 60px 0;
    background: #fcf5f5;
    color: #000;
}




 



.container-lg {
    width: 100%;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 0px;
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* ========== CONTENU TEXTE ========== */
.newsletter-content {
    flex: 1;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    /*color: white;*/
}

.newsletter-content p {
    font-size: 16px;
    margin: 0;
    /*color: rgba(255, 255, 255, 0.9);*/
    line-height: 1.6;
}

.newsletter-content p br {
    display: block;
    content: "";
}

/* ========== FORMULAIRE ========== */
.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: white;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #999;
}

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

.newsletter-form button {
    padding: 14px 35px;
    background: white;
    color: #ff6b6b;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.newsletter-form button:active {
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .newsletter-wrapper {
        gap: 40px;
    }

    .newsletter-content h3 {
        font-size: 24px;
    }

    .newsletter-form {
        flex: 0.9;
    }
}


@media (max-width:600px) {
    .lang-switcher {
        display: none;
    }
    .header-center {
        /* Garder seulement la recherche */
    }
    
}
@media (max-width:600px) {
    .newsletter {
        padding: 40px 0;
    }

    .newsletter-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .newsletter-content h3 {
        font-size: 22px;
    }

    .newsletter-content p {
        font-size: 15px;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .newsletter-form button {
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .newsletter {
        padding: 30px 0;
    }

    .container-lg {
        padding: 0 15px;
    }

    .newsletter-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .newsletter-content p {
        font-size: 14px;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter {
    animation: slideInUp 0.5s ease-out;
}

/* ========== VARIABLE COULEUR ========== */
:root {
    --newsletter-primary: #ff6b6b;
    --newsletter-secondary: #ff5252;
}

/* ========================================
   SECTIONS PRODUITS - STYLES GÃ‰NÃ‰RAUX
   ======================================== */
.products-section {
  padding: 20px 20px 50px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  /*padding-bottom: 15px;*/
  border-bottom: 3px solid var(--primary);
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--dark);
  position: relative;
}

.section-title::before {
  display: none;
}

.view-all {
  color: var(--secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.view-all:hover {
  color: var(--dark);
}

/* ========================================
   SECTION AVEC TABS ET SIDEBAR
   ======================================== */
.section-header-with-tabs {
  margin-bottom: 30px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary);
}

.section-header-with-tabs .section-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--dark);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.section-header-with-tabs .section-title::before {
  display: none;
}

/* Tabs catÃ©gories */
.category-tabs {
  display: flex;
  list-style: none;
  gap: 5px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  border: none !important;
}

.category-tabs .nav-item {
  margin: 0;
}

.category-tabs .nav-link {
  display: block;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
}

.category-tabs .nav-link:hover {
  background: var(--light-bg);
  color: var(--dark);
  border-color: var(--primary);
}

.category-tabs .nav-link.active {
  background: var(--primary);
  color: var(--dark);
  font-weight: 600;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(254, 195, 65, 0.3);
}

/* Section avec sidebar */
.products-featured-container {
  display: flex;
  gap: 30px; 
  margin-top: 30px;
}

/* Sidebar de filtrage */
.categories-sidebar {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}

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

.category-item {
  margin-bottom: 8px;
}

.category-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 14px;
}

.category-link i {
  font-size: 16px;
  color: var(--primary);
  width: 20px;
}

.category-link span:first-of-type {
  flex: 1;
}

.category-count {
  background: var(--light-bg);
  color: #666;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.category-link.active {
  background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
  color: var(--dark);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(254, 195, 65, 0.3);
}

.category-link.active i {
  color: var(--dark);
}

.category-link.active .category-count {
  background: rgba(255, 255, 255, 0.8);
  color: var(--dark);
}

.category-link:hover {
  background: var(--light-bg);
  padding-left: 20px;
  color: var(--secondary);
}

.category-link.active:hover {
  padding-left: 15px;
}

/* Contenu des tabs */
.tab-content {
  flex: 1;
  width: 100%;
}

/* ========================================
   GRILLE PRODUITS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* ========================================
   CARTE PRODUIT
   ======================================== */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 320px;
}

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

/* Badge promo */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--secondary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
}

/* Image produit */
.product-image {
    position: relative;
  width: 100%;
    /*height: 100px;*/
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
     
}

.product-image img {
  max-width: 100%;
  /*max-height: 100%;*/
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s;
  border-radius: 5px 5px 0 0;
   
}

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

/* Info produit */
.product-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-align: center;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    min-height: 32px;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ã‰valuation */
.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    justify-content: center;
}

.stars {
    color: #fec341;
    font-size: 12px;
}

.stars-vote {
    color: #fec341;
    font-size: 18px;
}

.rating-count {
    color: #999;
    font-size: 10px;
}

/* Prix */
.product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.current-price,
.header-cart-amount {
    font-size: 15px;
    font-weight: bold;
    color: var(--secondary);
}

.current-price-large  {
    font-size: 25px;
    font-weight: bold;
    color: var(--secondary);
}

.original-price  {
    font-size: 15px; 
    color: var(--price); 
    text-decoration: line-through; 
}

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

/* Actions produit */
.product-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.btn-cart {
    flex: 1;
    padding: 6px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

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

.btn-details {
    flex: 1;
    padding: 6px;
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-details:hover {
  background: var(--dark);
  color: #fff;
}

/* ========================================
   SECTION NEWSLETTER
   ======================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
  padding: 60px 20px;
  margin: 50px 0;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-container h3 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 15px;
}

.newsletter-container p {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
}

.newsletter-form button {
  padding: 15px 35px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: #a00010;
  transform: translateY(-2px);
}

/* ========================================
   SECTION BREADCRUMB
   ======================================== */
.breadcrumb-section {
  background: var(--light-bg);
  padding: 0px 0;
  margin-bottom: 10px;
  border-radius: 12px;
}

.breadcrumb-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
}

.breadcrumb-content h1 {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary);
  margin: 0;
}

.breadcrumb-content nav {
  font-size: 14px;
  color: #666;
}

.breadcrumb-content nav a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-content nav a:hover {
  color: var(--dark);
}

.separator {
  margin: 0 10px;
  color: #999;
}

/* ========================================
   SECTION CONTACT
   ======================================== */
.contact-section {
  padding: 10px 0;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 5px;
}

.section-description {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact wrapper */
.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 0px 0;
}

.contact-wrapper-social {
  display: grid;
  grid-template-columns: 3fr 1fr;
  padding: 0px 0;
}

/* Formulaire contact */
.form-container {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 0 20px 0 0;
}

.contact-form-header {
  margin-bottom: 30px;
}

.contact-form-header h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-form-header p {
  font-size: 14px;
  color: #666;
}

/* Alertes */
.alert {
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert i {
  font-size: 18px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Formulaire styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--primary);
  font-size: 14px;
}

.form-control {
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.form-control.is-invalid {
  border-color: var(--secondary);
}

.error-message {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 5px;
}

select.form-control {
  cursor: pointer;
  background: #fff;
}

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

/* Bouton soumettre */
.btn-submit {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 0, 19, 0.3);
}

.btn-submit i {
  font-size: 16px;
}

/* Sidebar contact */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card,
.contact-social-card,
.contact-hours-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3,
.contact-social-card h3,
.contact-hours-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 15px;
}

.contact-info-card > p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Liste info contact */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.info-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 14px;
  color: var(--dark);
}

.info-content {
  flex: 1;
}

.info-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.info-content span {
  font-size: 14px;
  color: #666;
  word-break: break-word;
}

/* RÃ©seaux sociaux contact */
.social-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.social-links-contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links-contact a {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  flex-shrink: 0;
}

.social-links-contact a i {
  font-size: 14px;
  color: var(--dark);
  transition: color 0.3s;
}

 .social-links-contact a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-links-contact a:hover i {
  color: var(--primary);
}

/* Horaires */
.contact-hours-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-hours-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 15px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: var(--light-bg);
  border-radius: 8px;
  font-size: 14px;
}

.hours-list li span:first-child {
  font-weight: 600;
  color: var(--dark);
}

.hours-list li span:last-child {
  color: #666;
}

/* Carte google maps */
.map-section {
  margin-top: 50px;
}

 

 

 
 

 

 

/* ========================================
   RESPONSIVE - DESKTOP Ã€ TABLETTE
   ======================================== */
@media (max-width: 1200px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .category-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  
  .category-tabs .nav-link {
    white-space: nowrap;
  }

   
}

/* ========================================
   RESPONSIVE - TABLETTE Ã€ MOBILE
   ======================================== */
@media (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
  }

  .header-center {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
  }

  .nav-menu {
    gap: 20px;
    font-size: 13px;
  }

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

  .products-featured-container {
    flex-direction: column;
  }

  .categories-sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  .categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

    .contact-wrapper-social {
    grid-template-columns: 1fr;
  }

   
 
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width:600px) {
  /* Header */
  .header-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-text {
    font-size: 18px;
  }

  .header-center {
    order: 3;
    width: 100%;
  }

  .search-box {
    border-radius: 20px;
  }

  .search-box input {
    padding: 8px 15px;
  }

  /* Navigation */
  .nav-menu {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-menu > li > a {
    padding: 12px 0;
    font-size: 12px;
  }

  /* Slider */
  .hero-slider {
    height: 290px;
  }

  .slide-content h2 {
    font-size: 28px;
  }

  .slide-content p {
    font-size: 14px;
  }

  /* Sections */
  .products-section {
    padding: 30px 15px;
  }

  .section-header-with-tabs .section-title {
    font-size: 22px;
  }

  .category-tabs .nav-link {
    padding: 6px 12px;
    font-size: 12px;
  }

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

  /* Grille produits */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-image {
    height: 110px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 14px;
    min-height: 30px;
  }

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

  .current-price,
  .header-cart-amount {
    font-size: 14px;
  }
  
  .current-price-large {
    font-size: 25px;
  }
  .original-price {
    font-size: 15px;
  }

  .old-price {
    font-size: 13px;
  }

  .btn-cart,
  .btn-details {
    font-size: 11px;
    padding: 8px;
  }

 
 

   
  /* Breadcrumb */
  .breadcrumb-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .breadcrumb-content h1 {
    font-size: 22px;
  }

  /* Contact */
  .contact-section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-description {
    font-size: 14px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-container {
    padding: 25px;
  }

  .contact-form-header h3 {
    font-size: 20px;
  }

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

  .btn-submit {
    width: 100%;
  }

  .info-sidebar {
    gap: 15px;
  }

  .contact-info-card,
  .contact-social-card,
  .contact-hours-card {
    padding: 20px;
  }

  .contact-info-card h3,
  .contact-social-card h3,
  .contact-hours-card h3 {
    font-size: 18px;
  }

  .info-icon {
    width: 40px;
    height: 40px;
  }

  .info-icon i {
    font-size: 18px;
  }

  .info-content h4 {
    font-size: 13px;
  }

  .info-content span {
    font-size: 13px;
  }

  .social-links-contact {
    gap: 12px;
  }

  .social-links-contact a {
    width: 40px;
    height: 40px;
  }

  .social-links-contact a i {
    font-size: 18px;
  }

  .hours-list li {
    padding: 10px;
    font-size: 13px;
  }

  
   
}

/* ========================================
   RESPONSIVE - PETIT MOBILE
   ======================================== */
@media (max-width: 480px) {
  /* Header */
  .header-container {
    padding: 0 10px;
  }

  .logo-text {
    font-size: 16px;
  }

  .header-actions {
    gap: 15px;
  }

  .action-btn {
    font-size: 12px;
  }

  /* Navigation */
  .nav-menu {
    gap: 10px;
  }

  .nav-menu > li > a {
    font-size: 11px;
    padding: 10px 0;
  }

  /* Grille produits */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .products-section {
    padding: 20px 10px;
  }

  /* Formulaire */
  .form-container {
    padding: 20px;
  }

  .form-control {
    padding: 10px 12px;
  }

  /* Social */
  .social-links-contact a {
    width: 38px;
    height: 38px;
  }

  .social-links-contact a i {
    font-size: 16px;
  }
}

/* ========================================
   ANIMATIONS ET TRANSITIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.product-card {
  animation: fadeIn 0.3s ease;
}

.dropdown-menu {
  animation: slideDown 0.3s ease;
}

.submenu {
  animation: slideDown 0.3s ease;
}

/* ========================================
   UTILITAIRES
   ======================================== */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Affichage et visibilitÃ© */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

/* Margin et Padding */
.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-50 { margin-top: 50px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-50 { margin-bottom: 50px !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }
.px-20 { padding-left: 20px !important; padding-right: 20px !important; }

/* Texte */
.text-center { text-align: center !important; }
.text-left { text-align: right !important; }
.text-right { text-align: left !important; }

.text-dark { color: var(--dark) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: #999 !important; }
.text-white { color: #fff !important; }

.font-bold { font-weight: bold !important; }
.font-600 { font-weight: 600 !important; }
.font-500 { font-weight: 500 !important; }

.text-sm { font-size: 12px !important; }
.text-base { font-size: 14px !important; }
.text-lg { font-size: 16px !important; }
.text-xl { font-size: 20px !important; }
.text-2xl { font-size: 28px !important; }

/* Largeur et hauteur */
.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }
.w-auto { width: auto !important; }

.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

/* Flexbox utilitaires */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: center; justify-content: flex-start; }
.flex-end { display: flex; align-items: center; justify-content: flex-end; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }

.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* Border radius */
.rounded-0 { border-radius: 0 !important; }
.rounded-4 { border-radius: 4px !important; }
.rounded-6 { border-radius: 6px !important; }
.rounded-8 { border-radius: 8px !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-full { border-radius: 50% !important; }

/* Ombre */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-md {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Bordure */
.border { border: 1px solid var(--border) !important; }
.border-top { border-top: 1px solid var(--border) !important; }
.border-bottom { border-bottom: 1px solid var(--border) !important; }
.border-primary { border: 1px solid var(--primary) !important; }

/* Background */
.bg-white { background: #fff !important; }
.bg-light { background: var(--light-bg) !important; }
.bg-dark { background: var(--dark) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-secondary { background: var(--secondary) !important; }

/* OpacitÃ© */
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* Curseur */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }

/* Position */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.sticky { position: sticky !important; }
.fixed { position: fixed !important; }

/* Z-index */
.z-1 { z-index: 1 !important; }
.z-10 { z-index: 10 !important; }
.z-100 { z-index: 100 !important; }
.z-999 { z-index: 999 !important; }
.z-1000 { z-index: 1000 !important; }

/* Transform */
.scale-100 { transform: scale(1) !important; }
.scale-110 { transform: scale(1.1) !important; }
.translate-y-0 { transform: translateY(0) !important; }
.translate-y-2 { transform: translateY(2px) !important; }
.translate-y-minus2 { transform: translateY(-2px) !important; }

/* Transition */
.transition-all { transition: all 0.3s !important; }
.transition-colors { transition: color 0.3s, background-color 0.3s !important; }
.transition-transform { transition: transform 0.3s !important; }

/* List style */
.list-none { list-style: none !important; padding: 0 !important; margin: 0 !important; }

/* Text decoration */
.no-underline { text-decoration: none !important; }
.underline { text-decoration: underline !important; }
.line-through { text-decoration: line-through !important; }

/* Line clamp */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Whitespace */
.whitespace-nowrap { white-space: nowrap !important; }
.whitespace-normal { white-space: normal !important; }
.whitespace-pre { white-space: pre !important; }

/* Vertical align */
.align-top { vertical-align: top !important; }
.align-middle { vertical-align: middle !important; }
.align-bottom { vertical-align: bottom !important; }

/* ========================================
   Ã‰TATS ET INTERACTIONS
   ======================================== */

/* Boutons gÃ©nÃ©riques */
button, [role="button"] {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s;
}

button:disabled, [role="button"][disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

button:focus, [role="button"]:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Liens */
a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  /*color: var(--dark);*/
}

a:active {
  opacity: 0.9;
}

/* Inputs et selects */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1) !important;
}

input:invalid,
select:invalid {
  border-color: var(--secondary) !important;
}

/* ========================================
   COMPOSANTS SPÃ‰CIFIQUES
   ======================================== */

/* Paginaton */
.pagination {
  display: flex;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.pagination li a:hover,
.pagination li.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

/* Badge */
.badge-primary {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-secondary {
  display: inline-block;
  padding: 4px 10px;
  background: var(--secondary);
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-outline {
  display: inline-block;
  padding: 4px 10px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Alert box */
.alert-box {
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.alert-box i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-box.info {
  background: #e3f2fd;
  color: #1565c0;
  border-left: 4px solid #1565c0;
}

.alert-box.success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #155724;
}

.alert-box.warning {
  background: #fff3cd;
  color: #856404;
  border-left: 4px solid #856404;
}

.alert-box.danger {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #721c24;
}

/* Card */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 20px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 20px;
}

.card-footer {
  padding: 20px;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 20px;
  border-top: 1px solid var(--border);
}

.modal-close {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--dark);
}

/* Spinner/Loader */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--light-bg);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Tabs */
.tabs-header {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
}

.tab-link {
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  position: relative;
}

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

.tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tabs-content {
  display: none;
}

.tabs-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ========================================
   BARRE DE PROGRESSION
   ======================================== */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--light-bg);
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 4px;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-bg);
}

.timeline-item {
  margin-bottom: 20px;
  margin-left: 50px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: -35px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--light-bg);
}

.timeline-item-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.timeline-item-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.timeline-item-content {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   ACCORD (ACCORDION)
   ======================================== */
.accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

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

.accordion-header {
  padding: 15px 20px;
  background: var(--light-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  font-weight: 600;
  color: var(--dark);
}

.accordion-header:hover {
  background: #f0f0f0;
}

.accordion-header i {
  font-size: 14px;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header {
  background: var(--primary);
  color: var(--dark);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 15px 20px;
}

.accordion-body-content {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   GALERIE / IMAGES
   ======================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  background: var(--light-bg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: #fff;
  font-size: 30px;
}

/* ========================================
   TABLEAU / TABLE
   ======================================== */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table thead {
  background: var(--light-bg);
}

.table th {
  padding: 15px;
  text-align: right;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 2px solid var(--border);
}

.table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  color: #666;
}

.table tbody tr:hover {
  background: var(--light-bg);
}

.table tbody tr:nth-child(even) {
  background: rgba(254, 195, 65, 0.05);
}

.table-striped tbody tr:nth-child(odd) {
  background: #fff;
}

.table-striped tbody tr:nth-child(even) {
  background: var(--light-bg);
}

.table-hover tbody tr:hover {
  background: rgba(198, 0, 19, 0.05);
  cursor: pointer;
}

/* ========================================
   FORMULAIRE AVANCÃ‰E
   ======================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
  outline: none;
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--light-bg);
  cursor: not-allowed;
}

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

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-check label {
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  color: #666;
}

.form-error {
  color: var(--secondary);
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.form-help {
  color: #999;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--secondary);
}

/* ========================================
   BOUTONS VARIANTES
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Bouton Primaire */
 

.order-confirm-card {
    margin-top: 20px;
    border-radius: 12px;
}

.order-confirm-body {
    padding: 25px;
}

.order-confirm-title {
    margin-bottom: 10px;
}

.order-confirm-text {
    color: #6c757d;
}

.order-number-box {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 10px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-number-icon {
    font-size: 24px;
    color: var(--primary);
}

.order-number-label {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.order-number-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}




.btn-primary:hover:not(:disabled) {
  background: #fec341;
  border-color: #fec341;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 195, 65, 0.3);
}

/* Bouton Secondaire */
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.btn-secondary:hover:not(:disabled) {
  background: #a00010;
  border-color: #a00010;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 0, 19, 0.3);
}

/* Bouton Outline */
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover:not(:disabled) {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover:not(:disabled) {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

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

.btn-outline-secondary:hover:not(:disabled) {
  
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  
  opacity:0.5;
  
}

/* Bouton Ghost */
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--light-bg);
  border-color: transparent;
}

/* Bouton Petit */
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* Bouton Grand */
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Bouton Full Width */
.btn-block {
  width: 100%;
}

/* Bouton IcÃ´ne uniquement */
.btn-icon {
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* ========================================
   NAVIGATION AVANCÃ‰E
   ======================================== */
.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb li a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb li a:hover {
  color: var(--dark);
  text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: #999;
}

/* Pagination avancÃ©e */
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 13px;
  font-weight: 500;
}

.pagination a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.pagination .active span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  font-weight: 600;
}

.pagination .disabled span {
  color: #999;
  cursor: not-allowed;
  opacity: 0.5;
}

/* ========================================
   NOTIFICATION / TOAST
   ======================================== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 3000;
  max-width: 400px;
}

.toast {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

.toast.success {
  border-left: 4px solid #4caf50;
}

.toast.success-icon {
  color: #4caf50;
}

.toast.error {
  border-left: 4px solid var(--secondary);
}

 .toast.error {
  border-left: 4px solid var(--secondary);
}

.toast.error-icon {
  color: var(--secondary);
}

.toast.warning {
  border-left: 4px solid #ff9800;
}

.toast.warning-icon {
  color: #ff9800;
}

.toast.info {
  border-left: 4px solid #2196f3;
}

.toast.info-icon {
  color: #2196f3;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.toast-message {
  font-size: 13px;
  color: #666;
}

.toast-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  margin-left: 10px;
  transition: color 0.3s;
}

.toast-close:hover {
  color: var(--dark);
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast.hide {
  animation: slideOutRight 0.3s ease forwards;
}

/* ========================================
   Ã‰TAPES / STEPPER
   ======================================== */
.stepper {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}

.stepper-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.stepper-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 50px;
  top: 20px;
  width: calc(100% - 70px);
  height: 2px;
  background: var(--light-bg);
  z-index: 1;
}

.stepper-item.active:not(:last-child)::after {
  background: var(--primary);
}
.text-primary-red {
    color: var(--secondary);
    font-weight: 600;  
}

.text-primary-yellow {
    color: var(--primary);
    font-weight: 600;  
}
.stepper-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #999;
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.3s;
}

.stepper-item.active .stepper-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.stepper-item.completed .stepper-number {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
}

.stepper-content {
  flex: 1;
}

.stepper-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  margin-top: -4px;
}

.stepper-description {
  font-size: 13px;
  color: #999;
}

.stepper-item.active .stepper-title {
  color: var(--primary);
}

/* ========================================
   RATING / Ã‰VALUATION
   ======================================== */
.rating {
  display: flex;
  gap: 5px;
  align-items: center;
}

.rating-item {
  font-size: 20px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.3s;
}

.rating-item:hover,
.rating-item.active {
  color: var(--primary);
  transform: scale(1.2);
}

.rating-text {
  margin-left: 10px;
  font-size: 13px;
  color: #999;
}

/* ========================================
   SKELETON / PLACEHOLDER
   ======================================== */
.skeleton {
  background: linear-gradient(90deg, var(--light-bg) 0%, #f0f0f0 50%, var(--light-bg) 100%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-text {
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-line {
  height: 16px;
  margin-bottom: 10px;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  margin-bottom: 15px;
}

.skeleton-button {
  height: 40px;
  width: 100px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========================================
   DIVIDER / SÃ‰PARATEUR
   ======================================== */
.divider {
  /*height: 1px;*/
  background: var(--border);
  margin: 20px 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #999;
  margin: 20px 0;
  font-size: 13px;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ========================================
   TOOLTIP
   ======================================== */
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip {
  position: absolute;
  background: var(--dark);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
  bottom: 130%;
  right: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--dark);
}

.tooltip-container:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.tooltip.top {
  bottom: 130%;
}

.tooltip.bottom {
  bottom: auto;
  top: 130%;
}

.tooltip.bottom::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--dark);
}

.tooltip.left {
  right: auto;
  left: 130%;
  bottom: 50%;
  transform: translateY(50%);
}

.tooltip.right::after {
  right: auto;
  left: -10px;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-right-color: var(--dark);
}

.tooltip.right {
  right: 130%;
  bottom: 50%;
  transform: translateY(50%);
}

.tooltip.left::after {
  right: auto;
  left: auto;
  bottom: auto;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-left-color: var(--dark);
}

/* ========================================
   POPOVER
   ======================================== */
.popover-trigger {
  cursor: pointer;
  text-decoration: underline dotted;
  color: var(--primary);
}

.popover {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  z-index: 1000;
  display: none;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popover.active {
  display: block;
}

.popover-header {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popover-body {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.popover-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}

/* ========================================
   DRAG AND DROP
   ======================================== */
.drag-item {
  cursor: grab;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s;
  user-select: none;
}

.drag-item:active {
  cursor: grabbing;
}

.drag-item.dragging {
  opacity: 0.5;
  transform: scale(0.95);
}

.drag-item.drag-over {
  border: 2px dashed var(--primary);
  background: rgba(254, 195, 65, 0.1);
}

.drag-handle {
  cursor: grab;
  color: #999;
  margin-right: 10px;
}

.drag-handle:active {
  cursor: grabbing;
}

/* ========================================
   SEARCH BOX AVANCÃ‰E
   ======================================== */
.search-advanced {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.search-button {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: all 0.3s;
}

.search-button:hover {
  color: var(--primary);
}

.search-clear {
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  display: none;
}

.search-input:not(:placeholder-shown) ~ .search-clear {
  display: block;
}

.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-results.active {
  display: block;
}

.search-result-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.search-result-item:hover {
  background: var(--light-bg);
  color: var(--primary);
}

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

/* ========================================
   COMPARAISON DE PRODUITS
   ======================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: right;
  border-right: 1px solid var(--border);
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: none;
}

.comparison-table thead {
  background: var(--primary);
  color: var(--dark);
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--light-bg);
}

.comparison-table .feature-name {
  font-weight: 600;
  color: var(--dark);
  min-width: 200px;
}

.comparison-checkmark {
  color: #4caf50;
  font-size: 18px;
}

.comparison-cross {
  color: var(--secondary);
  font-size: 18px;
}

/* ========================================
   FILTRES
   ======================================== */
.filter-group {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-title i {
  color: var(--primary);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
}

 

/* ========================================
   PAGE PRODUITS PAR CATÃ‰GORIE - FILTRES
   ======================================== */

.products-filter-section {
  padding: 20px 0; 
  min-height: 600px;
}

.products-filter-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* SIDEBAR FILTRES */
.filters-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-group {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.filter-title i {
  color: var(--primary);
  font-size: 14px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-item input[type="radio"],
.filter-item input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.filter-item label {
  cursor: pointer;
  flex: 1;
  font-size: 14px;
  color: #666;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.filter-item label:hover {
  color: var(--primary);
}

.count {
  font-size: 12px;
  color: #999;
  background: var(--light-bg);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 5px;
}

.filter-separator {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* FILTRE PRIX */
.price-filter {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-inputs {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}

.price-input {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.3s;
}

.price-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.price-separator {
  color: #999;
  font-weight: 600;
  align-self: flex-end;
  padding-bottom: 6px;
}

.price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--light-bg);
  border-radius: 6px;
  font-size: 13px;
  flex-wrap: wrap;
}

.price-value {
  font-weight: 600;
  color: var(--dark);
}

.price-currency {
  color: #999;
  font-size: 11px;
}

.price-to {
  color: #999;
  font-size: 12px;
}

/* BOUTON RÃ‰INITIALISER */
#btn-reset-filters {
  margin-top: 20px;
  padding: 10px 15px;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#btn-reset-filters:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

#btn-reset-filters i {
  font-size: 12px;
}

/* CONTENEUR PRODUITS */
.products-container {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

 
   
/* GRILLE PRODUITS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* MESSAGE AUCUN PRODUIT */
.no-products-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: var(--light-bg);
  border-radius: 12px;
  border: 2px dashed var(--border);
}

.no-products-message i {
  font-size: 48px;
  color: #999;
  margin-bottom: 15px;
  display: block;
}

.no-products-message p {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

 /* âœ… Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.products-count-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* âœ… Sort Options - IMPORTANT */
.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;  /* âœ… EmpÃªche le saut de ligne */
    flex-shrink: 0;       /* âœ… EmpÃªche la compression */
}

.sort-label {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;  /* âœ… Pas de saut de ligne */
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    min-width: 150px;     /* âœ… RÃ©duit pour laisser de la place */
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #007bff;
}

/* âœ… Responsive - Sauts de ligne acceptÃ©s sur mobile */
@media (max-width:600px) {
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-options {
        width: 100%;
        white-space: normal;
    }

    .sort-select {
        width: calc(100% - 100px); /* Ajuste selon l'espace du label */
    }
}

/* ========================================
   RESPONSIVE - TABLETTE
   ======================================== */
@media (max-width:600px) {
  .products-filter-section {
    padding: 30px 0;
  }

  .products-filter-wrapper {
    gap: 20px;
  }

  .filters-sidebar {
    padding: 15px;
  }

  .filter-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .filter-list {
    gap: 8px;
  }

  .filter-item label {
    font-size: 13px;
  }

  .count {
    padding: 2px 6px;
    font-size: 11px;
  }

  .filter-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .filter-separator {
    margin: 15px 0;
  }

  .price-filter {
    gap: 12px;
  }

  .price-input-group label {
    font-size: 11px;
  }

  .price-input {
    padding: 7px 8px;
    font-size: 12px;
  }

  .price-display {
    padding: 8px;
    font-size: 12px;
  }

  .price-value {
    font-size: 13px;
  }

  .products-container {
    padding: 0 2px;
  }

  .products-count-title {
    font-size: 18px;
  }

  .sort-label {
    font-size: 13px;
  }

  .sort-select {
    padding: 7px 10px;
    font-size: 12px;
    min-width: 140px;
  }

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

  .no-products-message {
    padding: 40px 15px;
  }

  .no-products-message i {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .no-products-message p {
    font-size: 14px;
  }

  #btn-reset-filters {
    margin-top: 15px;
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 480px) {
  .products-filter-section {
    padding: 20px 0;
  }

  .products-filter-wrapper {
    gap: 15px;
  }

  .filters-sidebar {
    padding: 12px;
  }

  .filter-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .filter-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-item label {
    font-size: 12px;
  }

  .filter-group {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .price-input {
    padding: 6px 8px;
    font-size: 11px;
  }

  .price-display {
    padding: 8px;
    font-size: 11px;
    gap: 4px;
  }

  .products-container {
    padding: 15px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .products-count-title {
    font-size: 16px;
  }

  .sort-options {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .sort-select {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .no-products-message {
    padding: 30px 10px;
    border-radius: 8px;
  }

  .no-products-message i {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .no-products-message p {
    font-size: 13px;
  }

  #btn-reset-filters {
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.3s ease;
}

.filter-item {
  transition: all 0.3s ease;
}

.filter-item input:checked + label {
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   Ã‰TATS ET INTERACTIONS
   ======================================== */
.filter-item input:checked + label {
  color: var(--primary);
  font-weight: 600;
}

.filter-item input:disabled + label {
  color: #999;
  opacity: 0.6;
  cursor: not-allowed;
}

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

.btn-cart:hover:not(:disabled) {
  background: #a00010;
  transform: translateY(-2px);
}

.btn-details:hover {
  background: var(--dark);
  color: #fff;
}

/* ==========================================================================
   STYLES COMPLETS ARABE (RTL) - PAGE PRODUITS/FILTRES
   ========================================================================== */

/* ========== VARIABLES ARABE ========== */
/* ========== STRUCTURE PRINCIPALE RTL ========== */
/* ========== BREADCRUMB ARABE ========== */
/* ========== SIDEBAR FILTRES (DROITE EN ARABE) ========== */
/* ========== FILTRE PRIX ARABE (Max â†’ Min) ========== */
/* ========== HEADER PRODUITS ARABE ========== */
/* ========== GRILLE PRODUITS ========== */
/* ========== CARTE PRODUIT ARABE ========== */
/* ========== RESPONSIVE ARABE ========== */
@media (max-width: 992px) {
    }

@media (max-width:600px) {
    }

@media (max-width: 480px) {
    }

/* ========== SCROLLBAR ARABE ========== */
/* ========================================
   FOOTER COMPLET - 3 COLONNES + BOTTOM BAR
   ======================================== */
.footer {
  background: var(--dark);
  color: #fff;
  margin-top: 60px;
}

.footer-main {
  padding: 25px 98px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-main .footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  margin: 12px;
}

.footer-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
  position: relative; 
}

.footer-title::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 2px; 
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Footer Bottom - 3 sections alignÃ©es */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 10px 90px;
}

.footer-bottom-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

/* Gauche : Copyright */
.footer-left {
  font-size: 14px;
  color: #ccc;
  text-align: left;
}

/* Centre : Developed by */
.footer-center { 
  text-align: center;
  margin: 12px;
}

.developed-by {
  font-size: 13px;
  color: #999;
}

.developer-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.developer-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Droite : RÃ©seaux sociaux */
.social-links {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(254, 195, 65, 0.3);
}

.social-links a i {
  font-size: 18px;
  color: var(--dark);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(254, 195, 65, 0.5);
}

.social-links a:hover i {
  color: var(--primary);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-main .footer-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}

@media (max-width:600px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-main .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-bottom-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .footer-left {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-left,
  .footer-center {
    font-size: 13px;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }

  .social-links a i {
    font-size: 16px;
  }
}

.fournisseurs-section {
    padding: 50px 0;
    background: #fff;
}
 
 

.breadcrumb-content nav a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-content nav a:hover {
    color: var(--dark);
}

.separator {
    margin: 0 8px;
    color: #999;
}

.current {
    color: var(--dark);
    font-weight: 600;
}

/* Header Section */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 5px;
}

.section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille Fournisseurs */
.fournisseurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Carte Fournisseur */
.fournisseur-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fournisseur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

/* Logo */
.fournisseur-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
}

.fournisseur-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
    border-radius: 12px;
}

.logo-placeholder i {
    font-size: 60px;
    color: var(--dark);
}

/* Informations */
.fournisseur-info {
    width: 100%;
}

.fournisseur-nom {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 20px;
}

.fournisseur-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    text-align: right;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s;
}

/*
.contact-item:hover {
    background: #e8f4f8;
    transform: translateX(5px);
}*/

.contact-item i {
    font-size: 16px;
    color: var(--primary);
    min-width: 20px;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    word-break: break-all;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* Bouton */
.btn-voir-produits {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(198, 0, 19, 0.3);
}

.btn-voir-produits:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 0, 19, 0.4);
}

.btn-voir-produits i {
    font-size: 16px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Text Center */
.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.py-5 {
    padding: 3rem 0;
}

.mt-3 {
    margin-top: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .fournisseurs-section {
        padding: 30px 0;
    }

    .breadcrumb-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumb-content h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .fournisseurs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fournisseur-card {
        padding: 25px 20px;
    }

    .fournisseur-logo {
        width: 120px;
        height: 120px;
    }

    .logo-placeholder i {
        font-size: 50px;
    }

    .fournisseur-nom {
        font-size: 20px;
    }

    .contact-item {
        padding: 8px;
    }

    .contact-item a {
        font-size: 13px;
    }

    .btn-voir-produits {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-content h1 {
        font-size: 18px;
    }

    .section-title {
        font-size: 22px;
    }

    .fournisseur-logo {
        width: 100px;
        height: 100px;
    }

    .fournisseur-nom {
        font-size: 18px;
    }
}
.section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille Livreurs */
.livreurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Carte Livreur */
.livreur-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/*
.livreur-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}


.livreur-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}*/

/* Logo */
.livreur-logo {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--light-bg);
    border-radius: 50%;
    padding: 20px;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: all 0.3s;
}

.livreur-card:hover .livreur-logo {
    border-color: var(--primary);
    transform: scale(1.05);
}

.livreur-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
    border-radius: 50%;
}

.logo-placeholder i {
    font-size: 50px;
    color: var(--dark);
}

/* Badge vÃ©rifiÃ© */
.livreur-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    background: #e8f5e9;
    color: #27ae60;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.livreur-badge i {
    font-size: 14px;
}

/* Informations */
.livreur-info {
    width: 100%;
}

.livreur-nom {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 20px;
}

.livreur-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    text-align: right;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s;
}

/*
.contact-item:hover {
    background: #e8f4f8;
    transform: translateX(5px);
}*/


.contact-item i {
    font-size: 14px;
    color: var(--primary);
    min-width: 18px;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    word-break: break-all;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* Services */
.livreur-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.service-item i {
    font-size: 16px;
    color: var(--secondary);
    min-width: 20px;
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.py-5 {
    padding: 3rem 0;
}

.mt-3 {
    margin-top: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .livreurs-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .livreurs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .livreur-card {
        padding: 25px 20px;
    }

    .livreur-logo {
        width: 120px;
        height: 120px;
    }

    .logo-placeholder i {
        font-size: 45px;
    }

    .livreur-nom {
        font-size: 20px;
    }

    .contact-item {
        padding: 7px 10px;
    }

    .contact-item a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }

    .livreur-logo {
        width: 100px;
        height: 100px;
    }

    .livreur-nom {
        font-size: 18px;
    }
}

.error-404-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.error-404-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Animation 404 */
 

.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.number-4,
.number-0 {
    font-size: 120px;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 3px 3px 0 var(--secondary);
    animation: bounce 2s infinite;
}

.number-0 {
    position: relative;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 3s infinite;
}

.number-0 i {
    font-size: 60px;
    color: var(--dark);
}

/* Texte */
.error-404-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
}

.error-404-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Suggestions */
.error-404-suggestions {
    margin-bottom: 50px;
}

.suggestions-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
}

.suggestions-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-suggestion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-suggestion.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
}

.btn-suggestion.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 0, 19, 0.3);
   
}

.btn-suggestion.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
    color: var(--dark);
}

.btn-suggestion.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 195, 65, 0.3);
     color: #fec341;
}

.btn-suggestion.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-suggestion.btn-outline:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-3px);
}

/* Recherche */
.error-404-search {
    margin-bottom: 50px;
}

.search-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.search-form-404 {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.search-input-404 {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-input-404:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.search-btn-404 {
    padding: 14px 30px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn-404:hover {
    background: #fec341;
    transform: translateY(-2px);
}

/* Liens utiles */
.error-404-links {
    margin-top: 40px;
}

.links-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
}

.useful-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.useful-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.useful-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.useful-links a i {
    font-size: 16px;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .error-404-section {
        padding: 50px 0;
    }

    .error-number {
        gap: 5px;
    }

    .number-4,
    .number-0 {
        font-size: 80px;
    }

    .number-0 {
        width: 100px;
        height: 100px;
    }

    .number-0 i {
        font-size: 45px;
    }

    .error-404-title {
        font-size: 28px;
    }

    .error-404-description {
        font-size: 16px;
    }

    .suggestions-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-suggestion {
        width: 100%;
        justify-content: center;
    }

    .search-form-404 {
        flex-direction: column;
        width: 100%;
    }

    .search-btn-404 {
        width: 100%;
        justify-content: center;
    }

    .useful-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .number-4,
    .number-0 {
        font-size: 60px;
    }

    .number-0 {
        width: 80px;
        height: 80px;
    }

    .number-0 i {
        font-size: 35px;
    }

    .error-404-title {
        font-size: 24px;
    }

    .error-404-description {
        font-size: 15px;
    }
}

@media (max-width:600px) {
    }

.inscription-section {
    padding: 50px 0;
    background: var(--light-bg);
}

.inscription-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Formulaire */
.inscription-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.inscription-header {
    text-align: center;
    margin-bottom: 35px;
}

.inscription-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
}

.inscription-header p {
    font-size: 15px;
    color: #666;
}

/* Form styles */
.inscription-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
    font-size: 14px;
}

.required {
    color: var(--secondary);
    font-weight: bold;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.form-control.is-invalid {
    border-color: var(--secondary);
}

.error-message {
    font-size: 12px;
    color: var(--secondary);
    margin-top: 5px;
}

select.form-control {
    cursor: pointer;
    background: #fff;
}

select.form-control:disabled {
    background: var(--light-bg);
    cursor: not-allowed;
    opacity: 0.6;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

 

/* Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}


.form-check-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
}

.form-check-label a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Bouton submit */
.btn-submit-inscription {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(198, 0, 19, 0.3);
}

.btn-submit-inscription:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 0, 19, 0.4);
}

.btn-submit-inscription i {
    font-size: 18px;
}

/* Footer form */
.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.form-footer p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.form-footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert i {
    font-size: 18px;
    margin-top: 2px;
}

.alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

 

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   SIDEBAR AVANTAGES
   ======================================== */
.inscription-sidebar {
    display: flex;
    flex-direction: column;
}

.avantages-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.avantages-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
}

.avantage-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.avantage-item:last-child {
    margin-bottom: 0;
}

.avantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #fec341 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avantage-icon i {
    font-size: 24px;
    color: var(--dark);
}

.avantage-content h4 {
    font-size: 12px;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 5px;
}

.avantage-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .inscription-wrapper {
        grid-template-columns: 1fr;
    }

    .avantages-card {
        position: relative;
        top: 0;
    }
}

@media (max-width:600px) {
    .inscription-section {
        padding: 30px 0;
    }

    .inscription-form-container {
        padding: 30px 20px;
    }

    .inscription-header h2 {
        font-size: 24px;
    }

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

    .btn-submit-inscription {
        width: 100%;
    }

    .avantages-card {
        padding: 25px 20px;
    }
}

.form-check-input:checked {
  background-color:#fec341 !important;
  border-color: #fec341 !important
  
}

/* ========================================
   PAGE VÃ‰RIFICATION EMAIL
   ======================================== */
.verification-email-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.verification-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* IcÃ´ne email animÃ©e */
.verification-icon {
    position: relative;
    width: 120px;
   /* height: 120px;*/
    margin: 0 auto 30px;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-icon 2s infinite;
}

.icon-circle i {
    font-size: 55px;
    color: var(--dark);
}

.icon-check {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    animation: bounce-in 0.6s ease;
}

.icon-check i {
    font-size: 18px;
    color: #fff;
}

/* Titre */
.verification-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
}

.verification-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Box email */
.verification-email-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #27ae60;
    border-radius: 10px; 
    font-size: 18px;
    color: var(--dark);
}

.verification-email-box i {
    font-size: 20px;
    color: var(--secondary);
}

/* Ã‰tapes */
.verification-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 150px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s;
}

.step-item:hover .step-number {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
}

.step-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.step-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.step-arrow {
    font-size: 24px;
    color: var(--primary);
}

/* Info box */
.verification-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: #fff3cd;
    border-left: 4px solid var(--warning);
    border-radius: 8px;
    margin: 30px 0;
    text-align: right;
}

.verification-info i {
    font-size: 20px;
    color: #856404;
    margin-top: 2px;
    flex-shrink: 0;
}

.verification-info p {
    font-size: 14px;
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

/* Actions */
.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 35px;
}

.resend-text {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.resend-form {
    margin: 0;
}

.btn-resend {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(254,195,65,0.3);
}

.btn-resend:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254,195,65,0.4);
}

.btn-resend i {
    font-size: 16px;
}

/* Divider */
.divider {
    width: 100%;
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    /*top: 50%;
    height: 1px;*/
    background: var(--border);
}

.divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
}

/* Liens */
.btn-login-link,
.btn-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 6px;
}

.btn-login-link:hover,
.btn-home-link:hover {
    background: var(--light-bg);
    color: var(--dark);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Animations */
@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .verification-email-section {
        padding: 20px 20px;
    }

    .verification-content {
        padding: 40px 25px;
    }

    .verification-icon {
        width: 100px;
        height: 100px;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
    }

    .icon-circle i {
        font-size: 45px;
    }

    .icon-check {
        width: 35px;
        height: 35px;
    }

    .icon-check i {
        font-size: 16px;
    }

    .verification-title {
        font-size: 26px;
    }

    .verification-description {
        font-size: 15px;
    }

    .verification-email-box {
        font-size: 16px;
        padding: 12px 20px;
        flex-direction: column;
        gap: 8px;
    }

    .verification-steps {
        flex-direction: column;
        gap: 25px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step-item {
        max-width: 100%;
    }

    .verification-info {
        padding: 12px 15px;
    }

    .btn-resend {
        width: 100%;
        justify-content: center;
    }

       .btn-login-link,
    .btn-home-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .verification-title {
        font-size: 22px;
    }

    .verification-description {
        font-size: 14px;
    }

    .verification-email-box {
        font-size: 14px;
        padding: 10px 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-item h4 {
        font-size: 13px;
    }

    .step-item p {
        font-size: 12px;
    }

    .verification-info {
        font-size: 13px;
    }
}

@media (max-width:600px) {
    }

/* ========================================
   PAGE ACTIVATION COMPTE
   ======================================== */
.activation-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.activation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.activation-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

/* IcÃ´ne succÃ¨s avec animation */
.activation-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
}

.activation-icon.success .icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: success-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(39,174,96,0.4);
    position: relative;
    z-index: 2;
}

.activation-icon.success .icon-circle i {
    font-size: 60px;
    color: #fff;
    animation: check-bounce 0.8s ease 0.3s;
}

/* Particules animÃ©es */
.success-particles {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.success-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particle-burst 1s ease-out forwards;
}

.success-particles span:nth-child(1) {
    top: 0;
    right: 50%;
    animation-delay: 0.1s;
}

.success-particles span:nth-child(2) {
    top: 50%;
    left: 0;
    animation-delay: 0.2s;
}

.success-particles span:nth-child(3) {
    bottom: 0;
    right: 50%;
    animation-delay: 0.3s;
}

/* Titre */
.activation-title {
    font-size: 32px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 15px;
    animation: slide-up 0.6s ease 0.4s backwards;
}

.activation-description {
    font-size: 17px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.8;
    animation: slide-up 0.6s ease 0.5s backwards;
}

.activation-description strong {
    color: var(--dark);
    font-weight: 600;
}

/* Info compte */
.account-info-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--primary);
    margin-bottom: 40px;
    animation: slide-up 0.6s ease 0.6s backwards;
}

.info-item {
    display: flex;
    align-items: center;
   /* justify-content: center;*/
    gap: 12px;
    font-size: 15px;
    color: var(--dark);
}

.info-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 16px;
    color: var(--dark);
}

/* Prochaines Ã©tapes */
.next-steps {
    margin-bottom: 35px;
    animation: slide-up 0.6s ease 0.7s backwards;
}

.next-steps h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 25px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.next-step-card {
    padding: 25px 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.next-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(254,195,65,0.25);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.next-step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-icon i {
    font-size: 28px;
    color: var(--dark);
}

.next-step-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.next-step-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Bouton continuer */
.activation-actions {
    margin-top: 30px;
    animation: slide-up 0.6s ease 0.8s backwards;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(198,0,19,0.35);
}

.btn-continue:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198,0,19,0.45);
}

.btn-continue i {
    font-size: 20px;
    transition: transform 0.3s;
}

.btn-continue:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes success-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes check-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes particle-burst {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx, 50px), var(--ty, -50px));
        opacity: 0;
    }
}

.success-particles span:nth-child(1) {
    --tx: 0px;
    --ty: -80px;
}

.success-particles span:nth-child(2) {
    --tx: 80px;
    --ty: 0px;
}

.success-particles span:nth-child(3) {
    --tx: 0px;
    --ty: 80px;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .activation-section {
        padding: 40px 20px;
    }

    .activation-content {
        padding: 40px 25px;
    }

    .activation-icon {
        width: 100px;
        height: 100px;
    }

    .activation-icon.success .icon-circle {
        width: 100px;
        height: 100px;
    }

    .activation-icon.success .icon-circle i {
        font-size: 50px;
    }

    .activation-title {
        font-size: 26px;
    }

    .activation-description {
        font-size: 15px;
    }

    .account-info-box {
        padding: 20px 15px;
        gap: 12px;
    }

    .info-item {
        font-size: 14px;
    }

    .info-icon {
        width: 32px;
        height: 32px;
    }

    .info-icon i {
        font-size: 14px;
    }

    .next-steps h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .next-step-card {
        padding: 20px 15px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-icon i {
        font-size: 24px;
    }

    .next-step-card h4 {
        font-size: 15px;
    }

    .next-step-card p {
        font-size: 12px;
    }

    .btn-continue {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .activation-content {
        padding: 35px 20px;
    }

    .activation-icon {
        width: 90px;
        height: 90px;
    }

    .activation-icon.success .icon-circle {
        width: 90px;
        height: 90px;
    }

    .activation-icon.success .icon-circle i {
        font-size: 45px;
    }

    .activation-title {
        font-size: 22px;
    }

    .activation-description {
        font-size: 14px;
    }

    .account-info-box {
        padding: 18px 12px;
    }

    .next-steps h3 {
        font-size: 18px;
    }

    .btn-continue {
        padding: 14px 25px;
        font-size: 15px;
    }
}

/* Police arabe */
@media (max-width:600px) {
    }

/* ========================================
   PAGE ACTIVATION COMPTE
   ======================================== */
.activation-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.activation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* IcÃ´ne succÃ¨s */
.activation-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
}

.activation-icon.success .icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: success-bounce 0.6s ease;
    box-shadow: 0 8px 25px rgba(39,174,96,0.3);
}

.activation-icon.success .icon-circle i {
    font-size: 60px;
    color: #fff;
}

/* Titre */
.activation-title {
    font-size: 32px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 15px;
}

.activation-description {
    font-size: 17px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.8;
}

.activation-description strong {
    color: var(--dark);
    font-weight: 600;
}

/* Info compte */
.account-info-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 2px solid var(--primary);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    gap: 12px;
    font-size: 15px;
    color: var(--dark);
}

.info-item i {
    font-size: 18px;
    color: var(--primary);
    width: 24px;
}

/* Prochaines Ã©tapes */
.next-steps {
    margin-bottom: 35px;
}

.next-steps h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 25px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.next-step-card {
    padding: 25px 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.next-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(254,195,65,0.2);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 28px;
    color: var(--dark);
}

.next-step-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.next-step-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Bouton continuer */
.activation-actions {
    margin-top: 30px;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(198,0,19,0.3);
}

.btn-continue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198,0,19,0.4);
}

.btn-continue i {
    font-size: 18px;
}

/* Animations */
@keyframes success-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .activation-section {
        padding: 40px 20px;
    }

    .activation-content {
        padding: 40px 25px;
    }

    .activation-icon {
        width: 100px;
        height: 100px;
    }

    .activation-icon.success .icon-circle {
        width: 100px;
        height: 100px;
    }

    .activation-icon.success .icon-circle i {
        font-size: 50px;
    }

    .activation-title {
        font-size: 26px;
    }

    .activation-description {
        font-size: 15px;
    }

    .account-info-box {
        padding: 20px 15px;
    }

    .info-item {
        font-size: 14px;
    }

    .next-steps h3 {
        font-size: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .next-step-card {
        padding: 20px 15px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-icon i {
        font-size: 24px;
    }

    .btn-continue {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PAGE CONNEXION
   ======================================== */
.login-section {
    padding: 50px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Formulaire */
.login-form-container {
    background: #fff;
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.login-icon i {
    font-size: 40px;
    color: var(--dark);
}

.login-header h2 {
    font-size: 26px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
}

.login-header p {
    font-size: 15px;
    color: #666;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
    font-size: 14px;
}

.form-control {
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(254, 195, 65, 0.1);
}

.form-control.is-invalid {
    border-color: var(--secondary);
}

.error-message {
    font-size: 12px;
    color: var(--secondary);
    margin-top: 5px;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

 

/* Options form */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-check-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin: 0;
}

.forgot-password-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: var(--dark);
    text-decoration: underline;
}

/* Bouton submit */
.btn-submit-login {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(198, 0, 19, 0.35);
    margin-top: 10px;
}

.btn-submit-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198, 0, 19, 0.45);
}

.btn-submit-login i {
    font-size: 18px;
}

/* Footer form */
.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.form-footer p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.form-footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slide-down 0.3s ease;
}

.alert i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

 

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========================================
   SIDEBAR
   ======================================== */
.login-sidebar {
    background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
    border-radius: 16px;
    padding: 45px 35px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.sidebar-content h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.avantage-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 5px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.avantage-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.avantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avantage-icon i {
    font-size: 24px;
    color: var(--dark);
}

.avantage-content h4 {
    font-size: 12px;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 5px;
}

.avantage-content p {
    font-size: 13px;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.sidebar-image {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .login-sidebar {
        order: -1;
        padding: 35px 30px;
    }

    .sidebar-image {
        display: none;
    }
}

@media (max-width:600px) {
    .login-section {
        padding: 30px 0;
    }

    .login-form-container {
        padding: 35px 25px;
    }

    .login-icon {
        width: 70px;
        height: 70px;
    }

    .login-icon i {
        font-size: 35px;
    }

    .login-header h2 {
        font-size: 23px;
    }

    .login-header p {
        font-size: 14px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-control {
        padding: 12px 14px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-submit-login {
        width: 100%;
    }

    .login-sidebar {
        padding: 30px 20px;
    }

    .sidebar-content h3 {
        font-size: 20px;
    }

    .avantage-item {
        padding: 15px;
    }

    .avantage-icon {
        width: 45px;
        height: 45px;
    }

    .avantage-icon i {
        font-size: 20px;
    }

    .avantage-content h4 {
        font-size: 15px;
    }

    .avantage-content p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .login-form-container {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 20px;
    }

    .btn-submit-login {
        padding: 14px 25px;
        font-size: 15px;
    }
}

/* Animations */
@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   PAGE PROFIL
   ======================================== */
.profil-section {
    padding: 50px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.profil-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 29px;
    margin-top: 25px;
}

/* ========================================
   SIDEBAR
   ======================================== */
.profil-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profil-user-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.user-avatar i {
    font-size: 45px;
    color: var(--dark);
}

.profil-user-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 5px;
}

.profil-user-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Navigation */
.profil-nav {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.profil-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.profil-nav-link:last-child {
    margin-bottom: 0;
}

.profil-nav-link i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
}

.profil-nav-link:hover,
.profil-nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    color: var(--dark);
    font-weight: 600;
}

.profil-nav-link:hover i,
.profil-nav-link.active i {
    color: var(--dark);
}

/* Bouton dÃ©connexion */
.mt-3 {
    margin-top: 1rem;
}

.btn-logout {
    width: 100%;
    padding: 10px 20px;
    background: var(--secondary);
    color: var(--light-bg);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.btn-logout:hover {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198,0,19,0.3);
}

/* ========================================
   CONTENU PRINCIPAL
   ======================================== */
.profil-content {
    display: flex;
    flex-direction: column;
}

.profil-tab {
    display: none;
    animation: fadeIn 0.3s ease;
}

.profil-tab.active {
    display: block;
}

.profil-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card-header {
    padding: 25px 30px;
    background: var(--light-bg);
    border-bottom: 2px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.card-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--primary);
}

/* Form */
.profil-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
    font-size: 14px;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.form-control.is-invalid {
    border-color: var(--secondary);
}

.form-control:disabled,
.form-control:read-only {
    background: var(--light-bg);
   /* cursor: not-allowed;*/
    opacity: 0.7;
}

.error-message {
    font-size: 12px;
    color: var(--secondary);
    margin-top: 5px;
}

.form-text {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-text i {
    font-size: 11px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    cursor: pointer;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

 

.toggle-password:hover {
    color: var(--primary);
}

/* Boutons */
.btn-submit-profil {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(198, 0, 19, 0.3);
    align-self: flex-start;
}

.btn-submit-profil:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 0, 19, 0.4);
}

.btn-add-address {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254,195,65,0.3);
}

 

.btn-cancel {
     
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--border);
    color: #000; 
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.btn-cancel:hover {
    background: var(--light-bg);
    border-color: var(--dark);
    box-shadow: 0 4px 12px rgba(254,195,65,0.3);
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========================================
   ADRESSES
   ======================================== */
.address-form-container {
    padding: 25px 30px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.3s ease;
}

.addresses-list {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.address-card.default {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.address-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.address-libelle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--dark);
}

.address-libelle i {
    color: var(--primary);
}

.badge-default {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.address-body {
    margin-bottom: 15px;
}

.address-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.5;
}

.address-body p:first-child {
    font-weight: 600;
    color: var(--dark);
}

.address-body i {
    color: var(--primary);
    margin-right: 5px;
}

.address-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-default {
    background: var(--primary);
    color: var(--dark);
}

.btn-default:hover {
    background: #e5b039;
}

.btn-edit {
    background: #17a2b8;
    color: #fff;
}

.btn-edit:hover {
    background: #138496;
}

.btn-delete {
    background: var(--secondary);
    color: #fff;
}

.btn-delete:hover {
    background: #a00010;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

.empty-state p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.btn-add-first {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-add-first:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254,195,65,0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .profil-wrapper {
        grid-template-columns: 1fr;
    }

    .profil-sidebar {
        order: -1;
    }
}

@media (max-width:600px) {
    .profil-section {
        padding: 30px 0;
    }

    .profil-user-card {
        padding: 25px 15px;
    }

    .user-avatar {
        width: 70px;
        height: 70px;
    }

    .user-avatar i {
        font-size: 38px;
    }

    .profil-user-card h3 {
        font-size: 16px;
    }

    .profil-nav-link {
        padding: 12px 14px;
        font-size: 13px;
    }

    .card-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .card-header h3 {
        font-size: 18px;
    }

    .profil-form {
        padding: 20px;
    }

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

    .btn-submit-profil {
        width: 100%;
    }

    .btn-add-address {
        width: 100%;
        justify-content: center;
    }

    .address-form-container {
        padding: 20px;
    }

    .addresses-list {
        grid-template-columns: 1fr;
        padding: 15px;
    }

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

    .btn-action {
        width: 100%;
        justify-content: center;
    }

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

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* ========================================
   PAGE FAVORIS
   ======================================== */
.favoris-section {
    padding: 50px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

/* Header */
.favoris-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 25px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    flex-wrap: wrap;
    gap: 20px;
}

.favoris-title-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.favoris-title-section h2 i {
    color: var(--secondary);
}

.favoris-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.btn-clear-favoris {
    padding: 12px 25px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-clear-favoris:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198,0,19,0.3);
}

/* Grille favoris */
.favoris-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Carte produit favoris */
.favoris-product-card {
    position: relative;
}

.btn-remove-favoris {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--secondary);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-remove-favoris:hover {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1);
}

/* Stock */
.product-stock {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

.in-stock {
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.out-of-stock {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    background: var(--primary) !important;
}

.out-of-stock-detail {
    color: #fff;
  display: inline;
  align-items: center;
  gap: 5px;
  justify-content: center;
  background: var(--secondary) !important;
  border-radius: 12px;
  padding: 5px;
  font-weight: 700;
}

/* Date ajout */
.favoris-date {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Empty state */
.empty-favoris {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.empty-icon i {
    font-size: 60px;
    color: #ccc;
}

.empty-favoris h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 12px;
}

.empty-favoris p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(198,0,19,0.3);
}

.btn-shop-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198,0,19,0.4);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert i {
    font-size: 18px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .favoris-section {
        padding: 30px 0;
    }

    .favoris-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .favoris-title-section h2 {
        font-size: 24px;
    }

    .btn-clear-favoris {
        width: 100%;
        justify-content: center;
    }

    .favoris-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .empty-icon {
        width: 100px;
        height: 100px;
    }

    .empty-icon i {
        font-size: 50px;
    }

    .empty-favoris h3 {
        font-size: 20px;
    }

    .empty-favoris p {
        font-size: 15px;
    }

        .btn-shop-now {
        width: 100%;
        justify-content: center;
    }
}

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

    .favoris-title-section h2 {
        font-size: 20px;
    }
}

@media (max-width:600px) {
    }

/* ========================================
   NOTIFICATION FAVORIS CUSTOM
   ======================================== */
.favoris-notification {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
    min-width: 200px;
}

.favoris-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* FlÃ¨che pointant vers le bouton */
.favoris-notification::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.05);
}

/* Types de notification */
.favoris-notification.added {
    border-left: 4px solid #27ae60;
    color: #27ae60;
}

.favoris-notification.added i {
    color: #27ae60;
}

.favoris-notification.removed {
    border-left: 4px solid #3498db;
    color: #3498db;
}

.favoris-notification.removed i {
    color: #3498db;
}

.favoris-notification.error {
    border-left: 4px solid var(--secondary);
    color: var(--secondary);
}

.favoris-notification.error i {
    color: var(--secondary);
}

.favoris-notification i {
    font-size: 16px;
    flex-shrink: 0;
}

.favoris-notification span {
    flex: 1;
}

/* Responsive */
@media (max-width:600px) {
    .favoris-notification {
        left: 50%;
        transform: translateX(50%) translateY(-10px);
        min-width: 180px;
        font-size: 12px;
        padding: 10px 14px;
    }

    .favoris-notification.show {
        transform: translateX(50%) translateY(0);
    }

    .favoris-notification::before {
        left: 50%;
        transform: translateX(50%) rotate(45deg);
    }
}

/* RTL */
@media (max-width:600px) {
    }

/* ========================================
   PAGE MOT DE PASSE OUBLIÃ‰
   ======================================== */
.forgot-password-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.forgot-password-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

.forgot-password-content {
    background: #fff;
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-align: center;
    margin: 40px 0;
}

/* IcÃ´ne */
.forgot-icon {
    margin-bottom: 25px;
}

.icon-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse-icon 2s infinite;
}

.icon-circle i {
    font-size: 42px;
    color: var(--dark);
}

/* Titre */
.forgot-password-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
}

.forgot-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form */
.forgot-password-form {
    margin-bottom: 25px;
}

.form-group {
    text-align: right;
    margin-bottom: 0px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    /*margin-bottom: 8px;*/
}

.form-group label i {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 9px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}


.btn-add-address-wrapper {
    text-align: left;
    margin-bottom: 15px;
}


.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(254, 195, 65, 0.1);
}

.form-control.is-invalid {
    border-color: var(--secondary);
}

.error-message {
    font-size: 12px;
    color: var(--secondary);
    margin-top: 6px;
    display: block;
    text-align: right;
}

/* Bouton */
.btn-submit-forgot {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(198, 0, 19, 0.35);
    margin-top: 10px;
}

.btn-submit-forgot:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198, 0, 19, 0.45);
}

/* Liens */
.forgot-links {
    display: flex;
    justify-content: center;
    align-items: center;
    /*gap: 15px;*/
    margin: 25px 0;
    flex-wrap: wrap;
}

.back-login,
.create-account {
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-login:hover,
.create-account:hover {
    color: var(--dark);
}

.divider {
    color: #ccc;
}

/* Info sÃ©curitÃ© */
.security-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid var(--warning);
    border-radius: 8px;
    margin-top: 25px;
}

.security-info i {
    font-size: 20px;
    color: #856404;
    margin-top: 2px;
    flex-shrink: 0;
}

.security-info p {
    font-size: 13px;
    color: #856404;
    margin: 0;
    text-align: right;
    line-height: 1.5;
}

/* Alerts */
.alert {
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.alert i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

 

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-success strong {
    display: block;
    margin-bottom: 5px;
}

.alert-success p {
    margin: 0;
    font-size: 14px;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animations */
@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .forgot-password-section {
        padding: 40px 20px;
    }

    .forgot-password-content {
        padding: 35px 25px;
    }

    .icon-circle {
        width: 80px;
        height: 80px;
    }

    .icon-circle i {
        font-size: 38px;
    }

    .forgot-password-content h2 {
        font-size: 22px;
    }

    .forgot-description {
        font-size: 14px;
    }

    .forgot-links {
        flex-direction: column;
        gap: 12px;
    }

    .divider {
        display: none;
    }
}

.reset-password-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.reset-password-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

.reset-password-content {
    background: #fff;
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-align: center;
    margin: 40px 0;
}

.reset-icon .icon-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.reset-icon .icon-circle i {
    font-size: 42px;
    color: #fff;
}

.reset-password-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
}

.reset-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Indicateur de force */
.password-strength {
    margin: 15px 0 20px;
}

.strength-bar {
    height: 6px;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-bar-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 10px;
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
    display: block;
    text-align: center;
}

.btn-submit-reset {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(198, 0, 19, 0.35);
}

.btn-submit-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198, 0, 19, 0.45);
}

@media (max-width:600px) {
    .reset-password-content {
        padding: 35px 25px;
    }
}

/* ========================================
   USER INFO DANS HEADER
   ======================================== */
.action-btn .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.action-btn .user-welcome {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.action-btn .user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.account-dropdown:hover .user-name {
    color: var(--secondary);
}

/* Dropdown menu amÃ©lio/* Dropdown menu amÃ©liorÃ© */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    animation: slideDown 0.2s ease;
}

.account-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border);
}

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

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--secondary);
    padding-left: 25px;
}

.dropdown-menu a i {
    font-size: 16px;
    width: 20px;
    color: var(--primary);
}

.dropdown-menu a:hover i {
    color: var(--secondary);
}

/* Animation dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width:600px) {
    .action-btn .user-info {
        display: none;
    }

    .dropdown-menu {
        min-width: 200px;
    }

    .dropdown-menu a {
        padding: 2px 18px;
        font-size: 13px;
    }
}

/* RTL */
/* ========================================
   PAGE FAQ
   ======================================== */
.faq-section {
    padding: 50px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

/* Header */
.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 12px;
}

.faq-header p {
    font-size: 17px;
    color: #666;
}

/* Recherche FAQ */
.faq-search {
    max-width: 600px;
    margin: 0 auto 50px;
}

.search-box-faq {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-faq i {
    position: absolute;
    right: 20px;
    font-size: 18px;
    color: #999;
}

.search-box-faq input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.search-box-faq input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(254,195,65,0.1);
}

/* CatÃ©gories */
.faq-categories {
    display: grid;
    gap: 30px;
}

.faq-category {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-bottom: 2px solid var(--primary);
    margin-bottom: 20px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 24px;
    color: var(--dark);
}

.category-header h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin: 0;
    flex: 1;
}

.questions-count {
    padding: 6px 14px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.category-content {
    padding: 20px 30px;
}

/* ========================================
   ACCORDION
   ======================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: var(--primary);
}

.accordion-header {
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background: var(--light-bg);
}

.accordion-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
    flex: 1;
}

.accordion-header i {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
}

.accordion-item.active .accordion-title {
    color: var(--dark);
    font-weight: 700;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--dark);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-body-content {
     
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    background: var(--light-bg);
}

/* Message aucun rÃ©sultat */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.no-results i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 18px;
    color: #666;
}

/* Contact card */
.faq-contact {
    margin-top: 60px;
}

.contact-card {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--dark) 0%, #34495e 100%);
    border-radius: 16px;
    color: #fff;
}

.contact-card i {
    font-size: 60px;
    /*color: var(--primary);*/
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 25px;
}

.btn-contact-faq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(254,195,65,0.3);
}

.btn-contact-faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254,195,65,0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width:600px) {
    .faq-section {
        padding: 30px 0;
    }

    .faq-header h2 {
        font-size: 28px;
    }

    .faq-header p {
        font-size: 15px;
    }

    .category-header {
        flex-wrap: wrap;
        padding: 20px;
    }

    .category-header h3 {
        font-size: 19px;
    }

    .category-content {
        padding: 15px 20px;
    }

    .accordion-title {
        font-size: 14px;
    }

    .accordion-header {
        padding: 15px;
    }

    .contact-card {
        padding: 40px 20px;
    }

    .contact-card h3 {
        font-size: 22px;
    }
}



.cart-qty-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 999px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 0 0 1px var(--border);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.2s ease;
}

.cart-qty-btn:hover {
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    color: var(--dark);
    transform: translateY(-1px);
}

.cart-qty-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 0 1px var(--primary);
}

.cart-qty-input {
    width: 38px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    pointer-events: none;
}

/* Layout panier */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

/* Carte produit panier */
.cart-card {
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Ligne image + infos */
.cart-item-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-category {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.cart-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ligne prix / quantitÃ© / total / corbeille */
.cart-line {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
    margin-top: 4px;
    flex-wrap: wrap;
}

.cart-unit-price {
    font-size: 14px;
    color: #666;
}

.cart-unit-price-label,
.cart-total-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: block;
}

.cart-unit-price-value {
    font-weight: 600;
    color: var(--secondary);
}

/* QuantitÃ© */
.cart-qty-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 999px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 0 0 1px var(--border);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.2s ease;
}

.cart-qty-btn:hover {
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    color: var(--dark);
    transform: translateY(-1px);
}

.cart-qty-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 0 1px var(--primary);
}

.cart-qty-input {
    width: 38px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    pointer-events: none;
}

/* Total ligne */
.cart-line-total {
    text-align: left;
}

.cart-total-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: block;
}

.cart-total-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
}

/* Bouton corbeille */
.cart-delete-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #ffe9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c60013;
    cursor: pointer;
    transition: all .2s;
}

.cart-delete-btn:hover {
    background: #ffcdd2;
    transform: translateY(-1px);
}

/* Colonne droite rÃ©sumÃ© */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: fit-content;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-summary-total-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.cart-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

 
.cart-summary-footer {
    display: flex;
    justify-content: center;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.checkout-addresses h3,
.checkout-summary h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.address-card {
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: var(--primary);
}

.address-card.selected,
.address-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.address-card input[type="radio"] {
    display: none;
}

.address-content {
    flex: 1;
}

.address-content p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.address-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-default {
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.checkmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.3s ease;
}

.address-card:has(input:checked) .checkmark {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-add-address {
    display: inline-block;
    margin-top: 15px; 
    text-decoration: none;
}

.btn-add-address:hover {
    text-decoration: underline;
}

.checkout-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
}

.summary-items {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-block {
    width: 100%;
}

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


.commande-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 320px;
    margin-bottom: 20px; /* Espace entre cartes */
}

.commande-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cmd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* RÃ©duit minmax */
    gap: 9px; /* RÃ©duit gap */
    align-items: center;
   /* margin-bottom: 15px; /* Espace avant actions */
    padding: 15px; /* Padding uniforme */
    flex-grow: 1; /* Prend tout l'espace disponible */
}

.num-cmd {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    text-align: center;
    /* âœ… Force affichage commune */
    min-height: 24px;
}

.key-cmd {
    font-family: monospace;
    background: var(--light-bg);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--secondary);
    text-align: right;
}

.date-cmd {
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

.montant-cmd {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    font-size: 20px; /* Plus grand */
}

.commune-cmd {
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-align: right;
    /* âœ… Force affichage + hauteur min */
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.etat {
    padding: 5px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.etat:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.cmd-actions {
    text-align: center;
    padding: 15px; /* âœ… ESPACE APRÃˆS BOUTON */
    /*border-top: 1px solid var(--border); /* SÃ©paration visuelle */
    margin-top: auto; /* Pousse en bas */
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

/* Responsive */
@media (max-width:600px) {
    .cmd-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .num-cmd { font-size: 16px; }
    .montant-cmd { font-size: 18px; }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 50px;  /* Hauteur fixe */
    width: auto;   /* Largeur auto */
    max-width: 120px; /* Max largeur */
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Responsive */
@media (max-width:600px) {
    .logo-img { height: 42px; max-width: 100px; }
    .logo-text { font-size: 14px; }
}

@media (max-width: 480px) {
    .logo-img { height: 38px; }
    .logo-text { font-size: 20px; }
}


.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .slide-link {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.hero-slider .slide-link.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slider .slide {
    width: 100%;
    height: 290px; /* adapte */
    background-size: cover;
    background-position: center;
}

/* Dots */
.slider-dots {
    position: absolute;
    right: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.slider-dot.active {
    background: #fec341;
}


/* Grille 3 colonnes */
.login-3cols {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 2fr);
    gap: 24px;
    align-items: flex-start;
}

/* Responsive */
@media (max-width: 991px) {
    .login-3cols {
        grid-template-columns: 1fr;
    }

    .social-login-container {
        order: 2;
    }

    .info-sidebar {
        order: 3;
    }
}

/* Carte centrale social login */
.social-login-container {
    display: flex;
    justify-content: center;
}

.social-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 18px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.08),
        0 1px 3px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.social-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.social-card p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 14px;
}

/* Boutons sociaux */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin: 25px 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
}

.btn-social .social-icon i {
    font-size: 15px;
}

.btn-social .social-text {
    flex: 1;
}

/* Google */
.btn-social.google {
    background: #DB4437;
    box-shadow: 0 4px 10px rgba(219, 68, 55, 0.35);
}

/* Facebook */
.btn-social.facebook {
    background: #1877f2;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

.btn-social:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* sÃ©parateur "ou" */
.social-divider {
    position: relative;
    margin: 10px 0 4px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.social-divider::before,
.social-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: #e5e7eb;
}

.social-divider::before {
    right: 0;
}

.social-divider::after {
    left: 0;
}

.social-help {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 6px;
}


/* Social Login Info */
.social-login-info {
    margin-top: 1rem;
    text-align: center;
}

.social-login-info-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 400;
}

.social-login-badge i {
    color: #0d6efd;
    font-size: 0.80rem;
}

.social-login-link {
    text-decoration: none;
    color: #6c757d;
    font-size: 0.80rem;
    transition: color 0.2s ease;
}

.social-login-link:hover {
    color: #0d6efd;
}

.social-login-link i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.social-login-link:hover i {
    transform: translateX(3px);
}

.btn-social.google {
    background: #ffffff;
    border: 1.5px solid #dadce0;
    color: #3c4043;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.btn-social.google:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: #3c4043;
}


/* ===== RESPONSIVE HEADER - MOBILE ===== */

/* Tablette et mobile */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Logo reste en haut */
    .logo {
        order: 1;
        flex: 0 0 auto;
    }

    /* Actions (panier, compte) Ã  droite du logo */
    .header-actions {
        order: 2;
        flex: 0 0 auto;
    }

    /* Langues + Recherche passent en dessous sur toute la largeur */
    .header-center {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    /* Langues centrÃ©es */
    .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    /* Recherche sur toute la largeur */
    .search-container {
        width: 100%;
    }

    .search-box {
        width: 100%;
    }
}

/* Mobile uniquement */
@media (max-width:600px) {
    .header-container {
        padding: 0 15px;
        gap: 12px;
    }

    /* Logo plus petit */
    .logo-img {
        height: 38px;
    }

    .logo-text {
        font-size: 16px;
    }

    /* Langues plus compactes */
    .lang-switcher {
        gap: 8px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Recherche compacte */
    .search-box input {
        padding: 10px 15px;
        font-size: 13px;
    }

    .search-box select {
        padding: 10px 12px;
        font-size: 12px;
        max-width: 120px; /* Limite la largeur du select */
    }

    .search-box button {
        padding: 0 18px;
    }

    /* Actions plus compactes */
    .header-actions {
        gap: 18px;
    }

    .action-btn i {
        font-size: 18px;
    }

    /* Dropdown utilisateur */
    .account-dropdown > div {
        gap: 6px;
    }

    .account-dropdown span {
        font-size: 12px !important;
    }
}

/* TrÃ¨s petits mobiles */
@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    /* Logo encore plus petit */
    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 14px;
    }

    /* Langues en version mini */
    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Recherche simplifiÃ©e */
    .search-box {
        flex-wrap: wrap;
    }

    .search-box input {
        flex: 1 1 100%;
        border-radius: 8px 8px 0 0;
        border-bottom: none;
    }

    .search-box select {
        flex: 1;
        border-radius: 0;
        border-right: none;
        max-width: none;
    }

    .search-box button {
        flex: 0 0 auto;
        padding: 0 20px;
        border-radius: 0 0 8px 0;
    }

    /* Actions compactes */
    .header-actions {
        gap: 12px;
    }

    /* Masquer les textes sur trÃ¨s petits Ã©crans */
    .account-dropdown > div > div {
        display: none; /* Cache "Bienvenue" et le nom */
    }

    .badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* ========================================
   PANIER HEADER - STYLE COMPLET
   ======================================== */
.header-cart-wrapper {
    display: flex;
    align-items: center;
}

.header-cart-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-cart-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fec341;
    padding: 6px 16px 6px 6px;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(254, 195, 65, 0.35);
}

.header-cart-btn:hover .header-cart-bubble {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 195, 65, 0.45);
}

.header-cart-icon-circle {
    position: relative;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-cart-icon-circle i {
    font-size: 17px;
    color: #2c3e50;
}

.header-cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #c60013;
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex !important; /* â¬…ï¸  IMPORTANT pour forcer l'affichage */
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #fec341;
    padding: 0 4px;
    box-sizing: border-box;
}

.header-cart-count[style*="display:none"] {
    display: none !important;
}

 

/* ========================================
   RESPONSIVE MOBILE
   ======================================== */
/* MOBILE : <= 600px */
@media (max-width: 600px) {
    .header-cart-bubble {
        padding: 6px 14px 6px 6px !important;
        border-radius: 30px !important;
        width: auto !important;
        height: auto !important;
        gap: 8px !important;
        justify-content: flex-start !important;
    }

     

    .header-cart-icon-circle {
        width: 30px !important;
        height: 30px !important;
    }

    .header-cart-icon-circle i {
        font-size: 14px !important;
    }

    .header-cart-count {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        display: flex !important;
    }
}

/* 601px Ã  1024px : vue "mobile/tablette" comme l'image */
@media (min-width: 601px) and (max-width: 1024px) {

  /* On masque le menu desktop */
  .main-nav {
    /*display: none;*/
  }

  /* Le header tient sur une seule ligne */
  .header-top {
    border-bottom: none;
  }

  .header-container {
    padding: 0 20px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  /* Logo centrÃ© visuellement */
  .logo {
    order: 2;
    flex: 0 0 auto;
  }

  /* Panier Ã  gauche */
  .header-actions {
    order: 1;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  /* Compte masquÃ© sur cette largeur si tu veux vraiment copier l'image */
  .account-dropdown {
    display: none;
  }

  /* Bouton hamburger Ã  droite */
  #btn-hamburger {
    order: 3;
    display: block;
  }

  /* On cache le bloc langues + recherche (comme sur ton screen) */
  .header-center {
    display: none;
  }

  /* Cart bubble : style proche de la maquette */
  .header-cart-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fec341;
    padding: 6px 16px 6px 6px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(254, 195, 65, 0.35);
  }
}

/* TrÃ¨s petits Ã©crans */
@media (max-width: 480px) {
    .header-cart-bubble {
        width: 40px;
        height: 40px;
        padding: 5px;
    }

    .header-cart-icon-circle {
        width: 30px;
        height: 30px;
    }

    .header-cart-icon-circle i {
        font-size: 15px;
    }
}

/* Animation lors de l'ajout au panier */
.header-cart-bubble.cart-updated {
    animation: cart-bounce 0.6s ease;
}

@keyframes cart-bounce {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    25% { 
        transform: translateY(-6px) scale(1.08); 
    }
    50% { 
        transform: translateY(0) scale(0.98); 
    }
    75% { 
        transform: translateY(-3px) scale(1.03); 
    }
}

.header-cart-count.update-animation {
    animation: badge-pop 0.4s ease;
}

@keyframes badge-pop {
    0% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.3); 
    }
    100% { 
        transform: scale(1); 
    }
}


/* ========================================
   TABLETTE : 768px - 1024px
   Langue au mÃªme niveau que le header
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Header : tout sur une seule ligne */
    .header-container {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 15px !important;
    }

    /* Logo Ã  gauche */
    .logo {
        order: 1 !important;
        flex: 0 0 auto !important;
    }

    /* Langue au centre - mÃªme niveau header */
    .header-center {
        order: 2 !important;
        flex: 1 !important;
        width: auto !important;
        max-width: none !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        margin-top: 0 !important;
    }

    /* Cacher la barre de recherche dans le header tablette */
    .search-container {
        /*display: none !important;*/
    }

    /* Langues visibles */
    .lang-switcher {
        display: flex !important;
        width: auto !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    .lang-btn {
        padding: 5px 10px !important;
        font-size: 13px !important;
    }

    /* Actions panier + compte Ã  droite */
    .header-actions {
        order: 3 !important;
        flex: 0 0 auto !important;
    }
}


.cart-unit-price-value-em {
    font-weight: 600;
    color: var(--secondary);
	margin-left: -5px;
}

.cart-total-value-em {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
	margin-left: -5px;
}

.cart-total-amount-em {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
	/*margin-left: -5px;*/
}

.current-price-em,
.header-cart-amount-em {
    font-size: 15px;
    font-weight: bold;
    color: var(--secondary); 
}


.current-price-large {
    font-size: 25px;
    font-weight: bold;
    color: var(--secondary); 
}
.original-price {
    font-size: 15px; 
    color: var(price);  
    text-decoration: line-through; 
}

.old-price-em {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
	margin-left: -5px;
}


 


/* ========================================
   HEADER FIXE EN HAUT
   ======================================== */
.header-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Menu nav - PAS fixe, dÃ©file normalement */
.main-nav {
    position: relative !important;
    top: auto !important;
}


/* ========================================
   MINI PANIER DROPDOWN
   ======================================== */
.header-cart-wrapper {
    position: relative !important;
}

.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: none;
    animation: slideDown 0.3s ease;
    border: 1px solid #e0e0e0;
}

/* RTL */
.mini-cart-dropdown {
    left: auto;
    right: 0;
}

.mini-cart-dropdown.active {
    display: block;
}

/* FlÃ¨che */
.mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    transform: rotate(45deg);
}

/* Header */
.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 2px solid #fec341;
    font-weight: 700;
    color: #2c3e50;
    font-size: 14px;
}

.mini-cart-header i {
    color: #fec341;
    margin-right: 6px;
}

.mini-cart-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    transition: color 0.3s;
}

.mini-cart-close:hover {
    color: #c60013;
}

/* Body */
.mini-cart-body {
    max-height: 280px;
    overflow-y: auto;
    padding: 10px 0;
}

.mini-cart-body::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-body::-webkit-scrollbar-thumb {
    background: #fec341;
    border-radius: 4px;
}

/* Item */
.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.mini-cart-item:hover {
    background: #fafafa;
}

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

.mini-cart-item-img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.mini-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-cart-item-info {
    flex: 1;
}

.mini-cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.mini-cart-item-price {
    font-size: 12px;
    color: #c60013;
    font-weight: 600;
    margin: 0;
}

.mini-cart-item-price em {
    font-style: normal;
}

/* Panier vide */
.mini-cart-empty {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

.mini-cart-empty i {
    font-size: 40px;
    color: #e0e0e0;
    display: block;
    margin-bottom: 10px;
}

.mini-cart-empty p {
    font-size: 14px;
    margin: 0;
}

/* Footer */
.mini-cart-footer {
    padding: 15px 18px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

 

.mini-cart-btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #fec341 0%, #f5b732 100%);
    color: #2c3e50;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.mini-cart-btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 195, 65, 0.4);
    color: #2c3e50;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 


/* â”€â”€ HEADER STICKY â”€â”€ */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* â”€â”€ PRIX HEADER : montant + devise mÃªme alignement â”€â”€ */
.header-cart-price-block {
    display: flex;
    align-items: center;
    gap: 3px;
    direction: ltr; /* toujours gaucheâ†’droite */
}

/* â”€â”€ PRIX HEADER : montant + devise mÃªme alignement â”€â”€ */
.header-cart-price-block {
    display: flex;
    align-items: center;
    gap: 3px;
    direction: ltr; /* toujours gaucheâ†’droite */
}

 

 

/* â”€â”€ MINI CART DROPDOWN â”€â”€ */
.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 2000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}

 .mini-cart-dropdown {
    left: auto;
     
}

.mini-cart-dropdown.active {
    display: flex;
}

/* â”€â”€ MINI CART HEADER â”€â”€ */
.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 0.9rem;
}

.mini-cart-header i {
    margin-inline-end: 6px;
    color: var(--primary, #e67e22);
}

.mini-cart-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.mini-cart-close:hover {
    color: #e74c3c;
}

/* â”€â”€ MINI CART BODY â”€â”€ */
.mini-cart-body {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
}

.mini-cart-body::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* â”€â”€ LOADING â”€â”€ */
.mini-cart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #aaa;
    font-size: 1.4rem;
}

/* â”€â”€ ITEM â”€â”€ */
.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.15s;
}

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

.mini-cart-item:hover {
    background: #fafafa;
}

.mini-cart-item-img {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
    background: #f5f5f5;
}

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

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

.mini-cart-item-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* â”€â”€ PRIX ITEM (montant + devise) â”€â”€ */
.mini-cart-item-price {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    direction: ltr; /* toujours LTR pour les chiffres */
    font-size: 0.82rem;
}

.mini-cart-item-price {
    justify-content: flex-end;
}

.mini-cart-qty-price {
    font-weight: 600;
    color: var(--primary, #e67e22);
    white-space: nowrap;
}

.mini-cart-devise {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    white-space: nowrap;
}

/* â”€â”€ VOIR PLUS â”€â”€ */
.mini-cart-voir-plus {
    text-align: center;
    padding: 8px 14px;
    border-top: 1px dashed #eee;
}

.mini-cart-voir-plus a {
    font-size: 0.82rem;
    color: var(--primary, #e67e22);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.mini-cart-voir-plus a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* â”€â”€ PANIER VIDE â”€â”€ */
.mini-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    color: #bbb;
    gap: 8px;
}

.mini-cart-empty i {
    font-size: 2rem;
    color: #ddd;
}

.mini-cart-empty p {
    margin: 0;
    font-size: 0.85rem;
}

/* â”€â”€ MINI CART FOOTER â”€â”€ */
.mini-cart-footer {
    padding: 12px 14px;
    border-top: 1px solid #eee;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
}

/* â”€â”€ TOTAL PRIX : direction LTR pour les chiffres â”€â”€ */
.mini-cart-total-price {
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary, #e67e22);
}
.mini-cart-total-price-em {
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary, #e67e22);
}

 

 

/* â”€â”€ BOUTON VOIR LE PANIER â”€â”€ */
.mini-cart-btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    background: var(--primary, #e67e22);
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.mini-cart-btn-view:hover {
    background: var(--primary-dark, #cf6d17);
    transform: translateY(-1px);
}

 @media (max-width: 600px) {
    .mini-cart-dropdown {
        /* Ne PAS forcer display ici */
         
        right: auto;
        top: calc(100% + 8px);
       /* width: 300px;*/
    }
}


/* â”€â”€ VOIR LES AUTRES ARTICLES â”€â”€ */
.mini-cart-voir-autres {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    margin: 6px 10px;
    background: #f5f5f5;
    border: 1px dashed #ddd;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mini-cart-voir-autres:hover {
    background: #eee;
    color: var(--primary, #e67e22);
    border-color: var(--primary, #e67e22);
}

.mini-cart-voir-autres i {
    font-size: 0.85rem;
}

.mini-cart-voir-autres-count {
    background: var(--primary, #e67e22);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* Layout panier - desktop */
.cart-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Colonne gauche : produits */
.products-container {
    flex: 2;
    min-width: 0; /* utile pour Ã©viter des dÃ©bordements */
}

/* Colonne droite : rÃ©sumÃ© */
.cart-summary {
    flex: 1;
    min-width: 260px;
}

/* Cartes produit */
.product-card.cart-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* Ligne prix / quantitÃ© / total */
.cart-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sur mobile : tout en colonne */
@media (max-width: 600px) {

    .cart-layout {
        flex-direction: column;
    }

    .products-container,
    .cart-summary {
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
    }

    .cart-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-unit-price,
    .cart-qty-wrapper,
    .cart-line-total {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    /* Pour Ã©viter que les prix passent sur plusieurs lignes */
    .cart-unit-price-value,
    .cart-total-value,
    .cart-total-amount {
        white-space: nowrap;
    }
}




/* Conteneur gÃ©nÃ©ral panier */
.cart-page { 
    text-align: right;
}

/* Enâ€‘tÃªte panier */
.cart-header {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Breadcrumb */
.breadcrumb-section nav { 
    text-align: right;
}

.breadcrumb-section nav a,
.breadcrumb-section nav span {
    font-size: 14px;
}

/* Cart layout : produits Ã  droite, rÃ©sumÃ© Ã  gauche */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 20px;
}

/* Inverser lâ€™ordre des colonnes par rapport au FR */
 

/* Cart cards */
.cart-card {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}

.cart-card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f1f1;
    display: flex; 
    align-items: center;
    justify-content: space-between;
}

/* Liste des produits */
.cart-items-list {
    padding: 15px 20px 20px 20px;
}

/* Ligne produit */
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f3f3;
}

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

/* Image produit */
.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f8f9fa;
}

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

/* Infos produit (texte Ã  droite) */
.cart-item-info {
    text-align: right;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 13px;
    color: #999;
}

/* Prix unitaire + quantitÃ© + total ligne */
.cart-item-footer {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

/* Prix unitaire */
.cart-unit-price {
    font-size: 14px;
    font-weight: 600;
    color: #c60013;
}

/* Bloc quantitÃ© */
.cart-qty-wrapper {
    display: flex; 
    align-items: center;
    gap: 6px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2c3e50;
    font-size: 14px;
    transition: background 0.2s, color 0.2s, transform 0.1s;
}

.cart-qty-btn:hover {
    background: #fec341;
    color: #2c3e50;
    transform: translateY(-1px);
}

.cart-qty-input {
    min-width: 34px;
    text-align: center;
    border: none;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 5px 8px;
    font-size: 13px;
}

/* Total ligne */
.cart-line-total {
    font-size: 14px;
    font-weight: 700;
    color: #c60013;
}

/* Bouton supprimer */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cart-remove-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #ffe6e8;
    color: #c60013;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-remove-btn:hover {
    background: #c60013;
    color: #fff;
    transform: translateY(-1px);
}

/* RÃ©sumÃ© commande */
.cart-summary {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    padding: 20px 22px;
}

.cart-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: right;
}

.cart-summary-row {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-summary-label {
    color: #777;
}

.cart-summary-value {
    font-weight: 600;
    color: #2c3e50;
}

.cart-summary-total {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
    font-size: 16px;
    font-weight: 700;
    color: #c60013;
}

/* Bouton confirmer */
.cart-confirm-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, #c60013 0%, #a00010 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(198,0,19,0.35);
    transition: all 0.3s;
}

.cart-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(198,0,19,0.45);
}

/* Responsive AR */
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cart-summary {
        order: 1;
    }

    .cart-products {
        order: 2;
    }
}



/**/






/* â”€â”€ LIGNE QTÃ‰ + PRIX â”€â”€ */
.mini-cart-bottom-row {
    display: flex;
    flex-direction: column;
    /*gap: 6px;*/
}

.mini-cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
     
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.cart-qty-btn.mini {
    background: #fff;  
    border: none;
    width: 24px;
    height: 24px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    margin: 5px;
}

.cart-qty-btn.mini:hover {
    background: #f5f5f5;
}

.cart-qty-input.mini {
    width: 24px;
    height: 24px;
    text-align: center;
    border: none;
     
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: var(--secondary);
}

.mini-cart-line-price{
    font-size: 14px;
    font-weight: 600; 
    color: var(--secondary);
}


/* Barre de recherche dans le drawer mobile */
.drawer-search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.drawer-search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.drawer-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(254, 195, 65, 0.1);
}

.drawer-search-box select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.drawer-search-box button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-search-box button:hover {
    background: #fec341;
}

.drawer-search-box button i {
    font-size: 18px;
    color: var(--dark);
}



/* âœ… Responsive amÃ©liorÃ© pour la recherche */
@media (max-width: 1024px) {
    .header-center {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box select {
        max-width: 150px; /* Limite la largeur du select */
    }
}

/* Tablette : recherche visible et adaptÃ©e */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    .logo {
        order: 1 !important;
        flex: 0 0 auto !important;
    }
    
    .header-actions {
        order: 2 !important;
        flex: 0 0 auto !important;
    }
    
    .header-center {
        order: 3 !important;
        width: 100% !important;
        display: flex !important; /* â†  Forcer l'affichage */
    }
    
    .lang-switcher {
        width: auto !important;
        justify-content: center !important;
    }
}

/* Mobile : recherche dans le drawer uniquement */
@media (max-width: 767px) {
    .header-center.desktop-only {
        display: none !important;
    }
}


/* Mobile <= 600px : filtres au-dessus, produits en dessous */
@media (max-width: 600px) {
    .products-filter-wrapper {
        display: block; /* ou grid en 1 colonne */
    }

    /* Sidebar non-sticky pour Ã©viter de masquer les rÃ©sultats */
    .filters-sidebar {
        position: static;
        top: auto;
        margin-bottom: 15px;
        width: 100%;
    }

    .products-container {
        padding: 15px;        /* cohÃ©rent et lisible */
        margin-top: 0;
    }
}

/* Optionnel : pour petites tablettes <= 768px */
@media (max-width: 768px) {
    .products-filter-wrapper {
        grid-template-columns: 1fr; /* 1 colonne : filtres + rÃ©sultats empilÃ©s */
        gap: 15px;
    }

    .filters-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }
}
/* ========================================
   AJUSTEMENTS STRUCTURAUX RTL & MONNAIE
   ======================================== */
 

/* Forcer l'affichage correct des prix (Chiffres + DA/د.ج) sans inversion de sens */
.current-price, .old-price, .product-price, .cart-line, .price-value, .header-cart-amount,.current-price-large,.original-price {
    direction: ltr !important;
    unicode-bidi: isolate !important;
   /* display: inline-flex !important;*/
    align-items: center !important;
}


 