/* ============================================================
   Refubly — shop
   Split out of the old single refubly-theme.css, rule by rule: a selector
   rendered by exactly one page lives in that page's file, anything shared
   lives here. Media queries are re-wrapped per file, so each keeps only its
   own overrides.
   Load order: base -> chrome -> components -> <page>. Keep it.
   NOTE: theme sets html{font-size:62.5%} -> 1rem = 10px.
   ============================================================ */

.shop-default-banner {
    border-radius: var(--rf-radius);
    overflow: hidden;
    min-height: 18rem;
    background-size: cover;
    background-position: center;
}

@media (max-width: 575px) {
    .shop-default-banner {
            min-height: 13rem;
        }
}

/* sidebar filters */

.shop-sidebar .widget-collapsible {
    border-bottom: 1px solid var(--rf-border);
    padding-bottom: 1.2rem;
}

.shop-sidebar .filter-items label {
    font-size: 1.35rem;
    color: var(--rf-text);
    display: flex;
    align-items: center;
    transition: color .2s;
}

.shop-sidebar .filter-items label:hover {
    color: var(--rf-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP FILTERS — professional faceted sidebar
   ══════════════════════════════════════════════════════════════════════════ */

.rf-filters {
    background: var(--rf-surface);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    overflow: hidden;
}

.rf-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid var(--rf-border);
    background: var(--rf-bg-soft);
}

.rf-filters-title {
    margin: 0;
    font-family: var(--rf-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rf-ink);
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1;
}

.rf-filters-title i { font-size: 1.7rem; color: var(--rf-primary); }

.rf-filters-clear {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rf-primary);
    text-decoration: none;
}

.rf-filters-clear:hover { color: var(--rf-primary-dark); text-decoration: underline; }

.rf-filters-clear.is-hidden { display: none; }

.rf-filters-empty { padding: 2rem 1.6rem; color: var(--rf-muted); font-size: 1.3rem; margin: 0; }

/* ── Group ── */

.rf-filter-group { border-bottom: 1px solid var(--rf-border-soft); }

.rf-filter-group:last-child { border-bottom: 0; }

.rf-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.3rem 1.6rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.rf-filter-name {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rf-ink);
    letter-spacing: -.01em;
}

.rf-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0 .5rem;
    border-radius: 1rem;
    background: var(--rf-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.rf-filter-caret {
    font-size: 1.5rem;
    color: var(--rf-muted);
    transition: transform .2s ease;
}

.rf-filter-group.is-open .rf-filter-caret { transform: rotate(180deg); }

.rf-filter-body { display: none; padding: 0 1.6rem 1.4rem; }

.rf-filter-group.is-open .rf-filter-body { display: block; }

.rf-filter-search {
    width: 100%;
    height: 3.4rem;
    padding: 0 1.2rem;
    margin-bottom: .8rem;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    font-family: inherit;
    font-size: 1.25rem;
    color: var(--rf-ink);
    background: var(--rf-bg-soft);
}

.rf-filter-search:focus {
    outline: none;
    border-color: var(--rf-primary);
    background: #fff;
}

/* ── Options ── */

.rf-filter-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 24rem;
    overflow-y: auto;
}

.rf-filter-options::-webkit-scrollbar { width: 4px; }

.rf-filter-options::-webkit-scrollbar-thumb { background: var(--rf-border); border-radius: 4px; }

.rf-filter-options.is-empty::after {
    content: 'No matches';
    display: block;
    padding: .8rem 0;
    color: var(--rf-muted);
    font-size: 1.25rem;
}

.rf-option { margin: 0; }

.rf-option label {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .55rem 0;
    margin: 0;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--rf-text);
    line-height: 1.4;
}

.rf-option label:hover .rf-option-label { color: var(--rf-ink); }

.rf-option label:hover .rf-option-box { border-color: var(--rf-primary); }

.rf-option-input { position: absolute; opacity: 0; width: 0; height: 0; }

