.main-cat-list{
    display: flex;
    width: 100%;
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
    border-radius: 10px;
}
.main-cat-list .ctn-itm-imm {
    width: 70%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    height: fit-content;
}
.ctn-total-cel{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #161618;
    flex-wrap: wrap;
}
.ctn-total-cel p{
    margin: 0;
    color: #FFFFFF;
}
.ctn-total-cel p:nth-child(2){
    background-color: #FFFFFF;
    color: #161618;
    margin: 10px;
    border-radius: 5px;
    padding: 5px 20px;
}
.ctn-total-cel p:nth-child(2) span{
    color: #FB8602;
}
.ctn-total-cel #reset-btn , .ctn-total-cel #reset-btn:hover,.ctn-total-cel #reset-btn:focus{
    background-image: none;
    border: none;
    color: #FFFFFF;
    text-decoration: underline;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ctn-total-cel #reset-btn img{
    width: 20px;
    height: 20px;
}
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.ctn-refresh {
    animation: rotate 1s linear;
}
.itm-imm {
    width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    justify-content: center;
}
.itm-imm p{
    margin: 0;
}
.itm-imm-img {
    height: 135px;
}
.itm-imm-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.counter-button.decrease, .counter-button.increase{
    border-radius: 100%;
    padding: 0;
    width: 20px;
    height: 20px;
}
.counter-button.increase{
    background-color: #FB8602;
    background-image: none !important;
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.counter-button.decrease{
    background-color: #161618;
    background-image: none !important;
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.elementor-field-group-logement_actuel .elementor-field-subgroup.elementor-subgroup-inline,.elementor-field-group-future_logement .elementor-field-subgroup.elementor-subgroup-inline  {
    justify-content: center;
    align-items: center;
}
.counter-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ctn-itm-list .list-item {
    display: flex;
    border-bottom: 1px solid #eeeeee;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.ctn-itm-list .list-item p{
    margin: 0;
}
.ctn-itm-list {
    width: 30%;
}
.hd-cat-item-link {
    display: flex;
    justify-content: center;
    padding: 0 0 25px 0;
}
body .hd-cat-item-link button{
    background-image: none;
    border: none;
    color: #161618;
    border-radius: 10px;
}
body .hd-cat-item-link button:hover,body .hd-cat-item-link button:focus{
    background-color: transparent;
    background-image: linear-gradient(-90deg, var(--e-global-color-fd9785c) 0%, var(--e-global-color-accent) 100%);
    color: #161618;
}
.ctn-itm-list > p span:nth-child(2) {
    color: #FFFFFF;
    background-color: #161618;
    border-radius: 10px;
    padding: 2px 5px;
}
.ctn-itm-list > p span:nth-child(1) {
    color: #FB8602;
    text-decoration: underline;
}
#formulaire_devis_volume .elementor-button{
    /* background-image: none; */
    background-image: linear-gradient(-90deg, var(--e-global-color-fd9785c) 0%, var(--e-global-color-accent) 100%);
}
#formulaire_devis_volume input[type="radio"] {
  display: none; /* Cache le bouton natif */
}
#formulaire_devis_volume .elementor-field-type-radio label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  max-width: 100%; /* Empêche le débordement */
  white-space: normal; /* Le texte s'enroule */
  word-break: break-word; /* Coupe les mots si nécessaire */
  position: relative;
}
/* Le bouton radio personnalisé */
#formulaire_devis_volume .elementor-field-type-radio label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #FB8602;
  border-radius: 50%;
  background-color: #FFFFFF;
  flex-shrink: 0; /* Ne se réduit pas */
  position: relative;
}
/* Coche active */
#formulaire_devis_volume .elementor-field-type-radio input[type="radio"]:checked + label::before {
  background-color: #FFFFFF;
  border-color: #FB8602;
}

#formulaire_devis_volume .elementor-field-type-radio input[type="radio"]:checked + label::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  background-color: #FB8602;
  border-radius: 50%;
}
.btn-link-cat.active {
  /* background-color: #FB8602; */
  background-image: linear-gradient(-90deg, var(--e-global-color-fd9785c) 0%, var(--e-global-color-accent) 100%);
}

.main-cat-list {
  overflow-y: scroll;
  max-height: 500px; /* adapte selon ton design */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #888 #f1f1f1; /* Firefox */
}
/* Pour Chrome, Edge, Safari */
.main-cat-list::-webkit-scrollbar {
  width: 8px;
}

