/* ==========================================================
POPUP OVERLAY
========================================================== */

#restaurant-popup-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.70);
    z-index:999999;
}

#restaurant-popup{

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:95%;
    max-width:1500px;
    height:92vh;

    background:#fff;
    border-radius:24px;

    overflow:auto;
}

/* ==========================================================
CLOSE BUTTON
========================================================== */

#restaurant-popup-close{

    position:absolute;

    top:22px;
    right:22px;

    width:52px;
    height:52px;

    border:none;
    outline:none;

    border-radius:50%;

    background:#f3f3f3;

    color:#666;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    cursor:pointer;

    font-size:38px;

    font-weight:300;

    line-height:1;

    transition:.25s;

    z-index:9999;

}

#restaurant-popup-close:hover{

    background:#e31b23;

    color:#fff;

    transform:rotate(90deg);

}
/* ==========================================================
HEADER
========================================================== */

.restaurant-header{

    padding:45px 45px 10px;

}

.restaurant-title{

    margin:0;

    font-size:60px;

    font-weight:800;

    line-height:1.15;

    color:#1f2b44;

}

.restaurant-price{

    margin-top:20px;

    font-size:58px;

    font-weight:800;

    color:#e31b23;

}

/* ==========================================================
FORM
========================================================== */

.restaurant-form{

    padding:0 45px 45px;

}

/* ==========================================================
ADDON GROUP
========================================================== */

.yith-wapo-addon{

    margin-top:50px;

}

.yith-wapo-addon-title,
.yith-wapo-addon h3,
.yith-wapo-addon h4{

    font-size:34px;

    font-weight:700;

    margin-bottom:22px;

    color:#222;

}

/* ==========================================================
2 COLUMN GRID
========================================================== */

#restaurant-popup .yith-wapo-addon .options{

    display:grid !important;

    grid-template-columns:repeat(2,minmax(0,1fr)) !important;

    gap:20px !important;

}

/* ==========================================================
OPTION CARD
========================================================== */

.yith-wapo-option{

    border:2px solid #e7e7e7;

    border-radius:18px;

    background:#fff;

    transition:.25s;

}

.yith-wapo-option:hover{

    border-color:#e31b23;

}

.yith-wapo-option:has(input:checked){

    border-color:#e31b23;

    background:#fff6f6;

    box-shadow:0 8px 24px rgba(227,27,35,.12);

}

.label{

    width:100%;

}

.option-container{

    width:100%;

}

.checkbox-button-container{

    display:flex;

    align-items:center;

    gap:18px;

    padding:24px;

    width:100%;

}

/* ==========================================================
CHECKBOX
========================================================== */

.checkboxbutton{

    flex-shrink:0;

}

.yith-wapo-option input{

    width:22px;

    height:22px;

    cursor:pointer;

}

/* ==========================================================
LABEL
========================================================== */

.yith-wapo-addon-label{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:8px;

    margin:0;

    font-size:21px;

    font-weight:600;

    color:#222;

    cursor:pointer;

}

.yith-wapo-option-price{

    color:#888;

    font-size:17px;

}

/* ==========================================================
TOTAL TABLE
========================================================== */

.yith-wapo-total-price-table{

    margin-top:45px;

}

/* ==========================================================
QUANTITY
========================================================== */

.quantity{

    margin-top:30px;

}

.quantity .qty{

    width:90px;

    height:58px;

    text-align:center;

    font-size:22px;

    border-radius:12px;

}

/* ==========================================================
ADD TO CART
========================================================== */

.single_add_to_cart_button{

    width:100%;

    height:64px;

    margin-top:25px;

    border:none;

    border-radius:12px;

    background:#e31b23;

    color:#fff;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.single_add_to_cart_button:hover{

    background:#c9171e;

}

/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width:768px){

    .restaurant-header{

        padding:25px;

    }

    .restaurant-form{

        padding:0 25px 25px;

    }

    .restaurant-title{

        font-size:38px;

    }

    .restaurant-price{

        font-size:42px;

    }

    #restaurant-popup .yith-wapo-addon .options{

        grid-template-columns:1fr !important;

    }

}
/* ==========================================
BOTTOM BAR
========================================== */

form.cart{

    display:flex;

    align-items:center;

    gap:20px;

    margin-top:35px;

}

/* Quantity */

.quantity{

    display:flex;

    align-items:center;

    flex:0 0 150px;

}

.quantity .qty{

    width:100%;

    height:64px;

    text-align:center;

    font-size:24px;

    border-radius:14px;

    border:2px solid #ddd;

    font-weight:700;

}

/* Button */

.single_add_to_cart_button{

    flex:1;

    height:64px;

    margin:0 !important;

    border-radius:14px;

    font-size:22px;

    font-weight:700;

}

.yith-wapo-addon.wapo-addon-error {
    border: 1.5px solid #e2401c;
    border-radius: 10px;
    background-color: #fff5f3;
    box-shadow: 0 2px 12px rgba(226, 64, 28, 0.15);
    padding: 12px;
    margin-bottom: 10px;
    animation: wapo-shake 0.4s ease;
    transition: all 0.25s ease;
}

@keyframes wapo-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.wapo-addon-error-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2401c;
    font-size: 13px;
    font-weight: 600;
    background-color: #ffffff;
    border: 1px solid #ffd6cc;
    border-radius: 6px;
    padding: 6px 10px;
    margin: 6px 0 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wapo-addon-error-msg::before {
    content: "⚠";
    font-size: 14px;
}