.btn-catalog {
    background-color: #9f2532;
    border-radius: .8rem;
    color: #FFF;
    border: 1px solid #9f2532;
    transition: all .4s;
    padding: .8rem 1rem;
    display: block;
    margin-inline: auto;
    max-width: 250px;
    &:hover {
        color: #9f2532;
        background-color: #FFF;
    }
}
@media (max-width: 991px) {
    .btn-catalog {
        max-width: 100%;
    }
}
.btn-popup{
    background-color: #17a2b8;
    border-radius: .8rem;
    color: #FFF;
    border: 1px solid #17a2b8;
    transition: all .4s;
    padding: .8rem 1rem;
    display: block;
    margin-inline: auto;
    &:hover {
        color: #17a2b8;
        background-color: #FFF;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px !important;
    }
}

.rounded-3 {
    border-radius: 20px;
}


.vecatalogmodal ul {
    list-style-type: disc !important;
    padding-left: 2rem;
}

.vecatalogmodal .modal-body img {
    max-height: 245px;
}

.vecatalogmodal .modal-dialog {
    margin: 0 auto;
    max-width: 950px;
}

.vecatalogmodal .modal-dialog-catalog {
    margin: 2rem;
}

@media (min-width: 992px) {
    .vecatalogmodal {
        overflow-y: hidden!important;
    }
}

@media (max-width: 991px) {
    .container-maquette {
        margin-bottom: 2.5rem;
    }
}

/* Masquer le texte "Aucun fichier choisi" */
#catalog-file {
    color: transparent;
}

/* Optionnel : afficher le nom du fichier quand un fichier est sélectionné */
#catalog-file:valid {
    color: #555;
}

.ve-catalog-confirmation {
    margin-block: 50px;
}

#catalog-contact-message, #mockup-contact-message {
    height: 80px;
}

.vecatalog-category-item,
.vecatalog-product-item {
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-height: fit-content;
}

.vecatalog-img-container {
    width: 125px;
    cursor: pointer;
    margin: 0 auto;
}

.vecatalog-img-container::after {
    width: 36px;
    height: 36px;
    content: 'add';
    position: absolute;
    display: block;
    background: rgb(68, 170, 255);
    z-index: 2;
    border-radius: 100%;
    line-height: 30px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    right: 0.5em;
    bottom: 0.5em;
    border: 3px solid #fff;
    box-shadow: 0 0px 3px 0 rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-family: 'Material Icons';
}

.vecatalog-category-item.is-checked .vecatalog-img-container::after,
.vecatalog-product-item.is-checked .vecatalog-img-container::after {
    content: 'done';
    background-color: #7d9;
}

#vecatalogmodalmaquette .modal-dialog, #vecatalogmodalecatalogue .modal-dialog {
    margin: 0 auto;
}

#vecatalogmodalmaquette .modal-body, #vecatalogmodalecatalogue .modal-body {
    max-height: 85vh;
    overflow-y: auto;
}

.vecatalog-category-name, .vecatalog-product-name {
    min-height: 80px;
    display: flex;
    align-items: center;
}

#vecatalog-products, #vecatalog-categories {
    overflow-y: auto;
    max-height: 550px;
}

#vecatalog-products {
    flex: 1;
}

@media (max-width: 550px) {
    #vecatalog-products, #vecatalog-categories {
        max-height: 300px;
    }
}

/* Filtres */

#vecatalogmodalmaquette .dropdown {
    position: relative;
    font-size: 14px;
    color: #333;
    min-width: 200px;
    z-index: 10;
}

#vecatalogmodalmaquette .dropdown .dropdown-list {
    padding: 12px;
    background: #fff;
    position: absolute;
    left: 0;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.15);
    transform-origin: 50% 0;
    transform: scale(1, 0);
    transition: transform 0.15s ease-in-out 0.15s;
    max-height: 400px;
    overflow-y: scroll;
    min-width: 200px;
}

#vecatalogmodalmaquette .dropdown .dropdown-option {
    display: flex;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    cursor: pointer;
    width: fit-content;
}

#vecatalogmodalmaquette .dropdown .dropdown-label {
    display: block;
    height: fit-content;
    width: fit-content;
    min-width: 200px;
    max-width: 350px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    line-height: 1.5;
    cursor: pointer;
}

#vecatalogmodalmaquette .dropdown .dropdown-label:before {
    content: "▼";
    float: right;
}

