.price-hero {
    padding: 3.5rem 0 2.8rem;
    background: linear-gradient(135deg, #111827 0%, #312e81 58%, #4f46e5 100%);
    color: #ffffff;
}

.price-back {
    display: inline-flex;
    margin-bottom: 1.4rem;
    color: #c7d2fe;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.price-back:hover {
    color: #ffffff;
    text-decoration: underline;
}

.price-eyebrow {
    display: block;
    margin-bottom: 0.6rem;
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.04;
}

.price-hero p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: #e0e7ff;
    font-size: 1.08rem;
    line-height: 1.65;
}

.price-main {
    overflow-x: hidden;
    padding: 2rem 0 4rem;
    background: #f8fafc;
}

.price-main section {
    opacity: 1 !important;
    transform: none !important;
}

.price-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.price-stats > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}

.price-stats strong {
    color: #312e81;
    font-size: 1.55rem;
}

.price-stats span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.price-notice,
.price-alert {
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    background: #eef2ff;
}

.price-notice h2 {
    margin: 0 0 0.4rem;
    color: #312e81;
    font-size: 1.05rem;
}

.price-notice p,
.price-notice small {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

.price-notice small {
    display: block;
    margin-top: 0.55rem;
    color: #64748b;
}

.price-alert {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.price-filters {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(135px, 1fr)) auto auto;
    gap: 0.7rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 1.15rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}

.price-filters label,
.price-search-label {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
}

.price-available-toggle {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    align-self: end;
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    color: #3730a3;
    background: #eef2ff;
    cursor: pointer;
}

.price-filters .price-available-toggle input[type="checkbox"] {
    width: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: #4f46e5;
}

.price-search-label {
    grid-column: 1 / -1;
}

.price-filters input,
.price-filters select,
.price-filters button,
.price-reset {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font: inherit;
    font-size: 0.86rem;
}

.price-filters input,
.price-filters select {
    width: 100%;
    padding: 0 0.75rem;
    color: #1e293b;
    background: #ffffff;
}

.price-filters input:focus,
.price-filters select:focus,
.price-filters button:focus-visible,
.price-reset:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.22);
    outline-offset: 2px;
}

.price-filters button {
    padding: 0 1rem;
    border-color: #4f46e5;
    color: #ffffff;
    background: #4f46e5;
    font-weight: 800;
    cursor: pointer;
}

.price-filters button:hover {
    background: #4338ca;
}

.price-reset {
    display: inline-flex;
    align-items: center;
    padding: 0 0.8rem;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
}

.price-reset:hover {
    color: #312e81;
    background: #eef2ff;
}

.price-result-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    align-items: center;
    margin: 1.1rem 0;
    color: #64748b;
    font-size: 0.86rem;
}

.price-result-bar strong {
    color: #1e293b;
}

.price-available-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    font-weight: 800;
}

.price-warning {
    color: #b45309;
    font-weight: 750;
}

.price-table-wrap,
.price-source-table-wrap {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.price-table,
.price-source-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    color: #334155;
}

