@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    margin: 0;
}

:root {
    --Txt-marron: #412520;
    --Lora: "Lora", serif;
    --Great_Vibes: "Great Vibes", cursive;
    --Poppins: "Poppins", sans-serif;
    --Inter: "Inter", sans-serif;
    --semi-bold: 600;
    --medium: 500;
    --bold: 700;
    --regular: 400;
}



body {
    background-color: #FCFDFD;
}

.commande-container {
    width: 100%;
    max-width: 650px;
    margin: 40px auto;
    padding: 1px 32px 32px 32px;
    background: #FCF8F6;
    border-radius: 8px;
}

h1 {
    font-family: var(--Lora);
    color: #6A3924;
    letter-spacing: 4%;
    font-weight: var(--semi-bold);
}

h1 {
    font-size: 31px;
    margin-bottom: 16px;
}

.command-title-simple {
    margin-top: 80px;
}

.command-title-simple {
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specialiter-content {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.specialiter-txt {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.star-strape {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex: 1 1 100px;
    max-width: 250px;
    min-width: 50px;
}

.star-strape-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 7px;

    flex: 1 1 100px;
    max-width: 250px;
    min-width: 50px;
}

.bxs-star {
    flex-shrink: 0;
    font-size: 1rem;
    color: #f5e1bd;
}

.strape,
.strape-2 {
    flex: 1;
    width: auto;
    height: 4px;
    margin: 0;
    border-radius: 4px;
}

.strape {
    background: linear-gradient(-90deg,
            #eccfae 0%,
            rgba(125, 92, 77, 0.02) 100%);
}

.strape-2 {
    background: linear-gradient(90deg,
            #eccfae 0%,
            rgba(125, 92, 77, 0.02) 100%);
}

.specialiter-txt>span {
    min-width: 0;
    font-family: var(--Lora);
    color: #6a3924;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    text-align: center;
}

.command-title-simple>span {
    display: block;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    color: var(--Txt-marron);
    font-size: clamp(1rem, 1vw, 1.2rem);
    line-height: 1.55;
    text-align: center;
    font-family: var(--Inter);
    font-weight: var(--medium);
    letter-spacing: 4%;
}

.selection-produit {
    margin-bottom: 36px;
}

.titre-section {
    margin-top: 34px;
    margin-bottom: 20px;
    font-family: var(--Lora);
    font-size: 22px;
    color: #6A3924;
    letter-spacing: 4%;
}

#produitsSelectionnes {
    margin-bottom: 36px;
}

.informations-client {
    margin-top: 38px;
}

#btnChoisirProduit {
    display: block;
    width: 100%;
    text-align: left;
    background: #fffdfc;
    color: #aaa;
    border: 1px solid #f1cdb8;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 20px;
    font-weight: normal;
}

#listeProduits {
    display: none;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #f1cdb8;
    border-radius: 7px;
    margin-top: 8px;
    background: #fffdfc;
}

#listeProduits::-webkit-scrollbar {
    width: 8px;
}

#listeProduits::-webkit-scrollbar-track {
    background: #f8f3ef;
}

#listeProduits::-webkit-scrollbar-thumb {
    background: #d9b9a4;
    border-radius: 20px;
}

#listeProduits::-webkit-scrollbar-thumb:hover {
    background: #c89d83;
}

#listeProduits.active {
    display: block;
}

select,
input,
textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #f1cdb8;
    border-radius: 8px;
    background: #fffdfc;
    color: #6b3525;
    font-size: 20px;
    padding: 10px 14px;
    outline: none;
}

input,
textarea {
    margin-bottom: 10px;
}

textarea {
    min-height: 145px;
    resize: vertical;
}

::placeholder {
    color: #aaa;
}

#selectProduit {
    margin-bottom: 0;
}

.liste-produits.active {
    display: block;
    border: 1px solid #f1cdb8;
    border-radius: 7px;
    margin-top: 8px;
    overflow: hidden;
    background: #fffdfc;
}

.categorie-produits {
    padding: 16px 18px;
    font-weight: 700;
    color: #7b3c29;
    background: #fffaf7;
}

.produit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid #eee2dc;
    cursor: pointer;
    background: #fffdfc;
}

.produit-item:last-child {
    border-bottom: none;
}

.produit-item:hover {
    background: #fff6ef;
}

.produit-item img {
    width: 44px;
    height: 36px;
    object-fit: cover;
    border-radius: 5px;
}

.produit-item strong {
    font-size: 15px;
    color: #6A3924;
    font-family: var(--Poppins);
    font-weight: var(--medium);
    letter-spacing: 4%;
}

.produit-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
}

#produitsSelectionnes {
    margin-top: 10px;
}

input::placeholder,
textarea::placeholder {
    font-family: var(--Inter);
}

.produit-selectionne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #f1cdb8;
    border-radius: 7px;
    background: #fffdfc;
    padding: 6px 10px;
    margin-bottom: 7px;
}

