/* =========================================
   Delivery Inquiry Modal
   ========================================= */

.v3-delivery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.v3-delivery-modal.open {
    opacity: 1;
    visibility: visible;
}

.v3-delivery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.v3-delivery-modal-content {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin: 20px;
}

.v3-delivery-modal.open .v3-delivery-modal-content {
    transform: translateY(0);
}

.v3-delivery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s;
}

.v3-delivery-modal-close:hover {
    color: #333;
}

.v3-delivery-modal-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.v3-delivery-modal-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    font-style: italic;
    font-family: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif;
}

.v3-delivery-form-field {
    margin-bottom: 20px;
}

.v3-delivery-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.v3-delivery-form-field input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.v3-delivery-form-field input[type="email"]:focus {
    border-color: #8c9c90;
    /* Greenish/Gray accent */
    outline: none;
}

.v3-delivery-submit {
    width: 100%;
    background-color: #8c9c90;
    /* Consistent with other buttons */
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 2px;
}

.v3-delivery-submit:hover {
    background-color: #7a8b7e;
}

.v3-delivery-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.v3-delivery-form-messages {
    margin-bottom: 15px;
    font-size: 14px;
}

.v3-delivery-success {
    color: #4CAF50;
    background: #e8f5e9;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v3-delivery-error {
    color: #C41230;
    background: #ffebee;
    padding: 10px;
    border-radius: 4px;
}