.main-cat-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.main-cat-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 50px;
}
.main-cat-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.btn-lst-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
#recherche_ .e-search input[type="search"] {
    min-height: 40px;
    border-radius: 10px;
    padding: 10px 10px 10px 45px;
}
#recherche_ .e-search-submit {
    height: 40px;
    padding: 0 20px;
    border-radius: 10px;
}
#recherche_ .e-search-submit svg {
    width: 14px;
}
#recherche_ {
    padding: 20px;
    background-image: linear-gradient(-90deg, var(--e-global-color-accent) 0%, var(--e-global-color-fd9785c) 100%);
}
#recherche_ .e-search .e-search-label svg{
    fill:#757575;
    width: 18px;
}
.itm-imm .mesure {
    color: #FB8602;
}
.mesure-val,.info-tota{
    color: #FB8602;
}

#recherche_ .search-input-wrapper{
    display: flex;
}
#recherche_ .search-input-wrapper svg{
    width: 18px;
    fill:#757575;
}
#recherche_ .search-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #f1f1f1;
    background-color: #161618;
    border: none;
}
#recherche_ .search-btn svg{
    fill: #f1f1f1;
}
#recherche_ .search-btn:hover{
    background-color: #161618;
}
#recherche_ .search-form{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
#recherche_ .search-input-wrapper{
    width: 85%;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 0 20px;
}
#recherche_ .search-input_{
    border: none;
}
#recherche_ .search-input_:focus{
    outline: none;
}
.elementor-message.elementor-message-success {
    background-color: #FEEACF !important;
    display: flex !important;
    align-items: center !important;
    padding: 20px !important;
}
.elementor-field-group-liste_mobilier_{
    display: none;
}
.hd-cat-item-scro {
  display: flex;
}

.btn-link-cat[value="0"] { order: 1; }  /* Tous */
.btn-link-cat[value="6"] { order: 2; }  /* Salon */
.btn-link-cat[value="7"] { order: 3; }  /* Chambre */
.btn-link-cat[value="8"] { order: 4; }  /* Cuisine */
.btn-link-cat[value="9"] { order: 5; }  /* Salle de Bain */
.btn-link-cat[value="10"] { order: 6; } /* Bureau */
.btn-link-cat[value="11"] { order: 7; } /* Buanderie */
.btn-link-cat[value="12"] { order: 8; } /* Jardin */
.btn-link-cat[value="13"] { order: 9; } /* Garage */
.btn-link-cat[value="14"] { order: 10; } /* Autres */

@media(max-width:768px){
    .hd-cat-item-link {
        width: 100%;
    }
    .hd-cat-item-scro{
        justify-content: start;
        flex-wrap: wrap;
        align-items: center;
        gap: 2px;
        display: flex;
    }
    .main-cat-list {
        flex-direction: column;
    }
    .main-cat-list .ctn-itm-imm {
        width: 100%;
    }
    .ctn-itm-list {
        width: 100%;
        padding: 20px;
    }
    .btn-close-cat {
        width: 25px;
        height: 25px;
        position: relative;
        margin-left: calc(100% - 50px);
        margin-bottom: 20px;
    }
    .btn-close-cat div{
        width: 100%;
        height: 1px;
        background-color: #161618;
        position: absolute;
        top: 50%;
        left: 0;
    }
    .btn-close-cat div:nth-child(1){
        transform: rotate(45deg);
    }
    .btn-close-cat div:nth-child(2){
        transform: rotate(-45deg);
    }
    #recherche_ .search-form{
        flex-wrap: wrap;
        gap: 10px;
    }
    #recherche_ .search-input-wrapper{
        width: 100%;
        padding: 0 10px;
    }
    #recherche_ .search-btn{
        display: none;
    }
}
@media(max-width:499px){
    .main-cat-list .itm-imm{
        width: 45%;
    }
    .main-cat-list .ctn-itm-imm{
        gap: 10px;
        justify-content: center;
    }
    .main-cat-list{
        padding: 20px 0;
    }
    .main-cat-list .titre {
        text-align: center;
    }
}
@media(max-width:479px){
    .main-cat-list .ctn-itm-imm {
        justify-content: center;
    }
    #recherche_ .e-search-form {
        flex-direction: column;
        gap: 20px;
    }
    #recherche_ .e-search .e-search-label svg {
        margin-top: 20px;
    }
    #recherche_ .e-search .e-search-input-wrapper {
        margin-top: -20px;
    }
    #recherche_ .e-search-submit {
        margin-left: 0;
    }
    #formulaire_devis_volume .elementor-field-subgroup.elementor-subgroup-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}
