/* ============================================
   STYLES PERSONNALISÉS Oliver's Hair
   ============================================ */

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #8b0982;
    --primary-light: #a855f7;
    --primary-dark: #6b0762;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --success-light: rgba(16, 185, 129, 0.1);
    --warning-light: rgba(245, 158, 11, 0.1);
    --danger-light: rgba(239, 68, 68, 0.1);
    --primary-custom: #8b0982;
}

/* ============================================
   BARRE DE CATÉGORIES RAPIDES - MOBILE OPTIMISÉ
   ============================================ */

/* Styles généraux pour la barre de catégories */
.category-quick-bar {
    background-color: #f8f9fa !important;
}

/* Uniformisation des tailles - Desktop */
.category-quick-bar .row {
    align-items: stretch; /* Force tous les éléments à avoir la même hauteur */
}

.category-quick-bar .col-md-3,
.category-quick-bar .col-lg-3,
.category-quick-bar .col-4 {
    display: flex; /* Flex pour uniformiser */
}

.category-quick-bar .col-md-3 > a,
.category-quick-bar .col-lg-3 > a,
.category-quick-bar .col-4 > a {
    width: 100%; /* Prend toute la largeur disponible */
    display: flex;
}

.category-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 66px; /* Augmenté de 60px à 66px (+10%) */
    width: 100%; /* Largeur uniforme */
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.15) !important;
    border-color: #8b0982;
}

.category-icon {
    font-size: 1.3rem;
    display: inline-block;
    margin: 0;
    flex-shrink: 0;
}

.category-name {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px; /* Largeur maximale pour éviter les débordements */
}

/* ============================================
   OPTIMISATION MOBILE - TABLETTE (768px et moins)
   ============================================ */
@media (max-width: 768px) {
    .category-quick-bar {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    .category-card {
        padding: 0.6rem !important;
        min-height: 88px; /* Augmenté de 80px à 88px (+10%) */
    }
    
    .category-icon {
        font-size: 1.3rem !important;
        margin-bottom: 0.3rem;
    }
    
    .category-name {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.1;
    }
    
    .category-count {
        font-size: 0.65rem !important;
    }
    
    /* Réduction des marges entre les cartes */
    .category-quick-bar .g-2 > * {
        padding: 0.25rem !important;
    }
}

/* ============================================
   OPTIMISATION MOBILE - SMARTPHONE (576px et moins)
   ============================================ */
@media (max-width: 576px) {
    .carrousel_description {
        display: none !important;
    }

    .category-quick-bar {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .category-card {
        padding: 0.4rem !important;
        min-height: 77px; /* Augmenté de 70px à 77px (+10%) */
    }
    
    .category-icon {
        font-size: 1.1rem !important;
        margin-bottom: 0.2rem;
    }
    
    .category-name {
        font-size: 0.7rem !important;
        margin-bottom: 0.15rem !important;
        font-weight: 600 !important;
        line-height: 1;
    }
    
    .category-count {
        font-size: 0.6rem !important;
        opacity: 0.7;
    }
    
    /* Réduction maximale des marges */
    .category-quick-bar .g-2 > * {
        padding: 0.2rem !important;
    }
}

/* ============================================
   CARROUSEL MOBILE - CATÉGORIES
   ============================================ */

/* Styles spécifiques pour le carrousel mobile */
#categoryCarousel {
    position: relative;
}

.category-card-mobile {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
    height: 66px; /* Augmenté de 60px à 66px (+10%) */
    width: 100%; /* Largeur uniforme */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.category-card-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.15) !important;
    border-color: #8b0982;
}

.category-icon-mobile {
    font-size: 1.2rem;
    display: inline-block;
    margin: 0;
    flex-shrink: 0;
}

.category-name-mobile {
    font-size: 0.7rem;
    line-height: 1.1;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px; /* Largeur maximale pour mobile */
}

/* Indicateurs personnalisés pour le carrousel */
.category-indicators {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.3rem;
}

.category-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(139, 9, 130, 0.3);
    transition: all 0.3s ease;
}

.category-indicators button.active {
    background-color: #8b0982;
    transform: scale(1.2);
}

/* Ajustement de l'espacement pour les indicateurs */
.category-quick-bar {
    padding-bottom: 2rem !important;
}

/* ============================================
   OPTIMISATION MOBILE SPÉCIFIQUE AU CARROUSEL
   ============================================ */
@media (max-width: 768px) {
    .category-card {
        height: 60.5px; /* Augmenté de 55px à 60.5px (+10%) */
    }
    
    .category-card-mobile {
        padding: 0.4rem;
        height: 60.5px; /* Augmenté de 55px à 60.5px (+10%) */
        gap: 0.3rem;
    }
    
    .category-icon-mobile {
        font-size: 1.1rem;
    }
    
    .category-name-mobile {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        height: 55px; /* Augmenté de 50px à 55px (+10%) */
    }
    
    .category-card-mobile {
        padding: 0.3rem;
        height: 55px; /* Augmenté de 50px à 55px (+10%) */
        gap: 0.25rem;
    }
    
    .category-icon-mobile {
        font-size: 1rem;
    }
    
    .category-name-mobile {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .category-card {
        height: 49.5px; /* Augmenté de 45px à 49.5px (+10%) */
    }

    .carrousel_description {
        display: none !important;
    }
    
    .category-card-mobile {
        padding: 0.25rem;
        height: 49.5px; /* Augmenté de 45px à 49.5px (+10%) */
        gap: 0.2rem;
    }
    
    .category-icon-mobile {
        font-size: 0.9rem;
    }
    
    .category-name-mobile {
        font-size: 0.55rem;
    }
}

/* ============================================
   OPTIMISATION TRÈS PETITS ÉCRANS (480px et moins)
   ============================================ */
@media (max-width: 480px) {
    .category-card {
        padding: 0.3rem !important;
        min-height: 66px; /* Augmenté de 60px à 66px (+10%) */
    }
    
    .category-icon {
        font-size: 1rem !important;
        margin-bottom: 0.15rem;
    }
    
    .category-name {
        font-size: 0.65rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .category-count {
        font-size: 0.55rem !important;
        display: none; /* Masquer le compteur sur très petits écrans */
    }
    
    .category-quick-bar .g-2 > * {
        padding: 0.15rem !important;
    }
}

/* ============================================
   NAVIGATION RESPONSIVE
   ============================================ */

/* Masquage conditionnel des éléments de navigation */
@media (min-width: 987px) and (max-width: 1286px) {
    .navbar-nav .nav-item:nth-child(4),  /* Contact */
    .navbar-nav .nav-item:nth-child(5) { /* À propos */
        display: none !important;
    }
}

/* ============================================
   SÉLECTEURS DE LANGUE ET DEVISE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .language-currency-selectors {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .language-currency-selectors select {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================ */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 16px;
}

/* Animation pulse pour attirer l'attention */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* ============================================
   IMAGES PRODUITS UNIFORMES
   ============================================ */

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

.product-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
}

/* ============================================
   COULEURS PERSONNALISÉES Oliver's Hair
   ============================================ */

:root {
    --ntiag-primary: #8b0982;
    --ntiag-secondary: #2fa33c;
    --ntiag-accent: #ff6b9d;
}

.btn-ntiag-primary {
    background-color: var(--ntiag-primary);
    border-color: var(--ntiag-primary);
    color: white;
}

.btn-ntiag-primary:hover {
    background-color: #6d0762;
    border-color: #6d0762;
    color: white;
}

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

.btn-ntiag-secondary:hover {
    background-color: #248a32;
    border-color: #248a32;
    color: white;
}

.text-ntiag-primary {
    color: var(--ntiag-primary) !important;
}

.text-ntiag-secondary {
    color: var(--ntiag-secondary) !important;
}

.bg-ntiag-primary {
    background-color: var(--ntiag-primary) !important;
}

.bg-ntiag-secondary {
    background-color: var(--ntiag-secondary) !important;
}

/* ============================================
   ANIMATIONS ET EFFETS
   ============================================ */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

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

/* Masquage d'éléments sur mobile */
@media (max-width: 768px) {
    .d-mobile-none {
        display: none !important;
    }
    
    .home-header-bar {
        display: none !important;
    }
}

/* Affichage uniquement sur mobile */
@media (min-width: 769px) {
    .d-mobile-only {
        display: none !important;
    }
}
/* ============================================
   BANNIÈRES PROMOTIONNELLES - STYLE ALIBABA COMPACT
   ============================================ */

/* ============================================
   BANNIÈRES PROMOTIONNELLES - VERSION CLASSIQUE AMÉLIORÉE
   ============================================ */

