.accueilCatalogue{
    width: 100%;
}

.choiceCatalogue{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.choiceCatalogueWrapper{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.separatorChoice{
    width: 300px;
    height: 1px;
    background: lightgray;
}

.itemChoiceCatalogue{
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: 0.4s;
}

.itemChoiceCatalogue:hover{
    transform: scale(1.1);
}

.selectedChoiceCatalogue{
    background: var(--mainColorCatalogue);
    color: white;
    border: 1px solid var(--mainColorCatalogue);
}

.draggable{
    transition: transform 0.5s;
    transform: rotate(2deg);
}

.catalogueWrapper{
    width: 100vw;
    display: flex;
    justify-content: center;
}

.catalogueContainer{
    width: 100vw;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.logo{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.logo>img{
    width: auto;
    max-width: 60%;
    aspect-ratio: initial;
    max-height: 100px;
}

.title{
    font-size: 50px;
    font-weight: 500;
    margin: 20px 0;
}

.salon{
    margin-bottom: 20px;
}

.nomSalon{
    font-size: 30px;
    font-weight: 400;
}

.adresseSalon{
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
    font-style: italic;
}

.actionButton{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: sticky;
    top: 75px;
    z-index: 10;
}

.itemDead{
    padding: 5px;
    border: 1px dashed rgb(255, 0, 0, 0.5);
    border-radius: 5px;
    opacity: 0.7;
}

.itemDead:hover{
    opacity: 1;
}

.pinned .btnCatalogue{
    box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
}

.btnCatalogue{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: white;
    border-radius: 5px;
    border: 1px solid lightgray;
    cursor: pointer;
    transition: 0.4s;
    color: var(--mainColorCatalogue);
    font-size: 18px;
}

.btnCatalogueRow{
    flex-direction: row;
    gap: 10px;
}

.btnCatalogue:hover{
    opacity: 0.9;
}

.btnCatalogue>span:nth-child(1){
    font-size: 18px;
    color: var(--mainColorCatalogue);
}

.prestations{
    padding-top: 10px;
}

.famille{
    margin-bottom: 10px;
}

.familleTitle{
    font-size: 40px;
    font-weight: 400;
    width: 100%;
    text-align: left;
    padding: 10px;
    border-left: 7px solid var(--mainColorCatalogue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
}

.familleTitleBackoffice:hover, .sousFamilleTitleBackOffice:hover, .prestationDetailBackOffice:hover{
    cursor: pointer;
    background: rgb(211, 211, 211, 0.2);
}

.familleName, .sousFamilleName{
    display: flex;
    align-items: center;
    gap: 20px;
}

.familleTitle>span:nth-child(2){
    color: var(--mainColorCatalogue);
    font-size: 50px;
}

.familleContent{
    font-size: 20px;
    padding: 0 10px;
}

.familleDescription, .familleDescriptionBottom{
    padding: 10px;
    color: gray;
    text-align: justify;
    font-size: 18px;
    font-style: italic;
}

.familleDescriptionSeparator{
    width: 150px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sousFamillesList{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sousFamille{
    text-align: left;
}

.sousFamilleTitle{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 30px;
    font-weight: 400;
    transition: 0.4s;
}

.sousFamilleTitle>span:nth-child(1){
    color: var(--mainColorCatalogue);
}

.sousFamilleDescription, .sousFamilleDescriptionBottom{
    font-size: 16px;
    padding: 10px;
    color: gray;
    text-align: justify;
    font-style: italic;
}

.prestationsList{
    padding: 10px 0;
    overflow: hidden;
}

.hairTypes{
    display: flex;
    justify-content: flex-end;
    font-size: 11px;
    color: gray;
    margin-bottom: 5px;
}

.hairs{
    display: flex;
    justify-content: space-between;
    width: 130px;
}

.prestationDetail{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.textEditPrestation{
    font-size: 15px !important;
}

.prestation{
    font-size: 18px;
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
    overflow-y: auto;
}

.prestationTop{
    display: flex;
    justify-content: space-between;
}

.dotted{
    flex: 1;  
    margin: 0 5px;                    
    overflow: hidden;       
    color: lightgray;         
}

.prestationBottom{
    font-size: 16px;
    margin-left: 25px;
}

.prestationTitle>li{
    list-style: circle;
}

.prestationTarifs{
    width: 140px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tarifUnique{
    width: auto;
}

.tarif{
    font-weight: 600;
    text-align: end;
    min-width: 40px;
}

.tarifEmpty{
    text-align: center;
}

.sousPrestations{
    color: var(--mainColorCatalogue);
    text-align: left;
    font-size: 16px;
}

.popUp{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100001;
    backdrop-filter: brightness(50%);
    width: 100vw;
    height: 100vh;
}

.goToTopContainer{
    position: sticky;
    bottom: 30px;
    display: none;
}

.goToTop{
    display: flex;
    justify-content: flex-end;    
}

.goToTop>span{
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--mainBlue);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
}

@media (min-width:1024px){

    .catalogueContainer{
        max-width: 1140px;
    }

    .sousFamillesList{
        display: grid;
        grid-template-columns: repeat(2, calc(50% - 20px));
        grid-template-rows: auto auto;
        /* grid-auto-flow: column; */
        grid-auto-flow: row;
        gap: 40px;
    }

    .sousFamillesListUnique{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .logo{
        height: 75px;
        width: 100%;
    }
    
    .logo>img{
        max-height: 100%;
    }

    .actionButton{
        justify-content: flex-end;
    }

    .familleDescription, .familleDescriptionBottom{
        padding: 10px 40px;
    }
}