.ask-quote-page {
    color: #172033;
    padding: 28px 0 52px;
}

/* 本页全宽：不拘束于 Bootstrap container / 居中窄栏 */
.ask-quote-page-wide {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: none;
    padding: 20px 20px 48px;
    width: 100%;
}

.ask-quote-page-wide .quote-panel {
    border-radius: 10px;
    padding: 22px 24px 28px;
    width: 100%;
}

.quote-panel {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(22, 34, 51, .06);
    padding: 24px;
}

.quote-back-link {
    align-items: center;
    color: #475569;
    display: inline-flex;
    font-weight: 700;
    gap: 6px;
    margin-bottom: 18px;
}

.quote-back-link:hover,
.quote-back-link:focus {
    color: #1d4ed8;
    text-decoration: none;
}

.quote-header {
    border-bottom: 1px solid #eef2f7;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    padding-bottom: 20px;
}

.quote-header-main {
    min-width: 0;
}

.quote-kicker {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.quote-header h1 {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.quote-header p,
.quote-meta,
.quote-section-heading p {
    color: #64748b;
    line-height: 1.7;
    margin: 8px 0 0;
}

.quote-meta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 12px 14px;
}

.quote-meta > span {
    color: #0f172a;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    gap: 2px;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.quote-meta > span > em {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .02em;
}

.quote-meta a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.quote-meta a:hover,
.quote-meta a:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.quote-section {
    border-bottom: 1px solid #eef2f7;
    padding: 20px 0;
}

.quote-section-result {
    border-bottom: 0;
}

.quote-section h2,
.quote-section-heading h2 {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

.quote-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.quote-section-heading h2 {
    margin-bottom: 0;
}

.quote-section-heading p {
    margin-top: 0;
    max-width: 520px;
    text-align: right;
}

/* SKU 勾选引导：醒目但不刺眼 */
.quote-sku-guide {
    align-items: center;
    background: linear-gradient(90deg, #f0f7ff 0%, #f8fbff 100%);
    border: 1px solid #d7e6fb;
    border-left: 4px solid #3b82f6;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: space-between;
    margin: 0 0 16px;
    padding: 12px 14px;
}

.quote-sku-guide-tip {
    align-items: flex-start;
    color: #334155;
    display: flex;
    flex: 1 1 280px;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    line-height: 1.55;
    margin: 0;
    min-width: 0;
}

.quote-sku-guide-tip .fa {
    color: #2563eb;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1.45;
    margin-top: 1px;
}

.quote-sku-selected {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    gap: 2px;
    letter-spacing: .01em;
    line-height: 1.2;
    padding: 8px 14px;
    white-space: nowrap;
}

.quote-sku-selected strong {
    font-size: 15px;
    font-weight: 800;
}

.quote-sku-selected.is-empty {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
}

.quote-sku-selected.is-empty strong {
    color: #c2410c;
}

.quote-sku-selected.is-partial {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.quote-sku-selected.is-partial strong {
    color: #1d4ed8;
}

.quote-sku-selected.is-ready {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
}

.quote-sku-selected.is-ready strong {
    color: #15803d;
}

.quote-contact-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-form label {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

/* ===== 结果总览横幅：已中标 / 部分中标 一目了然 ===== */
.quote-result-banner {
    align-items: stretch;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    margin: 18px 0 8px;
    overflow: hidden;
    padding: 18px 20px;
    position: relative;
}

.quote-result-banner::before {
    background: #94a3b8;
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    top: 0;
    width: 5px;
}

.quote-result-banner-all_won {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 48%, #fff 100%);
    border-color: #86efac;
}

.quote-result-banner-all_won::before {
    background: linear-gradient(180deg, #22c55e, #15803d);
}

.quote-result-banner-partial_won {
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 48%, #fff 100%);
    border-color: #fdba74;
}

.quote-result-banner-partial_won::before {
    background: linear-gradient(180deg, #f59e0b, #c2410c);
}

.quote-result-banner-lost {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-color: #fecaca;
}

.quote-result-banner-lost::before {
    background: linear-gradient(180deg, #ef4444, #b91c1c);
}

.quote-result-banner-pending_result {
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-color: #bfdbfe;
}

.quote-result-banner-pending_result::before {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.quote-result-banner-main {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding-left: 8px;
}

.quote-result-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: .02em;
    line-height: 1;
    padding: 10px 16px;
    white-space: nowrap;
}

.quote-result-badge .fa {
    font-size: 16px;
}

.quote-result-badge-all_won {
    background: #16a34a;
    box-shadow: 0 8px 18px rgba(22, 163, 74, .28);
    color: #fff;
}

.quote-result-badge-partial_won {
    background: #ea580c;
    box-shadow: 0 8px 18px rgba(234, 88, 12, .28);
    color: #fff;
}

.quote-result-badge-lost {
    background: #dc2626;
    box-shadow: 0 8px 18px rgba(220, 38, 38, .22);
    color: #fff;
}

.quote-result-badge-pending_result,
.quote-result-badge-submitted {
    background: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
    color: #fff;
}

.quote-result-badge-invalid,
.quote-result-badge-withdrawn {
    background: #64748b;
    color: #fff;
}

.quote-result-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.quote-result-copy strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.quote-result-copy span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.quote-result-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
}

.quote-result-stat {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 10px;
    min-width: 0;
    padding: 12px 10px;
    text-align: center;
}

.quote-result-stat strong {
    color: #0f172a;
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}

.quote-result-stat span {
    color: #94a3b8;
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.quote-result-stat.is-won strong {
    color: #15803d;
}

.quote-result-stat.is-pending strong {
    color: #c2410c;
}

.quote-result-stat.is-lost strong {
    color: #b91c1c;
}

.quote-result-stat.is-amount strong {
    color: #1d4ed8;
    font-size: 16px;
}

.quote-po-action {
    align-items: center;
    border-top: 1px dashed rgba(148, 163, 184, .55);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 4px;
    padding: 14px 8px 2px;
}

.quote-po-action .btn {
    font-weight: 700;
}

.quote-po-hint {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

/* ===== 表格：宽表可横滚，避免税价列表头挤压重叠 ===== */
.quote-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: auto;
    width: 100%;
}

.quote-table-wrap-full {
    overflow-x: auto;
}

.quote-table {
    background: #fff;
    border-collapse: collapse;
    margin: 0;
    min-width: 0;
    table-layout: fixed;
    width: 100%;
}

.quote-entry-table,
.quote-result-table {
    min-width: 1280px;
    width: 100%;
}

.quote-table th,
.quote-table td {
    border-bottom: 1px solid #eef2f7;
    padding: 10px 8px;
    vertical-align: middle;
}

.quote-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
}

.quote-table td {
    color: #172033;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.quote-table tbody tr:last-child td {
    border-bottom: 0;
}

.quote-result-table .col-sku-no,
.quote-entry-table .col-sku-no {
    width: 110px;
}

.quote-result-table .col-product,
.quote-entry-table .col-product {
    width: 160px;
}

.quote-result-table .col-spec,
.quote-entry-table .col-spec {
    width: 150px;
}

.quote-result-table .col-qty,
.quote-entry-table .col-qty {
    width: 88px;
}

.quote-result-table .col-price,
.quote-entry-table .col-price {
    width: 108px;
}

.quote-result-table .col-tax,
.quote-entry-table .col-tax {
    width: 88px;
}

.quote-result-table .col-amount,
.quote-entry-table .col-amount {
    width: 108px;
}

.quote-result-table .col-delivery,
.quote-entry-table .col-delivery {
    width: 100px;
}

.quote-result-table .col-result,
.quote-entry-table .col-result {
    width: 96px;
}

.quote-entry-table .col-supply {
    width: 72px;
}

.quote-entry-table .col-category {
    width: 110px;
}

.quote-entry-table .col-remark {
    width: 120px;
}

.quote-entry-table .form-control {
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
    width: 100%;
}

.quote-entry-table .quote-tax-rate {
    text-align: right;
}

.cell-num {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cell-sku-no {
    color: #334155;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 600;
}

.cell-result {
    text-align: center;
    white-space: nowrap;
}

.quote-result {
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
    justify-content: center;
    letter-spacing: .01em;
    line-height: 1;
    max-width: 100%;
    padding: 6px 10px;
    white-space: nowrap;
}

.quote-result-won {
    background: #dcfce7;
    box-shadow: inset 0 0 0 1px #86efac;
    color: #15803d;
}

.quote-result-lost {
    background: #fee2e2;
    box-shadow: inset 0 0 0 1px #fca5a5;
    color: #b91c1c;
}

.quote-result-pending {
    background: #ffedd5;
    box-shadow: inset 0 0 0 1px #fdba74;
    color: #c2410c;
}

.quote-result-no_award {
    background: #e2e8f0;
    color: #475569;
}

.quote-result-not_quoted {
    background: #f8fafc;
    color: #94a3b8;
}

/* 行级着色：中标/未中标一眼可辨 */
.quote-row-result-won > td {
    background: rgba(220, 252, 231, .35);
}

.quote-row-result-lost > td {
    background: rgba(254, 226, 226, .28);
}

.quote-row-result-pending > td {
    background: rgba(255, 237, 213, .28);
}

.quote-checkbox {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
}

.quote-sku-row.is-unavailable {
    background: #f8fafc;
}

.quote-sku-row.is-unavailable td:not(.quote-supply-cell) {
    color: #94a3b8;
}

.quote-remark {
    margin-top: 16px;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-top: 20px;
}

.quote-alert {
    margin: 20px 0;
}

@media (max-width: 1100px) {
    .quote-result-banner {
        grid-template-columns: 1fr;
    }

    .quote-result-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ask-quote-page-wide {
        padding: 14px 12px 36px;
    }

    .quote-header {
        grid-template-columns: 1fr;
    }

    .quote-meta {
        grid-template-columns: 1fr 1fr;
    }

    .quote-section-heading {
        flex-direction: column;
        gap: 6px;
    }

    .quote-section-heading p {
        max-width: none;
        text-align: left;
    }

    .quote-contact-grid {
        grid-template-columns: 1fr;
    }

    .quote-table th,
    .quote-table td {
        font-size: 12px;
        padding: 8px 6px;
    }

    .quote-result {
        font-size: 11px;
        padding: 5px 8px;
    }
}

@media (max-width: 640px) {
    .quote-meta {
        grid-template-columns: 1fr;
    }

    .quote-result-stats {
        grid-template-columns: 1fr 1fr;
    }

    .quote-result-badge {
        font-size: 16px;
        padding: 9px 14px;
    }
}

/* ===== 报价成功反馈 ===== */
.quote-success-overlay {
    align-items: center;
    background: rgba(15, 23, 42, .48);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .28s ease;
    z-index: 12000;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.quote-success-overlay.is-visible {
    opacity: 1;
}

.quote-success-overlay.is-leaving {
    opacity: 0;
}

.quote-success-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
    max-width: 420px;
    overflow: hidden;
    position: relative;
    transform: translateY(18px) scale(.96);
    transition: transform .34s cubic-bezier(.2, .9, .25, 1);
    width: 100%;
}

.quote-success-overlay.is-visible .quote-success-card {
    transform: translateY(0) scale(1);
}

.quote-success-card::before {
    background: radial-gradient(circle at 20% 0%, rgba(34, 197, 94, .18), transparent 42%),
        radial-gradient(circle at 90% 10%, rgba(37, 99, 235, .14), transparent 36%);
    content: '';
    height: 160px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.quote-success-body {
    padding: 36px 28px 24px;
    position: relative;
    text-align: center;
}

.quote-success-icon {
    height: 78px;
    margin: 0 auto 18px;
    position: relative;
    width: 78px;
}

.quote-success-icon-ring {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(22, 163, 74, .28);
    height: 100%;
    position: relative;
    transform: scale(.4);
    width: 100%;
}

.quote-success-overlay.is-visible .quote-success-icon-ring {
    animation: quote-success-pop .55s cubic-bezier(.2, 1.2, .3, 1) .05s forwards;
}

.quote-success-icon-ring::after {
    border: 2px solid rgba(34, 197, 94, .35);
    border-radius: 50%;
    content: '';
    inset: -8px;
    opacity: 0;
    position: absolute;
}

.quote-success-overlay.is-visible .quote-success-icon-ring::after {
    animation: quote-success-ripple .9s ease .18s forwards;
}

.quote-success-icon svg {
    display: block;
    height: 36px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
}

.quote-success-icon path {
    fill: none;
    stroke: #fff;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.2;
}

.quote-success-overlay.is-visible .quote-success-icon path {
    animation: quote-success-check .42s ease .28s forwards;
}

.quote-success-title {
    color: #0f172a;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 8px;
}

.quote-success-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 auto 20px;
    max-width: 300px;
}

.quote-success-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 18px;
}

.quote-success-stat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
}

.quote-success-stat strong {
    color: #0f172a;
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.quote-success-stat span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.quote-success-meta {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 20px;
    padding: 10px 12px;
}

.quote-success-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.quote-success-btn {
    align-items: center;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
    height: 44px;
    justify-content: center;
    padding: 0 14px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.quote-success-btn:hover,
.quote-success-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.quote-success-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .28);
    color: #fff;
}

.quote-success-btn-primary:hover,
.quote-success-btn-primary:focus {
    color: #fff;
}

.quote-success-btn-ghost {
    background: #fff;
    border: 1px solid #dbe3ee;
    color: #334155;
}

.quote-success-btn-ghost:hover,
.quote-success-btn-ghost:focus {
    background: #f8fafc;
    color: #0f172a;
}

.quote-success-footer {
    border-top: 1px solid #eef2f7;
    color: #94a3b8;
    font-size: 12px;
    padding: 12px 20px 16px;
    position: relative;
    text-align: center;
}

.quote-success-progress {
    background: #e2e8f0;
    border-radius: 999px;
    height: 3px;
    margin: 0 0 10px;
    overflow: hidden;
    width: 100%;
}

.quote-success-progress > i {
    background: linear-gradient(90deg, #22c55e, #2563eb);
    border-radius: inherit;
    display: block;
    height: 100%;
    transform-origin: left center;
    width: 100%;
}

.quote-success-overlay.is-visible .quote-success-progress > i {
    animation: quote-success-progress linear forwards;
    animation-duration: var(--quote-success-wait, 2.6s);
}

.quote-form.is-submitting .btn-primary {
    opacity: .78;
    pointer-events: none;
    position: relative;
}

.quote-form.is-submitting .btn-primary::after {
    animation: quote-success-spin .7s linear infinite;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    border-top-color: #fff;
    content: '';
    display: inline-block;
    height: 14px;
    margin-left: 8px;
    vertical-align: -2px;
    width: 14px;
}

@keyframes quote-success-pop {
    0% { transform: scale(.4); }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes quote-success-check {
    to { stroke-dashoffset: 0; }
}

@keyframes quote-success-ripple {
    0% {
        opacity: .8;
        transform: scale(.85);
    }
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes quote-success-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@keyframes quote-success-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
    .quote-success-body {
        padding: 30px 18px 18px;
    }

    .quote-success-title {
        font-size: 21px;
    }

    .quote-success-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quote-success-overlay,
    .quote-success-card,
    .quote-success-btn {
        transition: none;
    }

    .quote-success-overlay.is-visible .quote-success-icon-ring,
    .quote-success-overlay.is-visible .quote-success-icon-ring::after,
    .quote-success-overlay.is-visible .quote-success-icon path,
    .quote-success-overlay.is-visible .quote-success-progress > i,
    .quote-form.is-submitting .btn-primary::after {
        animation: none;
    }

    .quote-success-overlay.is-visible .quote-success-icon-ring {
        transform: scale(1);
    }

    .quote-success-overlay.is-visible .quote-success-icon path {
        stroke-dashoffset: 0;
    }
}

.tender-detail-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-image-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-image-grid a {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: block;
    overflow: hidden;
}

.detail-image-grid img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.sku-image-group + .sku-image-group {
    border-top: 1px solid #eef2f7;
    margin-top: 18px;
    padding-top: 18px;
}

.sku-image-group-title {
    align-items: baseline;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.sku-image-group-title strong {
    color: #1d4ed8;
}

.sku-image-group-title span {
    color: #64748b;
}

.tender-category-filter {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 16px 0;
    padding: 14px 16px;
    position: relative;
    z-index: 5;
}

.tender-category-filter.is-picker-open {
    z-index: 40;
}

.tender-category-filter label {
    color: #475569;
    font-size: 13px;
    margin: 0;
}

.tender-category-main {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 16px;
    min-width: 0;
}

.tender-category-heading {
    color: #1f2937;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.tender-category-heading .fa {
    color: #64748b;
    margin-right: 4px;
}

.tender-category-levels {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 10px;
    min-width: 0;
}

.tender-category-dropdown {
    flex: 1 1 auto;
    min-width: 220px;
    position: relative;
    z-index: 2;
}

.tender-category-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    display: flex;
    gap: 10px;
    height: 44px;
    justify-content: space-between;
    padding: 0 14px;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

.tender-category-trigger:hover {
    border-color: #94a3b8;
}

.tender-category-trigger:focus,
.tender-category-trigger.is-open {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    outline: 0;
}

.tender-category-trigger-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tender-category-trigger-text.is-placeholder {
    color: #94a3b8;
}

.tender-category-trigger > .fa {
    color: #64748b;
    flex: 0 0 auto;
    font-size: 16px;
    transition: transform .15s ease;
}

.tender-category-trigger.is-open > .fa {
    transform: rotate(180deg);
}

.tender-category-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    left: 0;
    margin-top: 6px;
    min-width: 100%;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 50;
}

@media (min-width: 601px) {
    .tender-category-panel {
        min-width: calc(100% + 204px);
        right: auto;
        width: max(100%, 420px);
    }
}

.tender-category-panel[hidden] {
    display: none !important;
}

.tender-category-search {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    padding: 10px 12px;
}

.tender-category-search > .fa {
    color: #94a3b8;
    flex: 0 0 auto;
}

.tender-category-search input {
    background: transparent;
    border: 0;
    color: #0f172a;
    flex: 1 1 auto;
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.tender-category-search input::placeholder {
    color: #94a3b8;
}

.tender-category-tree-wrap {
    max-height: 300px;
    overflow: auto;
    overscroll-behavior: contain;
}

.tender-category-tree,
.tender-category-children {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.tender-category-children {
    padding: 0;
}

.tender-category-node {
    margin: 0;
}

.tender-category-row {
    align-items: center;
    display: flex;
    gap: 2px;
    min-height: 36px;
    padding-right: 10px;
}

.tender-category-row:hover {
    background: #f1f5f9;
}

.tender-category-row.is-selected {
    background: #eff6ff;
}

.tender-category-row.is-selected .tender-category-label {
    color: #1d4ed8;
    font-weight: 600;
}

.tender-category-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: #64748b;
    display: inline-flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    padding: 0;
    width: 24px;
}

.tender-category-toggle:hover {
    background: rgba(148, 163, 184, .18);
    color: #334155;
}

.tender-category-toggle.is-leaf {
    cursor: default;
    visibility: hidden;
}

.tender-category-label {
    background: transparent;
    border: 0;
    color: #334155;
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.4;
    min-width: 0;
    overflow: hidden;
    padding: 6px 4px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tender-category-label:hover,
.tender-category-label:focus {
    color: #1d4ed8;
    outline: 0;
}

.tender-category-mark {
    background: #fef08a;
    border-radius: 2px;
    color: inherit;
    font-weight: 700;
    padding: 0 1px;
}

.tender-category-empty {
    color: #94a3b8;
    font-size: 13px;
    padding: 28px 16px;
    text-align: center;
}

.tender-category-empty[hidden] {
    display: none !important;
}

.tender-category-levels .btn {
    flex: 0 0 auto;
    height: 44px;
    min-width: 92px;
    position: relative;
    z-index: 1;
}

.tender-category-levels .btn .fa {
    margin-right: 4px;
}

.tender-category-levels .tender-filter-reset {
    align-items: center;
    background: #edf4ff;
    border-color: #c9dcff;
    color: #1d4ed8;
    display: inline-flex;
    gap: 7px;
    justify-content: center;
    line-height: 1;
    min-width: 96px;
    padding: 0 16px;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.tender-category-levels .tender-filter-reset .fa {
    margin-right: 0;
}

.tender-category-levels .tender-filter-reset:hover,
.tender-category-levels .tender-filter-reset:focus {
    background: #dbeafe;
    border-color: #9dbcf5;
    color: #1d4ed8;
    text-decoration: none;
}

.tender-category-levels .tender-filter-reset:active {
    background: #cfe0ff;
    border-color: #7da4ed;
    box-shadow: inset 0 1px 2px rgba(30, 64, 175, .12);
}

.tender-category-levels .tender-filter-reset:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
    outline: 0;
}

.tender-mine-filter {
    align-items: center;
    background: #f8fafc;
    border-radius: 8px;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: space-between;
    margin-top: 4px;
    padding: 10px 14px;
    width: 100%;
}

.tender-mine-filter[data-active="1"] {
    background: #eff6ff;
}

.tender-mine-filter[data-active="1"] .tender-mine-title {
    color: #1e40af;
}

.tender-mine-toggle {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 12px;
    margin: 0;
    min-width: 0;
    position: relative;
}

.tender-mine-toggle input {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.tender-mine-switch {
    background: #cbd5e1;
    border-radius: 999px;
    flex: 0 0 auto;
    height: 22px;
    position: relative;
    transition: background-color .15s ease;
    width: 38px;
}

.tender-mine-toggle:hover input:not(:checked) + .tender-mine-switch {
    background: #b0bcca;
}

.tender-mine-switch::before {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .25);
    content: '';
    height: 18px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: transform .15s ease;
    width: 18px;
}

.tender-mine-toggle input:checked + .tender-mine-switch {
    background: #2563eb;
}

.tender-mine-toggle input:checked + .tender-mine-switch::before {
    transform: translateX(16px);
}

.tender-mine-toggle input:focus-visible + .tender-mine-switch {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .25);
    outline: 0;
}

.tender-mine-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tender-mine-title {
    align-items: center;
    color: #334155;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
}

.tender-mine-title .fa {
    color: #2563eb;
}

.tender-mine-desc {
    color: #94a3b8;
    font-size: 12px;
}

.tender-mine-link {
    align-items: center;
    background: #edf4ff;
    border: 1px solid #c9dcff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    padding: 6px 14px;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    white-space: nowrap;
}

.tender-mine-link:hover,
.tender-mine-link:focus {
    background: #dbeafe;
    border-color: #9dbcf5;
    color: #1d4ed8;
    text-decoration: none;
    transform: translateX(2px);
}

.tender-mine-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
    outline: 0;
}

.tender-mine-link .fa {
    font-size: 11px;
}

@media (max-width: 991px) {
    .quote-header,
    .quote-contact-grid,
    .tender-detail-summary-grid,
    .detail-image-grid {
        grid-template-columns: 1fr;
    }

    .quote-section-heading {
        display: block;
    }

    .quote-section-heading p {
        margin-top: 8px;
        text-align: left;
    }

    .quote-sku-guide {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .quote-sku-selected {
        align-self: flex-start;
    }

    .tender-category-filter {
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .tender-category-main {
        align-items: stretch;
        display: block;
    }

    .tender-category-heading {
        margin-bottom: 10px;
    }

    .tender-category-levels {
        align-items: stretch;
        flex-direction: column;
    }

    .tender-category-levels .btn {
        width: 100%;
    }

    .tender-category-panel {
        left: 0;
        min-width: 100%;
        right: 0;
        width: auto;
    }

    .tender-mine-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .tender-mine-link {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tender-category-levels .tender-filter-reset,
    .tender-category-trigger,
    .tender-category-trigger > .fa,
    .tender-mine-switch,
    .tender-mine-switch::before,
    .tender-mine-link {
        transition: none;
    }
}
