@charset "UTF-8";


@media only screen and (min-width: 900px) and (max-width: 1281px) {

    .kiosk-num-sale {
        font-size: 120px;
        margin-top: 10vh;
        text-align: center;
        text-shadow: 0 1px #66514c;
        color: #e4460d;
    }


    .orderkiosk .ticket-prod {
        width: calc(100% - 50px - 60px - 135px);
    }


    /* Lignes de Ticket Total (Prix final de l'encart panier) */
    .ticket-total {
        position: static !important; /* On désactive le positionnement absolu d'origine */
        width: 100% !important;
        background-color: #f8fafc !important; /* Teinte grise */
        border: 1px solid #e2e8f0 !important;
        border-radius: 15px !important;
        padding: 15px 20px !important;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-top: 20px;
    }

    .ticket-total label {
        width: auto !important;
    }


    /* --- FOOTER AVEC BLOC DE BOUTONS --- */
    .cart-footer {
        background-color: #f8fafc;
        border-top: 1px solid #e2e8f0;
        padding: 20px 35px 30px 35px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Alignement des boutons côte à côte */
    .cart-footer-buttons {
        display: flex;
        gap: 15px;
        width: 100%;
    }

    /* Bouton CONTINUER MES ACHATS (Gauche) */
    .btn.kiosk-cancel-btn {
        flex: 1 !important; /* Prend 50% de la largeur */
        background-color: #ffffff !important;
        color: #475569 !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 25px !important;
        height: 58px !important;
        line-height: 58px !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        text-shadow: none !important;
        box-shadow: none !important;
        text-transform: uppercase;
    }

    .btn.kiosk-cancel-btn:active {
        background-color: #f1f5f9 !important;
    }


    /* Zone d'écriture des commentaires */
    .cart-comments-field textarea {
        background-color: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 12px !important;
        padding: 15px !important;
        font-size: 0.95rem !important;
        color: #334155 !important;
        box-sizing: border-box;
        box-shadow: none !important;
        resize: none;
    }

    /* Bouton final COMMANDER */
    .btn.kiosk-valid-btn {
        background-color: #d32f2f !important; /* Harmonisation avec le nouveau rouge */
        border-radius: 30px !important;
        height: 64px !important;
        line-height: 64px !important;
        font-size: 1.4rem !important;
        font-weight: 900 !important;
        text-shadow: none !important; /* Suppression de l'ombrage texte noir */
        box-shadow: 0 8px 24px rgba(211, 47, 47, 0.3) !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Bouton COMMANDER (Droite) */
    .btn.kiosk-valid-btn {
        flex: 1 !important; /* Prend 50% de la largeur */
        background-color: #d32f2f !important;
        border-radius: 25px !important;
        height: 58px !important;
        line-height: 58px !important;
        font-size: 1.1rem !important;
        font-weight: 900 !important;
        text-shadow: none !important;
        box-shadow: 0 6px 18px rgba(211, 47, 47, 0.25) !important;
        margin: 0 !important;
    }

    .btn.kiosk-valid-btn:active {
        background-color: #b71c1c !important;
    }

    .takeawaymode {
        height: 400px;
        width: 600px;
        margin: 100px auto;
        border-radius: 20px;
        cursor: pointer;
        box-shadow: 0 2px 5px 0 rgb(84 64 218 / 36%), 0 2px 10px 0 rgb(50 75 206 / 12%);
        font-size: 35px;
        text-shadow: 0 1px #66514c;
    }

    .paymode {
        margin: 20px auto;
        border-radius: 20px;
        cursor: pointer;
        box-shadow: 0 2px 5px 0 rgb(84 64 218 / 36%), 0 2px 10px 0 rgb(50 75 206 / 12%);
        font-size: 35px;
        text-shadow: 0 1px #66514c;
    }


    /** ----------------------- CART BUTTON **/
    /* ---------------- FOOTER CONTENANT GENERAL ---------------- */
    .kiosk-footer-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 90px; /* Légèrement plus compact pour libérer de l'espace */
        background-color: #ffffff; /* Blanc 100% opaque pour bloquer la vue des produits derrière */
        border-top: 1px solid #e2e8f0; /* Fine ligne de séparation grise très propre */
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.05); /* Ombre douce vers le haut */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 35px;
        z-index: 999;
        box-sizing: border-box;
    }

    /* ⚠️ IMPORTANT : Ajoutez cette règle sur le container qui contient votre liste de produits
       pour que l'utilisateur puisse faire défiler le dernier produit entièrement au-dessus du footer */
    .your-product-list-container {
        padding-bottom: 120px !important;
    }


    /* ---------------- BOUTON GAUCHE (MODE DE CONSO) ---------------- */
    .kiosk-mode-selector {
        display: flex;
        align-items: center;
        gap: 10px;
        background-color: #f8fafc; /* Gris très clair et chaud */
        border: 1px solid #e2e8f0; /* Fine bordure pour le faire ressortir du fond blanc */
        padding: 10px 20px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .kiosk-mode-selector:active {
        background-color: #f1f5f9;
        transform: scale(0.98);
    }

    .kiosk-mode-text {
        font-size: 1rem;
        font-weight: 800;
        color: #1e293b; /* Couleur ardoise foncée très moderne */
        letter-spacing: 0.5px;
    }

    /* Couleur orange/ambre sur le bouton modifier pour attirer l'action de façon chaleureuse */
    .kiosk-mode-edit-label {
        font-size: 0.9rem;
        color: #ef6c00;
        font-weight: 700;
        text-decoration: underline;
        margin-left: 5px;
    }


    /* ---------------- BOUTON DROIT (PANIER) ---------------- */
    .kiosk-cart-btn-modern {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #d32f2f; /* Rouge plus lumineux, plus typé "fast-food" */
        color: #ffffff;
        padding: 12px 24px;
        border-radius: 25px;
        min-width: 300px;
        cursor: pointer;
        box-shadow: 0 6px 15px rgba(211, 47, 47, 0.25); /* Ombre portée rouge */
        transition: all 0.2s ease;
        margin: auto;

    }

    /* Zone centrale défilante des produits */
    .orderkiosk .ticket-box {
        flex: 1 !important;
        overflow-y: auto !important;
        border: none !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 20px 35px !important;
        box-sizing: border-box;
    }

    /* Titre des catégories d'articles (ex: CHICKEN) */
    .orderkiosk .ticket-group {
        background: none !important;
        color: #64748b !important; /* Gris sobre pour séparer */
        font-weight: 800 !important;
        text-shadow: none !important;
        font-size: 0.95rem !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 15px !important;
        margin-bottom: 10px !important;
    }

    .kiosk-cart-btn-modern:active {
        transform: scale(0.96);
        background-color: #b71c1c;
    }

    .cart-btn-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Badge blanc contenant le chiffre */
    .cart-qty-badge {
        background-color: #ffffff;
        color: #d32f2f;
        font-weight: 900;
        border-radius: 50%;
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
        padding: 6px 8px;
    }

    .cart-btn-title {
        font-size: 1.1rem;
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    .cart-btn-price {
        font-size: 1.25rem;
        font-weight: 900;
    }


    /* Style du bouton Fidélité (Placé au centre) */
    .kiosk-loyalty-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        background-color: #fffbeb; /* Fond jaune/or très doux */
        border: 1.5px solid #f59e0b; /* Bordure dorée */
        padding: 10px 22px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .kiosk-loyalty-btn:active {
        background-color: #fef3c7;
        transform: scale(0.97);
    }

    /* Container de textes empilés (Titre + Sous-titre) */
    .loyalty-text-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .loyalty-title {
        font-size: 0.95rem;
        font-weight: 800;
        color: #b45309; /* Texte or foncé */
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .loyalty-sub {
        font-size: 0.8rem;
        color: #d97706; /* Sous-titre plus clair */
        font-weight: 600;
        margin-top: -2px;
    }

    /** -------------------- END CART BUTTON *********/
    .close-kiosk-ticket {
        top: 35vh;
        left: -28px;
    }


    /*.ticket-product {*/
    /*    text-align: left;*/
    /*    font-size: 18px;*/
    /*}*/
    .ticket-qty {
        font-size: 18px;

    }

    .articlebox-image {
        width: 185px;
        min-height: 70px;
        margin-top: 30px;
        border-radius: 5px;
    }

    .cashdrawer .articlebox-image {
        width: 95px;
        min-height: 50px;
        margin-top: 3px;
        border-radius: 3px;
    }

    .cashdrawer .item-spe-box .articlebox-image {
        width: 60px;
        min-height: 45px;
        margin-top: 0px;
        border-radius: 5px;
    }

    .cashdrawer .item-spe-box-nopicto {
        border-radius: 8px;
        background-color: #bd6845;
        padding: 8px;
        width: 100px;
        min-height: 65px;
        font-weight: 800;
    }


    .spe-valid-btn {
        width: 150px;
        height: 50px !important;
        background-color: rgb(195, 188, 185);
    }

    .filterbar-width {
        width: 105px;
    }

    .cashdrawer .filterbox-image {
        width: 65px;
        border-radius: 3px;
    }

    .filter-text-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        color: black;
        font-weight: 600;
        font-size: 16px;
        width: 162px;
        line-height: 13px;
        text-shadow: 7px -4px 7px #A9DDA4;
    }

    .cashdrawer .article-text-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        font-weight: 400;
        font-size: 23px;
        width: 250px;
        line-height: 25px;
        color: black !important;
        text-transform: uppercase;
        text-shadow: 7px -4px 7px #A9DDA4;

    }


    .cashdrawer .item-box .article-text-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        font-weight: 400;
        font-size: 14px;
        width: 200px;
        line-height: 15px;
    }


    .orderkiosk .article-text-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        font-weight: 400;
        font-size: 23px;
        max-width: 215px;
        min-width: 150px;
        width: auto;
        line-height: 25px;
        color: black !important;
        text-transform: uppercase;
        text-shadow: 7px -4px 7px #c2a014;

    }


    .cashdrawer .item-spe-box {
        font-size: 10px;
        position: relative;
        margin: 3px;
        vertical-align: bottom;
    }


    .product-detail-btn {
        background-color: white;
        margin-top: 5px;
        border-radius: 5px;
        color: black;
        padding: 6px;
        font-size: 15px;
        width: 90px;
        border: 1px solid black;
        margin: 10px auto;
    }

    .orderkiosk .item-box-middle .articlebox-image {
        width: 195px;
        min-height: 110px;
        margin-top: 10px;
        margin-left: 20px;
        border-radius: 5px;
    }

    .orderkiosk .style-hotacc.item-box .articlebox-image {
        width: 285px;
        min-height: 110px;
        margin-top: 10px;
        border-radius: 5px;
    }

    .orderkiosk .style-boisson.item-box-middle .articlebox-image {
        width: 180px !important;
        min-height: 80px;

    }


    .orderkiosk .article-text-box-detail, .orderkiosk .article-text-box-descr {
        width: 200px;
        margin: auto;
        font-size: 15px;
        padding: 6px;
        color: black;
    }

    .orderkiosk .item-spe-box {
        font-size: 15px;
        position: relative;
        margin: 3px;
        vertical-align: top;
        text-transform: uppercase;
    }

    .orderkiosk .item-spe-box-nopicto {
        border-radius: 8px;
        background-color: #bd6845;
        padding: 8px;
        width: 160px;
        min-height: 100px;
        font-weight: 400;
    }


    .product-detail-text {
        color: black;
        font-size: 19px;
        font-weight: 400;
        height: 300px;
        overflow: auto;
    }

    .arrow_box:before {
        border-color: rgba(194, 225, 245, 0);
        border-left-color: #d7dadc;
        border-width: 15px;
        margin-top: -15px;
    }

    .orderkiosk .article-width {
        /* width: calc(100% - 105px);*/
        padding-left: 45px;
        width: 100%;
    }

    .cashregister .article-width {
        width: 100%;
    }

    .filter-box {
        margin-bottom: 2px;
    }


    .filter-box-noimg {
        margin-top: 2px;
        border-radius: 10px;
        padding: 10px 5px;
        color: #0c0c0c !important;
        border: 3px solid #bd6845;
    }

    .catalog-panel .request-quote-button {
        width: 100%;
        background-color: #262020;
        height: 100px;
        margin-top: 2px;
        box-shadow: -1px -7px 10px 2px black;
        cursor: pointer;
    }

    .catalog-panel .request-quote-label {
        font-size: 58px;
        color: white;
        background-color: #262020;
        text-shadow: 4px 3px 15px #d4cff1;
        text-transform: uppercase;
    }

    .catalog-panel .material-carousel .carousel-next-arrow {
        position: absolute;
        top: 50%;
        right: 10px;
        margin-top: -32px;
        width: 90px;
        height: 90px;
        line-height: 28px;
        font-size: 20px;
        color: white;
        background: rgb(48 66 201 / 80%);
    }


    .catalog-panel .material-carousel .carousel-prev-arrow {
        position: absolute;
        top: 50%;
        left: 10px;
        margin-top: -32px;
        width: 90px;
        height: 90px;
        line-height: 28px;
        font-size: 20px;
        color: white;
        background: rgb(48 66 201 / 80%);
    }

    .borne .filterbox-image {
        width: 100px;
        border-radius: 5px;
    }


    .cashdrawer .article-text-box-grey {
        color: #232227 !important;
    }

    .cashdrawer .articlebox-image-spe {
        width: 75px;
        min-height: 70px;
        margin-top: 10px;
    }

    .borne .articlebox-image {
        width: 240px;
        min-height: 200px;
        border-radius: 5px;
    }

    .catalog-panel .articlebox-image {
        width: 240px;
        min-height: 200px;
        border-radius: 5px;
        margin: 25px;
        box-shadow: 10px 12px 14px 0px #a37272;
    }

    .cashdrawer .article-bigtext-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        color: rgb(124, 119, 112);
        font-weight: 400;
        font-size: 25px;
        width: 120px;
        line-height: 25px;
    }

    .cashdrawer .item-box {
        font-size: 11px;
        position: relative;
        margin: 3px;
        vertical-align: bottom;
    }

    .cashdrawer .item-box-nopicto {
        border-radius: 8px;
        background-color: #4e4947;
        padding: 30px;
        width: 210px;
        height: 120px;
        font-weight: 800;
        margin-top: 30px;
        margin-right: 10px;
    }

    .orderkiosk .item-box-nopicto {
        border-radius: 8px;
        background-color: #4e4947;
        padding: 30px;
        width: 210px;
        font-weight: 800;
        margin-top: 50px;
        margin-right: 50px;
    }


    .cashdrawer.ui-adv-cb-checked {
        display: inline-block;
        cursor: pointer;
        vertical-align: top;
        padding: 5px;
        background: white;
        border: 1px solid red;
        border-radius: 10px;
        color: red;
        font-weight: 800;
        margin: 5px 10px;
        text-transform: uppercase;
        box-shadow: 0 0 3px 3px #d8b22f;
    }

    .cashdrawer .ui-adv-cb-unchecked {
        display: inline-block;
        cursor: pointer;
        vertical-align: top;
        padding: 5px;
        background: white;
        border: 1px solid #D8D8D8;
        border-radius: 10px;
        color: black;
        margin: 5px 10px;
        text-transform: uppercase;
        font-weight: 400;
    }

    .cashdrawer .price-box {
        width: 50px;
        background-color: #A9DDA4;
        border: 1px solid #D8D8D8;
        border-radius: 2px;
        color: black;
        font-weight: 800;
        padding: 2px;
        font-size: 11px;
        margin: 1px auto;
        font-family: "BERNIER Regular";

    }


    .orderkiosk .price-box {
        width: 50px;
        background-color: #A9DDA4;
        border: 1px solid #D8D8D8;
        border-radius: 2px;
        color: black;
        font-weight: 800;
        padding: 2px;
        font-size: 16px;
        margin: 1px auto;
        font-family: "BERNIER Regular";
    }


    .orderkiosk .item-box .articlebox-image {
        width: 280px;
        min-height: 130px;
        margin: 30px 10px 0 0;
        border-radius: 5px;
    }


    .orderkiosk .article-text-box-detail, .orderkiosk .article-text-box-descr {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        font-weight: 400;
        font-size: 13px;
        width: 250px;
        line-height: 15px;
    }

    .orderkiosk .item-box-middle .articlebox-image {
        width: 195px;
        min-height: 110px;
        margin-top: 10px;
        margin-left: 20px;
        border-radius: 5px;
    }

    .orderkiosk .item-box.suggest .articlebox-image {
        width: 105px;
        height: 105px;
        margin-top: 10px;
        border-radius: 5px;
    }

    .orderkiosk .articlebox-image {
        width: 150px;
        min-height: 75px;
        margin-top: 3px;
        border-radius: 3px;
    }

    .orderkiosk .item-spe-box .articlebox-image {
        width: 120px;
        min-height: 65px;
        margin-top: 0px;
        border-radius: 5px;
    }

    .orderkiosk .item-small-box .articlebox-image {
        width: 180px;
        min-height: 65px;
        margin-top: 0px;
        border-radius: 5px;
    }


    .item-small-box .articlebox-image {
        width: 120px;
        min-height: 65px;
        margin-top: 0px;
        border-radius: 5px;
    }


    .product-detail-image {
        margin: auto;
        width: 500px !important;
        height: 500px !important;
    }


    .orderkiosk .item-spe-box-nopicto {
        border-radius: 8px;
        background-color: #bd6845;
        padding: 8px;
        width: 100px;
        min-height: 65px;
        font-weight: 800;
    }


    .spe-valid-btn {
        width: 300px;
        height: 100px !important;
        background-color: rgb(195, 188, 185);
    }

    .filterbar-width {
        width: 105px;
    }

    .cashregister .filterbar-border {
        border-right: 1px solid #f9ddcf;
    }

    .orderkiosk .filterbox-image {
        width: 305px;
        border-radius: 3px;
    }

    .orderkiosk .dialog-spe .article-text-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        font-weight: 600;
        font-size: 16px;
        width: 150px;
        line-height: 17px;
    }

    .orderkiosk .item-box .article-text-box {
        position: relative;
        bottom: 1px;
        cursor: pointer;
        letter-spacing: -1px;
        font-weight: 600;
        font-size: 14px;
        width: 200px;
        line-height: 15px;
        width: 100%;
    }


    .orderkiosk .item-spe-box {
        font-size: 10px;
        position: relative;
        margin: 3px;
        vertical-align: top;
    }

    /* --- POPUP DE DECONNEXION --- */
    .logout-popup-content {
        width: 420px !important; /* Format compact pour une simple confirmation */
        height: auto !important;
        border-radius: 30px !important;
        background-color: white;
    }

    .logout-header {
        padding: 35px 30px 10px 30px;
        text-align: center;
    }

    .logout-title {
        font-size: 1.5rem !important;
        font-weight: 900 !important;
        color: #1e293b !important;
        margin: 0 !important;
    }

    .logout-body {
        padding: 10px 30px 25px 30px;
        text-align: center;
    }

    .logout-subtitle {
        font-size: 1rem !important;
        color: #64748b !important;
        line-height: 1.45 !important;
    }

    .logout-footer {
        display: flex;
        gap: 15px;
        padding: 20px 30px 25px 30px;
        background-color: #f8fafc;
        border-top: 1px solid #e2e8f0;
    }

    /* Ajustements de hauteur pour les boutons de confirmation (plus discrets que le panier) */
    .btn.logout-btn-secondary {
        height: 52px !important;
        line-height: 52px !important;
        font-size: 0.95rem !important;
    }

    .btn.logout-btn-primary {
        height: 52px !important;
        line-height: 52px !important;
        font-size: 0.95rem !important;
        box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2) !important;
    }

    .orderkiosk .article-width {
        width: 100%;

    }
}
