/* ============================================
   Product Detail Page Styles (products_xq.css)
   Layout: Left Sidebar + Right Main Content
   ============================================ */

/* ---------- Breadcrumb (match products.html style) ---------- */
.xq-breadcrumb {
    background: linear-gradient(to right, #F9FAFB, #fff);
    border-bottom: 1px solid #F3F4F6;
    margin-top: 80px;
    padding: 0 24px;
}

.xq-breadcrumb-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.xq-breadcrumb-nav a {
    color: #6B7280;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
}

.xq-breadcrumb-nav a:hover {
    color: #E85A24;
    background: rgba(232, 90, 36, 0.06);
}

/* Home icon */
.xq-breadcrumb-nav a:first-child::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.xq-breadcrumb-nav a:first-child:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E85A24' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}

.xq-bc-sep {
    margin: 0 4px;
    color: #D1D5DB;
    font-size: 11px;
    user-select: none;
}

.xq-bc-current {
    color: #E85A24;
    font-weight: 600;
    padding: 4px 8px;
    font-size: 13px;
}

/* ---------- Main Layout ---------- */
.product-xq-main {
    padding: 24px 0 60px;
}

.product-xq-layout {
    display: flex;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Left Sidebar ---------- */
.product-xq-sidebar {
    width: 240px;
    flex-shrink: 0;
}

/* Sidebar Section */
.sidebar-section {
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #1A2B4A;
    padding: 14px 16px;
    background: #f5f6f8;
    border-bottom: 2px solid #E55D25;
}

/* Categories List */
.sidebar-cat-list {
    list-style: none;
    padding: 8px 0;
}

.sidebar-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.sidebar-cat-list li a{
    text-decoration:none;
        color: #444;
}
.sidebar-cat-list li:hover,
.sidebar-cat-list li.active {
    color: #E55D25;
    background: #fff5f0;
    border-left-color: #E55D25;
}
.sidebar-cat-list li:hover,
.sidebar-cat-list li.active {
    color: #E55D25;
    background: #fff5f0;
    border-left-color: #E55D25;
}
.sidebar-cat-list li a:hover,
.sidebar-cat-list li a.active {
    color: #E55D25;
    background: #fff5f0;
    border-left-color: #E55D25;
}

.sidebar-cat-list .cat-count {
    color: #999;
    font-size: 12px;
}

/* Best Products */
.sidebar-best-list {
    padding: 12px;
}

.sidebar-best-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
}

.sidebar-best-item:last-child {
    border-bottom: none;
}

.sidebar-best-item:hover {
    background: #fafbfc;
    margin: 0 -12px;
    padding: 10px 12px;
}

.sidebar-best-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.sidebar-best-thumb img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.sidebar-best-title a,.sidebar-best-title {
    font-size: 12px;
    color: #444;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-best-title a{
    text-decoration: none;
}
/* Contacts */
.sidebar-contact-info {
    padding: 14px 16px;
    font-size: 12px;
    color: #555;
    line-height: 1.8;
}

.sidebar-contact-info strong {
    color: #1A2B4A;
    font-weight: 600;
}

.sidebar-contact-social {
    display: flex;
    gap: 8px;
    padding: 0 16px 14px;
}

.sidebar-contact-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E55D25;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.sidebar-contact-social a:hover {
    transform: scale(1.1);
}

.sidebar-chat-btn {
    display: block;
    margin: 0 16px 14px;
    padding: 10px;
    text-align: center;
    background: #E55D25;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.sidebar-chat-btn:hover {
    background: #d4522a;
}

/* ---------- Right Main Content ---------- */
.product-xq-content {
    flex: 1;
    min-width: 0;
}

/* Product Top Info */
.product-xq-top {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.product-xq-top-inner {
    display: flex;
    gap: 32px;
}

/* Gallery */
/* Gallery v2: thumbs on left (with arrows), main on right */
.xq-gallery-v2 {
    display: flex;
    gap: 16px;
    width: 420px;
    flex-shrink: 0;
    align-items: flex-start;
}

.xq-gallery-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
    flex-shrink: 0;
}

.xq-gallery-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.xq-gallery-arrow:hover {
    border-color: #E55D25;
    color: #E55D25;
    background: #fff5f0;
}

.xq-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px;
    scrollbar-width: none; /* Firefox */
}

