.popup {
    background: #ffd849;
    position: fixed;
    width: 480px;
    max-width:96%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    box-shadow: 5px 5px #733381;
    padding: 10px;
    z-index: 99;
    display: none;
}

.close-popup {
    position: absolute;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
}


.popup-section-header,
.popup-section-data,
.popup-section-quantity,
.popup-section-total,
.popup-section-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.popup-section-buttons {
    justify-content: center;
    margin-top: 20px;
}

.popup-section-header {
    align-items: center;
    justify-content: center;
}

.popup-section-header .item-title {
    font-size: 46px;
}

.popup-section-buttons > button {
    background: #fbd095;
    color: #4a3050;
    border-radius: 5px;
    box-shadow: 3px 3px #733381;
    font-size: 32px;
    height: 50px;
    line-height: 34px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    font-size: 32px;
}

.popup-item-content {
    font-size: 24px;
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 90; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}