#vecatalogmodalmaquette .dropdown.on .dropdown-list {
    transform: scale(1, 1);
    transition-delay: 0s;
}

#vecatalogmodalmaquette .dropdown.on .dropdown-list .dropdown-option {
    opacity: 1;
    transition-delay: 0.2s;
}

#vecatalogmodalmaquette .dropdown.on .dropdown-label:before {
    content: "▲";
}

#vecatalogmodalmaquette .dropdown [type=checkbox] {
    position: relative;
    top: -1px;
    margin-right: 4px;
    cursor: pointer;
}

.select-categories, .select-products {

}

/* FILTRES DESKTOP */
.productkit-content {
    gap: 20px;
    margin-top: 20px;
}

.product-catalog-sidebar {
    background-color: #f5f5f5;
    border-radius: 8px;
    width: 250px;
    padding: 20px 0;
    max-height: fit-content;
}

@media (max-width: 900px) {
    .product-catalog-sidebar {
        display: none;
    }
}

.catalog-sidebar-title {
    padding: 0 20px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.catalog-categories-list {
    padding: 0 10px;
}

.catalog-category-item {
    margin-bottom: 5px;
}

.catalog-category-header {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #555;
}

.catalog-category-header:hover {
    background-color: #e8e8e8;
}

.catalog-category-header.active {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
}

.catalog-category-header.has-subcategories.open {
    background-color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.catalog-category-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.catalog-category-header.open .catalog-category-arrow {
    transform: rotate(90deg);
}

.catalog-subcategories-list {
    display: none;
    background-color: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 5px 0;
    margin-top: -6px;
}

.catalog-subcategories-list.show {
    display: block;
}

.catalog-subcategory-item {
    padding: 10px 15px 10px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
}

.catalog-subcategory-item:hover {
    background-color: #f9f9f9;
    color: #000;
}

.catalog-subcategory-item.active {
    border: 2px solid #000;
    border-radius: 6px;
    margin: 2px 10px;
    padding: 8px 13px 8px 28px;
    color: #000;
    font-weight: 500;
}

/* FILTRES MOBILES */

#vecatalogmodalmaquette .product-catalog-filter {
    display: none;
}

@media (max-width: 900px) {
    #vecatalogmodalmaquette .product-catalog-filter {
        display: flex;
    }
}

#vecatalogmodalmaquette .dropdown {
    position: relative;
    font-size: 14px;
    color: #333;
    min-width: 200px;
    z-index: 10;
}

#vecatalogmodalmaquette .dropdown .dropdown-list {
    padding: 12px;
    background: #fff;
    position: absolute;
    left: 0;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.15);
    transform-origin: 50% 0;
    transform: scale(1, 0);
    transition: transform 0.15s ease-in-out 0.15s;
    max-height: 66vh;
    overflow-y: scroll;
    min-width: 200px;
}

#vecatalogmodalmaquette .dropdown .dropdown-option {
    display: flex;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    cursor: pointer;
    width: fit-content;
}

#vecatalogmodalmaquette .dropdown .dropdown-label {
    display: block;
    height: fit-content;
    width: fit-content;
    min-width: 200px;
    max-width: 350px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    line-height: 1.5;
    cursor: pointer;
}

#vecatalogmodalmaquette .dropdown .dropdown-label:before {
    content: "▼";
    float: right;
}

#vecatalogmodalmaquette .dropdown.on .dropdown-list {
    transform: scale(1, 1);
    transition-delay: 0s;
}

#vecatalogmodalmaquette .dropdown.on .dropdown-list .dropdown-option {
    opacity: 1;
    transition-delay: 0.2s;
}

#vecatalogmodalmaquette .dropdown.on .dropdown-label:before {
    content: "▲";
}

#vecatalogmodalmaquette .dropdown [type=checkbox] {
    position: relative;
    top: -1px;
    margin-right: 4px;
    cursor: pointer;
}

/* Bouton de réinitialisation */
.filter-reset-wrapper {
    padding: 0 20px 15px;
    margin-bottom: 10px;
}

.btn-catalog-reset-filters {
    width: 100%;
    padding: 10px 15px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.btn-catalog-reset-filters:hover {
    background-color: #c82333;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}

.btn-catalog-reset-filters:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.btn-catalog-reset-filters.disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-catalog-reset-filters.disabled:hover {
    background-color: #6c757d;
    transform: none;
    box-shadow: none;
}

.reset-catalog-icon {
    font-size: 16px;
    font-weight: bold;
}