.xq-gallery-thumbs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.xq-gallery-thumb {
    width: 72px;
    height: 72px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.2s;
    padding: 3px;
    flex-shrink: 0;
}

.xq-gallery-thumb:hover {
    border-color: #E55D25;
}

.xq-gallery-thumb.active {
    border-color: #E55D25;
    border-width: 2px;
    padding: 2px;
}

.xq-gallery-thumb img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.xq-gallery-main {
    width: 320px;
    height: 380px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.xq-gallery-main img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    transition: transform 0.3s;
}

.xq-gallery-main:hover img {
    transform: scale(1.05);
    object-fit: contain;
}

/* Product Info Right */
.xq-product-meta {
    flex: 1;
    min-width: 0;
}

.xq-product-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A2B4A;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Product Details Table */
.xq-detail-table {
    width: 100%;
    margin-bottom: 16px;
}

.xq-detail-table caption {
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e8e8;
}

.xq-detail-table tr {
    border-bottom: 1px dotted #f0f0f0;
}

.xq-detail-table td {
    padding: 7px 0;
    font-size: 13px;
}

.xq-detail-table td:first-child {
    color: #888;
    width: 40%;
}

.xq-detail-table td:last-child {
    color: #333;
    font-weight: 500;
}

/* Buttons */
.xq-action-btns {
    margin-top: 20px;
}

.xq-action-btns .btn-get-price {
    width: 100%;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-get-price {
    padding: 10px 28px;
    background: #E55D25;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-get-price:hover {
    background: #d4522a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229,93,37,0.3);
}

/* Chat Now button removed - merged into Get Best Price */

/* ============================================
   Inquiry Form Section (above footer)
   ============================================ */

.xq-inquiry-section {
    background: linear-gradient(135deg, #1A2B4A 0%, #2D4A75 100%);
    padding: 60px 24px;
    color: #fff;
}

.xq-inquiry-container {
    max-width: 1100px;
    margin: 0 auto;
}

.xq-inquiry-header {
    text-align: center;
    margin-bottom: 40px;
}

.xq-inquiry-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.xq-inquiry-header p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.xq-inquiry-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Left: Contact Info */
.xq-inquiry-info {
    width: 320px;
    flex-shrink: 0;
}

.xq-inquiry-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E55D25;
}

.xq-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.xq-info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #E55D25;
}

.xq-info-item strong {
    color: #fff;
    font-weight: 600;
}

/* Right: Form */
.xq-inquiry-form {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 32px;
}

.xq-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.xq-form-row .xq-form-group {
    flex: 1;
}

.xq-inquiry-form .xq-form-group {
    margin-bottom: 16px;
}

.xq-inquiry-form .xq-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
}

.xq-inquiry-form .xq-form-group input,
.xq-inquiry-form .xq-form-group textarea,
.xq-inquiry-form .xq-form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: all 0.3s;
    box-sizing: border-box;
}

.xq-inquiry-form .xq-form-group input::placeholder,
.xq-inquiry-form .xq-form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.xq-inquiry-form .xq-form-group input:focus,
.xq-inquiry-form .xq-form-group textarea:focus,
.xq-inquiry-form .xq-form-group select:focus {
    outline: none;
    border-color: #E55D25;
    background: rgba(255,255,255,0.12);
}

.xq-inquiry-form .xq-form-group select option {
    background: #1A2B4A;
    color: #fff;
}

.xq-inquiry-form .xq-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.xq-form-submit {
    width: 100%;
    padding: 14px 32px;
    background: #E55D25;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.xq-form-submit:hover {
    background: #d4522a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 93, 37, 0.35);
}

.xq-form-submit svg {
    flex-shrink: 0;
}

