/* ============================================================
   RFT Storefront — Catalog v3 (full rebuild on design system)
   Consumes tokens from rfs-base.css. Matches rft-catalog-page.html
   mockup using brand navy + orange.
   ============================================================ */

.rfs-cat-page {
    background: var(--rfs-bg);
    color: var(--rfs-ink);
    font-family: var(--rfs-font-ui);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
    min-height: 60vh;
}
.rfs-cat-page *,
.rfs-cat-page *::before,
.rfs-cat-page *::after { box-sizing: border-box; }
.rfs-cat-container { max-width: var(--rfs-container); margin: 0 auto; padding: 0 28px; }

/* ---------- HERO (navy) ---------- */
.rfs-cat-hero {
    background: var(--rfs-dark);
    color: #fff;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.rfs-cat-hero::before {
    content: ""; position: absolute;
    right: -100px; top: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: rgba(228, 98, 27, .08);
    pointer-events: none;
}
.rfs-cat-hero__bc {
    font-family: var(--rfs-font-ui);
    font-size: 13px; color: rgba(255,255,255,.45);
    margin-bottom: 14px;
    position: relative; z-index: 2;
}
.rfs-cat-hero__bc a { color: rgba(255,255,255,.55); text-decoration: none; }
.rfs-cat-hero__bc a:hover { color: var(--rfs-orange); }
.rfs-cat-hero__sep { color: rgba(255,255,255,.25); padding: 0 4px; }
.rfs-cat-hero__bc .breadcrumb_last { color: #fff; font-weight: 600; }

.rfs-cat-hero__title {
    font-family: var(--rfs-font-display) !important;
    font-size: clamp(34px, 5vw, 52px) !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    line-height: 1.02 !important;
    letter-spacing: -.5px;
    margin: 0 0 14px !important;
    position: relative; z-index: 2;
}
.rfs-cat-hero__desc {
    font-family: var(--rfs-font-body);
    color: rgba(255,255,255,.7);
    font-size: 15px; line-height: 1.65;
    max-width: 720px;
    margin: 0 0 18px;
    position: relative; z-index: 2;
}
.rfs-cat-hero__desc p { margin: 0 0 8px; }
.rfs-cat-hero__count {
    font-family: var(--rfs-font-ui);
    color: rgba(255,255,255,.5); font-size: 13px;
    font-weight: 600;
    position: relative; z-index: 2;
}
.rfs-cat-hero__count strong { color: var(--rfs-orange); }
.rfs-cat-hero__count em { color: #fff; font-style: normal; font-weight: 700; }

/* ---------- SEARCH INPUT BAR ---------- */
.rfs-cat-srchbar {
    background: #fff;
    border-bottom: 1px solid var(--rfs-rule);
    padding: 14px 0;
}
.rfs-cat-srchbar__form { display: flex; gap: 8px; }
.rfs-cat-srchbar__form input {
    flex: 1; padding: 12px 16px;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-btn);
    font-family: var(--rfs-font-ui);
    font-size: 15px; color: var(--rfs-ink);
    background: var(--rfs-bg);
}
.rfs-cat-srchbar__form input:focus {
    outline: 0;
    border-color: var(--rfs-orange);
    background: #fff;
    box-shadow: 0 0 0 3px var(--rfs-orange-soft);
}
.rfs-cat-srchbar__form button {
    padding: 12px 26px;
    background: var(--rfs-orange);
    color: #fff;
    border: 0;
    border-radius: var(--rfs-r-btn);
    font-family: var(--rfs-font-ui);
    font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: .5px;
    cursor: pointer;
}
.rfs-cat-srchbar__form button:hover { background: var(--rfs-orange-hover); }

/* ---------- FACETS + SUBCATEGORY PILLS ---------- */
.rfs-cat-facets, .rfs-cat-subpills {
    background: #fff;
    border-bottom: 1px solid var(--rfs-rule);
    padding: 12px 0;
}
.rfs-cat-facets__scroll, .rfs-cat-subpills__scroll {
    display: flex; gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rfs-cat-facets__scroll::-webkit-scrollbar,
.rfs-cat-subpills__scroll::-webkit-scrollbar { display: none; }

.rfs-cat-facet, .rfs-cat-subpill {
    flex-shrink: 0;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-pill);
    font-family: var(--rfs-font-ui);
    font-size: 12px; font-weight: 600;
    color: var(--rfs-ink-2);
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.rfs-cat-facet:hover, .rfs-cat-subpill:hover {
    border-color: var(--rfs-dark); color: var(--rfs-dark);
}
.rfs-cat-facet.is-active, .rfs-cat-subpill.is-active {
    background: var(--rfs-dark); border-color: var(--rfs-dark); color: #fff;
}
.rfs-cat-facet em, .rfs-cat-subpill em { font-style: normal; color: var(--rfs-ink-3); font-weight: 500; margin-left: 4px; font-size: 11px; }
.rfs-cat-facet.is-active em, .rfs-cat-subpill.is-active em { color: rgba(255,255,255,.6); }

/* ---------- STICKY FILTER BAR ---------- */
.rfs-cat-bar {
    background: #fff;
    border-bottom: 1px solid var(--rfs-rule);
    padding: 12px 0;
    position: sticky; top: 0;
    z-index: 80;
    box-shadow: 0 1px 3px rgba(15,20,26,.02);
}
.rfs-cat-bar__inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rfs-cat-bar__group { display: flex; align-items: center; gap: 6px; }
.rfs-cat-bar__count {
    margin-left: auto;
    font-family: var(--rfs-font-ui);
    color: var(--rfs-ink-3); font-size: 12px;
}
.rfs-cat-bar__count strong { color: var(--rfs-ink); font-weight: 700; font-size: 14px; }

.rfs-cat-bar__drawer-open {
    display: none;
    background: #fff; border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-btn);
    padding: 8px 14px;
    font-family: var(--rfs-font-ui);
    font-size: 12px; font-weight: 700;
    color: var(--rfs-ink);
    text-transform: uppercase; letter-spacing: .5px;
    cursor: pointer;
    position: relative;
}
.rfs-cat-bar__dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rfs-orange); margin-left: 6px; vertical-align: middle; }

