body.rp-results-page {
    background: var(--rp-paper) !important;
    color: var(--rp-ink);
    font-family: var(--rp-sans);
}

.rp-results-page .topbar {
    background: var(--rp-white) !important;
    border-color: var(--rp-line);
    box-shadow: none;
    backdrop-filter: none;
}

.rp-results-page .brand-logo img { height: 50px !important; }
.rp-results-page .topbar-inner { padding-block: var(--rp-space-2) !important; }
.rp-results-page .mobile-header-status,
.rp-results-page .topbar-actions { display: none !important; }
.rp-results-page .topbar-search { margin: 0; }
.rp-results-page .topbar-shell { max-width: 1248px; }

.content.rp-results {
    max-width: calc(var(--rp-content) + 2 * var(--rp-gutter));
    padding: var(--rp-space-6) var(--rp-gutter) var(--rp-space-7);
}

.rp-results-heading h1 {
    margin: 0;
    font: 400 clamp(1.85rem, 4.1vw, 3.55rem)/1.07 var(--rp-display);
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.rp-results-heading p {
    margin: var(--rp-space-2) 0 var(--rp-space-5);
    color: var(--rp-muted);
}
.rp-results-heading p:has(+ .rp-results-fixture) { margin-bottom: var(--rp-space-1); }
.rp-results-heading .rp-results-fixture { margin-top: 0; font-size: var(--rp-label); }
.rp-results-heading .rp-collection-guide { max-inline-size: 64ch; margin-block: var(--rp-space-3); line-height: 1.55; }
.rp-collection-pagination,
.rp-collection-related {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--rp-space-2);
    margin-block-start: var(--rp-space-5);
}
.rp-collection-pagination span { color: var(--rp-muted); font-size: var(--rp-small); }

.rp-results .catalog-toolbar {
    margin: 0 0 var(--rp-space-4);
    padding: var(--rp-space-3) var(--rp-space-4);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-card);
    box-shadow: none;
}

.rp-results .catalog-layout:not(.filters-hidden) {
    grid-template-columns: minmax(0, 242px) minmax(0, 1fr);
    gap: var(--rp-space-5);
}

.rp-results .filters-sidebar {
    background: var(--rp-white);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-card);
    box-shadow: none;
}

.rp-results :is(.filter-box, .active-filter-box) {
    padding-block-end: var(--rp-space-4);
    margin-block-end: var(--rp-space-4);
    border-color: var(--rp-line);
}

.rp-results .filter-box-title {
    color: var(--rp-ink);
    margin-block-end: var(--rp-space-2);
    font-size: var(--rp-text);
}

.rp-results .filter-box-title strong { font-weight: 650; }

.rp-results .filter-check {
    min-height: 40px;
    padding: var(--rp-space-2);
    gap: var(--rp-space-2);
    color: var(--rp-ink);
    border-radius: var(--rp-radius-control);
    font: 500 var(--rp-small)/1.35 var(--rp-sans);
}

.rp-results .filter-check:is(:hover, :focus-within) { background: var(--rp-paper); }
.rp-results .filter-check:has(input:checked) { background: var(--rp-rose); }
.rp-results .filter-check span { min-width: 0; overflow-wrap: anywhere; }
.rp-results .filter-check input { flex: 0 0 auto; margin: 0; accent-color: var(--rp-primary); }
.rp-results .filter-check em { color: var(--rp-muted); font-size: var(--rp-label); font-variant-numeric: tabular-nums; }
.rp-results .brand-filter-list { scrollbar-width: thin; scrollbar-color: var(--rp-field-line) var(--rp-surface); }
.rp-results .brand-filter-empty { color: var(--rp-muted); }

.rp-results .brand-filter-search {
    min-height: var(--rp-target);
    margin-block-end: var(--rp-space-2);
    color: var(--rp-ink);
    background: var(--rp-surface);
    font-weight: 500;
}

.rp-results .brand-filter-search::placeholder { color: var(--rp-muted); opacity: 1; }

.rp-results .price-range-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rp-space-2);
}

.rp-results .price-range-field label {
    display: block;
    margin-block-end: var(--rp-space-1);
    color: var(--rp-muted);
    font-size: var(--rp-label);
    font-weight: 650;
}

.rp-results .price-input-wrap {
    display: flex;
    align-items: center;
    min-height: var(--rp-target);
    background: var(--rp-surface);
    border: 1px solid var(--rp-field-line);
    border-radius: var(--rp-radius-control);
}

.rp-results .price-input-wrap:focus-within { border-color: var(--rp-primary); }

.rp-results .price-input-wrap input {
    flex: 1;
    min-width: 0;
    min-height: calc(var(--rp-target) - 2px);
    padding: 0 var(--rp-space-2);
    border: 0;
    background: transparent;
    color: var(--rp-ink);
    appearance: textfield;
    font: 600 var(--rp-small) var(--rp-sans);
    font-variant-numeric: tabular-nums;
}

.rp-results .price-input-wrap input::-webkit-inner-spin-button,
.rp-results .price-input-wrap input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.rp-results .price-input-wrap input::placeholder { color: var(--rp-muted); }