.rf-option-box {
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    border: 1.5px solid var(--rf-border);
    border-radius: .4rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

.rf-option-box i {
    font-size: 1rem;
    color: #fff;
    opacity: 0;
    transform: scale(.5);
    transition: all .15s ease;
}

.rf-option-input:checked + .rf-option-box {
    background: var(--rf-primary);
    border-color: var(--rf-primary);
}

.rf-option-input:checked + .rf-option-box i { opacity: 1; transform: scale(1); }

.rf-option-input:focus-visible + .rf-option-box {
    box-shadow: 0 0 0 3px rgba(7, 166, 75, .25);
}

.rf-option-label { flex: 1; transition: color .15s ease; }

.rf-option-input:checked ~ .rf-option-label { color: var(--rf-ink); font-weight: 600; }

.rf-option-count {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: var(--rf-muted);
    background: var(--rf-bg-soft);
    border-radius: 1rem;
    padding: .1rem .7rem;
    min-width: 2.4rem;
    text-align: center;
}

/* ── Price ── */

.rf-price-row { display: flex; align-items: flex-end; gap: .6rem; }

.rf-price-field { flex: 1; min-width: 0; }

.rf-price-field label {
    display: block;
    font-size: 1.1rem;
    color: var(--rf-muted);
    margin-bottom: .3rem;
    font-weight: 600;
}

.rf-price-input {
    width: 100%;
    height: 3.6rem;
    padding: 0 .9rem;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    font-family: inherit;
    font-size: 1.3rem;
    color: var(--rf-ink);
    background: #fff;
}

.rf-price-input:focus { outline: none; border-color: var(--rf-primary); }

.rf-price-dash { color: var(--rf-muted); padding-bottom: .9rem; }

.rf-price-go {
    flex-shrink: 0;
    width: 3.6rem;
    height: 3.6rem;
    border: 0;
    border-radius: var(--rf-radius-sm);
    background: var(--rf-ink);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}

.rf-price-go:hover { background: var(--rf-primary); }

/* Loading state while navigating */

.rf-filters.is-loading { opacity: .55; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════════════
   SHOP TOOLBAR / CHIPS / PAGINATION / EMPTY STATE
   ══════════════════════════════════════════════════════════════════════════ */

.rf-shop-toolbar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1.2rem 1.6rem;
    margin-bottom: 1.6rem;
    background: var(--rf-surface);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
}

.rf-shop-count { margin: 0; font-size: 1.3rem; color: var(--rf-text); }

.rf-shop-count strong { color: var(--rf-ink); font-weight: 700; }

.rf-shop-sort {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.rf-shop-sort label {
    margin: 0;
    font-size: 1.25rem;
    color: var(--rf-muted);
    font-weight: 600;
    white-space: nowrap;
}

.rf-sort-select {
    height: 3.6rem;
    padding: 0 3rem 0 1.2rem;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    font-family: inherit;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--rf-ink);
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238a93a3' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right 1rem center;
    background-size: 1.6rem;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.rf-sort-select:focus { outline: none; border-color: var(--rf-primary); }

.rf-filter-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    height: 3.6rem;
    padding: 0 1.4rem;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    background: #fff;
    font-family: inherit;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rf-ink);
    cursor: pointer;
}

.rf-filter-toggle:hover { border-color: var(--rf-primary); color: var(--rf-primary); }

/* ── Chips ── */

.rf-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.6rem;
}

.rf-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--rf-border);
    border-radius: 2rem;
    background: var(--rf-primary-soft);
    font-family: inherit;
    font-size: 1.2rem;
    color: var(--rf-ink);
    cursor: pointer;
    transition: all .15s ease;
}

.rf-chip:hover { border-color: var(--rf-primary); background: #fff; }

.rf-chip-group { color: var(--rf-muted); }

.rf-chip-label { font-weight: 600; }

.rf-chip i { font-size: 1.1rem; color: var(--rf-muted); }

.rf-chip:hover i { color: var(--rf-primary); }

.rf-chip-clear {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rf-primary);
    text-decoration: underline;
    margin-left: .4rem;
}

/* ── Empty state ── */

.rf-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    background: var(--rf-bg-soft);
    border-radius: var(--rf-radius);
}

.rf-empty-state i { font-size: 4.5rem; color: var(--rf-muted); display: block; margin-bottom: 1.5rem; }

.rf-empty-state h4 { font-size: 1.8rem; font-weight: 700; color: var(--rf-ink); margin-bottom: .6rem; }

.rf-empty-state p { color: var(--rf-muted); font-size: 1.35rem; margin-bottom: 2rem; }

/* ── Mobile drawer ── */

body.rf-no-scroll { overflow: hidden; }

@media (max-width: 991px) {
    .rf-filter-toggle { display: inline-flex; }

    .rf-shop-sort { margin-left: 0; }
}

/* ── Filter sidebar scrolling ─────────────────────────────────────────────
   The theme's sticky.js pins .sticky-sidebar with inline positioning sized to
   its original height, so filter groups past the fold became unreachable.
   Native CSS sticky + an internally scrollable panel keeps every group
   reachable no matter how many facets a category has. */

