@charset "utf-8";
:root {
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --card-bg: #ffffff;
    --page-bg: #f8fafc;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.06);
    --shadow-lg: 0 12px 32px rgba(15,23,42,0.08);
    --shadow-xl: 0 20px 40px rgba(15,23,42,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1480px;
    --container-pad: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--page-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ========== Container ========== */
.container-1480 {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* ===== Hero Banner ===== */
.hero-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(0,10,32,0.94) 0%, rgba(0,32,72,0.8) 40%, rgba(var(--primary-rgb, 10,95,255),0.35) 100%);
    z-index: 1;
}

.hero-banner .container-1480 { position: relative; z-index: 3; width: 100%; }

.banner-content {
    max-width: 1200px;
    padding: 68px 0 88px;
    animation: fadeUp 0.7s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-content h1 {
    font-size: clamp(1.75rem, 3.6vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.banner-content p {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 1200px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    background: var(--primary-blue, #0a5fff);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb, 10,95,255),0.35);
}

.cta-button:hover {
    background: var(--hover-blue, #0043cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb, 10,95,255),0.45);
}

.cta-button::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.cta-button:hover::after { transform: translateX(4px); }

/* ===== Section ===== */
.section-block { padding: 60px 0; }
.section-block + .section-block { padding-top: 0; }

/* ===== Rich Content (CKEditor) ===== */
.rich-content-wrap {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    padding: 36px 40px;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-body);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rich-content-wrap h1, .rich-content-wrap h2, .rich-content-wrap h3,
.rich-content-wrap h4, .rich-content-wrap h5, .rich-content-wrap h6 {
    color: var(--text-dark);
    margin: 1.5em 0 0.65em;
    font-weight: 700;
    line-height: 1.3;
}

.rich-content-wrap > *:first-child { margin-top: 0; }
.rich-content-wrap > *:last-child { margin-bottom: 0; }

.rich-content-wrap h1 { font-size: 1.75rem; }
.rich-content-wrap h2 { font-size: 1.45rem; }
.rich-content-wrap h3 { font-size: 1.22rem; }
.rich-content-wrap h4 { font-size: 1.1rem; }
.rich-content-wrap p { margin-bottom: 1em; }

.rich-content-wrap a {
    color: var(--primary-blue, #0a5fff);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-content-wrap a:hover { color: var(--hover-blue, #0043cc); }

.rich-content-wrap ul, .rich-content-wrap ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.rich-content-wrap li { margin-bottom: 0.4em; }

.rich-content-wrap blockquote {
    margin: 1.4em 0;
    padding: 16px 22px;
    border-left: 4px solid var(--primary-blue, #0a5fff);
    background: var(--primary-light, #eef4ff);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-dark);
}

.rich-content-wrap img {
    max-width: 100%;
    height: auto !important;
    border-radius: 6px;
    margin: 12px 0;
    display: block;
}

/* ---- Table ---- */
.rich-content-wrap .table-responsive-wrapper {
    width: 100%;
    margin: 20px 0;
}

.rich-content-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.rich-content-wrap table th,
.rich-content-wrap table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.rich-content-wrap table th {
    background: var(--primary-light, #eef4ff);
    color: var(--text-dark);
    font-weight: 600;
}

.rich-content-wrap table tr:nth-child(even) { background: #fafcff; }
.rich-content-wrap table tr:hover { background: var(--primary-light, #eef4ff); }

/* Responsive Video */
.rich-content-wrap .video-responsive-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    background: #000;
}

.rich-content-wrap .video-responsive-wrapper iframe,
.rich-content-wrap .video-responsive-wrapper video,
.rich-content-wrap .video-responsive-wrapper embed,
.rich-content-wrap .video-responsive-wrapper object {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

.rich-content-wrap video {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    aspect-ratio: 4 / 3;
}

.card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-info {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1rem;
    font-weight: 650;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.45;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.product-card:hover .product-name { color: var(--primary-blue, #0a5fff); }

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue, #0a5fff);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    transition: var(--transition);
}

.btn-view::after {
    content: '';
    display: inline-block;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.3s;
}

.product-card:hover .btn-view::after { transform: translateX(5px); }

/* ===== Pagination ===== */
.pagination-wrap { margin-top: 52px; }

.fenye {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.fenye a, .fenye span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-body);
    transition: var(--transition);
}

.fenye a:hover {
    border-color: var(--primary-blue, #0a5fff);
    color: var(--primary-blue, #0a5fff);
    background: var(--primary-light, #eef4ff);
}

.fenye .current {
    background: var(--primary-blue, #0a5fff);
    color: #fff;
    border-color: var(--primary-blue, #0a5fff);
    box-shadow: 0 3px 10px rgba(var(--primary-rgb, 10,95,255),0.3);
}

/* ===== Inquiry ===== */
.inquiry-section {
    background: linear-gradient(135deg, #001428 0%, #00264d 50%, #003366 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.inquiry-section::before {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 10,95,255),0.16) 0%, transparent 70%);
    pointer-events: none;
}

.inquiry-section::after {
    content: '';
    position: absolute;
    bottom: -140px; left: -140px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 10,95,255),0.1) 0%, transparent 70%);
    pointer-events: none;
}

.inquiry-container {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-xl);
    padding: 48px 52px;
}

.inquiry-header {
    text-align: center;
    margin-bottom: 38px;
}

.inquiry-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(var(--primary-rgb, 10,95,255),0.18);
    color: #7fb3ff;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.inquiry-header h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.inquiry-header p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.input-item { position: relative; }

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.93rem;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.form-input::placeholder { color: rgba(255,255,255,0.38); }

.form-input:focus {
    border-color: var(--primary-blue, #0a5fff);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 10,95,255),0.2);
}

.form-input[type="file"] {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 0.88rem;
}

.form-input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-blue, #0a5fff);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    margin-right: 12px;
}

.form-full { grid-column: 1 / -1; }

.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.93rem;
    resize: vertical;
    min-height: 120px;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
    line-height: 1.6;
}

.form-textarea::placeholder { color: rgba(255,255,255,0.38); }

.form-textarea:focus {
    border-color: var(--primary-blue, #0a5fff);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 10,95,255),0.2);
}

.form-item { grid-column: 1 / -1; }

.form-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.68);
}

.btn-submit-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 52px;
    background: linear-gradient(135deg, var(--primary-blue, #0a5fff), var(--accent-blue, #3385ff));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb, 10,95,255),0.4);
}

.btn-submit-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(var(--primary-rgb, 10,95,255),0.55);
}

.btn-submit-main:active { transform: translateY(0) scale(0.98); }

/* Footer fix */
main.main-content {
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

footer, .footer, .footer-wrapper {
    margin-top: 0 !important;
    border-top: none !important;
}

/* ===== Mobile Table ===== */
.table-scroll-indicator {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 6px;
    padding: 6px 10px;
    background: var(--primary-light, #eef4ff);
    border-radius: 6px;
    width: fit-content;
}

.table-scroll-indicator svg {
    flex-shrink: 0;
    animation: swipeAnim 2s ease-in-out infinite;
}

@keyframes swipeAnim {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
    :root { --container-pad: 22px; }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (max-width: 991px) {
    :root { --container-pad: 18px; }

    .hero-banner { min-height: 340px; }
    .banner-content { padding: 52px 0 68px; }

    .section-block { padding: 44px 0; }

    .rich-content-wrap { padding: 28px 28px; }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .inquiry-section { padding: 60px 0 70px; }
    .inquiry-container { padding: 38px 32px; }
}

@media (max-width: 767px) {
    :root { --container-pad: 12px; }

    .hero-banner { min-height: 280px; }
    .banner-content { padding: 40px 0 56px; }
    .banner-content h1 { font-size: 1.45rem; }
    .banner-content p { font-size: 0.92rem; margin-bottom: 22px; }
    .cta-button { padding: 12px 28px; font-size: 0.9rem; }

    .section-block { padding: 32px 0; }

    .rich-content-wrap {
        padding: 18px 14px;
        font-size: 0.92rem;
        line-height: 1.75;
        border-radius: var(--radius-sm);
    }

    .rich-content-wrap h1 { font-size: 1.3rem; }
    .rich-content-wrap h2 { font-size: 1.18rem; }
    .rich-content-wrap h3 { font-size: 1.05rem; }

    /* Mobile Table Card */
    .rich-content-wrap table.table-card-mode {
        display: block;
        width: 100%;
        min-width: 0;
        border: none;
    }

    .rich-content-wrap table.table-card-mode thead {
        display: none;
    }

    .rich-content-wrap table.table-card-mode tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .rich-content-wrap table.table-card-mode tbody tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 12px 14px;
        gap: 6px;
    }

    .rich-content-wrap table.table-card-mode tbody tr:nth-child(even) {
        background: #fafcff;
    }

    .rich-content-wrap table.table-card-mode tbody td {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 4px 0;
        border: none;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .rich-content-wrap table.table-card-mode tbody td::before {
        content: attr(data-label);
        flex-shrink: 0;
        min-width: 80px;
        font-weight: 600;
        color: var(--text-dark);
        font-size: 0.82rem;
    }

    .rich-content-wrap .table-responsive-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
    }

    .table-scroll-indicator { display: inline-flex; }

    .rich-content-wrap table:not(.table-card-mode) {
        font-size: 0.8rem;
        min-width: 500px;
    }

    .rich-content-wrap table:not(.table-card-mode) th,
    .rich-content-wrap table:not(.table-card-mode) td {
        padding: 8px 10px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-info { padding: 12px 12px 14px; }
    .product-name { font-size: 0.88rem; margin-bottom: 10px; }
    .btn-view { font-size: 0.76rem; padding-top: 9px; }

    .pagination-wrap { margin-top: 32px; }
    .fenye { gap: 5px; }
    .fenye a, .fenye span {
        min-width: 34px; height: 34px;
        padding: 0 10px; font-size: 0.8rem;
    }

    .inquiry-section { padding: 44px 0 52px; }
    .inquiry-container {
        padding: 26px 16px;
        border-radius: var(--radius-lg);
    }
    .inquiry-header { margin-bottom: 26px; }
    .form-grid { grid-template-columns: 1fr; gap: 12px; }
    .btn-submit-main { width: 100%; padding: 14px 28px; }
}

@media (max-width: 480px) {
    :root { --container-pad: 10px; }

    .rich-content-wrap {
        padding: 14px 12px;
        border-radius: 6px;
    }

    .product-grid { gap: 8px; }
    .card-img-wrap { aspect-ratio: 1 / 1; }
    .card-info { padding: 10px 10px 12px; }
    .product-name { font-size: 0.82rem; margin-bottom: 8px; }
    .btn-view { font-size: 0.72rem; }

    .inquiry-container { padding: 22px 12px; }
}

/* Card animation */
.product-card {
    opacity: 0;
    transform: translateY(18px);
    animation: cardIn 0.45s ease forwards;
}

@keyframes cardIn {
    to { opacity: 1; transform: translateY(0); }
}

.product-card:nth-child(1) { animation-delay: .04s; }
.product-card:nth-child(2) { animation-delay: .08s; }
.product-card:nth-child(3) { animation-delay: .12s; }
.product-card:nth-child(4) { animation-delay: .16s; }
.product-card:nth-child(5) { animation-delay: .2s; }
.product-card:nth-child(6) { animation-delay: .24s; }
.product-card:nth-child(7) { animation-delay: .28s; }
.product-card:nth-child(8) { animation-delay: .32s; }
.product-card:nth-child(9) { animation-delay: .36s; }
.product-card:nth-child(10) { animation-delay: .4s; }
.product-card:nth-child(11) { animation-delay: .44s; }
.product-card:nth-child(12) { animation-delay: .48s; }

/* Pagination override */
.fenye a, .fenye span, .fenye .current, .fenye .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.fenye a {
    color: #4b5563;
    background-color: transparent;
    border: 1px solid #e5e7eb;
}
.fenye a:hover {
    color: var(--primary-blue, #2563eb);
    border-color: var(--primary-blue, #2563eb);
    background-color: var(--primary-light, #eff6ff);
}
.fenye .current, .fenye span.current {
    color: #ffffff;
    background-color: var(--primary-blue, #2563eb);
    border: 1px solid var(--primary-blue, #2563eb);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.fenye .disabled {
    color: #9ca3af;
    background-color: transparent;
    border: 1px solid #f3f4f6;
    cursor: not-allowed;
}

/* Breadcrumb + Search */
.breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.breadcrumb-bar .breadcrumb-list {
    flex: 1;
    min-width: 0;
}
.popup-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    transition: all 0.25s ease;
}
.popup-search-wrap:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}
.popup-search-wrap:focus-within {
    background: #ffffff;
    border-color: var(--primary-blue, #2563eb);
    box-shadow: var(--search-focus-shadow, 0 0 0 3px rgba(var(--primary-rgb, 37,99,235), 0.12));
    width: 340px;
}
.popup-search-wrap .field {
    flex: 1;
    width: 100%;
    height: 40px;
    padding: 0 8px 0 18px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #0f172a;
    font-family: inherit;
}
.popup-search-wrap .field::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.popup-search-wrap .search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 3px;
    border-radius: 50%;
    background: var(--search-btn-bg, var(--primary-blue, #2563eb));
    color: #ffffff;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.popup-search-wrap .search-icon:hover {
    background: var(--search-btn-hover, var(--hover-blue, #1d4ed8));
    transform: scale(1.05);
}
.popup-search-wrap .search-icon svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 767px) {
    .breadcrumb-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .popup-search-wrap {
        width: 100%;
    }
    .popup-search-wrap:focus-within {
        width: 100%;
    }
}
    .iq-status-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.72);
        z-index: 999999;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    .iq-status-overlay.is-visible {
        display: flex;
    }
    .iq-status-box {
        background: #fff;
        padding: 44px 32px 36px;
        border-radius: 18px;
        text-align: center;
        max-width: 380px;
        width: 88%;
        min-width: 260px;
        box-shadow: 0 30px 90px rgba(0,0,0,0.32);
        animation: iqBoxPop .38s cubic-bezier(.34,1.56,.64,1);
        box-sizing: border-box;
    }
    @keyframes iqBoxPop {
        0% { transform: scale(0.65) translateY(30px); opacity: 0; }
        100% { transform: scale(1) translateY(0); opacity: 1; }
    }
    .iq-status-box * { box-sizing: border-box; }
    .iq-spinner {
        width: 54px; height: 54px;
        border: 5px solid #e8edf2;
        border-top-color: #007bff;
        border-radius: 50%;
        animation: iqSpinR .75s linear infinite;
        margin: 0 auto 24px;
    }
    @keyframes iqSpinR { to { transform: rotate(360deg); } }
    .iq-progress { width: 100%; height: 4px; background: #edf0f4; border-radius: 3px; margin-top: 20px; overflow: hidden; }
    .iq-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg,#007bff,#28a745); border-radius: 3px; transition: width .35s ease; }
    .iq-title { font-size: 18px; font-weight: 700; color: #1a1a2e; margin: 0 0 6px; line-height: 1.4; }
    .iq-desc { font-size: 13px; color: #6c757d; margin: 0; line-height: 1.55; }
    .iq-countdown { font-size: 12px; color: #adb5bd; margin-top: 12px; }
    .iq-icon-ok { width: 64px; height: 64px; margin: 0 auto 20px; }
    .iq-icon-ok .iq-cir {
        fill: none; stroke: #28a745; stroke-width: 3;
        stroke-dasharray: 166; stroke-dashoffset: 166;
        animation: iqDraw .6s ease forwards;
    }
    .iq-icon-ok .iq-chk {
        fill: none; stroke: #28a745; stroke-width: 3;
        stroke-linecap: round; stroke-linejoin: round;
        stroke-dasharray: 48; stroke-dashoffset: 48;
        animation: iqDraw .4s .45s ease forwards;
    }
    @keyframes iqDraw { to { stroke-dashoffset: 0; } }

    /* Error SVG animation */
    .iq-icon-err { width: 64px; height: 64px; margin: 0 auto 20px; }
    .iq-icon-err .iq-cir {
        fill: none; stroke: #dc3545; stroke-width: 3;
        stroke-dasharray: 166; stroke-dashoffset: 166;
        animation: iqDraw .6s ease forwards;
    }
    .iq-icon-err .iq-x {
        fill: none; stroke: #dc3545; stroke-width: 3; stroke-linecap: round;
        stroke-dasharray: 22; stroke-dashoffset: 22;
        animation: iqDraw .32s .5s ease forwards;
    }

    .iq-err-detail {
        font-size: 12px; color: #dc3545; margin: 12px 0 0;
        line-height: 1.55; max-height: 100px; overflow-y: auto;
        word-break: break-word; padding: 0 6px;
    }
    .iq-retry-btn {
        display: inline-block; margin-top: 20px; padding: 11px 40px;
        background: #007bff; color: #fff; border: none; border-radius: 7px;
        font-size: 15px; cursor: pointer; transition: background .2s, transform .1s;
        font-weight: 600; letter-spacing: .3px;
    }
    .iq-retry-btn:hover { background: #0056b3; }
    .iq-retry-btn:active { transform: scale(.97); }

    @media (max-width: 480px) {
        .iq-status-box { padding: 32px 20px 28px; }
        .iq-title { font-size: 16px; }
    }