/* DML Contact Forms Styles */

.dml-inquiry-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 32px !important;
    margin: 0 !important;
    border: 1px solid white !important;
    background: transparent !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 13.6px !important;
    font-family: var(--wp--preset--font-family--outfit) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    height: 51.75px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    vertical-align: middle !important;
    width: 100% !important; /* Force full width to match columns and center text correctly */
}

.dml-inquiry-btn:hover {
    background: white;
    color: black;
}

.dml-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.dml-modal-content {
    background-color: #121212;
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--wp--preset--color--border, #333);
    width: 90%;
    max-width: 900px;
    position: relative;
    color: white;
}

.dml-modal-close {
    position: absolute;
    right: 2rem;
    top: 1rem;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.dml-modal-close:hover {
    color: white;
}

.dml-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .dml-modal-grid {
        grid-template-columns: 1fr;
    }
    .dml-modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        height: 90vh;
        overflow-y: auto;
    }
}

.dml-modal-product-info img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

.dml-modal-product-info h3 {
    font-family: var(--wp--preset--font-family--cormorant);
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

/* Form Styles */
.dml-form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dml-form-group label {
    font-family: var(--wp--preset--font-family--outfit);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #888;
}

.dml-form-group input, 
.dml-form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 0.75rem 0;
    color: white;
    outline: none;
    transition: border-color 0.3s;
}

.dml-form-group input:focus, 
.dml-form-group textarea:focus {
    border-color: white;
}

.dml-checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.dml-checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.dml-checkbox-group label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
    color: #aaa;
}

.dml-checkbox-group label a {
    color: white;
    text-decoration: underline;
}

.dml-submit-btn {
    background: white;
    color: black;
    border: none;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.dml-submit-btn:hover {
    opacity: 0.8;
}

.dml-submit-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dml-form-response {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.dml-form-response.success { color: #4CAF50; }
.dml-form-response.error { color: #f44336; }
