.main-section {
    gap: 8px;
    padding: 0 6px;
    max-width: calc(1376px + 12px);
}

.results_header_title {
    display: flex;
    align-items: center;
    gap: 20px;
}

#bu-title {
    font-family: 'Poppins-semibold', 'Arial', sans-serif;
    font-size: 32px;
    color: #393939;
}

.care-catalog-container {
    width: 100%;
    display: flex;
    gap: 5px;
    flex-direction: column;
    padding: 0 6px;
}

.care-catalog-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.care-catalog-title-zone {
    display: flex;
    align-items: center;
    gap: 16px;
}

.results_header_title h1 {
    margin: 0;
    font-family: Poppins-semibold, Inter-bold, arial, sans-serif;
}

.care-catalog-title h2 {
    font-size: 24px;
    margin: 0;
    font-family: Poppins-semibold, Inter-bold, arial, sans-serif;
}

#catalog-filter, #catalog-zone {
    margin: 14px 0;
}

.results_header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-left: 6px;
    padding-right: 6px;
    align-items: center;
    gap: 16px;
}

.bu-title {
    order: 1;
}

.site-selection {
    order: 2;
}

.filter-button-container {
    order: 3;
    margin-left: auto;
}

#toggleBtn {
    cursor: pointer;
}

.filter-button-container {
    width: 150px;
}

.filter-button-container button {
    width: 100%;
}

#popupBox {
    position: absolute;
    top: 100%; /* positionnée juste sous le bouton */
    right: 0;
    background: white;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9999;
    max-width: 395px;
    width: 100%;
    line-height: unset;
    border-radius: 8px;
}

#popupBox.popup-open {
    display: block;
}

.ui-slider-horizontal {
    margin-left: 10px;
    margin-right: 10px;
}

.popupBox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 0 24px;
}

#clear-filters a {
    color: var(--main-color, #00ADB3);
    font-family: Inter-bold, arial, sans-serif;
    cursor: pointer;
}

.popupBox-header .popupBox-header-title {
    color: black;
    font-family: Inter-bold, arial, sans-serif;
    font-size: 16px;
}

.popupBox-header .popupBox-header-close {
    cursor: pointer;
}

.filter-menu-item-title {
    font-family: Inter-bold, arial, sans-serif;
    font-size: 16px;

}

.catalog-sort-zone {
    min-width: 327px;
}

.choice-item {
    width: 100%;
}

#search-panel-button button {
    width: 100%;
}

#search-panel-button {
    display: flex;
    gap: 8px;
    padding: 12px 24px 12px 24px;
}

#search-panel-form {
    padding: 0 24px;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color-lighter) #ffffff;
}

.zone-title {
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 20px;
    color: #212121;
    flex-grow: 1;
}


#catalog-zone {
    margin-right: 15px;
}

#catalog-filter {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

#catalog-choice-filter {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.catalog-item {
    width: 100%;
}

.product-catalog-price-from-label {
    color: #333333;
}

#clear-filters {
    padding-right: 16px;
    padding-left: 16px;
}

.btn-show-catalog-filter {
    display: none;

}

.btn-catalog-product-file {
    min-width: auto;
}

.ast-filter-chips-module {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#site-selection-filter:empty {
    display: none;
}

#popupModule_catalog-filter-mobile #catalog-filter-menu .acc_root > .acc_content .acc:last-child {
    border: none;
}

.offer_container {
    height: 34px;
    min-height: 34px;
    margin-bottom: 5px;
}

.btn-offer-product {
    height: 34px;
    min-height: 34px;
}

.product-main-description p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px;
}

#catalog-sort-zone-mobile{
    display: none;
}


@media (min-width: 890px) {

    .product-description {
        font-size: 12px !important;
    }

    .results_header {
        flex-wrap: wrap;
    }

    .bu-title {
        flex: 0 0 100%;
        text-align: left;
    }

    .care-catalog-title-zone {
        flex-direction: column;
        align-items: normal;
        gap: 8px;
    }

    #search-panel-form {
        overflow-y: scroll;
    }
}

@media (max-width: 889px) {

    .care-catalog-title-zone {
        align-items: normal;
        gap: 8px;
    }

    .ast-filter-chips-module {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .product-description {
        font-size: 12px !important;
    }

    .filter-button-container {
        width: 100%;
    }

    .results_header {
        flex-direction: column;
        align-items: center;
    }

    .bu-title {
        text-align: left;
        width: 100%;
        align-self: flex-start;
    }

    .site-selection,
    .filter-button-container {
        width: 100%;
        text-align: center;
    }

    #popupBox.popup-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 100%;
        border-radius: 0;
    }

    #popupBox #search-panel-button {
        margin-top: auto;
    }

    .care-catalog-title, .care-catalog-title-zone {
        flex-direction: column;
        align-items: flex-start;
    }

    #site-selection .select-component-v2-container .dropdown-button {
        justify-content: center;
    }

    #catalog-sort-zone-mobile {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 8px
    }

    #catalog-sorter-mobile {
        flex: 1 1 auto;
    }

    #list-btn, #grid-btn {
        border-radius: 2px;
    }

    #search-panel-form {
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }
}


