/* Rent-a-car index page */
.rac-page {
    background: #f4f7fb;
    color: #0f172a;
}

.rac-page a.rac-card__title-link,
.rac-page a.rac-card__img-link,
.rac-page a.rac-card__cta,
.rac-page a.rac-btn,
.rac-page a.rac-btn--ghost,
.rac-page a.rac-link-btn {
    text-decoration: none;
}

.rac-page a.rac-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hero */
.rac-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 16px 56px;
    background: linear-gradient(135deg, #091a2f 0%, #0f2b4c 45%, #0d4a58 100%);
    box-shadow: 0 20px 48px rgba(9, 26, 47, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rac-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.rac-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.rac-hero__glow--1 {
    width: 360px;
    height: 360px;
    top: -120px;
    right: 12%;
    background: radial-gradient(circle, rgba(38, 166, 154, 0.45) 0%, transparent 70%);
}

.rac-hero__glow--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 20%;
    background: radial-gradient(circle, rgba(43, 122, 196, 0.4) 0%, transparent 70%);
}

.rac-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 20px 20px;
}

.rac-hero__container {
    position: relative;
    z-index: 2;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.rac-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    flex: 1 1 auto;
    text-align: left;
}

.rac-hero__visual {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rac-hero__visual-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 166, 154, 0.28) 0%, transparent 70%);
    animation: racGlowPulse 4s ease-in-out infinite alternate;
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes racGlowPulse {
    0% { transform: scale(0.92) translateZ(0); opacity: 0.6; }
    100% { transform: scale(1.15) translateZ(0); opacity: 1; }
}

.rac-hero-lottie {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
    contain: layout paint;
    transform: translateZ(0);
}

.rac-hero-lottie svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    transform: translateZ(0);
}

.rac-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.rac-hero__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #fff !important;
    margin: 0 0 10px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.rac-hero__subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 20px;
    max-width: 38rem;
    line-height: 1.55;
}

.rac-hero__city {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.rac-hero__city strong {
    font-weight: 800;
}

.rac-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 34rem;
    margin: 0;
}

@media (max-width: 900px) {
    .rac-hero {
        padding: 36px 16px 44px;
    }
    .rac-hero__visual {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 640px) {
    .rac-hero__container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .rac-hero__inner {
        text-align: center;
    }
    .rac-hero__subtitle {
        margin: 0 auto 18px;
    }
    .rac-hero__city {
        margin-left: auto;
        margin-right: auto;
    }
    .rac-stats {
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .rac-hero__visual {
        width: 140px;
        height: 140px;
    }
}

.rac-stat {
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.rac-stat strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.1;
}

.rac-stat span {
    font-size: 0.82rem;
    opacity: 0.88;
}

/* Sections */
.rac-section {
    padding: 48px 16px;
}

.rac-section--soft { background: #eef3f9; }
.rac-section--white { background: #fff; }

.rac-wrap {
    max-width: 72rem;
    margin: 0 auto;
}

.rac-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.rac-section-head__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rac-section-head__bar {
    width: 4px;
    height: 32px;
    border-radius: 4px;
    flex-shrink: 0;
}

.rac-section-head__bar--primary {
    background: linear-gradient(180deg, #2B7AC4, #7CB342);
}

.rac-section-head__bar--muted {
    background: #cbd5e1;
}

.rac-section-head h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 900;
    margin: 0 0 4px;
    color: #0f172a;
}

.rac-section-head p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.rac-count-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(43, 122, 196, 0.1);
    color: #1e5aa8;
    font-size: 0.78rem;
    font-weight: 800;
}

/* CTA box */
.rac-cta {
    margin-top: -28px;
    position: relative;
    z-index: 2;
    padding: 0 16px 8px;
}

.rac-cta__box {
    max-width: 72rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 20px 50px rgba(15, 39, 68, 0.08);
}

.rac-cta__box h2 {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 0 8px;
    color: #0f172a;
}

.rac-cta__box p {
    margin: 0 0 18px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 52rem;
}

.rac-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.rac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.rac-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #2B7AC4 0%, #7CB342 100%);
    box-shadow: 0 8px 22px rgba(43, 122, 196, 0.25);
}

.rac-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(43, 122, 196, 0.32);
    color: #fff !important;
}

.rac-btn--ghost {
    color: #1e3a5f !important;
    background: #fff;
    border: 1px solid #dbe3ee;
}

.rac-btn--ghost:hover {
    background: #f8fafc;
    border-color: #2B7AC4;
    color: #1e3a5f !important;
}

.rac-btn--outline {
    color: #2B7AC4 !important;
    background: #fff;
    border: 2px solid #2B7AC4;
}

.rac-btn--outline:hover {
    background: #2B7AC4;
    color: #fff !important;
}

.rac-text-link {
    font-size: 0.88rem;
    color: #64748b !important;
    font-weight: 600;
    text-decoration: underline;
}

.rac-text-link:hover {
    color: #2B7AC4 !important;
}

/* Grid */
.rac-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.rac-grid > .rac-card {
    min-width: 0;
    width: 100%;
    height: 100%;
}

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

@media (max-width: 991px) {
    .rac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .rac-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Card */
.rac-card {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0;
}

.rac-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.rac-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.rac-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.rac-card:hover .rac-card__media img {
    transform: scale(1.04);
}

.rac-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(43, 122, 196, 0.12), rgba(124, 179, 66, 0.12));
    color: #94a3b8;
    font-size: 2.5rem;
}