@media (min-width: 992px) {
    .shop-sidebar .rf-filters {
            display: flex;
            flex-direction: column;
            max-height: calc(100vh - 4rem);
        }

    /* Header stays put; only the groups scroll */

    .shop-sidebar .rf-filters-head {
            flex-shrink: 0;
        }

    .shop-sidebar .rf-filters #filtersForm {
            overflow-y: auto;
            overscroll-behavior: contain;
            flex: 1 1 auto;
            min-height: 0;
        }

    .shop-sidebar .rf-filters #filtersForm::-webkit-scrollbar {
            width: 5px;
        }

    .shop-sidebar .rf-filters #filtersForm::-webkit-scrollbar-thumb {
            background: var(--rf-border);
            border-radius: 4px;
        }

    .shop-sidebar .rf-filters #filtersForm::-webkit-scrollbar-thumb:hover {
            background: var(--rf-muted);
        }
}

/* Inner option lists scroll on their own only when a group is very long —
   nested scrollbars in a short group feel broken. */

.rf-filter-options {
    max-height: 22rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP LISTING — horizontal product cards (Cashify-style list)
   ══════════════════════════════════════════════════════════════════════════ */

.rf-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

/* The skeleton batch is a .rf-list too, so the flex rule above would otherwise
   beat the UA [hidden]{display:none} (author origin wins) and leave the skeleton
   cards permanently on screen. Honour the `hidden` attribute the JS toggles. */

.rf-list[hidden] {
    display: none;
}

.rf-lcard {
    position: relative;
    display: grid;
    grid-template-columns: 19rem 1fr;
    gap: 2.4rem;
    align-items: center;
    background: var(--rf-surface);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    padding: 1.8rem 2rem;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.rf-lcard:hover {
    border-color: #d9dee5;
    box-shadow: var(--rf-shadow-hover);
    transform: translateY(-.2rem);
}

.rf-lcard-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid var(--rf-border-soft);
    border-radius: var(--rf-radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-lcard-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform .35s ease;
}

.rf-lcard:hover .rf-lcard-media img { transform: scale(1.04); }

.rf-lcard-off {
    position: absolute;
    top: .8rem;
    left: .8rem;
    background: var(--rf-success);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    padding: .45rem .8rem;
    border-radius: 999px;
    letter-spacing: .01em;
}

.rf-lcard-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.rf-lcard-badges { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }

.rf-lcard-assured {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rf-primary);
    background: var(--rf-primary-soft);
    padding: .4rem .9rem;
    border-radius: 999px;
}

.rf-lcard-pill {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rf-text);
    background: var(--rf-bg-soft);
    border: 1px solid var(--rf-border);
    padding: .35rem .8rem;
    border-radius: 999px;
}

.rf-lcard-title {
    font-family: var(--rf-font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--rf-ink);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rf-lcard-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.rf-lcard-discount {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--rf-success);
}

.rf-lcard-vendor { margin-top: -.4rem; }

.rf-lcard-vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rf-primary);
    background: var(--rf-primary-soft);
    padding: .35rem .8rem;
    border-radius: 999px;
}

.rf-lcard-vendor-badge--locked {
    color: var(--rf-text);
    background: var(--rf-bg-soft);
    border: 1px solid var(--rf-border);
    font-weight: 600;
}

.rf-lcard-foot { margin-top: .3rem; }

.rf-lcard-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rf-primary);
    transition: gap .2s ease;
}

.rf-lcard:hover .rf-lcard-cta { gap: 1rem; }

@media (max-width: 575px) {
    .rf-lcard { grid-template-columns: 11rem 1fr; gap: 1.4rem; padding: 1.4rem; }

    .rf-lcard-title { font-size: 1.45rem; }

    .rf-lcard-discount { font-size: 1.3rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP CATEGORY ROW — even, aligned category circles (no swiper)
   ══════════════════════════════════════════════════════════════════════════ */

.rf-catrow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem 1rem;
}

@media (min-width: 768px) {
    .rf-catrow { grid-template-columns: repeat(8, 1fr); }
}

.rf-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    min-width: 0;
}

.rf-cat-media {
    width: 100%;
    max-width: 13.6rem;
    aspect-ratio: 1 / 1;
    border-radius: 5%;
    background: var(--rf-bg-soft);
    /* border: 1px solid var(--rf-border); */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.rf-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    display: block;
    padding: 6px;
}

.rf-cat:hover .rf-cat-media {
    border-color: var(--rf-primary);
    box-shadow: var(--rf-shadow-hover);
    transform: translateY(-.3rem);
}