/* ---------- Tabs Section ---------- */
.product-xq-tabs {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.xq-tabs-nav {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    background: #f8f9fa;
}

.xq-tab-btn {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.xq-tab-btn:hover {
    color: #E55D25;
}

.xq-tab-btn.active {
    color: #E55D25;
    background: #fff;
}

.xq-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #E55D25;
}

.xq-tab-panel {
    display: none;
    padding: 24px;
}

.xq-tab-panel.active {
    display: block;
    animation: xqFadeIn 0.3s ease;
}

@keyframes xqFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Specs Grid (2 columns) */
.xq-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    margin-bottom: 24px;
}

.xq-spec-row {
    display: contents;
}

.xq-spec-label {
    padding: 10px 16px;
    background: #f8f9fa;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
    color: #666;
}

.xq-spec-value {
    padding: 10px 16px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* Highlight row */
.xq-highlight-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #e8e8e8;
    margin-top: 8px;
}

.xq-highlight-label {
    font-size: 13px;
    color: #666;
    flex-shrink: 0;
}

.xq-highlight-value {
    font-size: 13px;
    color: #E55D25;
    font-weight: 600;
}

/* Section Title */
.xq-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E55D25;
    display: inline-block;
}

/* Certifications */
.xq-certs {
    display: flex;
    gap: 20px;
    margin: 16px 0;
    align-items: center;
}

.xq-cert-item {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xq-cert-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Description Text */
.xq-desc-text {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.xq-desc-text strong {
    color: #1A2B4A;
    font-size: 14px;
}
		.xq-desc-text table {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            border-collapse: collapse;   
            display: block;              
        }

        .xq-desc-text table tbody {
            display: block;              
            width: 100%;
        }

        .xq-desc-text table tr {
            display: flex;               
            flex-wrap: wrap;            
            margin: 0 -0.75rem;          
        }

        .xq-desc-text table td {
            display: block;              
            flex: 1 1 33.333%;           
            max-width: 33.333%;          
            box-sizing: border-box;
            padding: 0.75rem;            
            text-align: center;
            vertical-align: middle;
            background: transparent;      
            border: none;                
        }

        /* 图片自适应 */
        .xq-desc-text table td img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 8px;          
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transition: transform 0.2s;
        }
        .xq-desc-text table td img:hover {
            transform: scale(1.02);
        }
        
        
        @media (max-width: 900px) {
            .xq-desc-text table td {
                flex: 1 1 50%;
                max-width: 50%;
            }
        }
 @media (max-width: 600px) {
            .xq-desc-text table td {
                flex: 1 1 100%;
                max-width: 100%;
            }
            .xq-desc-text table tr {
                margin: 0;               
            }
            .xq-desc-text table td {
                padding: 0.5rem 0;
            }
        }
		
        @media (max-width: 400px) {
            .xq-desc-text table td {
                padding: 0.3rem 0;
            }
        }


/* Parameter Table */
.xq-param-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 16px;
}

.xq-param-table th {
    background: #f0f4ff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    color: #1A2B4A;
    border: 1px solid #e0e4ee;
}

.xq-param-table td {
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
    color: #555;
}

.xq-param-table tr:nth-child(even) td {
    background: #fafbfc;
}

/* Inquiry Modal */
.xq-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.xq-modal-overlay.active {
    display: flex;
}

.xq-modal {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.xq-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.xq-modal-close:hover {
    background: #f0f0f0;
}

.xq-modal h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #1A2B4A;
}

.xq-form-group {
    margin-bottom: 14px;
}

.xq-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

.xq-form-group input,
.xq-form-group textarea,
.xq-form-group select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.xq-form-group input:focus,
.xq-form-group textarea:focus,
.xq-form-group select:focus {
    outline: none;
    border-color: #E55D25;
}

.xq-form-group textarea {
    resize: vertical;
    min-height: 70px;
}

/* Responsive */
/* ============================================
   Responsive Design
   ============================================ */

