@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    scroll-behavior: smooth;
}

/* LOADER */
#loader {
    position: fixed; 
    inset: 0; 
    z-index: 9999; 
    background: #2D5A43;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader-finish {
    opacity: 0; 
    visibility: hidden;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1; 
    transform: translateY(0);
}

/* CHAT SCROLLBAR */
#chat-content::-webkit-scrollbar {
    width: 4px;
}

#chat-content::-webkit-scrollbar-thumb {
    background: #2D5A43; 
    border-radius: 10px;
}

/* CART */
.cart-open {
    transform: translateX(0) !important;
}

/* ==================== STYLES POUR LES PHOTOS & VIDÉOS ==================== */

/* Photos du produit */
.product-photo {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-photo:hover {
    transform: scale(1.08);
}

/* Conteneurs vidéos */
.video-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

/* Légendes sous photos et vidéos */
.section-caption {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
    margin-top: 1rem;
}

.dark .section-caption {
    color: #94a3b8;
}

/* Amélioration des grilles */
@media (max-width: 768px) {
    .grid.md\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Autres styles personnalisés que tu veux ajouter */