.rfs-cat-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-btn);
    background: #fff;
    font-family: var(--rfs-font-ui);
    font-size: 12px; font-weight: 600;
    color: var(--rfs-ink);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a7a7a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    text-transform: uppercase; letter-spacing: .4px;
}
.rfs-cat-select:focus {
    outline: 0;
    border-color: var(--rfs-orange);
    box-shadow: 0 0 0 3px var(--rfs-orange-soft);
}

/* Price pills */
.rfs-cat-pricepills { display: flex; gap: 4px; flex-wrap: nowrap; }
.rfs-cat-pricepill {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-pill);
    font-family: var(--rfs-font-ui);
    font-size: 11px; font-weight: 700;
    color: var(--rfs-ink-3);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    text-transform: uppercase; letter-spacing: .3px;
}
.rfs-cat-pricepill:hover { border-color: var(--rfs-ink); color: var(--rfs-ink); }
.rfs-cat-pricepill.is-active { background: var(--rfs-orange); border-color: var(--rfs-orange); color: #fff; }

/* View toggle */
.rfs-cat-view { display: inline-flex; border: 1px solid var(--rfs-rule); border-radius: var(--rfs-r-btn); overflow: hidden; }
.rfs-cat-view__btn { background: #fff; border: 0; padding: 7px 12px; font-size: 16px; color: var(--rfs-ink-3); cursor: pointer; }
.rfs-cat-view__btn:hover { color: var(--rfs-ink); }
.rfs-cat-view__btn.is-active { background: var(--rfs-dark); color: #fff; }

@media (max-width: 900px) {
    .rfs-cat-bar__inner { gap: 8px; }
    .rfs-cat-bar__drawer-open { display: inline-flex; align-items: center; gap: 6px; }
    .rfs-cat-bar__group--brand,
    .rfs-cat-bar__group--price { display: none; }
    .rfs-cat-bar__group--view { display: none; }
    .rfs-cat-hero { padding: 36px 0 28px; }
}

/* ---------- BUTTONS (catalog-local fallbacks; prefer .rfs-btn from base) ---------- */
.rfs-cat-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--rfs-r-btn);
    font-family: var(--rfs-font-ui);
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.rfs-cat-btn:hover { transform: translateY(-1px); }
.rfs-cat-btn--primary { background: var(--rfs-orange); color: #fff; border-color: var(--rfs-orange); }
.rfs-cat-btn--primary:hover { background: var(--rfs-orange-hover); border-color: var(--rfs-orange-hover); color: #fff; }
.rfs-cat-btn--ghost { background: #fff; color: var(--rfs-ink); border-color: var(--rfs-rule); }
.rfs-cat-btn--ghost:hover { border-color: var(--rfs-ink); color: var(--rfs-ink); }

/* ---------- RESULTS GRID ---------- */
.rfs-cat-resultswrap { padding: 28px 0 56px; position: relative; }
.rfs-cat-results { min-height: 200px; position: relative; }

.rfs-cat-grid { display: grid; gap: 18px; }
.rfs-cat-grid.is-grid { grid-template-columns: repeat(3, 1fr); }
.rfs-cat-grid.is-list { grid-template-columns: 1fr; }
@media (max-width: 1024px) { .rfs-cat-grid.is-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .rfs-cat-grid.is-grid { grid-template-columns: 1fr; } }

.rfs-cat-results.is-loading { opacity: .5; pointer-events: none; }
.rfs-cat-results.is-loading::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 40px; height: 40px;
    border: 3px solid var(--rfs-rule);
    border-top-color: var(--rfs-orange);
    border-radius: 50%; animation: rfsSpin .8s linear infinite;
    transform: translate(-50%, -50%);
}
@keyframes rfsSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- PRODUCT CARD ---------- */
.rfs-cat-card {
    background: #fff;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-card);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color .15s, transform .15s, box-shadow .2s;
}
.rfs-cat-card:hover {
    border-color: rgba(30,44,58,.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(15,20,26,.08);
}

.rfs-cat-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--rfs-bg-alt);
    overflow: hidden;
}

/* Badges (stacked top-left) */
.rfs-cat-card__badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 3; pointer-events: none;
}
.rfs-cat-card__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--rfs-font-ui);
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    color: #fff;
}
.rfs-cat-card__badge.is-sale  { background: var(--rfs-orange); }
.rfs-cat-card__badge.is-new   { background: var(--rfs-green); }
.rfs-cat-card__badge.is-best  { background: var(--rfs-dark); }
.rfs-cat-card__badge.is-quote { background: var(--rfs-black); }