/* Animation de flottement pour les images */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Animation pulse pour les badges */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Optimisation mobile pour les bannières */
@media (max-width: 768px) {
    .promo-banner {
        min-height: 220px !important;
        padding: 1.5rem !important;
    }
    
    .promo-banner .badge {
        font-size: 0.75rem !important;
    }
    
    .promo-banner .h3 {
        font-size: 1.3rem !important;
    }
    
    .promo-banner .h4 {
        font-size: 1.1rem !important;
    }
    
    .promo-banner .btn-sm {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .promo-image-container img {
        max-height: 150px !important;
    }
}

@media (max-width: 576px) {
    .promo-banner {
        min-height: 180px !important;
        padding: 1rem !important;
    }
    
    .promo-banner .row {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .promo-banner .col-md-7 {
        order: 2;
        margin-top: 1rem;
    }
    
    .promo-banner .col-md-5 {
        order: 1;
    }
    
    .promo-banner .h3 {
        font-size: 1.1rem !important;
    }
    
    .promo-banner .h4 {
        font-size: 1rem !important;
    }
    
    .promo-image-container img {
        max-height: 120px !important;
    }
}

/* Image compacte */
.promo-image-compact {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    
    /* Effets visuels */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    
    /* Animation hover */
    transition: all 0.3s ease;
}

.promo-image-compact:hover {
    transform: scale(1.02);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.promo-image-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-image-compact:hover::before {
    opacity: 1;
}

.promo-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promo-image-placeholder {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 2rem;
    opacity: 0.5;
}

/* Contenu promotionnel */
.promo-content {
    padding: 0 1rem;
}

.promo-badge {
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.5rem;
    
    /* Effets visuels */
    box-shadow: 
        0 2px 8px rgba(255, 71, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    
    /* Animation pulse */
    animation: pulse 2s infinite;
    
    /* Bordure lumineuse */
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Effet de texte */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
}

.promo-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white;
}

.promo-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.price-new {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffd700;
    
    /* Effets de texte dorés */
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(255, 215, 0, 0.5);
    
    /* Animation scintillante */
    animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldGlow {
    from {
        text-shadow: 
            0 1px 2px rgba(0, 0, 0, 0.3),
            0 0 8px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 
            0 1px 2px rgba(0, 0, 0, 0.3),
            0 0 12px rgba(255, 215, 0, 0.8),
            0 0 16px rgba(255, 215, 0, 0.3);
    }
}

.price-old {
    font-size: 0.8rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.stock-warning {
    font-size: 0.7rem;
    color: #ffd700;
    font-weight: 500;
    
    /* Effets visuels d'urgence */
    animation: urgentBlink 1.5s ease-in-out infinite;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.6);
    
    /* Icône animée */
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

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

.stock-warning i {
    animation: clockTick 1s ease-in-out infinite;
}

@keyframes clockTick {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Bouton d'action */
.promo-action {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.btn-promo-buy {
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    color: #ff4757;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    overflow: hidden;
    
    /* Effets visuels */
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    
    border: 2px solid rgba(255, 71, 87, 0.1);
}

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

.btn-promo-buy:hover {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    color: #ff3742;
    transform: translateY(-2px) scale(1.02);
    text-decoration: none;
    box-shadow: 
        0 8px 20px rgba(255, 71, 87, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-promo-buy:hover::before {
    left: 100%;
}

.btn-promo-buy:active {
    transform: translateY(-1px) scale(1.01);
}

/* Indicateurs style Alibaba avec effets */
.alibaba-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    gap: 0.4rem;
    z-index: 3;
}

.alibaba-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.alibaba-indicators button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.alibaba-indicators button.active {
    background: white;
    transform: scale(1.4);
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.alibaba-indicators button.active::before {
    width: 100%;
    height: 100%;
}

.alibaba-indicators button:hover:not(.active) {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE - STYLE ALIBABA
   ============================================ */

@media (max-width: 768px) {
    .alibaba-promo-card {
        min-height: 100px;
        padding: 0.8rem;
    }
    
    .promo-image-compact {
        height: 70px;
    }
    
    .promo-image-placeholder {
        height: 70px;
        font-size: 1.5rem;
    }
    
    .promo-title {
        font-size: 0.8rem;
    }
    
    .price-new {
        font-size: 1rem;
    }
    
    .btn-promo-buy {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .alibaba-promo-card {
        min-height: 90px;
        padding: 0.6rem;
    }
    
    .promo-content {
        padding: 0 0.5rem;
    }
    
    .promo-image-compact {
        height: 60px;
    }
    
    .promo-image-placeholder {
        height: 60px;
        font-size: 1.2rem;
    }
    
    .promo-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
    
    .promo-title {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .price-new {
        font-size: 0.9rem;
    }
    
    .price-old {
        font-size: 0.7rem;
    }
    
    .stock-warning {
        font-size: 0.65rem;
    }
    
    .btn-promo-buy {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 15px;
    }
    
    .btn-promo-buy span {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .alibaba-promo-card {
        min-height: 80px;
        padding: 0.5rem;
    }
    
    .promo-image-compact {
        height: 50px;
    }
    
    .promo-image-placeholder {
        height: 50px;
        font-size: 1rem;
    }
    
    .promo-title {
        font-size: 0.7rem;
    }
    
    .price-new {
        font-size: 0.85rem;
    }
    
    .btn-promo-buy {
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
    }
}/* 
============================================
   EFFETS SUPPLÉMENTAIRES POUR LA BANNIÈRE
   ============================================ */

/* Effet de survol sur toute la bannière */
.alibaba-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Animation d'entrée pour les bannières */
.carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

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

/* Effet de dégradé sur le titre */
.promo-title {
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Effet de lueur sur le prix barré */
.price-old {
    position: relative;
}

.price-old::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4757, transparent);
    transform: translateY(-50%);
    animation: strikeGlow 2s ease-in-out infinite;
}

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

/* Effet de particules sur le badge promo */
.promo-badge::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Effet de bordure animée sur l'image */
.promo-image-compact::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #ff6b6b);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-size: 200% 200%;
    animation: borderGlow 3s linear infinite;
}

.promo-image-compact:hover::after {
    opacity: 0.7;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Effet de vague sur le fond */
.alibaba-promo-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}/* 
============================================
   RESPONSIVE MODERNE - BANNIÈRES PROMOTIONNELLES
   ============================================ */

@media (max-width: 768px) {
    .modern-promo-card {
        min-height: 140px;
    }
    
    .promo-main-content {
        padding: 15px;
        gap: 15px;
    }
    
    .promo-image-modern {
        width: 100px;
        height: 100px;
        border-radius: 15px;
    }
    
    .floating-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
    }
    
    .discount-percent {
        font-size: 1rem;
    }
    
    .product-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .modern-promo-card {
        min-height: 120px;
    }
    
    .promo-main-content {
        padding: 12px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .promo-image-modern {
        width: 80px;
        height: 80px;
        border-radius: 12px;
        align-self: center;
    }
    
    .floating-badge {
        top: 8px;
        right: 8px;
        padding: 4px 10px;
    }
    
    .discount-percent {
        font-size: 0.9rem;
    }
    
    .off-text {
        font-size: 0.6rem;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .original-price {
        font-size: 0.9rem;
    }
    
    .savings {
        font-size: 0.7rem;
    }
    
    .stock-progress {
        margin-bottom: 10px;
    }
    
    .stock-text {
        font-size: 0.7rem;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .sparkle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .modern-promo-card {
        min-height: 100px;
        border-radius: 15px;
    }
    
    .promo-main-content {
        padding: 10px;
        gap: 10px;
    }
    
    .promo-image-modern {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
    
    .floating-badge {
        top: 5px;
        right: 5px;
        padding: 3px 8px;
    }
    
    .discount-percent {
        font-size: 0.8rem;
    }
    
    .product-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .sparkles {
        display: none; /* Masquer les particules sur très petits écrans */
    }
}

/* Optimisation pour les indicateurs modernes */
.alibaba-indicators {
    bottom: 8px;
}

@media (max-width: 576px) {
    .alibaba-indicators {
        bottom: 5px;
    }
    
    .alibaba-indicators button {
        width: 6px;
        height: 6px;
    }
}/* =====
=======================================
   PRODUITS - AFFICHAGE MOBILE 2 COLONNES
   ============================================ */

/* Optimisation des cartes produits pour mobile */
@media (max-width: 768px) {
    /* Réduction de l'espacement entre les produits */
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    /* Optimisation des cartes produits */
    .product-card .card {
        font-size: 0.9rem;
    }
    
    .product-card .card-title {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .product-card .card-text {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Réduction de la hauteur des images produits */
    .product-card .card-img-top {
        height: 150px;
    }
}

@media (max-width: 576px) {
    /* Optimisation pour très petits écrans */
    .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    
    .product-card .card {
        font-size: 0.85rem;
    }
    
    .product-card .card-title {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    .product-card .card-text {
        font-size: 0.75rem;
    }
    
    .product-card .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    
    /* Images encore plus petites */
    .product-card .card-img-top {
        height: 130px;
    }
    
    /* Réduction du padding des cartes */
    .product-card .card-body {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* Optimisation extrême pour très petits écrans */
    .row.g-4 {
        --bs-gutter-x: 0.25rem;
        --bs-gutter-y: 0.25rem;
    }
    
    .product-card .card-title {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .product-card .card-text {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    
    .product-card .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .product-card .card-img-top {
        height: 110px;
    }
    
    .product-card .card-body {
        padding: 0.5rem;
    }
}

/* Optimisation des titres de sections sur mobile */
@media (max-width: 768px) {
    .text-center.mb-5.fw-bold {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .text-center.mb-5.fw-bold {
        font-size: 1.3rem;
        margin-bottom: 0.5rem !important;
    }
}/* ==
==========================================
   PAGE SHOP - FILTRES MOBILE DROPDOWN
   ============================================ */

/* Optimisation des filtres mobile */
@media (max-width: 991.98px) {
    /* Boutons de filtre mobile */
    .dropdown-toggle {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Menu dropdown responsive */
    .dropdown-menu {
        max-height: 300px;
        overflow-y: auto;
        font-size: 0.9rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-item.active {
        background-color: var(--ntiag-primary, #8b0982);
        color: white;
    }
    
    /* Select de tri mobile */
    .form-select {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Badge dans les catégories */
    .badge {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    /* Optimisation pour très petits écrans */
    .dropdown-toggle {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .form-select {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .dropdown-menu {
        font-size: 0.8rem;
        max-height: 250px;
    }
    
    .dropdown-item {
        padding: 0.4rem 0.8rem;
    }
    
    /* Réduction de l'espacement */
    .row.g-2 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}

/* Amélioration de l'apparence des dropdowns */
.dropdown-toggle::after {
    margin-left: auto;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: rgba(139, 9, 130, 0.1);
    color: var(--ntiag-primary, #8b0982);
}

/* Icônes dans les options de tri */
.form-select option {
    padding: 0.5rem;
}

/* Optimisation du header de la page produits */
@media (max-width: 768px) {
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between.align-items-center h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.justify-content-between.align-items-center p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .d-flex.justify-content-between.align-items-center h2 {
        font-size: 1.3rem;
    }
    
    .d-flex.justify-content-between.align-items-center p {
        font-size: 0.8rem;
    }
}

/* Animation pour les dropdowns */
.dropdown-menu {
    animation: dropdownFadeIn 0.2s ease-out;
}

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

/* Amélioration de la pagination sur mobile */
@media (max-width: 576px) {
    .pagination {
        font-size: 0.8rem;
    }
    
    .page-link {
        padding: 0.4rem 0.6rem;
    }
    
    /* Masquer les numéros de page sur très petits écrans */
    .pagination .page-item:not(:first-child):not(:last-child):not(.active) {
        display: none;
    }
}/* ========
====================================
   ZONE VIDÉOS PROMOTIONNELLES - PAGE SHOP
   ============================================ */

/* Container principal des vidéos */
.promo-video-container {
    position: relative;
    overflow: hidden;
}

.promo-video-container iframe {
    border: none;
    border-radius: 0;
}

/* Overlay d'information sur la vidéo */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-video-container:hover .video-overlay {
    opacity: 1;
}

/* Playlist de vidéos */
.video-playlist {
    background-color: #f8f9fa;
}

.video-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.video-item:hover {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateX(5px);
}

/* Thumbnails des vidéos */
.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.video-thumbnail img {
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

/* Overlay de lecture */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(40, 167, 69, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Titres des vidéos */
.video-item h6 {
    color: #333;
    line-height: 1.2;
    font-weight: 600;
}

.video-item:hover h6 {
    color: #28a745;
}

/* Durée des vidéos */
.video-item small {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Header de la section vidéo */
.card-header.bg-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
}

.card-header h6 {
    font-weight: 600;
}

/* Bouton voir plus */
.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    transform: translateY(-1px);
}

/* Animation pour les éléments vidéo */
.video-item {
    animation: fadeInUp 0.5s ease-out;
}

.video-item:nth-child(1) { animation-delay: 0.1s; }
.video-item:nth-child(2) { animation-delay: 0.2s; }
.video-item:nth-child(3) { animation-delay: 0.3s; }

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

/* Responsive pour la zone vidéo */
@media (max-width: 1200px) {
    .video-item h6 {
        font-size: 0.8rem;
    }
    
    .video-item small {
        font-size: 0.7rem;
    }
    
    .play-overlay {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

/* Effet de bordure animée pour la carte vidéo */
.card:has(.promo-video-container) {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #28a745, #20c997) border-box;
    transition: all 0.3s ease;
}

.card:has(.promo-video-container):hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
    transform: translateY(-2px);
}

/* Icône de lecture dans le header */
.card-header i.bi-play-circle {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}/* ===
=========================================
   SYSTÈME DE ROTATION VIDÉOS FACEBOOK
   ============================================ */

/* Barre de progression vidéo */
.video-progress {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b0982, #2fa33c);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

/* État actif des éléments vidéo */
.video-item.active {
    background-color: rgba(139, 9, 130, 0.1) !important;
    border-left: 4px solid #8b0982;
    transform: translateX(0) !important;
}

.video-item.active .video-thumbnail {
    border: 2px solid #8b0982;
}

.video-item.active .play-overlay {
    background: rgba(139, 9, 130, 0.9);
    animation: activeVideoPulse 2s ease-in-out infinite;
}

.video-item.active h6 {
    color: #8b0982 !important;
    font-weight: 700;
}

/* Animation pour la vidéo active */
@keyframes activeVideoPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(139, 9, 130, 0.7);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 8px rgba(139, 9, 130, 0);
    }
}

/* Transition fluide pour le changement de vidéo */
#mainVideoPlayer {
    transition: opacity 0.3s ease-in-out;
}

/* Indicateur de lecture automatique */
.video-overlay::before {
    content: '🔄 Auto-play';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-video-container:hover .video-overlay::before {
    opacity: 1;
}

/* Amélioration de l'overlay vidéo */
.video-overlay {
    background: linear-gradient(
        transparent 0%, 
        transparent 60%, 
        rgba(0, 0, 0, 0.3) 80%, 
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 1;
}

/* Animation de chargement pour les thumbnails */
.video-thumbnail img {
    transition: all 0.3s ease;
}

.video-item.active .video-thumbnail img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Effet de bordure pour le container principal */
.promo-video-container {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.promo-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(45deg, #8b0982, #2fa33c) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.promo-video-container:hover::after {
    opacity: 0.5;
}

/* Responsive pour la barre de progression */
@media (max-width: 1200px) {
    .video-progress {
        height: 2px;
    }
    
    .video-overlay::before {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
}

/* Animation de transition entre vidéos */
@keyframes videoTransition {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

.video-transitioning {
    animation: videoTransition 0.6s ease-in-out;
}
/* ========
====================================
   LECTEUR VIDÉO PROMOTIONNEL AUTONOME
   ============================================ */

/* Conteneur principal du lecteur vidéo */
.promo-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

/* Styles pour la vidéo */
.promo-video-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Overlay avec dégradé */
.video-overlay {
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.7) 100%) !important;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.promo-video-container:hover .video-overlay {
    opacity: 1;
}

/* Barre de progression */
.video-progress-bar .progress {
    height: 3px !important;
    background: rgba(255,255,255,0.3) !important;
    border-radius: 0;
}

.video-progress-bar .progress-bar {
    background: linear-gradient(90deg, #2fa33c, #8b0982) !important;
    transition: width 0.1s ease;
}

/* Informations vidéo */
.video-info {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
}

.video-info h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.video-info small {
    font-size: 0.75rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Contrôles de lecture */
.video-controls button {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-controls button:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.5) !important;
    transform: scale(1.1);
}

.video-controls button i {
    font-size: 0.8rem;
}

/* Indicateur de vidéo */
.video-indicator .badge {
    background: linear-gradient(45deg, #2fa33c, #8b0982) !important;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

/* Loader */
#videoLoader {
    z-index: 10;
}

#videoLoader .spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .video-info {
        padding: 0.75rem !important;
    }
    
    .video-info h6 {
        font-size: 0.8rem;
    }
    
    .video-info small {
        font-size: 0.7rem;
    }
    
    .video-controls button {
        width: 28px;
        height: 28px;
    }
    
    .video-controls button i {
        font-size: 0.7rem;
    }
    
    .video-indicator .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Animation de transition entre vidéos */
.promo-video-container.transitioning video {
    opacity: 0.5;
    transform: scale(1.02);
}

/* Effet de focus pour l'accessibilité */
.promo-video-container:focus-within {
    outline: 2px solid #8b0982;
    outline-offset: 2px;
}

/* Optimisation pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .promo-video-container video {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Styles pour les états de chargement */
.promo-video-container.loading {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    background-size: 400% 400%;
    animation: loadingGradient 2s ease-in-out infinite;
}

@keyframes loadingGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Amélioration de la performance */
.promo-video-container {
    will-change: transform;
    transform: translateZ(0);
}

.video-overlay {
    will-change: opacity;
}
/* ======
======================================
   FACEBOOK REELS INTÉGRÉS - STYLE NATIF
   ============================================ */

/* Conteneur principal des Reels Facebook */
.facebook-reel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #1877f2;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.15);
    transition: all 0.3s ease;
}

.facebook-reel-container:hover {
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.25);
}

/* Styles pour l'iframe Facebook */
.facebook-reel-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #000;
}

/* Overlay discret pour les Reels Facebook */
.facebook-reel-overlay {
    background: linear-gradient(transparent 70%, rgba(0,0,0,0.8)) !important;
    border-radius: 0 0 8px 8px;
    transition: opacity 0.3s ease;
}

.facebook-reel-container:hover .facebook-reel-overlay {
    opacity: 1;
}

/* Informations des Reels */
.facebook-reel-overlay .text-white {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-weight: 500;
}

.facebook-reel-overlay small {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Contrôles des Reels */
.reel-controls button {
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #1877f2 !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reel-controls button:hover {
    background: white !important;
    border-color: #1877f2 !important;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.reel-controls button i {
    font-size: 0.9rem;
}

/* Indicateur de Reel */
.video-indicator .badge {
    background: linear-gradient(45deg, #1877f2, #42a5f5) !important;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-weight: 600;
    text-shadow: none;
}

/* Protection anti-redirection */
.facebook-protection {
    pointer-events: none !important;
    z-index: 1;
}

/* Animation de transition entre Reels */
.facebook-reel-container.transitioning iframe {
    opacity: 0.7;
    transform: scale(0.98);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .facebook-reel-overlay {
        padding: 0.75rem !important;
    }
    
    .facebook-reel-overlay small {
        font-size: 0.7rem;
    }
    
    .reel-controls button {
        width: 32px;
        height: 32px;
    }
    
    .reel-controls button i {
        font-size: 0.8rem;
    }
    
    .video-indicator .badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Optimisation pour les performances */
.facebook-reel-container {
    will-change: transform;
    transform: translateZ(0);
}

.facebook-reel-overlay {
    will-change: opacity;
}

/* Style Facebook authentique */
.facebook-reel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1877f2, #42a5f5, #1877f2);
    z-index: 2;
    opacity: 0.8;
}

/* Effet de chargement Facebook */
.facebook-reel-container.loading {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    background-size: 400% 400%;
    animation: facebookLoading 2s ease-in-out infinite;
}

@keyframes facebookLoading {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}/* =
===========================================
   BANNIÈRE VIDÉO PROMOTIONNELLE - PAGE ACCUEIL
   ============================================ */

/* Conteneur de la bannière vidéo */
.promo-video-banner {
    position: relative;
}

.promo-video-banner video {
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 32px rgba(139, 9, 130, 0.2) !important;
}

.promo-video-banner video:hover {
    box-shadow: 0 12px 40px rgba(139, 9, 130, 0.3) !important;
}

/* Navigation des vidéos */
.video-navigation .video-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8b0982;
    color: #8b0982;
    font-weight: bold;
    transition: all 0.3s ease;
}

.video-navigation .video-nav-btn:hover {
    background-color: #8b0982;
    color: white;
    transform: scale(1.1);
}

.video-navigation .video-nav-btn.active {
    background-color: #8b0982;
    color: white;
    border-color: #8b0982;
}

/* Responsive */
@media (max-width: 768px) {
    .promo-video-banner {
        margin-top: 2rem;
    }
    
    .video-navigation .video-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Animation d'entrée */
.promo-video-banner {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}/* 
============================================
   BANNIÈRE VIDÉO PROMOTIONNELLE PREMIUM
   ============================================ */

/* Section principale */
.promo-video-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e  50%, #0f3460 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Fond dégradé animé */
.promo-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 9, 130, 0.1) 0%, 
        rgba(47, 163, 60, 0.1) 50%, 
        rgba(139, 9, 130, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Contenu textuel */
.promo-content {
    animation: slideInLeft 1s ease-out;
}

.promo-badge .badge-premium {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(139, 9, 130, 0.3);
    animation: pulse 2s infinite;
}

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

.promo-title {
    font-size: 3rem;
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.promo-title strong {
    font-weight: 700;
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Boutons d'action */
.promo-actions {
    margin-top: 2rem;
}

.btn-premium {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.3);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 9, 130, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Conteneur vidéo premium */
.promo-video-container {
    animation: slideInRight 1s ease-out;
}

.video-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(45deg, rgba(139, 9, 130, 0.2), rgba(47, 163, 60, 0.2));
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.video-wrapper:hover .promo-video {
    transform: scale(1.02);
}

/* Overlay de lecture */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-play-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.video-wrapper:hover .play-button {
    transform: scale(1);
}

/* Navigation vidéos premium */
.video-navigation-premium {
    display: flex;
    justify-content: center;
}

.nav-container {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-nav-premium {
    position: relative;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
}

.video-nav-premium:hover {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.3);
}

.video-nav-premium.active {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.4);
}

.nav-number {
    position: relative;
    z-index: 2;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.video-nav-premium.active .nav-indicator {
    transform: scaleX(1);
}

/* Éléments décoratifs */
.promo-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(139, 9, 130, 0.1), rgba(47, 163, 60, 0.1));
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.decoration-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

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

/* Animations d'entrée */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .promo-title {
        font-size: 2.2rem;
    }
    
    .promo-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-premium,
    .btn-outline-light {
        width: 100%;
        text-align: center;
    }
    
    .video-frame {
        padding: 15px;
        margin-top: 2rem;
    }
    
    .nav-container {
        gap: 10px;
        padding: 10px;
    }
    
    .video-nav-premium {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}/*
 ============================================
   BANNIÈRE DOUBLE VIDÉO PROMOTIONNELLE
   ============================================ */

/* Conteneur principal */
.dual-video-banner {
    position: relative;
}

/* Conteneurs vidéo */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-container video {
    transition: all 0.4s ease;
    border-radius: 8px;
}

.video-container:hover video {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.3) !important;
}

/* Indicateur de progression */
.video-progress-indicator {
    animation: fadeInUp 0.6s ease-out;
}

.video-progress-indicator .badge {
    background: linear-gradient(45deg, #8b0982, #2fa33c) !important;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    animation: pulse 2s infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .dual-video-banner .row {
        gap: 0.5rem !important;
    }
    
    .video-container video {
        border-radius: 6px;
    }
    
    .video-progress-indicator .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Animation d'entrée */
.dual-video-banner {
    animation: slideInRight 0.8s ease-out;
}

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

/* Effet de synchronisation */
.video-container video.syncing {
    opacity: 0.6;
    transform: scale(0.98);
}

/* Optimisation des performances */
.dual-video-banner {
    will-change: transform;
    transform: translateZ(0);
}/*
 ============================================
   BANNIÈRE VIDÉO SIMPLE
   ============================================ */

.video-banner-simple {
    position: relative;
}

.video-banner-simple video {
    transition: opacity 0.3s ease;
}

.video-banner-simple video:hover {
    box-shadow: 0 12px 40px rgba(139, 9, 130, 0.3) !important;
}

.video-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8b0982;
    color: #8b0982;
    font-weight: bold;
    transition: all 0.3s ease;
}

.video-btn:hover,
.video-btn.active {
    background-color: #8b0982;
    color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .video-banner-simple {
        margin-top: 2rem;
    }
    
    .video-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}/* ==
==========================================
   ROTATION AUTOMATIQUE VIDÉOS
   ============================================ */

/* Indicateur de progression circulaire */
.video-btn {
    position: relative;
    overflow: hidden;
}

.progress-ring {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-btn.active .progress-ring {
    opacity: 1;
}

.progress-circle {
    transition: stroke-dasharray 10s linear;
}

.video-btn.active .progress-circle {
    stroke-dasharray: 100 0;
}

/* Animation de transition vidéo */
.video-banner-simple video {
    transition: opacity 0.3s ease;
}

/* Bouton pause/play */
#pause-autoplay {
    color: #8b0982;
    text-decoration: none;
    transition: color 0.3s ease;
}

#pause-autoplay:hover {
    color: #2fa33c;
    text-decoration: none;
}

/* Indicateur de statut */
#autoplay-status {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Animation de pulsation pour le bouton actif */
.video-btn.active {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(139, 9, 130, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(139, 9, 130, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .progress-ring {
        display: none; /* Masquer sur mobile pour simplicité */
    }
    
    #autoplay-status {
        font-size: 0.7rem;
    }
}/* ====
========================================
   BANNIÈRE VIDÉO PROMOTIONNELLE PREMIUM - STYLE AMÉLIORÉ
   ============================================ */

/* Section principale avec dégradé */
.promo-video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.promo-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 9, 130, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(47, 163, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Conteneur vidéo avec effet glassmorphism */
.video-banner-simple {
    position: relative;
    padding: 25px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 
        0 25px 70px rgba(139, 9, 130, 0.12),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-banner-simple:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 90px rgba(139, 9, 130, 0.18),
        0 15px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Vidéo avec effets premium */
.video-banner-simple video {
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(139, 9, 130, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, rgba(139, 9, 130, 0.3), rgba(47, 163, 60, 0.3)) border-box;
}

.video-banner-simple video:hover {
    transform: scale(1.03);
    box-shadow: 
        0 30px 60px rgba(139, 9, 130, 0.25),
        0 12px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #8b0982, #2fa33c) border-box;
}

/* Boutons de navigation premium */
.video-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    color: #8b0982;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(139, 9, 130, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.video-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: scale(0.8);
}

.video-btn:hover::before,
.video-btn.active::before {
    opacity: 1;
    transform: scale(1);
}

.video-btn:hover,
.video-btn.active {
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 
        0 15px 35px rgba(139, 9, 130, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-btn span {
    position: relative;
    z-index: 2;
}

/* Container de navigation avec style premium */
.video-navigation {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: inline-block;
    margin-bottom: 15px;
}

/* Contrôles de lecture stylisés */
.playback-controls {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#pause-autoplay {
    color: #8b0982;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 15px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(139, 9, 130, 0.1), rgba(139, 9, 130, 0.05));
    border: 1px solid rgba(139, 9, 130, 0.2);
    font-weight: 600;
}

#pause-autoplay:hover {
    color: white;
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 9, 130, 0.3);
}

/* Texte de statut amélioré */
#autoplay-status {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

#autoplay-status i {
    color: #2fa33c;
}

/* Responsive premium */
@media (max-width: 768px) {
    .video-banner-simple {
        padding: 20px;
        margin-top: 2rem;
        border-radius: 20px;
    }
    
    .video-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .video-navigation {
        padding: 15px 25px;
    }
    
    .playback-controls {
        padding: 10px 15px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    #autoplay-status {
        font-size: 0.8rem;
    }
}

/* Animation d'entrée sophistiquée */
.video-banner-simple {
    animation: slideInScale 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateX(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Effet de brillance sur hover */
.video-banner-simple::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.video-banner-simple:hover::after {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}/* ==
==========================================
   BANNIÈRE PRODUITS PROMOTIONNELS
   ============================================ */

/* Container principal */
.product-banner-showcase {
    position: relative;
    padding: 25px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 
        0 25px 70px rgba(139, 9, 130, 0.12),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInScale 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-banner-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 90px rgba(139, 9, 130, 0.18),
        0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Cartes produits */
.product-showcase-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-showcase-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(139, 9, 130, 0.2),
        0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Container d'image */
.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Badge promotion */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.product-badge .badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Overlay avec informations */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-showcase-card:hover .product-overlay {
    transform: translateY(0);
}

.product-info {
    color: white;
    text-align: center;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.product-price {
    margin-bottom: 10px;
}

.price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-right: 5px;
}

.price-new {
    color: #2fa33c;
    font-weight: 700;
    font-size: 0.9rem;
}

.price-current {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Placeholders */
.product-placeholder,
.product-placeholder-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    text-align: center;
}

.product-placeholder-full h6 {
    margin: 0;
    font-weight: 600;
    color: #495057;
}

/* Navigation produits */
.product-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

#prevProducts,
#nextProducts {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8b0982;
    color: #8b0982;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#prevProducts:hover,
#nextProducts:hover {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 9, 130, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .product-banner-showcase {
        padding: 20px;
        margin-top: 2rem;
    }
    
    .product-showcase-card {
        height: 220px;
    }
    
    .product-overlay {
        padding: 15px 10px 10px;
    }
    
    .product-title {
        font-size: 0.8rem;
    }
    
    .price-new,
    .price-current {
        font-size: 0.8rem;
    }
    
    .product-badge .badge {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* Animation d'apparition */
@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateX(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Effet de brillance */
.product-showcase-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.product-showcase-card:hover::after {
    opacity: 1;
    animation: shine 1s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
/* ===== 
BANNIÈRE VIDÉOS PROMOTIONNELLES ===== */
.promo-video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.promo-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.video-banner-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.video-player-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(139, 9, 130, 0.15),
        0 10px 20px rgba(47, 163, 60, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-player {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-player:hover {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 9, 130, 0.1) 0%,
        rgba(47, 163, 60, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.video-player-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-control-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8b0982;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(139, 9, 130, 0.3);
}

.video-sound-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-title h6 {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.video-indicators {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 9, 130, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.video-indicator.active {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.4);
}

.video-indicator:hover {
    transform: scale(1.1);
    background: rgba(139, 9, 130, 0.6);
}

.video-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.video-navigation .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 9, 130, 0.2);
}

/* Animations */
@keyframes videoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-player-wrapper {
    animation: videoFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.video-indicator.active {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .video-player {
        height: 250px;
    }
    
    .video-control-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .video-sound-btn {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .video-title {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 10px 12px;
    }
    
    .video-title h6 {
        font-size: 0.8rem;
    }
    
    .video-indicators {
        bottom: -12px;
        padding: 8px 12px;
    }
    
    .video-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .promo-video-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .video-player {
        height: 200px;
        border-radius: 15px;
    }
    
    .video-player-wrapper {
        border-radius: 15px;
    }
    
    .video-overlay {
        border-radius: 15px;
    }
}

/* Effets glassmorphism pour la section */
.promo-video-section {
    position: relative;
}

.promo-video-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 9, 130, 0.02) 0%,
        rgba(47, 163, 60, 0.02) 100%
    );
    pointer-events: none;
}
/* =
==== BANNIÈRE VIDÉOS PROMOTIONNELLES ===== */
.promo-video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.video-banner-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.video-player-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(139, 9, 130, 0.15),
        0 10px 20px rgba(47, 163, 60, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-player {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-player:hover {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 9, 130, 0.1) 0%,
        rgba(47, 163, 60, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.video-player-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-control-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8b0982;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(139, 9, 130, 0.3);
}

.video-sound-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-title h6 {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.video-indicators {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 9, 130, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.video-indicator.active {
    background: linear-gradient(45deg, #8b0982, #2fa33c);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.4);
}

.video-indicator:hover {
    transform: scale(1.1);
    background: rgba(139, 9, 130, 0.6);
}

.video-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.video-navigation .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 9, 130, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .video-player {
        height: 250px;
    }
    
    .video-control-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .video-sound-btn {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .video-title {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 10px 12px;
    }
    
    .video-title h6 {
        font-size: 0.8rem;
    }
    
    .video-indicators {
        bottom: -12px;
        padding: 8px 12px;
    }
    
    .video-indicator {
        width: 10px;
        height: 10px;
    }
}

/* ===== CLASSES MODERNES GÉNÉRALES ===== */
.section-title {
    font-size: 1.5rem;
    text-align: left;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2.section-title{
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
}

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

/* Boutons modernes */
.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 9, 130, 0.3);
    color: white;
}

.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-success-modern {
    background: linear-gradient(135deg, var(--success-color), #059669);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success-modern:hover {
    background: linear-gradient(135deg, #059669, var(--success-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

.btn-danger-modern {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger-modern:hover {
    background: linear-gradient(135deg, #dc2626, var(--danger-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    color: white;
}

/* Badges modernes */
.badge-modern {
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

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

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

.badge-warning-modern {
    background: var(--warning-color);
    color: white;
}

.badge-danger-modern {
    background: var(--danger-color);
    color: white;
}

.badge-info-modern {
    background: var(--info-color);
    color: white;
}

.badge-secondary-modern {
    background: #6b7280;
    color: white;
}

/* Cartes produits */
.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
}

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

.product-image {
    height: 250px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.old-price {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger-color);
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

/* Cartes catégories */
.category-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
    border: none;
}

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

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Icônes de cartes */
.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 3rem;
}

/* Couleurs personnalisées */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

/* ===== HERO SECTION PLEINE LARGEUR ===== */
.hero-section-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    background: var(--light-color);
}

/* ====
= CARROUSEL HERO DYNAMIQUE - SLIDE ULTRA FLUIDE ===== */
.hero-carousel {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.carousel-slide {
    display: flex;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    will-change: transform, opacity;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.carousel-images {
    width: 75%;
    display: flex;
    gap: 15px;
    padding: 40px;
    align-items: center;
    max-width: 1200px;
}

.carousel-image {
    flex: 1;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px) scale(0.9);
    will-change: transform, opacity;
}

.carousel-slide.active .carousel-image {
    animation: imageSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.carousel-slide.active .carousel-image:nth-child(1) {
    animation-delay: 0.2s;
}

.carousel-slide.active .carousel-image:nth-child(2) {
    animation-delay: 0.35s;
}

.carousel-slide.active .carousel-image:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes imageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateX(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-image:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
}

.carousel-image:hover img {
    transform: scale(1.15) rotate(2deg);
}

.carousel-text {
    width: 25%;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 400px;
    opacity: 0;
    transform: translateX(-60px);
    will-change: transform, opacity;
}

.carousel-slide.active .carousel-text {
    animation: textSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    60% {
        opacity: 1;
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-btn {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.carousel-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transform: translate(-50%, -50%);
    transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.carousel-btn:hover::after {
    width: 300px;
    height: 300px;
}

.carousel-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255,255,255,0.5);
    border-color: white;
}

/* Navigation du carrousel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 15px;
}

.carousel-nav.next {
    right: 15px;
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255,255,255,0.7);
}

/* Badge produit vedette */
.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 300px;
    }
    
    .carousel-slide {
        flex-direction: column;
    }
    
    .carousel-images {
        width: 100%;
        height: 60%;
        padding: 20px;
        gap: 10px;
    }
    
    .carousel-text {
        width: 100%;
        height: 40%;
        padding: 20px;
        max-width: none;
    }
    
    .carousel-category-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .carousel-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 250px;
    }
    
    .carousel-images {
        gap: 8px;
        padding: 15px;
    }
    
    .carousel-image {
        height: 120px;
    }
    
    .carousel-category-title {
        font-size: 1.4rem;
    }
    
    .carousel-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* ======
======================================
   STYLES POUR LES PRIX PRODUITS VEDETTES
   ============================================ */

/* Conteneur des prix */
.product-price {
    margin-bottom: 1rem;
}

/* Prix barré (ancien prix) - au-dessus */
.old-price {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: line-through;
    font-weight: 400;
    margin-bottom: 0.25rem;
    display: block;
}

/* Prix actuel - en dessous */
.current-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
}

/* Boutons plus petits */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.375rem;
}

/* Icône plus petite dans le bouton */
.btn-sm .bi {
    font-size: 0.875rem;
}

/* Optimisation mobile pour les prix */
@media (max-width: 768px) {
    .old-price {
        font-size: 0.8rem;
    }
    
    .current-price {
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .btn-sm .bi {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .old-price {
        font-size: 0.75rem;
    }
    
    .current-price {
        font-size: 0.95rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .btn-sm .bi {
        font-size: 0.75rem;
    }
}/* 
============================================
   PRODUITS VEDETTES - AFFICHAGE MOBILE 2 COLONNES
   ============================================ */

/* Optimisation mobile pour 2 colonnes */
@media (max-width: 768px) {
    /* Réduction de l'espacement entre les produits */
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    /* Optimisation des cartes produits */
    .product-card {
        font-size: 0.9rem;
    }
    
    .product-card .p-4 {
        padding: 0.75rem !important;
    }
    
    .product-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2;
    }
    
    .product-price {
        margin-bottom: 0.75rem !important;
    }
    
    .old-price {
        font-size: 0.75rem !important;
    }
    
    .current-price {
        font-size: 0.95rem !important;
    }
    
    /* Boutons plus compacts sur mobile */
    .btn-sm {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
    
    .btn-sm .bi {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    /* Espacement encore plus réduit sur très petits écrans */
    .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    
    .product-card .p-4 {
        padding: 0.5rem !important;
    }
    
    .product-title {
        font-size: 0.75rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .product-price {
        margin-bottom: 0.6rem !important;
    }
    
    .old-price {
        font-size: 0.7rem !important;
    }
    
    .current-price {
        font-size: 0.9rem !important;
    }
    
    /* Boutons très compacts */
    .btn-sm {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .btn-sm .bi {
        font-size: 0.75rem !important;
    }
    
    /* Réduction de la taille des images produits */
    .product-image {
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    /* Optimisation pour très petits écrans */
    .row.g-4 {
        --bs-gutter-x: 0.4rem;
        --bs-gutter-y: 0.4rem;
    }
    
    .product-card .p-4 {
        padding: 0.4rem !important;
    }
    
    .product-title {
        font-size: 0.7rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .old-price {
        font-size: 0.65rem !important;
    }
    
    .current-price {
        font-size: 0.85rem !important;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.7rem !important;
    }
    
    .product-image {
        height: 130px !important;
    }
}
/* ============================================
   SECTION CATÉGORIES HORIZONTALES AVEC SCROLL
   ============================================ */

.categories-horizontal-scroll {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.categories-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem 0;
    
    /* Masquer la scrollbar mais garder la fonctionnalité */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE et Edge */
}

.categories-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari et Opera */
}

.category-horizontal-card {
    flex: 0 0 auto;
    width: 200px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
    border-color: var(--primary-color);
}

.category-horizontal-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.category-image-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

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

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

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 2.5rem;
}

.category-info {
    padding: 1rem;
    text-align: center;
}

.category-horizontal-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.category-count {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
}

/* Indicateur de scroll */
.categories-horizontal-scroll::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to left, rgba(248, 249, 250, 0.9), transparent);
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 2;
}

/* Animation d'entrée */
.category-horizontal-card {
    animation: slideInFromRight 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.category-horizontal-card:nth-child(1) { animation-delay: 0.1s; }
.category-horizontal-card:nth-child(2) { animation-delay: 0.2s; }
.category-horizontal-card:nth-child(3) { animation-delay: 0.3s; }
.category-horizontal-card:nth-child(4) { animation-delay: 0.4s; }
.category-horizontal-card:nth-child(5) { animation-delay: 0.5s; }
.category-horizontal-card:nth-child(n+6) { animation-delay: 0.6s; }

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE - CATÉGORIES HORIZONTALES
   ============================================ */

@media (max-width: 768px) {
    .categories-scroll-container {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .category-horizontal-card {
        width: 160px;
    }
    
    .category-image-container {
        height: 100px;
    }
    
    .category-info {
        padding: 0.75rem;
    }
    
    .category-horizontal-name {
        font-size: 0.9rem;
    }
    
    .category-count {
        font-size: 0.8rem;
    }
    
    .category-placeholder {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .categories-scroll-container {
        gap: 0.75rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .category-horizontal-card {
        width: 140px;
    }
    
    .category-image-container {
        height: 80px;
    }
    
    .category-info {
        padding: 0.5rem;
    }
    
    .category-horizontal-name {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .category-count {
        font-size: 0.75rem;
    }
    
    .category-placeholder {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-horizontal-card {
        width: 120px;
    }
    
    .category-image-container {
        height: 70px;
    }
    
    .category-horizontal-name {
        font-size: 0.8rem;
    }
    
    .category-count {
        font-size: 0.7rem;
    }
    
    .category-placeholder {
        font-size: 1.2rem;
    }
}

/* Effet de focus pour l'accessibilité */
.category-horizontal-card a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Amélioration du contraste pour l'accessibilité */
.category-horizontal-card:focus-within {
    box-shadow: 0 0 0 3px rgba(139, 9, 130, 0.3);
}/* =====
=======================================
   CARROUSEL D'IMAGES CATÉGORIES - AUTOMATIQUE
   ============================================ */

/* Mise à jour du conteneur d'images */
.category-image-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* Carrousel d'images */
.category-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.category-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    transform: scale(1);
}

.category-carousel-image.active {
    opacity: 1;
    z-index: 2;
}

.category-horizontal-card:hover .category-carousel-image.active {
    transform: scale(1.05);
    transition: transform 0.3s ease, opacity 0.5s ease-in-out;
}

/* Placeholder avec transition */
.category-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.category-placeholder.active {
    opacity: 1;
    z-index: 2;
}

/* Indicateur de carrousel subtil */
.category-image-container::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: carouselPulse 2s infinite;
    z-index: 3;
}

@keyframes carouselPulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Pause du carrousel au hover */
.category-horizontal-card:hover .category-image-container::after {
    animation-play-state: paused;
    opacity: 0.5;
}

/* Responsive pour le carrousel */
@media (max-width: 768px) {
    .category-image-container {
        height: 100px;
    }
    
    .category-placeholder {
        font-size: 2rem;
    }
    
    .category-image-container::after {
        width: 5px;
        height: 5px;
        bottom: 6px;
        right: 6px;
    }
}

@media (max-width: 576px) {
    .category-image-container {
        height: 80px;
    }
    
    .category-placeholder {
        font-size: 1.5rem;
    }
    
    .category-image-container::after {
        width: 4px;
        height: 4px;
        bottom: 5px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .category-image-container {
        height: 70px;
    }
    
    .category-placeholder {
        font-size: 1.2rem;
    }
}/* 
============================================
   CATÉGORIES AVEC OVERLAY - IMAGE PLEINE HAUTEUR
   ============================================ */

/* Modification de la carte pour hauteur complète */
.category-horizontal-card {
    flex: 0 0 auto;
    width: 200px;
    height: 160px; /* Hauteur fixe pour image pleine */
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Image occupe toute la hauteur */
.category-image-container {
    position: relative;
    width: 100%;
    height: 100%; /* Hauteur complète */
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* Overlay avec dégradé pour lisibilité du texte */
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 80%,
        transparent 100%
    );
    color: white;
    padding: 1rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.category-overlay-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.category-overlay-action {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Effet hover sur la carte */
.category-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
    border-color: var(--primary-color);
}

.category-horizontal-card:hover .category-overlay {
    background: linear-gradient(
        to top,
        rgba(139, 9, 130, 0.9) 0%,
        rgba(139, 9, 130, 0.7) 50%,
        rgba(139, 9, 130, 0.3) 80%,
        transparent 100%
    );
}

.category-horizontal-card:hover .category-overlay-action {
    opacity: 1;
    transform: translateX(3px);
}

/* Animation de l'icône flèche */
.category-overlay-action i {
    transition: transform 0.3s ease;
}

.category-horizontal-card:hover .category-overlay-action i {
    transform: translateX(3px);
}

/* Mise à jour de l'indicateur de carrousel */
.category-image-container::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: carouselPulse 2s infinite;
    z-index: 5;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE - CATÉGORIES OVERLAY
   ============================================ */

@media (max-width: 768px) {
    .category-horizontal-card {
        width: 160px;
        height: 140px;
    }
    
    .category-overlay {
        padding: 0.75rem;
    }
    
    .category-overlay-name {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .category-overlay-action {
        font-size: 0.8rem;
    }
    
    .category-image-container::after {
        width: 5px;
        height: 5px;
        top: 6px;
        right: 6px;
    }
}

@media (max-width: 576px) {
    .category-horizontal-card {
        width: 140px;
        height: 120px;
    }
    
    .category-overlay {
        padding: 0.6rem;
    }
    
    .category-overlay-name {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .category-overlay-action {
        font-size: 0.75rem;
    }
    
    .category-image-container::after {
        width: 4px;
        height: 4px;
        top: 5px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .category-horizontal-card {
        width: 120px;
        height: 100px;
    }
    
    .category-overlay {
        padding: 0.5rem;
    }
    
    .category-overlay-name {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .category-overlay-action {
        font-size: 0.7rem;
    }
}

/* Amélioration de l'accessibilité */
.category-horizontal-card a:focus .category-overlay {
    background: linear-gradient(
        to top,
        rgba(139, 9, 130, 0.95) 0%,
        rgba(139, 9, 130, 0.8) 50%,
        rgba(139, 9, 130, 0.4) 80%,
        transparent 100%
    );
    outline: 2px solid white;
    outline-offset: -2px;
}

/* Animation d'entrée pour l'overlay */
.category-overlay {
    animation: overlayFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.category-horizontal-card:nth-child(1) .category-overlay { animation-delay: 0.2s; }
.category-horizontal-card:nth-child(2) .category-overlay { animation-delay: 0.3s; }
.category-horizontal-card:nth-child(3) .category-overlay { animation-delay: 0.4s; }
.category-horizontal-card:nth-child(4) .category-overlay { animation-delay: 0.5s; }
.category-horizontal-card:nth-child(5) .category-overlay { animation-delay: 0.6s; }
.category-horizontal-card:nth-child(n+6) .category-overlay { animation-delay: 0.7s; }

@keyframes overlayFadeIn {
    to {
        opacity: 1;
    }
}/*
 ============================================
   CORRECTION - STYLES CARROUSEL CATÉGORIES
   ============================================ */

/* Carrousel d'images - styles de base */
.category-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.category-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    transform: scale(1);
    z-index: 1;
}

.category-carousel-image.active {
    opacity: 1;
    z-index: 2;
}

.category-horizontal-card:hover .category-carousel-image.active {
    transform: scale(1.05);
    transition: transform 0.3s ease, opacity 0.5s ease-in-out;
}

/* Placeholder avec styles corrects */
.category-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.category-placeholder.active {
    opacity: 1;
    z-index: 2;
}

/* S'assurer que l'overlay est au-dessus */
.category-overlay {
    z-index: 10 !important;
}

/* Correction pour l'indicateur */
.category-image-container::after {
    z-index: 15 !important;
}/* 
============================================
   DEBUG - FORCER L'AFFICHAGE DES IMAGES
   ============================================ */

/* S'assurer que les images sont visibles */
.category-carousel-image {
    display: block !important;
    visibility: visible !important;
}

.category-carousel-image.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

/* Fallback si pas d'images actives */
.category-carousel-image:first-child {
    opacity: 1;
    z-index: 2;
}

/* Debug - bordure rouge temporaire pour voir les conteneurs */
.category-image-container {
    border: 2px solid red !important;
}

.category-carousel {
    border: 2px solid blue !important;
}

.category-carousel-image {
    border: 2px solid green !important;
}/* ====
========================================
   CATÉGORIES HORIZONTALES - VERSION FINALE PROPRE
   ============================================ */

/* Conteneur principal */
.categories-horizontal-scroll {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.categories-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Carte catégorie - hauteur complète pour image */
.category-horizontal-card {
    flex: 0 0 auto;
    width: 200px;
    height: 220px; /* Augmenté de 160px à 220px */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.category-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
}

.category-horizontal-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* Conteneur image - occupe 100% */
.category-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* Carrousel d'images */
.category-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.category-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease;
    z-index: 1;
}

.category-carousel-image.active {
    opacity: 1;
    z-index: 2;
}

.category-horizontal-card:hover .category-carousel-image.active {
    transform: scale(1.05);
}

/* Placeholder */
.category-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.category-placeholder.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay avec texte sur l'image */
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 80%,
        transparent 100%
    );
    color: white;
    padding: 1rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.category-overlay-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.category-overlay-action {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Effet hover */
.category-horizontal-card:hover .category-overlay {
    background: linear-gradient(
        to top,
        rgba(139, 9, 130, 0.9) 0%,
        rgba(139, 9, 130, 0.7) 50%,
        rgba(139, 9, 130, 0.3) 80%,
        transparent 100%
    );
}

.category-horizontal-card:hover .category-overlay-action {
    opacity: 1;
    transform: translateX(3px);
}

.category-overlay-action i {
    transition: transform 0.3s ease;
}

.category-horizontal-card:hover .category-overlay-action i {
    transform: translateX(3px);
}

/* Indicateur carrousel */
.category-image-container::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: carouselPulse 2s infinite;
    z-index: 15;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .category-horizontal-card {
        width: 160px;
        height: 180px; /* Augmenté de 140px à 180px */
    }
    
    .category-overlay {
        padding: 0.75rem;
    }
    
    .category-overlay-name {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .category-overlay-action {
        font-size: 0.8rem;
    }
    
    .category-placeholder {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .category-horizontal-card {
        width: 140px;
        height: 160px; /* Augmenté de 120px à 160px */
    }
    
    .category-overlay {
        padding: 0.6rem;
    }
    
    .category-overlay-name {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .category-overlay-action {
        font-size: 0.75rem;
    }
    
    .category-placeholder {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-horizontal-card {
        width: 120px;
        height: 140px; /* Augmenté de 100px à 140px */
    }
    
    .category-overlay {
        padding: 0.5rem;
    }
    
    .category-overlay-name {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .category-overlay-action {
        font-size: 0.7rem;
    }
    
    .category-placeholder {
        font-size: 1.2rem;
    }
}
/* ============================================
   CATÉGORIES - TAILLE AUGMENTÉE LÉGÈREMENT
   ============================================ */

/* Carte catégorie - taille augmentée */
.category-horizontal-card {
    flex: 0 0 auto;
    width: 220px !important; /* Augmenté de 200px à 220px */
    height: 250px !important; /* Augmenté de 220px à 250px */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.category-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
}

.category-horizontal-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* Conteneur image - occupe 100% */
.category-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* Carrousel d'images */
.category-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.category-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease;
    z-index: 1;
}

.category-carousel-image.active {
    opacity: 1;
    z-index: 2;
}

.category-horizontal-card:hover .category-carousel-image.active {
    transform: scale(1.05);
}

/* Placeholder */
.category-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 2.8rem; /* Légèrement augmenté */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.category-placeholder.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay avec texte sur l'image */
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 80%,
        transparent 100%
    );
    color: white;
    padding: 1.2rem; /* Légèrement augmenté */
    z-index: 10;
    transition: all 0.3s ease;
}

.category-overlay-name {
    font-size: 1.1rem; /* Légèrement augmenté */
    font-weight: 600;
    margin-bottom: 0.6rem; /* Légèrement augmenté */
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.category-overlay-action {
    font-size: 0.9rem; /* Légèrement augmenté */
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Effet hover */
.category-horizontal-card:hover .category-overlay {
    background: linear-gradient(
        to top,
        rgba(139, 9, 130, 0.9) 0%,
        rgba(139, 9, 130, 0.7) 50%,
        rgba(139, 9, 130, 0.3) 80%,
        transparent 100%
    );
}

.category-horizontal-card:hover .category-overlay-action {
    opacity: 1;
    transform: translateX(3px);
}

.category-overlay-action i {
    transition: transform 0.3s ease;
}

.category-horizontal-card:hover .category-overlay-action i {
    transform: translateX(3px);
}

/* Indicateur carrousel */
.category-image-container::after {
    content: '';
    position: absolute;
    top: 10px; /* Légèrement ajusté */
    right: 10px; /* Légèrement ajusté */
    width: 7px; /* Légèrement augmenté */
    height: 7px; /* Légèrement augmenté */
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: carouselPulse 2s infinite;
    z-index: 15;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* Responsive avec nouvelles tailles */
@media (max-width: 768px) {
    .category-horizontal-card {
        width: 180px !important; /* Augmenté de 160px à 180px */
        height: 200px !important; /* Augmenté de 180px à 200px */
    }
    
    .category-overlay {
        padding: 0.9rem;
    }
    
    .category-overlay-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .category-overlay-action {
        font-size: 0.85rem;
    }
    
    .category-placeholder {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .category-horizontal-card {
        width: 160px !important; /* Augmenté de 140px à 160px */
        height: 180px !important; /* Augmenté de 160px à 180px */
    }
    
    .category-overlay {
        padding: 0.7rem;
    }
    
    .category-overlay-name {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .category-overlay-action {
        font-size: 0.8rem;
    }
    
    .category-placeholder {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .category-horizontal-card {
        width: 140px !important; /* Augmenté de 120px à 140px */
        height: 160px !important; /* Augmenté de 140px à 160px */
    }
    
    .category-overlay {
        padding: 0.6rem;
    }
    
    .category-overlay-name {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .category-overlay-action {
        font-size: 0.75rem;
    }
    
    .category-placeholder {
        font-size: 1.4rem;
    }
}/* =
===========================================
   SECTION NOUVEAUX PRODUITS
   ============================================ */

/* Badge nouveau produit */
.new-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: newBadgePulse 2s infinite;
}

@keyframes newBadgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
    }
}

/* Carte nouveau produit avec effet spécial */
.new-product-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.new-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Effet de lueur subtile pour les nouveaux produits */
.new-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(16, 185, 129, 0.05) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

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

/* Animation d'entrée pour les nouveaux produits */
.new-product-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.new-product-card:nth-child(1) { animation-delay: 0.1s; }
.new-product-card:nth-child(2) { animation-delay: 0.2s; }
.new-product-card:nth-child(3) { animation-delay: 0.3s; }
.new-product-card:nth-child(4) { animation-delay: 0.4s; }
.new-product-card:nth-child(5) { animation-delay: 0.5s; }
.new-product-card:nth-child(6) { animation-delay: 0.6s; }
.new-product-card:nth-child(7) { animation-delay: 0.7s; }
.new-product-card:nth-child(8) { animation-delay: 0.8s; }

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

/* Responsive pour les nouveaux produits */
@media (max-width: 768px) {
    .new-product-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        top: 8px;
        left: 8px;
    }
}

@media (max-width: 576px) {
    .new-product-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
        top: 6px;
        left: 6px;
    }
}

@media (max-width: 480px) {
    .new-product-badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }
}
/* Secti
/* Section Vidéos E-commerce - 25% de l'écran avec Facebook */
.video-showcase-section {
    margin: 0;
    padding: 0;
    background: #fff;
}

.video-grid {
    display: flex;
    justify-content: center; /* Centrer les éléments */
    align-items: flex-start;
    gap: 15px;
    max-width: 100%;
    padding: 0 20px;
}

.video-item {
    position: relative;
    width: 25vw; /* 25% de la largeur de l'écran */
    height: 50vh; /* 50% de la hauteur de l'écran (45% + 5%) */
    min-width: 200px;
    min-height: 280px; /* Hauteur minimale augmentée */
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

/* Styles spécifiques pour vidéo locale */
.video-item.local-video {
    border: 2px solid #28a745;
}

/* Styles spécifiques pour vidéo Facebook */
.video-item.facebook-video {
    border: 2px solid #1877f2;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}
.video-item.product-showcase {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.product-showcase-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-image-container {
    width: 100%;
    height: 75%; /* Augmenté de 70% à 75% */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Affiche l'image complète sans couper */
    transition: transform 0.3s ease;
}

.video-item.product-showcase:hover .product-showcase-image {
    transform: scale(1.02); /* Effet plus subtil */
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: white;
}

.product-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%; /* Réduit de 30% à 25% pour laisser plus de place à l'image */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.video-type-badge.product {
    background: rgba(255, 215, 0, 0.9);
    color: #333;
}

.product-details {
    color: white;
}

.product-showcase-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.product-rating i {
    font-size: 0.9rem;
    margin-right: 2px;
}

.rating-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.product-showcase-price {
    margin-bottom: 10px;
}

.product-showcase-price .old-price {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.7);
    margin-right: 5px;
}

.product-showcase-price .current-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd700;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-product-view {
    background: rgba(255,255,255,0.9);
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-product-view:hover {
    background: white;
    transform: translateY(-1px);
    color: #333;
    text-decoration: none;
}

.btn-product-cart {
    background: #ffd700;
    color: #333;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-product-cart:hover {
    background: #ffed4e;
    transform: scale(1.1);
}

.facebook-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1877f2;
    color: white;
}

.facebook-loading {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.facebook-video-embed {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.video-item:hover .showcase-video {
    transform: scale(1.02);
}

.video-overlay-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 70%,
        rgba(0,0,0,0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-item:hover .video-overlay-info {
    opacity: 1;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    pointer-events: all;
}

.video-label {
    position: absolute;
    top: 10px;
    left: 10px;
    pointer-events: all;
}

.video-type-badge {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.video-type-badge.local {
    background: rgba(40, 167, 69, 0.9);
}

.video-type-badge.facebook {
    background: rgba(24, 119, 242, 0.9);
}

.video-sound-toggle {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-sound-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.video-sound-toggle.sound-on i:before {
    content: "\f028";
}

.video-sound-toggle.sound-off i:before {
    content: "\f6a9";
}

/* Responsive Design */
@media (max-width: 1200px) {
    .video-item {
        width: 28vw; /* Réduire légèrement pour 3 éléments */
        height: 47vh;
    }
}

@media (max-width: 768px) {
    .video-grid {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .video-item {
        width: 80vw;
        height: 45vh;
        min-width: 300px;
        min-height: 250px;
    }
    
    .product-showcase-title {
        font-size: 1.1rem;
    }
    
    .product-actions {
        gap: 10px;
    }
    
    .btn-product-view {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .video-controls {
        bottom: 8px;
        right: 8px;
    }
    
    .video-sound-toggle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .video-item {
        width: 90vw;
        height: 43vh; /* 43% de hauteur (38% + 5%) */
        min-width: 280px;
        min-height: 230px; /* Hauteur minimale augmentée */
    }
    
    .video-sound-toggle {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* Animation d'entrée */
.video-item {
    animation: fadeInScale 0.6s ease-out;
}

.video-item.facebook-video {
    animation-delay: 0.2s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Performance optimizations */
.showcase-video {
    will-change: transform;
}

.video-overlay-info {
    will-change: opacity;
}
/* =
===========================================
   CATÉGORIES HORIZONTALES - SCROLL
   ============================================ */

.categories-horizontal-scroll {
    position: relative;
    overflow: hidden;
    padding: 0 15px;
}

.categories-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.categories-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.categories-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.categories-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.category-horizontal-card {
    flex: 0 0 250px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.2);
}

.category-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.category-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-carousel-image.active {
    opacity: 1;
}

.category-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-placeholder.active {
    opacity: 1;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.category-horizontal-card:hover .category-overlay {
    transform: translateY(0);
    opacity: 1;
}

.category-overlay-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.category-overlay-action {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

/* Responsive pour les catégories horizontales */
@media (max-width: 768px) {
    .categories-scroll-container {
        gap: 15px;
        padding: 15px 0;
    }
    
    .category-horizontal-card {
        flex: 0 0 200px;
        height: 150px;
    }
    
    .category-overlay {
        padding: 20px 15px 15px;
    }
    
    .category-overlay-name {
        font-size: 1rem;
    }
    
    .category-overlay-action {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .category-horizontal-card {
        flex: 0 0 180px;
        height: 130px;
    }
    
    .categories-scroll-container {
        gap: 10px;
    }
}

/* ============================================
   VIDÉOS INTÉGRÉES - DISPOSITION VERTICALE
   ============================================ */

.videos-sidebar {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 1.5rem; /* Réduit de 2rem à 1.5rem */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.videos-vertical-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-item-vertical {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 323px; /* Revient à la hauteur précédente */
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-vertical {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.facebook-video-vertical {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 15px;
}

.facebook-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.top-product-vertical {
    width: 100%;
    height: 100%;
    position: relative;
}

.top-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.product-placeholder-vertical {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.video-overlay-vertical {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item-vertical:hover .video-overlay-vertical {
    opacity: 1;
}

.video-badge {
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.video-badge.local {
    background: rgba(16, 185, 129, 0.9);
}

.video-badge.facebook {
    background: rgba(24, 119, 242, 0.9);
}

.video-badge.product {
    background: rgba(255, 215, 0, 0.9);
    color: #000;
}

.video-sound-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-sound-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.top-product-info {
    align-self: flex-end;
    text-align: center;
    color: white;
}

.top-product-info h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.rating-stars {
    font-size: 0.8rem;
}

/* Responsive pour les vidéos verticales */
@media (max-width: 991px) {
    .videos-sidebar {
        margin-bottom: 1.5rem; /* Réduit de 2rem à 1.5rem */
        position: static;
    }
    
    /* Garder les vidéos verticales sur tablette uniquement */
    .videos-vertical-container {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    
    .video-item-vertical {
        flex: 0 0 250px;
        height: 323px; /* Revient à la hauteur précédente */
    }
}

/* Forcer les vidéos verticales sur mobile */
@media (max-width: 768px) {
    .videos-vertical-container {
        flex-direction: column !important; /* Force vertical sur mobile */
        overflow-x: visible !important;
        gap: 1rem;
        padding-bottom: 0;
    }
    
    .video-item-vertical {
        flex: none !important; /* Retire le flex pour mobile */
        width: 100% !important;
        height: 200px; /* Hauteur réduite pour mobile */
    }
}

@media (max-width: 768px) {
    .videos-sidebar {
        padding: 1rem; /* Réduit de 1.5rem à 1rem */
        margin-bottom: 1rem; /* Ajoute une marge en bas pour séparer des produits */
    }
    
    .video-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .video-sound-btn {
        width: 30px;
        height: 30px;
    }
    
    /* Layout mobile - vidéos au-dessus des produits */
    .row > .col-12:first-child {
        flex: 0 0 100% !important; /* Vidéos prennent toute la largeur */
        max-width: 100% !important;
        padding-right: 0.75rem !important; /* Légère marge droite */
        padding-left: 0.75rem !important; /* Légère marge gauche */
    }
    
    .row > .col-12:last-child {
        flex: 0 0 100% !important; /* Produits prennent toute la largeur */
        max-width: 100% !important;
        padding-left: 0.75rem !important; /* Légère marge gauche */
        padding-right: 0.75rem !important; /* Légère marge droite */
    }
    
    /* Supprimer les marges de la grille produits */
    .row.g-4 {
        --bs-gutter-x: 0.5rem !important; /* Réduit l'espacement entre colonnes */
        --bs-gutter-y: 0.5rem !important;
    }
    
    /* Réduire l'espace entre image et contenu produit */
    .product-card .p-4 {
        padding: 0.75rem !important; /* Réduit de 1.5rem (p-4) à 0.75rem */
    }
    
    /* Réduire la hauteur du container d'image sur mobile */
    .product-card .position-relative {
        height: 140px !important; /* Réduit de 200px à 140px sur mobile */
    }
    
    .product-card .product-image {
        height: 140px !important; /* Assure que l'image suit la hauteur du container */
    }
    
    .product-card .product-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
    }
    
    .product-card .product-price {
        margin-bottom: 0.75rem !important;
    }
    
    .product-card .d-flex.gap-2 {
        gap: 0.25rem !important; /* Réduit l'espace entre boutons */
    }
    
    /* Ajuster les vidéos pour le layout vertical mobile */
    .videos-vertical-container {
        flex-direction: row !important; /* Vidéos horizontales sur mobile */
        overflow-x: auto !important;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    
    .video-item-vertical {
        flex: 0 0 200px !important; /* Largeur fixe pour scroll horizontal */
        width: 200px !important;
        height: 216px !important; /* Hauteur mobile augmentée de 20% supplémentaires (180px + 36px) */
    }
}

/* Animation pour les vidéos */
.video-item-vertical {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item-vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Amélioration de la grille produits pour 75% */
@media (min-width: 992px) {
    .col-lg-9 .row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Uniformisation des hauteurs - Vidéos et Produits */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card .position-relative {
    height: 200px; /* Même hauteur que l'image */
}

.product-card .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* ===
=========================================
   IMAGES NOUVEAUX PRODUITS - TAILLE RÉELLE
   ============================================ */

.new-product-image {
    width: 100% !important;
    height: 250px !important; /* Hauteur fixe pour uniformité */
    object-fit: contain !important; /* Affiche l'image complète sans recadrage */
    object-position: center !important; /* Centre l'image */
    background-color: #f8f9fa; /* Fond léger pour les espaces vides */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.new-product-card:hover .new-product-image {
    transform: scale(1.02);
}

/* Assure que le conteneur s'adapte à l'image */
.new-product-card .position-relative {
    min-height: auto !important;
    height: auto !important;
}

/* Style pour le placeholder des nouveaux produits */
.new-product-card .new-product-image.d-flex {
    height: 250px !important; /* Hauteur pour le placeholder */
}

/* ============================================
   SECTION NOUVEAUX PRODUITS - STYLES MANQUANTS
   ============================================ */

/* Carte produit nouveau */
.new-product-card {
    position: relative;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.new-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
}

/* Badge nouveau produit */
.new-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

/* Image nouveau produit */
.new-product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

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

/* Boutons modernes */
.btn-primary-modern {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 9, 130, 0.2);
}

.btn-primary-modern:hover {
    background: linear-gradient(45deg, var(--primary-dark), #5a0552);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.3);
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.2);
}

/* Titre produit dans la section nouveaux */
.new-product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.new-product-card .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.new-product-card .product-title a:hover {
    color: var(--primary-color);
}

/* Prix dans la section nouveaux */
.new-product-card .product-price {
    margin-bottom: 1rem;
}

.new-product-card .current-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

/* Actions produit */
.new-product-card .d-flex.gap-2 {
    gap: 0.5rem !important;
}

/* Animation pulse pour le badge */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
}

/* Responsive pour nouveaux produits */
@media (max-width: 768px) {
    .new-product-image {
        height: 200px;
    }
    
    .new-product-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .new-product-card .product-title {
        font-size: 0.9rem;
    }
    
    .new-product-card .current-price {
        font-size: 1.1rem;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .new-product-image {
        height: 180px;
    }
    
    .new-product-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
        top: 8px;
        left: 8px;
    }
    
    .new-product-card .product-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .new-product-card .current-price {
        font-size: 1rem;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
}

/* ============================================
   TITRE SECTION NOUVEAUX PRODUITS
   ============================================ */

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
    }
}/* ===
=========================================
   CARTES MODERNES - SECTION SERVICES
   ============================================ */

.modern-card {
    background: white;
    border-radius: 15px;
    border: none;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.modern-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 9, 130, 0.3);
}

.modern-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modern-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive pour cartes modernes */
@media (max-width: 768px) {
    .modern-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modern-card h5 {
        font-size: 1.1rem;
    }
    
    .modern-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .modern-card {
        padding: 1rem !important;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .modern-card h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .modern-card p {
        font-size: 0.85rem;
    }
}/* Styl
es pour les boutons WhatsApp des boutiques */
.btn-success.btn-sm {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-success.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Animation pour les cartes de boutiques */
.contact-store-card {
    transition: all 0.3s ease;
}

.contact-store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Style spécial pour la Côte d'Ivoire */
.store-international {
    position: relative;
    overflow: hidden;
}

.store-international::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

/* Responsive pour les boutons WhatsApp */
@media (max-width: 768px) {
    .btn-success.btn-sm {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}/* C
orrections pour la page contact */
.contact-page {
    min-height: 100vh;
}

/* Amélioration des cartes de boutiques */
.store-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Correction de l'alignement des boutons WhatsApp */
.store-whatsapp-btn {
    min-width: 100px;
    white-space: nowrap;
}

/* Responsive pour les cartes de boutiques */
@media (max-width: 768px) {
    .store-card .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .store-whatsapp-btn {
        align-self: flex-start;
        min-width: auto;
    }
}

/* Amélioration de l'espacement des sections */
.contact-section {
    padding: 2rem 0;
}

/* Correction des variables CSS manquantes */
:root {
    --success-light: rgba(25, 135, 84, 0.1);
    --warning-light: rgba(255, 193, 7, 0.1);
    --danger-light: rgba(220, 53, 69, 0.1);
    --warning-color: #ffc107;
}

/* Amélioration des accordéons FAQ */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 9, 130, 0.25);
}

/* Correction de l'affichage des icônes dans les cartes */
.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.card-icon i {
    display: block;
}

/* Amélioration du formulaire de contact */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 9, 130, 0.25);
}

/* Correction des boutons */
.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 9, 130, 0.3);
}

/* Amélioration de la section hero */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

/* Correction de l'espacement des sections */
.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Amélioration des cartes modernes */
.modern-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Correction des couleurs de texte */
.text-primary-custom {
    color: var(--primary-color) !important;
}

/* Amélioration responsive */
@media (max-width: 992px) {
    .col-lg-8, .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Correction des marges et paddings */
.p-5 {
    padding: 3rem !important;
}

@media (max-width: 768px) {
    .p-5 {
        padding: 2rem !important;
    }
    
    .p-4 {
        padding: 1.5rem !important;
    }
}

/* Page contact compacte - suppression des espaces vides */
.contact-compact {
    padding: 0;
    margin: 0;
}

.contact-compact .container {
    max-width: 1200px;
}

.contact-compact .row {
    margin: 0;
}

.contact-compact .col-12,
.contact-compact .col-lg-7,
.contact-compact .col-lg-5,
.contact-compact .col-lg-8,
.contact-compact .col-lg-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Cartes boutiques compactes */
.store-card-compact {
    min-height: 80px;
    display: flex;
    align-items: center;
}

.store-card-compact h6 {
    font-size: 0.95rem;
    color: var(--primary-color);
}

.store-card-compact small {
    font-size: 0.8rem;
}

/* Optimisation des espacements */
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* Formulaire compact */
.form-control,
.form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.form-label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

/* Boutons optimisés */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn {
    font-size: 0.9rem;
}

/* Responsive ultra-compact */
@media (max-width: 768px) {
    .py-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .p-4 {
        padding: 1rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
}

/* Suppression des marges inutiles */
.g-3 > * {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.g-4 > * {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-bottom: 1rem;
}

/* Hauteur uniforme pour les cartes */
.h-100 {
    height: 100% !important;
}

/* Optimisation des couleurs de fond */
:root {
    --light-color: #f8f9fa;
    --success-light: rgba(25, 135, 84, 0.1);
    --warning-light: rgba(255, 193, 7, 0.1);
    --danger-light: rgba(220, 53, 69, 0.1);
    --warning-color: #ffc107;
}

/* Suppression des espaces en trop dans les listes */
.row.g-2 > * {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    margin-bottom: 0.25rem;
}


/* ============================================
   ANIMATIONS POUR CURRENCY HANDLER
   ============================================ */

.spin {
    animation: spin 1s linear infinite;
}

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

.currency-form button:hover {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.currency-form button.active {
    background-color: var(--bs-success) !important;
    color: white !important;
}
