.price-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 22px 28px 0;
}

.price-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .55fr);
    gap: 22px;
    align-items: center;
    min-height: 150px;
    padding: 22px 28px;
    overflow: hidden;
    border: 1px solid #d9e8ff;
    border-radius: 10px;
    background: #f3f8ff;
    box-shadow: var(--shadow-sm);
}
.price-kicker {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    margin-bottom: 8px;
    border-radius: 15px;
    color: #0c63d4;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}
.price-hero h1 {
    max-width: 420px;
    margin: 0 0 6px;
    color: #0d357f;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: 0;
}
.price-hero p {
    max-width: 500px;
    color: #3d5c92;
    font-size: 14px;
    line-height: 1.7;
}

.price-search-panel {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 8px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 22px rgba(22, 119, 255, .08);
}
.price-search-panel label,
.filter-field label {
    display: block;
    margin-bottom: 8px;
    color: #25324a;
    font-size: 14px;
    font-weight: 700;
}
.price-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
}
.price-search-row input,
.filter-field input,
.filter-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    outline: 0;
    padding: 0 13px;
    color: var(--text-primary);
    background: #fff;
}
.price-page .f-select-wrap {
    display: block;
}
.price-page .f-select-trigger {
    height: 42px;
    border-color: #d8e2ef;
    border-radius: 8px;
    padding: 0 12px 0 13px;
    color: var(--text-primary);
}
.price-page .f-select-trigger.is-open {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,119,255,.1);
}
.price-page .f-select-arrow i { display: none; }
.price-page .f-select-arrow::before {
    content: "⌄";
    color: #7d8aa0;
    font-size: 16px;
    line-height: 1;
}
.price-search-row input:focus,
.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,119,255,.1);
}
.price-search-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(22,119,255,.22);
}
.price-search-row button:disabled {
    opacity: .68;
    cursor: wait;
}
.btn-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-top-color: #fff;
    border-radius: 50%;
    animation: priceSpin .75s linear infinite;
}

.price-filter-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px auto;
    gap: 12px;
    align-items: end;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.filter-actions button {
    height: 42px;
    min-width: 96px;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    color: #41506a;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}
.filter-actions button:hover { color: var(--primary); border-color: var(--primary); }

.price-result-shell {
    margin-top: 14px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.price-progress {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
    background: #fbfdff;
}
.price-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.price-progress-head strong {
    color: #25324a;
    font-size: 15px;
    font-weight: 800;
}
.price-progress-head span,
.price-progress-meta {
    color: var(--text-muted);
    font-size: 13px;
}
.price-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf1fb;
}
.price-progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #27c3ff);
    transition: width .25s ease;
}
.price-progress.is-loading .price-progress-bar i {
    background-image:
        linear-gradient(135deg, rgba(255,255,255,.34) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.34) 75%, transparent 75%, transparent),
        linear-gradient(90deg, var(--primary), #27c3ff);
    background-size: 18px 18px, 100% 100%;
    animation: priceProgressMove .65s linear infinite;
}
.price-progress-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}
.price-empty-state {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 220px;
    color: var(--text-muted);
    text-align: center;
}
.price-empty-state strong {
    color: #25324a;
    font-size: 18px;
}

.price-table-wrap { overflow: visible; }
.price-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.price-table th {
    height: 44px;
    padding: 0 16px;
    text-align: left;
    color: #69758a;
    background: #f6f9fd;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.price-table th:nth-child(1) { width: 56%; }
.price-table th:nth-child(2) { width: 14%; }
.price-table th:nth-child(3) { width: 18%; }
.price-table th:nth-child(4) { width: 12%; }
.price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: #26334d;
    font-size: 14px;
    vertical-align: middle;
}
.price-table tbody tr:hover td { background: #f8fbff; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-name {
    max-width: 100%;
    color: #172033;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.price-value {
    color: #f04438;
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}
.site-pill {
    display: inline-flex;
    align-items: center;
    max-width: 190px;
    height: 28px;
    padding: 0 10px;
    overflow: hidden;
    border-radius: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.site-pill {
    color: #0c63d4;
    background: #eaf4ff;
}
.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #bcd8ff;
    border-radius: 7px;
    color: var(--primary);
    background: #fff;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.detail-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.detail-btn.is-disabled {
    cursor: not-allowed;
    opacity: .55;
}
.detail-btn.is-disabled:hover {
    border-color: #bcd8ff;
    background: #fff;
}

.price-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    color: #3d5c92;
    font-weight: 800;
    text-align: center;
}
.price-loading::before {
    content: "";
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border: 3px solid #d8e8ff;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: priceSpin .8s linear infinite;
}
.price-loading strong {
    color: #25324a;
    font-size: 18px;
}
.price-loading span {
    margin-top: 8px;
    color: var(--text-muted);
    font-weight: 500;
}
@keyframes priceSpin { to { transform: rotate(360deg); } }
@keyframes priceProgressMove { to { background-position: 18px 0, 0 0; } }

@media (max-width: 980px) {
    .price-page { padding: 16px; }
    .price-hero { grid-template-columns: 1fr; min-height: auto; padding: 22px; }
    .price-filter-card { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .price-page { padding-left: 12px; padding-right: 12px; }
    .price-hero { padding: 18px; gap: 16px; }
    .price-hero h1 { font-size: 22px; }
    .price-search-panel { padding: 14px; }
    .price-search-row,
    .price-filter-card { grid-template-columns: 1fr; }
    .price-progress-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }
    .price-table thead { display: none; }
    .price-table tbody {
        padding: 10px;
    }
    .price-table tr {
        padding: 12px;
        border: 1px solid var(--border-light);
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 6px 14px rgba(24, 62, 120, .04);
    }
    .price-table tr + tr { margin-top: 10px; }
    .price-table td {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 7px 0;
        border-bottom: 0;
        font-size: 14px;
    }
    .price-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 700;
    }
    .price-value { font-size: 17px; }
    .site-pill {
        max-width: 100%;
        white-space: normal;
        height: auto;
        min-height: 28px;
        line-height: 1.5;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .detail-btn {
        width: 100%;
    }
}
