
/* MEGA MENU COLLECTIONS */

.navbar .mega-menu-collections {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 45px;
}

.navbar .collections-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 35px 50px !important;
    width: 100%;
}

.navbar .collections-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0;
}

.navbar .collections-category {
    display: block !important;
    width: 100%;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #26302a !important;
    line-height: 1.4 !important;
    padding: 0 0 12px !important;
    margin: 0 0 13px !important;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none !important;
    white-space: normal !important;
}

.navbar .collections-families {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px;
    width: 100%;
}

.navbar .collections-family {
    display: block !important;
    width: 100%;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    white-space: normal !important;
}

.navbar .collections-category:hover,
.navbar .collections-family:hover {
    color: #647363 !important;
}

@media (max-width: 991px) {
    .navbar .collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 25px !important;
    }

    .navbar .mega-menu-collections {
        padding: 25px;
    }
}

@media (max-width: 575px) {
    .navbar .collections-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Réduire la hauteur du méga menu */
.navbar .mega-menu-collections {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Rapprocher les catégories */
.navbar .collections-grid {
    row-gap: 20px !important;
}

/* Espacement entre les familles */
.navbar .collections-families {
    gap: 6px !important;
}

/* Réduire la distance titre / familles */
.navbar .collections-category {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
}

/* Réduire les marges imposées par le thème */
.navbar .collections-column {
    margin-bottom: 0 !important;
}

/* Titres des catégories en vert */
.navbar .collections-category {
    color: #606F60 !important;
    font-weight: 700 !important;
}

/* Survol des titres */
.navbar .collections-category:hover {
    color: #455545 !important;
}


/* CATÉGORIES ACCUEIL - HAUTEURS IDENTIQUES */

/* Cartes */
.shop-wrapper .grid-item .shop-box-accueil {
    position: relative;
    height: 420px !important;
    overflow: hidden;
}

/* Conteneur image */
.shop-wrapper .shop-image-accueil {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Images */
.shop-wrapper .shop-image-accueil img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contenu texte */
.shop-box-accueil .position-absolute {
    z-index: 2;
}

/* Titre et bouton */
.shop-box-accueil h3 {
    min-height: 85px;
    display: flex;
    align-items: flex-end;
}

/* Tablette */
@media (max-width: 991px) {
    .shop-wrapper .grid-item .shop-box-accueil {
        height: 360px !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .shop-wrapper .grid-item .shop-box-accueil {
        height: 320px !important;
    }

    .shop-box-accueil h3 {
        min-height: 0;
    }
}


