.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    z-index: 10000;
    padding: 3rem 0 0 0;
}

.modal-content {
    border: 3px solid rgba(255, 228, 108, 0.75);
    box-shadow: 0 0 20px rgba(221, 212, 60, 0.38), 0 2px 8px rgba(0,0,0,0.2);
    background-image: url('/images/bg.png');
    padding: 2rem;
    width: 80%;
    max-width: 500px;
    position: relative;
    text-align: center;
    height: 90%;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.qty-btn {
    border-radius: 15px;
    border: 3px solid rgba(255, 228, 108, 0.75);
    box-shadow: 0 0 20px rgba(221, 212, 60, 0.38), 0 2px 8px rgba(0,0,0,0.2);
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.btn {
    font-family: 'Arial Black', 'Impact', sans-serif;;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(244, 234, 234, 0.5);
    padding: 0.5rem 0.5rem;
    width: 6rem;
    height: 4rem;
    cursor: pointer;
    background: rgba(255, 214, 0, 0.19);
    border-radius: 15px;
    border: 3px solid rgba(255, 228, 108, 0.75);
    box-shadow: 0 0 20px rgba(221, 212, 60, 0.38), 0 2px 8px rgba(0,0,0,0.2);
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn:hover {
    background: rgba(255, 214, 0, 0.85);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.modal-image {
    max-width: 40%;
    height: auto;
    margin: 1rem 0;
}

@media (max-width: 740px) {
    .modal-image {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
    }

    .modal-content {
        height: 86%;
    }
}