.price-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.price-table th,
.price-table td,
.price-source-table th,
.price-source-table td {
    padding: 0.9rem 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.price-table th,
.price-source-table th {
    color: #475569;
    background: #f8fafc;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.price-sort-link {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.price-sort-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

.price-sort-link span {
    color: #818cf8;
    font-size: 0.8rem;
}

.price-table tbody tr:last-child td,
.price-source-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-table tbody tr:hover,
.price-source-table tbody tr:hover {
    background: #f8fafc;
}

.price-table td:first-child {
    min-width: 260px;
}

.price-table td:nth-child(2) {
    min-width: 170px;
}

.price-table td:nth-child(3) {
    min-width: 100px;
}

.price-table td:nth-child(4) {
    min-width: 140px;
}

.price-table td:nth-child(5) {
    min-width: 105px;
}

.price-table td:nth-child(6),
.price-table td:nth-child(7) {
    min-width: 110px;
}

.price-table td:nth-child(8) {
    min-width: 160px;
}

.price-table td:nth-child(9) {
    min-width: 145px;
}

.price-table td strong,
.price-table td small,
.price-table td a {
    display: block;
}

.price-table td strong {
    color: #1e293b;
    font-size: 0.9rem;
}

.price-table td small {
    margin-top: 0.28rem;
    color: #94a3b8;
    font-size: 0.72rem;
    line-height: 1.35;
}

.price-table td a,
.price-source-table td a {
    color: #4338ca;
    font-weight: 750;
    text-decoration: none;
}

.price-table td a:hover,
.price-source-table td a:hover {
    text-decoration: underline;
}

.price-status {
    display: inline-flex;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.2;
}

.price-status-available {
    color: #166534;
    background: #dcfce7;
}

.price-status-model_only {
    color: #475569;
    background: #e2e8f0;
}

.price-status-unverified {
    color: #9a3412;
    background: #ffedd5;
}

.price-empty {
    padding: 2.5rem 1rem !important;
    color: #64748b;
    text-align: center !important;
}

.price-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    margin: 1.4rem 0;
    color: #64748b;
    font-size: 0.88rem;
}

.price-pagination a {
    padding: 0.55rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #4338ca;
    background: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.price-pagination a:hover {
    border-color: #818cf8;
    background: #eef2ff;
}

.price-sources {
    margin-top: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.price-sources summary {
    padding: 1rem 1.15rem;
    color: #312e81;
    font-weight: 850;
    cursor: pointer;
}

.price-source-table {
    min-width: 760px;
    border-top: 1px solid #e2e8f0;
    box-shadow: none;
    border-radius: 0 0 16px 16px;
}

[data-theme="dark"] .price-main {
    background: #020617;
}

[data-theme="dark"] .price-stats > div,
[data-theme="dark"] .price-filters,
[data-theme="dark"] .price-table-wrap,
[data-theme="dark"] .price-source-table-wrap,
[data-theme="dark"] .price-sources {
    border-color: #334155;
    background: #0f172a;
}

[data-theme="dark"] .price-available-toggle {
    border-color: #3730a3;
    color: #c7d2fe;
    background: #1e1b4b;
}

[data-theme="dark"] .price-notice {
    border-color: #3730a3;
    background: #1e1b4b;
}

[data-theme="dark"] .price-notice h2,
[data-theme="dark"] .price-notice p,
[data-theme="dark"] .price-notice small,
[data-theme="dark"] .price-stats span,
[data-theme="dark"] .price-result-bar,
[data-theme="dark"] .price-pagination {
    color: #cbd5e1;
}

[data-theme="dark"] .price-filters label,
[data-theme="dark"] .price-filters input,
[data-theme="dark"] .price-filters select,
[data-theme="dark"] .price-reset {
    border-color: #475569;
    color: #e2e8f0;
    background: #111827;
}

[data-theme="dark"] .price-table,
[data-theme="dark"] .price-source-table {
    color: #cbd5e1;
}

[data-theme="dark"] .price-table th,
[data-theme="dark"] .price-table td,
[data-theme="dark"] .price-source-table th,
[data-theme="dark"] .price-source-table td {
    border-color: #334155;
}

[data-theme="dark"] .price-table th,
[data-theme="dark"] .price-source-table th,
[data-theme="dark"] .price-table tbody tr:hover,
[data-theme="dark"] .price-source-table tbody tr:hover {
    background: #111827;
}

[data-theme="dark"] .price-table td strong,
[data-theme="dark"] .price-source-table td a,
[data-theme="dark"] .price-pagination a {
    color: #c7d2fe;
}

@media (min-width: 1101px) {
    .price-main > .container {
        width: 100%;
        max-width: none !important;
    }

    .price-table {
        min-width: 1350px !important;
    }
}

@media (max-width: 1100px) {
    .price-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .price-search-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .price-hero {
        padding: 2.4rem 0 2rem;
    }

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

    .price-filters {
        grid-template-columns: 1fr 1fr;
    }

    .price-filters button,
    .price-reset {
        justify-content: center;
    }

    .price-table {
        min-width: 900px;
    }
}

@media (max-width: 480px) {
    .price-filters {
        grid-template-columns: 1fr;
    }

    .price-search-label {
        grid-column: auto;
    }

    .price-pagination {
        flex-wrap: wrap;
    }
}