.produit-selectionne .infos {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.produit-selectionne img {
    width: 39px;
    height: 29px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.produit-gauche {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.produit-selectionne strong {
    font-size: 15px;
    color: #7b3c29;
    line-height: 1.1;
}

.produit-selectionne select {
    width: 100px;
    max-width: 150px;
    flex-shrink: 0;

    font-size: 13px;
    padding: 6px 8px;
    height: 32px;
}

.personnes-select {
    position: relative;
    width: 130px;
    flex-shrink: 0;
}

.personnes-select select {
    width: 100%;
    height: 34px;
    border: 1px solid #eac6a9;
    border-radius: 12px;
    background: #fffdfc;
    color: #2b1a12;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.personnes-select::before {
    content: "";
    position: absolute;
    top: 0;
    right: 38px;
    width: 1px;
    height: 100%;
    background: #eac6a9;
    pointer-events: none;
}

.personnes-select::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 3px solid #2b1a12;
    border-bottom: 3px solid #2b1a12;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.supprimer {
    display: none;
}

.champ label {
    display: none;
}

.champ input,
.champ textarea {
    font-size: 14px;
}

.champ textarea {
    font-size: 16px;
}

.commande-note {
    position: relative;
    margin: 32px 0 22px;
    padding-top: 22px;
    font-style: italic;
    color: #7b3c29;
    font-size: 18px;
    line-height: 1.25;
}



.commande-note::after {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            #ead5ca,
            transparent);
}

.btn-envoi {
    border: none;
    background: #4b2a25;
    color: white;
    font-size: 20px;
    padding: 11px 18px;
    border-radius: 5px;
    cursor: pointer;
}


.btn-envoi:hover {
    background: #351d19;
}

.produit-droite {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-supprimer-produit {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid #f1cdb8;
    border-radius: 50%;
    background: #fffdfc;
    color: #6A3924;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
}

.btn-supprimer-produit:hover {
    background: #fff6ef;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;

    width: 1px;
    height: 1px;

    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .commande-container {
        width: calc(100% - 48px);
        max-width: 650px;
        margin: 50px auto;
        padding: 1px 28px 30px 28px;
    }
}

@media (max-width: 700px) {
    .commande-container {
        margin: 32px auto;
        padding: 1px 22px 28px 22px;
    }

    .titre-section {
        font-size: 21px;
        margin-top: 30px;
        margin-bottom: 18px;
    }

    #btnChoisirProduit {
        font-size: 16px;
        padding: 10px 12px;
    }

    #listeProduits {
        max-height: 280px;
    }

    .produit-item {
        padding: 9px 12px;
        gap: 10px;
    }

    .produit-item img {
        width: 54px;
        height: 38px;
    }

    .produit-item strong {
        font-size: 14px;
    }

    select,
    input,
    textarea {
        font-size: 15px;
    }

    .commande-note {
        font-size: 15px;
    }

    .btn-envoi {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .commande-container {
        padding: 1px 18px 24px;
        margin: 20px auto;
    }

    .selection-produit {
        margin-bottom: 32px;
    }

    #produitsSelectionnes {
        margin-bottom: 32px;
    }

    .informations-client {
        margin-top: 32px;
    }

    .titre-section {
        font-size: 20px;
        margin-top: 28px;
        margin-bottom: 16px;
    }

    #btnChoisirProduit {
        font-size: 14px;
    }

    #listeProduits {
        max-height: 250px;
    }

    .categorie-produits {
        padding: 13px 14px;
        font-size: 14px;
    }

    .produit-item {
        padding: 9px 10px;
    }

    .produit-item img {
        width: 48px;
        height: 34px;
    }

    .produit-item strong {
        font-size: 13px;
    }

    .produit-selectionne {
        gap: 8px;
        padding: 5px 7px;
    }

    .produit-gauche {
        gap: 8px;
        min-width: 0;
    }

    .produit-selectionne img {
        width: 36px;
        height: 28px;
    }

    .nom-produit {
        font-size: 13px;
        line-height: 1.15;
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .personnes-select {
        width: 118px;
    }

    .personnes-select select {
        height: 32px;
        font-size: 12px;
        padding-left: 10px;
        padding-right: 36px;
    }

    .personnes-select::before {
        right: 34px;
    }

    .personnes-select::after {
        right: 13px;
        width: 8px;
        height: 8px;
    }

    input,
    textarea {
        font-size: 14px;
        padding: 9px 11px;
    }

    textarea {
        min-height: 120px;
    }

    .commande-note {
        font-size: 13px;
        margin: 28px 0 20px;
    }

    .btn-envoi {
        font-size: 14px;
        padding: 10px 14px;
    }

    .produit-droite {
        gap: 6px;
    }

    .btn-supprimer-produit {
        width: 25px;
        height: 25px;
        font-size: 18px;
    }
}

@media (max-width: 390px) {
    .commande-container {
        margin: 14px auto;
        padding: 1px 14px 22px 14px;
    }

    .titre-section {
        font-size: 19px;
    }

    .produit-selectionne {
        align-items: center;
    }

    .nom-produit {
        max-width: 110px;
        font-size: 12px;
    }

    .personnes-select {
        width: 108px;
    }

    .personnes-select select {
        font-size: 11px;
        padding-left: 8px;
        padding-right: 32px;
    }

    .personnes-select::before {
        right: 30px;
    }

    .personnes-select::after {
        right: 11px;
        width: 7px;
        height: 7px;
        border-right-width: 2px;
        border-bottom-width: 2px;
    }
}

@media screen and (max-width: 700px) {
    .command-title-simple {
        padding-inline: 15px;
    }

    .specialiter-txt {
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 12px;
    }

    .specialiter-txt>span {
        order: 1;
        flex: 0 0 100%;
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .star-strape {
        order: 2;
        flex: 1 1 calc(50% - 5px);
        max-width: none;
    }

    .star-strape-2 {
        order: 3;
        flex: 1 1 calc(50% - 5px);
        max-width: none;
    }
}