.quick-buy-now-popup {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.quick-buy-now-popup-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    position: relative;
    font-family: Arial, sans-serif;
    border-radius: 4px;
}

.quick-buy-now-popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.quick-buy-now-popup-close:hover,
.quick-buy-now-popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.quick-buy-now-popup h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.quick-buy-now-popup input[type="text"],
.quick-buy-now-popup input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.quick-buy-now-popup .terms-agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.quick-buy-now-popup .terms-agreement input {
    margin-right: 10px;
    margin-top: 5px;
}

.quick-buy-now-popup button[type="submit"] {
    background-color: #a8957b;
    color: white;
    border: 1px solid #a8957b;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 500%;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quick-buy-now-popup button[type="submit"]:hover {
    background-color: #a8957b;
    color: #FFF;
}

.quick-buy-now-button {
    background-color: #FFF;
    color: #a8957b;
    border: 1px solid #a8957b;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    border-radius: 4px;
}

.quick-buy-now-button:hover {
    background-color: #a8957b;
    color: #FFF;
}

/* Ensure the button takes full width on mobile */
@media (max-width: 768px) {
    .quick-buy-now-button {
        width: 100%;
    }
}

.quick-buy-now-popup .terms-agreement a {
    color: #a8957b;
    text-decoration: underline;
}

.quick-buy-now-popup .terms-agreement a:hover {
    text-decoration: none;
}