.rp-results .price-clear:not([hidden]) {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 28px;
    transform: none;
    padding: 0;
    margin-inline-end: 2px;
    color: var(--rp-primary);
    background: transparent;
    border-radius: var(--rp-radius-control);
}

.rp-results .price-clear:hover { background: var(--rp-rose); }
.rp-results .price-filter-submit { margin: 0; }
.rp-results .price-slider-wrap { margin: 0; }
.rp-results .price-slider-wrap::before { background: var(--rp-line); }
.rp-results .price-slider-wrap input[type="range"] { margin: 0; }
.rp-results .price-slider-wrap input::-webkit-slider-thumb { background: var(--rp-primary); }
.rp-results .price-slider-wrap input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: var(--rp-primary);
    pointer-events: auto;
    cursor: pointer;
}

.rp-results .price-slider-wrap input:disabled { opacity: 0.55; }
.rp-results .price-range-values { margin: 0; color: var(--rp-muted); font-size: var(--rp-label); font-variant-numeric: tabular-nums; }
.rp-results .active-filter-title { color: var(--rp-ink); }
.rp-results .active-filter-chip { background: var(--rp-rose); color: var(--rp-burgundy); }
.rp-results .active-filter-clear { color: var(--rp-primary); }

.rp-results .mobile-filter-drawer { background: var(--rp-surface); }
.rp-results .mobile-filter-drawer .filters-sidebar { border: 0; border-radius: 0; background: transparent; }
.rp-results .mobile-filter-header,
.rp-results .mobile-filter-footer { padding: var(--rp-space-4) var(--rp-gutter); border-color: var(--rp-line); }
.rp-results .mobile-filter-body { padding: var(--rp-space-4) var(--rp-gutter); }
.rp-results .mobile-filter-drawer .mobile-filter-title { color: var(--rp-ink); font: 400 1.75rem/1.12 var(--rp-display); }
.rp-results .mobile-filter-drawer .mobile-filter-close {
    width: var(--rp-target);
    flex-shrink: 0;
    color: var(--rp-primary);
    border: 1px solid var(--rp-field-line);
    border-radius: var(--rp-radius-control);
    font-size: 1.5rem;
}

.rp-results .mobile-filter-drawer .mobile-filter-close:hover { background: var(--rp-rose); }
.rp-results .mobile-filter-footer { padding-block-end: max(var(--rp-space-4), env(safe-area-inset-bottom)); }
.rp-results .mobile-filter-apply { padding: var(--rp-space-2) var(--rp-space-4); }

@media (max-width: 900px) {
    .rp-results .mobile-filter-drawer .filter-check { min-height: var(--rp-target); }
    .rp-results .mobile-filter-drawer .filter-check input { width: 18px; height: 18px; }
    .rp-results .mobile-filter-drawer .brand-filter-list { max-block-size: 15rem; overflow-y: auto; }
    .rp-results .mobile-filter-drawer :is(.price-input-wrap input, .brand-filter-search) { font-size: var(--rp-text); }
}

.rp-results .filter-toggle-btn {
    color: var(--rp-primary);
    background: var(--rp-white);
    border-color: var(--rp-field-line);
    min-width: 116px;
}

.rp-results .filter-toggle-btn:hover { background: var(--rp-rose); }
.rp-results .filter-toggle-btn strong { background: var(--rp-primary); }

.rp-results .sort-form label { color: var(--rp-muted); font-size: var(--rp-small); }
.rp-results .filter-toggle-btn .filter-icon { display: inline-flex; align-items: center; }
.rp-results .sort-form select { min-height: var(--rp-target); }
.rp-results .clear-filters-link { color: var(--rp-primary); }
.rp-results #productsGrid.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: var(--rp-space-4) !important;
}

.rp-results-state {
    background: var(--rp-white);
    border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius-card);
    padding: clamp(16px, 4vw, 32px);
    max-width: 42rem;
    margin-top: var(--rp-space-4);
}

.rp-results-state h2 { margin: 0; font: 400 1.65rem/1.15 var(--rp-display); }
.rp-results-state p { color: var(--rp-muted); margin: var(--rp-space-2) 0 var(--rp-space-4); }

@media (max-width: 1050px) {
    .rp-results #productsGrid.grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 901px) {
    .rp-results .sort-form select { min-inline-size: 252px; }
}

@media (max-width: 900px) {
    .content.rp-results { padding-top: var(--rp-space-4); }
    .rp-results .catalog-layout:not(.filters-hidden) { grid-template-columns: minmax(0, 1fr); }
    .rp-results .catalog-toolbar .toolbar-left { width: 100%; gap: var(--rp-space-2); }
    .rp-results .catalog-toolbar .sort-form { flex-basis: 228px; }
    .rp-results .sort-form label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
}

@media (max-width: 599px) {
    .rp-results #productsGrid.grid { grid-template-columns: minmax(0, 1fr) !important; }
    .rp-results .catalog-toolbar .sort-form { flex-basis: 100%; }
    .rp-results .catalog-toolbar .toolbar-left .filter-toggle-btn { min-height: 44px; }
}

@media (max-width: 475px) {
    .rp-results .catalog-toolbar .sort-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-results .sort-form select { width: 100%; }
    .rp-results .sort-submit { justify-self: end; }
}