/* Gallery */
.rfs-cat-card__gallery {
    position: relative;
    display: block;
    width: 100%; height: 100%;
    text-decoration: none;
}
.rfs-cat-card__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .2s;
    padding: 14px;
}
.rfs-cat-card__img.is-active { opacity: 1; z-index: 2; }
.rfs-cat-card:hover .rfs-cat-card__img.is-active { transform: scale(1.03); transition: transform .3s; }

/* Hover zones */
.rfs-cat-card__zones {
    position: absolute; inset: 0;
    display: flex; z-index: 4;
    opacity: 0;
}
.rfs-cat-card:hover .rfs-cat-card__zones { opacity: 1; }
.rfs-cat-card__zone { flex: 1; cursor: pointer; }

/* Dots */
.rfs-cat-card__dots {
    position: absolute; bottom: 14px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 5px;
    z-index: 5;
    opacity: 0;
    transition: opacity .2s;
}
.rfs-cat-card:hover .rfs-cat-card__dots { opacity: 1; }
.rfs-cat-card__dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    box-shadow: 0 1px 2px rgba(0,0,0,.3);
    transition: background .15s;
}
.rfs-cat-card__dots span.is-active { background: #fff; }

/* Quick View */
.rfs-cat-card__quick {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(15,20,26,.7));
    display: flex; justify-content: center;
    z-index: 5;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s;
}
.rfs-cat-card:hover .rfs-cat-card__quick { opacity: 1; transform: translateY(0); }
.rfs-cat-card__quick-btn {
    padding: 8px 18px;
    background: #fff; color: var(--rfs-ink);
    border: 0; border-radius: 6px;
    font-family: var(--rfs-font-ui);
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.rfs-cat-card__quick-btn:hover { background: var(--rfs-orange); color: #fff; }

/* Card body */
.rfs-cat-card__body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex; flex-direction: column;
    gap: 6px;
}
.rfs-cat-card__brand {
    font-family: var(--rfs-font-ui);
    font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--rfs-ink-3);
}
.rfs-cat-card__title {
    font-family: var(--rfs-font-ui);
    font-size: 14px; font-weight: 600;
    line-height: 1.35; margin: 0;
    color: var(--rfs-ink);
    text-transform: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.rfs-cat-card__title a { color: inherit; text-decoration: none; }
.rfs-cat-card__title a:hover { color: var(--rfs-orange); }
.rfs-cat-mark { background: var(--rfs-orange-tint); color: var(--rfs-orange-hover); padding: 0 2px; border-radius: 2px; }

.rfs-cat-card__rating { display: flex; align-items: center; gap: 6px; }
.rfs-cat-card__stars { color: var(--rfs-rule); letter-spacing: 1px; font-size: 12px; }
.rfs-cat-card__stars .is-on { color: #e8a308; }
.rfs-cat-card__reviews { color: var(--rfs-ink-3); font-size: 11px; }

.rfs-cat-card__price {
    font-family: var(--rfs-font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--rfs-orange);
    margin-top: auto;
    line-height: 1;
}
.rfs-cat-card__price del { color: #aaa; font-weight: 400; font-size: 14px; margin-right: 4px; }
.rfs-cat-card__price ins { background: transparent; color: var(--rfs-orange); text-decoration: none; }
.rfs-cat-card__price .woocommerce-Price-amount { color: var(--rfs-orange); }
.rfs-cat-card__quote-text {
    font-family: var(--rfs-font-display);
    color: var(--rfs-orange); font-size: 20px; font-weight: 800;
}

.rfs-cat-card__sub {
    font-family: var(--rfs-font-body);
    color: var(--rfs-ink-3); font-size: 11px;
}

.rfs-cat-card__cta {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 14px;
    margin-top: 6px;
    background: var(--rfs-orange); color: #fff;
    border-radius: var(--rfs-r-btn);
    font-family: var(--rfs-font-ui);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    text-decoration: none;
    transition: background .15s;
}
.rfs-cat-card__cta:hover { background: var(--rfs-orange-hover); color: #fff; }
.rfs-cat-card__cta.is-dark { background: var(--rfs-dark); }
.rfs-cat-card__cta.is-dark:hover { background: var(--rfs-black); }

/* Mobile: Quick View always visible */
@media (hover: none) {
    .rfs-cat-card__quick { opacity: 1; transform: none; padding: 8px; }
    .rfs-cat-card__quick-btn { padding: 6px 12px; font-size: 10px; }
    .rfs-cat-card__zones { display: none; }
    .rfs-cat-card__dots { opacity: 1; }
}

/* List view */
.rfs-cat-grid.is-list .rfs-cat-card { flex-direction: row; }
.rfs-cat-grid.is-list .rfs-cat-card__media { width: 240px; flex-shrink: 0; aspect-ratio: 1/1; }
.rfs-cat-grid.is-list .rfs-cat-card__body { padding: 22px 24px; }
@media (max-width: 600px) {
    .rfs-cat-grid.is-list .rfs-cat-card { flex-direction: column; }
    .rfs-cat-grid.is-list .rfs-cat-card__media { width: 100%; }
}

/* ---------- PAGINATION ---------- */
.rfs-cat-pagination { margin-top: 32px; }
.rfs-cat-pagination ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.rfs-cat-pagination li > * {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 12px;
    border-radius: var(--rfs-r-btn);
    background: #fff;
    border: 1px solid var(--rfs-rule);
    color: var(--rfs-ink);
    font-family: var(--rfs-font-ui);
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.rfs-cat-pagination li > a:hover { border-color: var(--rfs-orange); color: var(--rfs-orange); }
.rfs-cat-pagination li .current { background: var(--rfs-dark); color: #fff; border-color: var(--rfs-dark); }
.rfs-cat-pagination li .dots { background: transparent; border: 0; }

/* ---------- BOTTOM CTA ---------- */
.rfs-cat-bottomcta {
    background: #fff;
    border-top: 1px solid var(--rfs-rule);
    padding: 56px 0;
    text-align: center;
}
.rfs-cat-bottomcta h2 {
    font-family: var(--rfs-font-display);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--rfs-ink);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -.3px;
    margin: 0 0 10px;
}
.rfs-cat-bottomcta p {
    font-family: var(--rfs-font-body);
    color: var(--rfs-ink-2);
    font-size: 15px; max-width: 640px;
    margin: 0 auto 24px;
}
.rfs-cat-bottomcta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- ZERO STATE ---------- */
.rfs-cat-zero {
    background: #fff;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-card);
    padding: 40px 32px;
}
.rfs-cat-zero__head { text-align: center; margin-bottom: 28px; }
.rfs-cat-zero__head h2 {
    font-family: var(--rfs-font-display);
    text-transform: uppercase;
    font-size: 24px; color: var(--rfs-ink);
    margin: 0 0 12px;
}
.rfs-cat-zero__head em { color: var(--rfs-orange); font-style: normal; }

.rfs-cat-zero__block { margin-top: 32px; }
.rfs-cat-zero__block h3 {
    font-family: var(--rfs-font-ui);
    font-size: 11px; font-weight: 700;
    color: var(--rfs-orange);
    text-transform: uppercase; letter-spacing: 3px;
    margin: 0 0 12px;
}

.rfs-cat-zero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rfs-cat-zero__tag {
    padding: 8px 16px;
    background: var(--rfs-orange-tint);
    color: var(--rfs-orange-hover);
    border-radius: var(--rfs-r-pill);
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.rfs-cat-zero__tag:hover { background: #ffd8b8; }

.rfs-cat-zero__tiles {
    display: grid; gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) { .rfs-cat-zero__tiles { grid-template-columns: repeat(2, 1fr); } }
.rfs-cat-zero__tile {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 20px;
    background: var(--rfs-bg);
    border: 1px solid var(--rfs-rule);
    border-radius: 10px;
    text-decoration: none;
    color: var(--rfs-ink);
    transition: border-color .15s, background .15s;
}
.rfs-cat-zero__tile:hover { border-color: var(--rfs-orange); background: #fff; }
.rfs-cat-zero__tile-icon { font-size: 28px; color: var(--rfs-orange); margin-bottom: 6px; }
.rfs-cat-zero__tile-name { font-family: var(--rfs-font-ui); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.rfs-cat-zero__tile-count { color: var(--rfs-ink-3); font-size: 12px; margin-top: 2px; }

.rfs-cat-zero__safety {
    display: flex; align-items: center; gap: 16px;
    margin-top: 32px;
    background: var(--rfs-dark);
    color: #fff;
    border-radius: var(--rfs-r-card);
    padding: 20px 24px;
}
.rfs-cat-zero__safety-icon { font-size: 24px; }
.rfs-cat-zero__safety > div { flex: 1; }
.rfs-cat-zero__safety strong { display: block; font-size: 15px; margin-bottom: 2px; }
.rfs-cat-zero__safety p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
@media (max-width: 600px) {
    .rfs-cat-zero__safety { flex-direction: column; text-align: center; }
}

/* ---------- MOBILE FILTER DRAWER ---------- */
.rfs-cat-drawer { position: fixed; inset: 0; z-index: 99990; }
.rfs-cat-drawer[hidden] { display: none; }
.rfs-cat-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(15,20,26,.55);
    animation: rfsFadeIn .2s ease;
}
.rfs-cat-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 360px; max-width: 92vw;
    background: #fff;
    overflow-y: auto;
    animation: rfsSlideIn .25s ease;
}
.rfs-cat-drawer__panel header {
    position: sticky; top: 0; background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--rfs-rule);
    z-index: 1;
}
.rfs-cat-drawer__panel header h2 {
    font-family: var(--rfs-font-display);
    font-size: 20px;
    text-transform: uppercase;
    margin: 0;
}
.rfs-cat-drawer__close { background: transparent; border: 0; font-size: 28px; color: var(--rfs-ink-3); cursor: pointer; padding: 0 6px; line-height: 1; }
.rfs-cat-drawer__panel form { padding: 16px 20px; }
.rfs-cat-drawer__panel fieldset { border: 0; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--rfs-rule-soft); padding-top: 16px; }
.rfs-cat-drawer__panel fieldset:first-of-type { border-top: 0; padding-top: 0; }
.rfs-cat-drawer__panel legend {
    font-family: var(--rfs-font-ui);
    font-size: 11px; font-weight: 800;
    color: var(--rfs-orange);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 10px; padding: 0;
}
.rfs-cat-drawer__check { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--rfs-ink); font-size: 14px; }
.rfs-cat-drawer__check input { accent-color: var(--rfs-orange); }
.rfs-cat-drawer__actions {
    position: sticky; bottom: 0; background: #fff;
    padding: 16px 0; border-top: 1px solid var(--rfs-rule);
    display: flex; gap: 8px;
}
.rfs-cat-drawer__actions .rfs-cat-btn { flex: 1; }
@keyframes rfsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rfsSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

body.rfs-cat-drawer-open { overflow: hidden; }

/* ---------- QUICK VIEW MODAL ---------- */
.rfs-qv { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.rfs-qv[hidden] { display: none; }
.rfs-qv__backdrop { position: absolute; inset: 0; background: rgba(15,20,26,.6); animation: rfsFadeIn .2s ease; }
.rfs-qv__panel {
    position: relative;
    width: 92%; max-width: 720px; max-height: 92vh;
    background: #fff; border-radius: var(--rfs-r-card);
    overflow-y: auto;
    animation: rfsScaleIn .25s var(--rfs-ease);
}
@keyframes rfsScaleIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.rfs-qv__close {
    position: absolute; top: 12px; right: 12px;
    background: #fff; border: 1px solid var(--rfs-rule);
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 22px; line-height: 1; color: var(--rfs-ink-3);
    cursor: pointer; z-index: 2;
}
.rfs-qv__close:hover { background: var(--rfs-bg); color: var(--rfs-ink); }
.rfs-qv__loading { padding: 60px 0; text-align: center; color: var(--rfs-ink-3); }

.rfs-qv__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.rfs-qv__media { background: var(--rfs-bg-alt); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 16px; }
.rfs-qv__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rfs-qv__body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.rfs-qv__brand { font-family: var(--rfs-font-ui); font-size: 11px; font-weight: 800; color: var(--rfs-orange); text-transform: uppercase; letter-spacing: 1.2px; }
.rfs-qv__title {
    font-family: var(--rfs-font-display);
    font-size: 26px; color: var(--rfs-ink);
    text-transform: uppercase;
    margin: 0; line-height: 1.1;
    font-weight: 800;
}
.rfs-qv__price {
    font-family: var(--rfs-font-display);
    font-size: 28px; font-weight: 800;
    color: var(--rfs-orange);
}
.rfs-qv__quote { color: var(--rfs-orange); }
.rfs-qv__desc { font-family: var(--rfs-font-body); color: var(--rfs-ink-2); line-height: 1.65; font-size: 14px; }
.rfs-qv__cta { margin-top: 12px; align-self: flex-start; }

@media (max-width: 720px) {
    .rfs-qv__inner { grid-template-columns: 1fr; }
    .rfs-qv__media { aspect-ratio: 4/3; }
    .rfs-qv__body { padding: 24px; }
}
