.babbikit-carousel-container * {
    box-sizing: border-box;
}

.babbikit-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 5px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.babbikit-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.babbikit-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 300%;
}

.babbikit-carousel-slide {
    flex: 0 0 33.333%;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 0px;
}

.babbikit-product-card {
    background: white;
    border-radius: 15px;
    padding: 0px;
    position: relative;
    flex: 1;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.babbikit-product-card:not(.babbikit-empty-card):hover {
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.01);
}

.babbikit-product-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.babbikit-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.babbikit-main-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.babbikit-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

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

.babbikit-product-card:hover .babbikit-main-image {
    opacity: 0;
}

.babbikit-empty-image {
    background-color: #f0f0f0;
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%), 
                      linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #e0e0e0 75%), 
                      linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.babbikit-empty-card {
    opacity: 0.3;
    pointer-events: none;
}

.babbikit-badge {
    position: absolute;
    top: 3rem;
    right: 40px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    z-index: 3;
}

.babbikit-badge.babbikit-success {
    background: linear-gradient(45deg, #fff, #fff);
    color: #FEB737;
}

.babbikit-badge.babbikit-promo {
    background: linear-gradient(45deg, #20c997, #17a2b8);
}

.babbikit-badge.babbikit-new {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
}

.babbikit-zoom-icon {
    position: absolute;
    bottom: 45px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    background: white; /* garde le fond blanc */
}

.babbikit-zoom-icon i.material-icons {
    font-size: 27px; /* taille de l'icône */
    color: #000; /* couleur de l'icône */
}

.babbikit-zoom-icon:hover {
    transform: scale(1);
    background-color: #f8f9fa;
}

.babbikit-product-title {
    font-size: 18px;
    font-weight: 600;
    color: #0E314B;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 50px;
}

.babbikit-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.babbikit-stars {
    display: flex;
    gap: 2px;
}

.babbikit-star {
    color: #ffc107;
    font-size: 14px;
}

.babbikit-star-empty {
    color: #d1d5db;
    font-size: 14px;
}

.babbikit-rating-text {
    font-size: 14px;
    color: #0E314B;
    font-weight: bold;
    margin-left: 8px;
}

.babbikit-rating-description {
    font-size: 14px;
    color: #666;
    margin-left: 8px;
    font-weight: normal;
}

.babbikit-product-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    text-decoration: none;
}

.babbikit-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* --- Bullets creux par défaut --- */
.babbikit-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    background-color: transparent; /* Supprimé !important */
    border: 2px solid #d1d5db; /* contour gris clair */
}

/* Couleurs fixes en contour */
.babbikit-nav-dot.babbikit-dot-color-1 {
    border-color: #FEB737;
}
.babbikit-nav-dot.babbikit-dot-color-2 {
    border-color: #6CC0BA;
}
.babbikit-nav-dot.babbikit-dot-color-3 {
    border-color: #9BB1FF;
}

/* Bullet actif : remplissage */
.babbikit-nav-dot.babbikit-active.babbikit-dot-color-1 {
    background-color: #FEB737;
    opacity: 1;
    transform: scale(1);
}
.babbikit-nav-dot.babbikit-active.babbikit-dot-color-2 {
    background-color: #6CC0BA;
    opacity: 1;
    transform: scale(1);
}
.babbikit-nav-dot.babbikit-active.babbikit-dot-color-3 {
    background-color: #9BB1FF;
    opacity: 1;
    transform: scale(1);
}

/* Hover : remplissage avec les couleurs correspondantes */
.babbikit-nav-dot.babbikit-dot-color-1:hover {
    background-color: #FEB737;
    opacity: 0.8;
    transform: scale(1);
}

.babbikit-nav-dot.babbikit-dot-color-2:hover {
    background-color: #6CC0BA;
    opacity: 0.8;
    transform: scale(1);
}

.babbikit-nav-dot.babbikit-dot-color-3:hover {
    background-color: #9BB1FF;
    opacity: 0.8;
    transform: scale(1);
}

.babbikit-nav-dot.babbikit-active:hover {
    transform: scale(1);
}

@media (max-width: 768px) {
    .babbikit-carousel-slide {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .babbikit-product-card {
        max-width: 280px;
        margin-bottom: 20px;
    }
    
    .babbikit-product-image {
        height: 300px;
    }

    .babbikit-product-image img {
        object-fit: contain;
        background: #f8f9fa;
    }
}

@media (max-width: 480px) {
    .babbikit-carousel-container {
        padding: 10px;
        margin: 0 10px;
    }
    
    .babbikit-product-card {
        max-width: 100%;
        width: 100%;
    }
    
    .babbikit-product-image {
        height: 250px;
    }

    .babbikit-product-image img {
        max-width: 100%;
        height: auto;
        min-height: 200px;
        object-fit: contain;
        background: #f8f9fa;
    }
    
    .babbikit-product-title {
        font-size: 16px;
        min-height: 40px;
    }
    
    .babbikit-carousel-slide {
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .babbikit-product-image {
        height: 200px;
    }
    
    .babbikit-product-title {
        font-size: 14px;
    }
    
    .babbikit-rating {
        font-size: 12px;
    }
}