/*
 * Inquiry-only product styles.
 * Prefixes: iq-section- (product page panel), iq-modal- (modal), iq-cta- (button)
 */

/* -----------------------------------------------------------------------
 * Product page — inquiry panel
 * ----------------------------------------------------------------------- */

.iq-section-panel {
    border: 1px solid #d0d5dd;
    border-left: 4px solid #337ab7;
    border-radius: 4px;
    background: #f8fafc;
    padding: 18px 20px 14px;
    margin: 16px 0 0;
}

.iq-section-heading {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1a2d45;
    display: flex;
    align-items: center;
    gap: 8px;
}

.iq-section-heading .fa-tools {
    color: #337ab7;
    font-size: 14px;
    flex-shrink: 0;
}

.iq-section-body {
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
}

/* Contact method list */
.iq-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.iq-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: #1a2d45;
    font-weight: 600;
}

.iq-contact-list .fas {
    width: 16px;
    color: #337ab7;
    flex-shrink: 0;
}

.iq-section-body a {
    color: #337ab7;
    font-weight: 600;
}

.iq-section-body a:hover {
    color: #23527c;
    text-decoration: underline;
}

/* -----------------------------------------------------------------------
 * CTA button (shared by panel + mailto path)
 * ----------------------------------------------------------------------- */

.iq-cta-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.iq-cta-btn .fas {
    margin-right: 6px;
}

[x-cloak] { display: none !important; }

.iq-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.iq-modal {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}

.iq-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.iq-modal-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.iq-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
}

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

.iq-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.iq-modal-body .required-asterix {
    color: #c00;
}

@media (prefers-reduced-motion: no-preference) {
    .iq-modal-overlay {
        animation: iq-modal-fadein 0.15s ease;
    }
    @keyframes iq-modal-fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
}
