#header {
     z-index: 1 !important;
    position: relative !important;
}

.free-gift-popup {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 99999 !important;
    align-items: center;
    justify-content: center;
}

.free-gift-popup-content {
    background-color: white;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
     z-index: 100000 !important;
    position: relative;
}

.free-gift-popup h3 {
    margin-top: 0;
    color: #333;
}

.free-gift-popup p {
    margin-bottom: 20px;
}

.variation-select {
    margin-bottom: 15px;
}

.variation-select label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.variation-select select {
    width: 100%;
    padding: 8px;
}

.popup-buttons {
    margin-top: 20px;
    text-align: right;
}

.popup-buttons .button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popup-buttons .button:hover {
    background-color: #45a049;
}

/* Add this to your existing CSS */
.variation-select select.error {
    border-color: #ff0000;
    background-color: #fff9f9;
}