/* Popup wrapper (hidden by default) */
#shimikitchen-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* on top of everything */
    background: rgba(0, 0, 0, 0.6);
    /* dark overlay */
}

/* Overlay clickable area */
#shimikitchen-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Popup box */
#shimikitchen-popup .popup-box {
    position: relative;
    background: #fff;
    width: 700px;
    max-height: 500px;
    margin: 8% auto;
    border-radius: 12px;
    z-index: 10000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: popup-fadein 0.3s ease;
    overflow: scroll;
    max-height: 100vh;
    /* scroll inside popup if content too tall */
}

/* Close button */
#shimikitchen-popup .popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
    z-index: 99999;
    /* on top of everything */
    transition: background 0.2s ease
}

#shimikitchen-popup .popup-close:hover {
    background: #000;
    color: white;
}


.shimi-popup-header {
    width: 100%;
    padding: 20px 30px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.11);
    position: sticky;
    top: 0;
    background-color: #fff;
}

/* Popup product styling */
.popup-product h2.popup-title {
    font-size: 20px;
    margin-bottom: 4px;
    font-family: "Oswald";
}

.popup-product .popup-price {
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.shimi-kitchen-popup-body{
    padding: 20px;
}

.popup-product .popup-description {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 10px;
    font-family: "Poppins";
    font-weight: 300;
    
}

.popup-quantity label {
    font-size: 18px;
    font-weight: 500;
    font-family: "Oswald";
    margin-bottom: 10px;
  
}



/* Container for each attribute group */
.popup-attribute-group {
    margin-top: 20px;
   
}

.attribute-label {
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 500;
    font-family: "Oswald";
    margin-bottom: 5px;
}

.option-row input {
    width: 15px;
    height: 15px;
    border-radius: 100px;
    padding: 0;
    cursor: pointer;
    color: #f7ce45;
}

.option-row input[type="radio"]:checked {
    appearance: none;
    -webkit-appearance: none;
    background: #f7ce45;
    /* your highlight color */
    color: #111;
    border-color: #f1c84a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    fill: #f1c84a;
}

.option-row input[type="checkbox"]:checked {
    appearance: none;
    -webkit-appearance: none;
    background: #f7ce45;       /* highlight color */
    color: fff;
    border: 2px solid #f1c84a; /* add border */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    fill: white;             /* for SVG check marks if needed */
    width: 12px;               /* ensure visible size */
    height: 12px;
    cursor: pointer;
    border-radius: 0;
}

/* keyboard focus outline for accessibility */
.option-row input[type="radio"]:focus {
    outline: 3px solid rgba(33, 150, 243, 0.18);
    outline-offset: 2px;
}

.popup-submit-button{
    width: 100% !important;
    margin-top: 30px !important;
    background-color: #e74829 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: white !important;
    border-radius: 5px !important;
    padding: 15px 20px !important;

}

.submit-price-wrapper{
    font-family: "Poppins";
    font-size: 12px;
    line-height: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    row-gap: 0px;
}

.popup-product.loading {
    opacity: 0.4;
    pointer-events: none; /* optional: prevents clicks while loading */
    transition: opacity 0.3s ease;
}

.drink-serving-note{
    font-family: "Poppins";
    color: black;
    margin-top: 10px;
}


/* Fade-in animation */
@keyframes popup-fadein {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

