/* Bouton dropdown mobile — caché sur desktop */
.cz-mobile-dropdown-btn {
    display: none;
}

#czcategorytabs {
    float: left;
    width: 100%;
    clear: both;
    margin: 50px 0 40px;
    position: relative;
}
#czcategorytabs .left-part {
    float: left;
    width: 20.04%;
    position: relative;
    border: 1px solid #dddddd;
    border-right: 0px;
}
#czcategorytabs .right-part {
    width: 79.96%;
    float: right;
}
#czcategorytabs #czcategory-tabs {
    background-color: #cef2eb;
    padding: 0px 0px;
}
#czcategorytabs li:last-child.nav-item {
    border-bottom: 0px;
}
#czcategorytabs li.nav-item {
    display: block;
    width: 100%;
    float: left;
    margin: 0px;
    border-bottom: 1px solid #afcec8;
}
#czcategorytabs li.nav-item a.nav-link {
    margin: 0px;
    width: 100%;
    color: #000000;
    padding: 12px 20px 12px;
    line-height: 25px;
    text-transform: initial;
}
#czcategorytabs li.nav-item a.nav-link:hover, 
#czcategorytabs li.nav-item a.nav-link.active {
    background-color: #ffffff;
}
#czcategorytabs .categorytab-inner {
    float: left;
    width: 100%;
    position: relative;
    /* border: 1px solid #dddddd; */
}
#czcategorytabs .tab-content {
    clear: both;
}
#czcategorytabs .product-description {
    min-height: 219px;
}
#czcategorytabs .categoryimage .category_img{ margin:25px 0; max-width: 100%; }
#czcategorytabs .tab-content .tab-pane{
	padding: 0px;
    border: none;
    background: none;
}
#czcategorytabs .products .view_more {
    position: absolute;
    top: -44px;
    right: 0px;
    margin: 0;
}
#czcategorytabs .products .view_more a {
    padding: 0px;
    background-color: transparent;
    border: 0px;
    color: #000000;
    border-bottom: 1px solid #000000;
    border-radius: 0px;
}
#czcategorytabs .products .view_more a:hover {
    color: #fc9135;
    border-color: #fc9135;
    box-shadow: none;
}
#czcategorytabs .tab-content .products { 
    position: relative;
    margin: 0px; 
}
#czcategorytabs .categorytab .category-title {
    padding: 0;
    text-transform: initial;
}
@media (max-width: 1199px) {
    #czcategorytabs .left-part {
        width: 25%;
    }
    #czcategorytabs .right-part {
        width: 75%;
    }
}
@media (max-width: 991px) {
    #czcategorytabs {
        margin-top: 25px;
        margin-bottom: 10px;
    }
    #czcategorytabs .left-part {
        width: 100%;
        border: 0px;
        position: relative;
    }
    #czcategorytabs .right-part {
        width: 100%;
    }
    #czcategorytabs .products .view_more {
        position: static;
        margin-top: 20px;
    }

    /* Bouton dropdown mobile */
    .cz-mobile-dropdown-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #cef2eb;
        padding: 12px 16px;
        cursor: pointer;
        border: 1px solid #afcec8;
        user-select: none;
        font-weight: 600;
    }
    .cz-dropdown-arrow {
        font-size: 11px;
        transition: transform 0.2s ease;
    }
    .czcategory-tab.open .cz-dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Liste des catégories cachée par défaut sur mobile */
    #czcategorytabs #czcategory-tabs {
        display: none;
        background-color: #fff;
        padding: 0;
        margin-bottom: 16px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        border: 1px solid #afcec8;
        border-top: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }
    .czcategory-tab.open #czcategory-tabs {
        display: block;
    }

    /* Items de la liste en vertical dans le dropdown */
    #czcategorytabs li.nav-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
    }
    #czcategorytabs li.nav-item:last-child {
        border-bottom: 0;
    }
    #czcategorytabs li.nav-item a.nav-link {
        padding: 10px 16px;
        display: block;
    }
    #czcategorytabs li.nav-item a.nav-link:hover,
    #czcategorytabs li.nav-item a.nav-link.active {
        background-color: #cef2eb;
        color: #000;
    }
}