.btn-nav {
    border: 1px solid var(--color-text);
    background: var(--color-white);
    color: var(--color-label);
}

.svg-button {
    stroke: var(--color-text);
}

.ctn-facturation{
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 2%;
    padding: 200px 5% 120px 5%;
    background: var(--color-white);
}

.ctn-facturation article.item-facturation{
    background-color: var(--color-white);
    border-radius: 5px;
    box-shadow: 1px 1px 22px rgba(0, 0, 0, 0.2);
    padding: 40px 5% 40px 5%;
}

.ctn-facturation .head-fact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.head-fact .back,
.head-fact .down{
    padding: 8px 12px;
    font-size: 22px;
    color: var(--color-text);
    transition: color .3s ease-in-out, transform .2s ease-in-out;
}

.head-fact .down{
    display: none;
}

.head-fact .back:hover{
    color: var(--green-color);
    transform: scale(1.2);
}

.ctn-facturation .parent-input {
    margin-bottom: 36px;
}

.ctn-facturation .head-fact{
    margin-bottom: 48px;
}

.products-fact .head-fact{
    justify-content: space-between;
}

.ctn-facturation .products-fact{
    position: sticky;
    top: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    height: fit-content;
}

.products-fact .grid-div, 
.products-fact li{
    display: grid;
    grid-template-columns: 68% 26%;
    gap: 4%;
}

.products-fact ul{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: scroll;
    max-height: 662px;
    padding: 20px 0;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
}

.products-fact .header-prod,
.products-fact ul{
    margin-bottom: 10px;
}

.products-fact .caption{
    color: var(--color-label);
}

.products-fact .grid-div .caption{
    font-weight: 600;
}

@media screen and (max-width: 1280px) {

    .double-input {
        grid-template-columns: 1fr;
    }

    .ctn-facturation {
        gap: 1%;
        padding: 200px 3% 120px 3%;
    }
    
}

@media screen and (max-width: 1080px) {

    .ctn-facturation {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: "one" "two";
    }

    .ctn-facturation .item-facturation {
        padding: 36px 4% 36px 4%;
    }

    .ctn-facturation article:nth-child(1){
        grid-area: two;
    }

    .ctn-facturation article:nth-child(2){
        grid-area: one;
        position: relative;
    }

    .products-fact .head-fact {
        margin-bottom: 0;
        cursor: pointer;
    }

    .head-fact .down{
        display: block;
    }

    .products-fact.open .head-fact {
        margin-bottom: 48px;
    }

    /* .dropdown-prods{
        max-height: 0px;
        opacity: 0;
        overflow: hidden;
        transition: opacity 0s ease-in-out, max-height .1s ease-in-out;
    }

    .products-fact.open .dropdown-prods{
        opacity: 1;
        max-height: 10000px;
        transition: opacity .2s ease-in-out, max-height .2s ease-in-out;
    }

    .products-fact.open .down{
        transform: rotate(-180deg);
        transition: transform .1s ease-in-out;
    } */
    
}