.rac-card__price-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(15, 39, 68, 0.82);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(4px);
}

.rac-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 0;
}

.rac-card__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.35;
}

.rac-card__title a {
    color: #0f172a !important;
    text-decoration: none;
}

.rac-card__title a:hover {
    color: #2B7AC4 !important;
}

.rac-card__provider {
    margin: 0 0 4px;
    font-size: 0.82rem;
    color: #64748b;
}

.rac-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 12px;
    font-size: 0.8rem;
    color: #64748b;
}

.rac-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rac-card__meta i {
    color: #2B7AC4;
    font-size: 0.75rem;
}

.rac-card__rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
}

.rac-card__rating strong {
    color: #d97706;
    font-weight: 800;
}

.rac-card__rating .rac-muted {
    color: #94a3b8;
}

.rac-card__footer {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rac-card__cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(135deg, #2B7AC4 0%, #7CB342 100%);
    box-shadow: 0 8px 20px rgba(43, 122, 196, 0.22);
    transition: opacity 0.15s, transform 0.15s;
}

.rac-card__cta:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    color: #fff !important;
}

.rac-card__store {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8 !important;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none !important;
}

.rac-card__store:hover {
    background: #dbeafe;
    color: #1e40af !important;
}

/* Empty state */
.rac-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    color: #64748b;
}

.rac-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(43, 122, 196, 0.1), rgba(124, 179, 66, 0.1));
    color: #2B7AC4;
    font-size: 1.8rem;
}

.rac-empty h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px;
}

.rac-empty p {
    margin: 0 0 20px;
    font-size: 0.92rem;
}

.rac-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Trust strip */
.rac-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .rac-trust-grid { grid-template-columns: 1fr; }
}

.rac-trust-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 20px;
    text-align: center;
}

.rac-trust-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(43, 122, 196, 0.12), rgba(124, 179, 66, 0.12));
    color: #2B7AC4;
    font-size: 1.2rem;
    font-weight: 900;
}

.rac-trust-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0f172a;
}

.rac-trust-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* Layout + sidebar filters */
.rac-layout-wrap { padding-top: 8px; padding-bottom: 8px; }

.rac-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.rac-sidebar-backdrop { display: none; }

.rac-sidebar {
    position: sticky;
    top: 88px;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    box-shadow: 0 10px 36px rgba(15, 39, 68, 0.06);
    overflow: hidden;
    max-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}

.rac-sidebar::before {
    content: '';
    display: block;
    height: 3px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #2B7AC4, #3d8f5c 55%, #7CB342);
}

.rac-sidebar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #eef2f7;
    flex-shrink: 0;
}

.rac-sidebar__title-wrap { display: flex; align-items: flex-start; gap: 10px; }