.rf-cat-name {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rf-ink);
    min-height: 2.6em;              /* reserve 2 lines so every label aligns */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@media (max-width: 575px) {
    .rf-cat-media { max-width: 7.2rem; }

    .rf-cat-name { font-size: 1.2rem; min-height: 2.4em; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP INFINITE-SCROLL — skeleton loaders + end message
   ══════════════════════════════════════════════════════════════════════════ */

.rf-skeletons { margin-top: 1.6rem; }

.rf-skel { pointer-events: none; }

.rf-skel .rf-lcard-body { justify-content: center; }

.rf-skel-box,
.rf-skel-line {
    position: relative;
    overflow: hidden;
    background: #eef1f4;
    border-radius: .6rem;
}

.rf-skel-box { width: 100%; height: 100%; border: 0; border-radius: var(--rf-radius-sm); }

.rf-skel-line { display: block; height: 1.4rem; margin-bottom: 1rem; }

.rf-skel-box::after,
.rf-skel-line::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
    animation: rfShimmer 1.3s infinite;
}

.rf-list-end {
    text-align: center;
    color: var(--rf-muted);
    font-size: 1.35rem;
    padding: 2.6rem 0 .4rem;
}

@media (prefers-reduced-motion: reduce) {
    .rf-skel-box::after, .rf-skel-line::after { animation: none; }
}

/* Shop category tiles can render a FontAwesome icon instead of an uploaded
   image (Admin > Categories > Icon). Sized off the tile so it scales with the
   same responsive grid the image version uses. */

.rf-cat-media .rf-cat-icon {
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    line-height: 1;
    color: var(--rf-primary);
    transition: transform .25s ease, color .25s ease;
}

.rf-cat:hover .rf-cat-media .rf-cat-icon {
    transform: scale(1.08);
}

/* ── Shop list rows ────────────────────────────────────────────────────── */
/* The row is one wide link, so both actions stay bare glyphs in its corner
   rather than a bar across the small square thumbnail. */

.rf-lcard-wrap {
    position: relative;
}

.rf-lcard-actions {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.rf-card-fav--cart:hover {
    color: var(--rf-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP: grid / list view switch

   Each result renders twice — once as the site-wide product card (grid) and
   once as the detail row (list) — and the container's is-grid / is-list class
   picks one. That way a shop tile is literally the same component as a tile on
   the home page, and switching view needs no refetch.
   ══════════════════════════════════════════════════════════════════════════ */

.rf-view-switch {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .3rem;
    border: 1px solid var(--rf-border);
    border-radius: 999px;
    background: var(--rf-surface);
}

.rf-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--rf-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.rf-view-btn:hover {
    color: var(--rf-ink);
    background: var(--rf-bg-soft);
}

.rf-view-btn.is-active {
    background: var(--rf-ink);
    color: #fff;
}

/* ── Which copy is on show ─────────────────────────────────────────────── */
.rf-list.is-grid .rf-shop-item-list,
.rf-list.is-list .rf-shop-item-grid {
    display: none;
}

.rf-shop-item,
.rf-shop-item-grid,
.rf-shop-item-list {
    min-width: 0;
}

/* ── Grid ──────────────────────────────────────────────────────────────── */
.rf-list.is-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23rem, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.rf-list.is-grid .rf-shop-item,
.rf-list.is-grid .rf-shop-item-grid,
.rf-list.is-grid .rf-shop-item-grid .rf-card {
    height: 100%;
}

/* ── List ──────────────────────────────────────────────────────────────── */
.rf-list.is-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

@media (max-width: 575px) {
    .rf-list.is-grid {
        grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
        gap: 1.2rem;
    }

    /* A two-column row has no room for a 19rem thumbnail. */
    .rf-list.is-list .rf-lcard {
        grid-template-columns: 11rem 1fr;
        gap: 1.4rem;
        padding: 1.4rem;
    }
}

/* ── Discount badge on the list row ────────────────────────────────────────
   The image scales up on hover and was riding over the badge, which sits in
   the same stacking context. The badge is lifted above it, and the long
   "₹33,801.00 OFF" label is allowed to size itself instead of being stretched
   by the flex/grid parent. */
.rf-lcard-off {
    z-index: 3;
    width: auto;
    max-width: calc(100% - 1.6rem);
    white-space: nowrap;
    line-height: 1.2;
}

.rf-lcard-media .rf-card-img {
    z-index: 1;
}

/* The `.rf-list.is-grid` / `.is-list` display rules above are same-specificity
   as `.rf-list[hidden]` and come later, so they were resurrecting the skeleton
   batch — three placeholder cards sat under the results even after
   "You've reached the end". The hidden attribute wins, full stop. */
.rf-list[hidden],
.rf-skeletons[hidden] {
    display: none !important;
}