/* Tablet: <=1100px */
@media (max-width: 1100px) {
    .product-xq-layout {
        flex-direction: column;
    }

    .product-xq-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }

    .sidebar-section {
        margin-bottom: 0;
    }

    .product-xq-top-inner {
        flex-direction: column;
    }

    .xq-gallery-v2 {
        width: 100%;
    }
}

/* Mobile: <=768px */
@media (max-width: 768px) {
    .product-xq-breadcrumb {
        padding: 10px 16px;
    }

    .product-xq-breadcrumb .sep {
        margin: 0 3px;
    }

    .product-xq-main {
        padding: 12px 0 30px;
    }

    .product-xq-layout {
        padding: 0 12px;
    }

    /* Hide sidebar on mobile */
    .product-xq-sidebar {
        display: none;
    }

    /* Product top card */
    .product-xq-top {
        padding: 16px;
        margin-bottom: 12px;
    }

    /* Gallery: horizontal layout */
    .xq-gallery-v2 {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .xq-gallery-main {
        width: 100%;
        height: 280px;
        order: 1;
    }

    .xq-gallery-sidebar {
        flex-direction: row;
        width: 100%;
        order: 2;
        gap: 6px;
    }

    .xq-gallery-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding: 4px 0;
    }

    .xq-gallery-thumb {
        width: 64px;
        height: 64px;
        flex-shrink: 0;
    }

    .xq-gallery-arrow {
        width: 28px;
        height: 28px;
    }

    .xq-gallery-arrow svg {
        width: 12px;
        height: 12px;
    }

    /* Product info */
    .xq-product-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .xq-detail-table {
        font-size: 12px;
    }

    .xq-detail-table td {
        padding: 6px 0;
    }

    /* Button: full width */
    .xq-action-btns {
        margin-top: 16px;
    }

    .xq-action-btns .btn-get-price {
        width: 100%;
        padding: 12px;
    }

    /* Tabs */
    .xq-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .xq-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .xq-tab-panel {
        padding: 16px;
    }

    /* Specs grid: single column */
    .xq-specs-grid {
        grid-template-columns: 1fr;
    }

    .xq-highlight-row {
        flex-direction: column;
        gap: 6px;
    }

    .xq-certs {
        flex-wrap: wrap;
        gap: 12px;
    }

    .xq-cert-item {
        width: 60px;
        height: 60px;
    }

    /* Inquiry Form: stacked */
    .xq-inquiry-section {
        padding: 120px 16px 40px; /* Extra top padding for fixed header */
        margin-top: 0;
    }

    .xq-inquiry-header {
        margin-bottom: 28px;
    }

    .xq-inquiry-header h2 {
        font-size: 20px;
        display: block;
        visibility: visible;
        margin-top: 0;
        padding-top: 0;
    }

    .xq-inquiry-header p {
        font-size: 13px;
    }

    .xq-inquiry-layout {
        flex-direction: column;
        gap: 24px;
    }

    .xq-inquiry-info {
        width: 100%;
    }

    .xq-inquiry-info h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .xq-info-item {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .xq-inquiry-form {
        padding: 20px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .xq-form-row {
        flex-direction: column;
        gap: 0;
    }

    .xq-inquiry-form .xq-form-group {
        margin-bottom: 12px;
    }

    .xq-inquiry-form .xq-form-group input,
    .xq-inquiry-form .xq-form-group textarea,
    .xq-inquiry-form .xq-form-group select {
        padding: 10px 12px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .xq-form-submit {
        padding: 12px;
        font-size: 14px;
    }

    /* Param table: scrollable */
    .xq-param-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .xq-param-table th,
    .xq-param-table td {
        padding: 8px 10px;
    }

    .xq-section-title {
        font-size: 14px;
    }

    /* Modal */
    .xq-modal {
        padding: 20px;
        width: 95%;
    }

    .xq-form-group input,
    .xq-form-group textarea,
    .xq-form-group select {
        padding: 8px 10px;
        font-size: 13px;
    }
}