.rac-sidebar__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f3fc, #dff0e6);
    color: #1a3d66;
    border: 1px solid #c5ddf3;
    flex-shrink: 0;
}

.rac-sidebar__title { font-size: 1rem; font-weight: 800; margin: 0 0 2px; color: #0f172a; }
.rac-sidebar__hint { margin: 0; font-size: 0.78rem; color: #64748b; }
.rac-sidebar__head-actions { display: flex; align-items: center; gap: 8px; }

.rac-sidebar__badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #e8f3fc;
    border: 1px solid #9bc4e8;
    color: #1a3d66;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rac-sidebar__close {
    display: none;
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.rac-sidebar__form { padding: 14px 16px 18px; overflow-y: auto; flex: 1; }

.rac-sidebar__section {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.rac-sidebar__section:last-of-type {
    border-bottom: 0;
    margin-bottom: 8px;
    padding-bottom: 0;
}

.rac-sidebar__label {
    display: block;
    margin: 0 0 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.rac-search-bar { position: relative; }

.rac-search-bar__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.88rem;
    pointer-events: none;
}

.rac-search-bar__input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
    font-size: 0.88rem;
    color: #0f172a;
    outline: none;
}

.rac-search-bar__input:focus {
    background: #fff;
    border-color: #2B7AC4;
    box-shadow: 0 0 0 3px rgba(43, 122, 196, 0.16);
}

.rac-sidebar__price-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.rac-sidebar__price-sep { color: #94a3b8; font-weight: 700; }

.rac-search-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

select.rac-search-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.rac-search-input:focus {
    border-color: #2B7AC4;
    box-shadow: 0 0 0 3px rgba(43, 122, 196, 0.16);
}

.rac-search-price { position: relative; }

.rac-search-price__prefix {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    font-weight: 800;
    color: #94a3b8;
    pointer-events: none;
}

.rac-search-price .rac-search-input { padding-left: 36px; }

.rac-sidebar__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.rac-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 11px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    width: 100%;
}

.rac-search-btn--primary {
    background: linear-gradient(135deg, #2B7AC4, #1a3d66);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(43, 122, 196, 0.28);
}

.rac-search-btn--ghost {
    background: #f8fafc;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
}

.rac-search-btn--ghost:hover {
    background: #e8f3fc;
    border-color: #9bc4e8;
    color: #1a3d66 !important;
}

.rac-main { min-width: 0; }

.rac-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 39, 68, 0.04);
}

.rac-toolbar__left,
.rac-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rac-toolbar__filters-btn {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
}

.rac-toolbar__filters-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #2B7AC4;
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rac-toolbar__count { margin: 0; font-size: 0.9rem; color: #64748b; }
.rac-toolbar__count strong { color: #0f172a; }
.rac-toolbar__filtered { color: #1a3d66; font-weight: 700; }

.rac-toolbar__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #1a3d66 !important;
    text-decoration: none;
}

.rac-toolbar__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rac-toolbar__sort .rac-search-input {
    width: auto;
    min-width: 170px;
    height: 38px;
    text-transform: none;
    letter-spacing: normal;
}

.rac-cta--inline { max-width: none; margin: 0 0 20px; padding: 0; }
.rac-cta--inline .rac-cta__box { margin: 0; }

.rac-section--nested {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.rac-section--nested .rac-wrap { max-width: none; padding: 0; margin: 0; }
.rac-section--nested .rac-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

body.rac-sidebar-open { overflow: hidden; }

@media (max-width: 991px) {
    .rac-layout { grid-template-columns: 1fr; }

    .rac-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1040;
    }

    .rac-sidebar-backdrop[hidden] { display: none !important; }

    .rac-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(340px, 88vw);
        max-height: none;
        border-radius: 0 16px 16px 0;
        z-index: 1050;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 12px 0 40px rgba(15, 23, 42, 0.18);
    }

    .rac-sidebar.is-open { transform: translateX(0); }
    .rac-sidebar__close { display: inline-flex; }
    .rac-toolbar__filters-btn { display: inline-flex; }
}

