/* ============================================================
   Surolia — enquiry modal + WhatsApp CTA
   Extracted from assets/css/main.css so it can be deployed on its own.
   Loaded after main.css in inc/meta-head.php.
   ============================================================ */

   Product detail — "Send Enquiry" modal
   Scoped to .rs-enquiry-* so it cannot leak into template styles.
   ============================================================ */
.rs-enquiry-cta {
    margin-top: 28px;
}

.rs-enquiry-modal .modal-content {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}

.rs-enquiry-modal .modal-header {
    background: #ea5501;
    color: #fff;
    border-bottom: 0;
    padding: 18px 24px;
}

.rs-enquiry-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.rs-enquiry-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: .9;
}

.rs-enquiry-modal .modal-body {
    padding: 24px;
}

.rs-enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.rs-enquiry-thumb {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
}

.rs-enquiry-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.rs-enquiry-product-name {
    margin: 12px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.rs-enquiry-field {
    margin-bottom: 14px;
}

.rs-enquiry-field input,
.rs-enquiry-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d7d9dd;
    border-radius: 4px;
    font-size: 15px;
    color: #1f2937;
    background: #fff;
    outline: none;
}

.rs-enquiry-field input:focus,
.rs-enquiry-field textarea:focus {
    border-color: #ea5501;
}

.rs-enquiry-field textarea {
    resize: vertical;
    min-height: 110px;
}

.rs-enquiry-submit {
    background: #1f2937;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 13px 34px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}

.rs-enquiry-submit:hover {
    background: #ea5501;
}

/* Honeypot — must stay in the DOM but never be visible or focusable. */
.rs-enquiry-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rs-enquiry-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
}

.rs-enquiry-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.rs-enquiry-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 767px) {
    .rs-enquiry-grid {
        grid-template-columns: 1fr;
    }
    .rs-enquiry-product {
        order: 2;
    }
}



/* ============================================================
   Product detail — enquiry CTA row (Get Best Quote + WhatsApp)
   ============================================================ */
.rs-enquiry-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.rs-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    transition: background .2s ease;
}

.rs-whatsapp-btn:hover,
.rs-whatsapp-btn:focus {
    background: #1da851;
    color: #fff;
}

.rs-whatsapp-btn svg {
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .rs-enquiry-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .rs-whatsapp-btn {
        justify-content: center;
    }
}
