/**
 * Course Filter Styles — Ozon-style catalog
 *
 * Sections:
 *   1. Layout (sidebar + content)
 *   2. Filter sidebar
 *   3. Filter groups (accordion)
 *   4. Filter options (checkboxes)
 *   5. Mini-search
 *   6. Price range
 *   7. Active filter chips
 *   8. Toolbar (sort, count)
 *   9. Course grid
 *  10. Pagination
 *  11. Loading state
 *  12. Mobile (bottom sheet)
 *  13. Animations
 *
 * @package CheckROI
 * @since 2.0.0
 */

/* ═══════════════════════════════════════════════════
   1. LAYOUT
   ═══════════════════════════════════════════════════ */
.cr-catalog {
    padding: 0 0 60px;
}

.cr-catalog__title {
    margin-bottom: 24px;
}

.cr-catalog__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ═══════════════════════════════════════════════════
   2. FILTER SIDEBAR
   ═══════════════════════════════════════════════════ */
.cr-filter-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.cr-filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.cr-filter-sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.cr-filter-sidebar__inner {
    padding-right: 4px;
}

.cr-filter-sidebar__mobile-header,
.cr-filter-sidebar__mobile-footer {
    display: none;
}

.cr-filter-overlay {
    display: none;
}

/* ═══════════════════════════════════════════════════
   3. FILTER GROUPS (Accordion)
   ═══════════════════════════════════════════════════ */
.cr-filter-group {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
}

.cr-filter-group:first-child {
    padding-top: 0;
}

.cr-filter-group--search {
    border-bottom: none;
    padding-bottom: 8px;
}

.cr-filter-group__header {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 8px;
}

.cr-filter-group__label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
    line-height: 1.3;
}

.cr-filter-group__selected-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #7324FF;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.cr-filter-group__clear {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.cr-filter-group__clear:hover {
    color: #ef4444;
    background: #fef2f2;
}

.cr-filter-group__toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cr-filter-group__toggle-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: translate(-50%, -60%) rotate(45deg);
    transition: transform 0.2s ease;
}

.cr-filter-group--collapsed .cr-filter-group__toggle-icon::before {
    transform: translate(-50%, -40%) rotate(-135deg);
}

.cr-filter-group__body {
    padding-top: 12px;
}

.cr-filter-group--collapsed .cr-filter-group__body {
    display: none;
}

/* ═══════════════════════════════════════════════════
   4. FILTER OPTIONS (Checkboxes)
   ═══════════════════════════════════════════════════ */
.cr-filter-options {
    /* No max-height — the "Посмотреть все" JS toggle handles list length.
       Removed overflow-y: auto to prevent checkbox clipping issues. */
}

.cr-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    line-height: 1.3;
    transition: opacity 0.15s;
}

.cr-filter-option:hover {
    color: #1a1a2e;
}

.cr-filter-option--disabled {
    opacity: 0.35;
    pointer-events: none;
}

.cr-filter-option--zero {
    display: none !important;
}

.cr-filter-option input[type="checkbox"] {
    display: none;
}

.cr-filter-option__checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}

.cr-filter-option input:checked + .cr-filter-option__checkbox {
    background: #7324FF;
    border-color: #7324FF;
}

.cr-filter-option input:checked + .cr-filter-option__checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cr-filter-option__name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-filter-option__count {
    flex-shrink: 0;
    font-size: 12px;
    color: #9ca3af;
    min-width: 20px;
    text-align: right;
}

.cr-filter-option--toggle {
    padding: 4px 0;
}

/* ═══════════════════════════════════════════════════
   5. MINI-SEARCH
   ═══════════════════════════════════════════════════ */
.cr-filter-search {
    position: relative;
    margin-bottom: 8px;
}

.cr-filter-search__input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
    box-sizing: border-box;
}

.cr-filter-search__input:focus {
    border-color: #7324FF;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(115, 36, 255, 0.1);
}

.cr-filter-search__input::placeholder {
    color: #9ca3af;
}

.cr-filter-search__icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.cr-filter-search--global .cr-filter-search__input {
    padding: 10px 12px 10px 36px;
    font-size: 14px;
    border-radius: 10px;
    background: #fff;
    border-color: #d1d5db;
}

.cr-filter-no-results {
    padding: 8px 0;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}

/* Hidden overflow (show 5 limit) */
.cr-filter-option--hidden-overflow {
    display: none !important;
}

/* "Посмотреть все" / "Свернуть" toggle */
.cr-filter-view-all {
    display: block;
    width: 100%;
    padding: 6px 0 2px;
    border: none;
    background: none;
    color: #7324FF;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s;
}

.cr-filter-view-all:hover {
    color: #9B5FFF;
}

/* Show more (load from server) */
.cr-filter-show-more {
    display: block;
    width: 100%;
    padding: 8px 0;
    border: none;
    background: none;
    color: #7324FF;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s;
}

.cr-filter-show-more:hover {
    color: #9B5FFF;
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════
   6. PRICE RANGE & SLIDERS
   ═══════════════════════════════════════════════════ */
.cr-price-range__inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.cr-price-range__input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
    outline: none;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.cr-price-range__input::-webkit-outer-spin-button,
.cr-price-range__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cr-price-range__input:focus {
    border-color: #7324FF;
    background: #fff;
}

.cr-price-range__separator {
    color: #9ca3af;
    flex-shrink: 0;
}

/* ── Dual range slider ── */
.cr-range-slider {
    position: relative;
    height: 28px;
    margin: 0 10px 14px; /* 10px horizontal margin = half thumb width */
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.cr-range-slider__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    transform: translateY(-50%);
}

.cr-range-slider__fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: #7324FF;
    border-radius: 2px;
    left: 0;
    width: 100%;
}

.cr-range-slider__thumb {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #7324FF;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s, transform 0.1s;
}

.cr-range-slider__thumb:hover {
    box-shadow: 0 2px 8px rgba(115, 36, 255, 0.35);
}

.cr-range-slider__thumb--active {
    cursor: grabbing;
    box-shadow: 0 2px 10px rgba(115, 36, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.15);
}

/* ── Installment sub-section ── */
.cr-filter-installment-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}

.cr-filter-installment-section .cr-filter-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

/* ═══════════════════════════════════════════════════
   7. ACTIVE FILTER CHIPS
   ═══════════════════════════════════════════════════ */
.cr-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
}

.cr-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 12px;
    background: #F3EEFF;
    border: 1px solid #D4BBFF;
    border-radius: 16px;
    font-size: 13px;
    color: #4A0DB8;
    line-height: 1.3;
    white-space: nowrap;
    max-width: 250px;
}

.cr-chip__text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.cr-chip__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    background: none;
    color: #9B5FFF;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.cr-chip__remove:hover {
    background: #E8DDFF;
    color: #4A0DB8;
}

.cr-clear-all-filters {
    border: none;
    background: none;
    color: #ef4444;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.cr-clear-all-filters:hover {
    background: #fef2f2;
}

/* ═══════════════════════════════════════════════════
   8. TOOLBAR (sort + count)
   ═══════════════════════════════════════════════════ */
.cr-catalog__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.cr-catalog__total {
    font-size: 14px;
    color: #6b7280;
}

.cr-catalog__total-count {
    font-weight: 600;
    color: #1a1a2e;
}

.cr-catalog__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-catalog__sort-label {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.cr-sort-options {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.cr-sort-option {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.cr-sort-option:hover {
    background: #9B5FFF;
    border-color: #9B5FFF;
    color: #fff;
}

.cr-sort-option--active {
    background: #7324FF;
    border-color: #7324FF;
    color: #fff;
}

.cr-sort-select {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    outline: none;
    cursor: pointer;
}

.cr-sort-select--mobile {
    display: none;
}

/* ═══════════════════════════════════════════════════
   9. COURSE GRID
   ═══════════════════════════════════════════════════ */
.cr-catalog__grid-wrapper {
    position: relative;
    min-height: 300px;
}

/* Override legacy flex layout from cr-theme.css */
.cr-catalog__grid.courses.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0; /* reset legacy negative margin */
}

.cr-catalog__grid.courses.grid > .item {
    width: auto; /* reset legacy calc(33% - 30px) */
    margin: 0; /* reset legacy 15px margin */
    min-width: 0; /* prevent grid blowout from long content */
}

/* ── Description block (top of taxonomy page) ── */
.cr-catalog__description {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    max-width: 100%;
}

.cr-catalog__description p {
    margin-bottom: 12px;
}

.cr-catalog__description a {
    color: #7324FF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cr-catalog__description a:hover {
    color: #9B5FFF;
}

/* ── Info block (bottom of taxonomy page) ── */
.cr-catalog__info-for-user {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
    font-size: 15px;
    line-height: 1.7;
    max-width: 75%;
    color: #374151;
}

.cr-catalog__info-for-user h2,
.cr-catalog__info-for-user h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.cr-catalog__info-for-user h2 {
    font-size: 22px;
}

.cr-catalog__info-for-user h3 {
    font-size: 18px;
}

.cr-catalog__info-for-user p {
    margin-bottom: 14px;
}

.cr-catalog__info-for-user a {
    color: #7324FF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cr-catalog__info-for-user a:hover {
    color: #9B5FFF;
}

.cr-catalog__info-for-user ul,
.cr-catalog__info-for-user ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.cr-catalog__info-for-user li {
    margin-bottom: 6px;
}

.cr-catalog__info-for-user img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
@media (max-width: 768px) {
    .cr-catalog__info-for-user {
        max-width: 100%;
    }
}

/* ── Card fixes inside filter catalog grid ── */

/* Override legacy nth-child hiding from cr-theme.css */
.cr-catalog__grid.courses.grid > .item:nth-child(n) {
    display: flex !important;
    width: auto !important;
    margin: 0 !important;
}

.cr-catalog .courses .item {
    box-sizing: border-box;
}

/* .cr-catalog .courses .cover — height: 100px наследуется из cr-theme */

.cr-catalog .courses .title {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.cr-catalog .courses .price {
    font-size: 22px;
}

.cr-catalog .courses .platform {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 50%;
}

.cr-catalog .courses .bottom {
    padding: 20px 20px 0;
    margin: 15px -20px 0;
}

.cr-catalog .courses .installment {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 30px; /* match icon height for vertical balance */
}

.cr-catalog .courses .installment .installment-note {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

/* Remove gradient overlay on button, keep theme's hover show/hide behavior */
.cr-catalog .courses .item .button.full-width::before,
.cr-catalog .courses .item .button.full-width::after {
    content: none;
}

.cr-catalog__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.cr-catalog__empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cr-catalog__empty h3 {
    font-size: 18px;
    color: #374151;
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════
   10. PAGINATION
   ═══════════════════════════════════════════════════ */
.cr-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 100px;
    flex-wrap: wrap;
}

.cr-pagination__page,
.cr-pagination__prev,
.cr-pagination__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.cr-pagination__page:hover,
.cr-pagination__prev:hover,
.cr-pagination__next:hover {
    border-color: #9B5FFF;
    color: #7324FF;
}

.cr-pagination__page--active {
    background: #7324FF;
    border-color: #7324FF;
    color: #fff;
    pointer-events: none;
}

.cr-pagination__btn--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.cr-pagination__ellipsis {
    padding: 0 4px;
    color: #9ca3af;
    font-size: 14px;
    user-select: none;
}

/* ═══════════════════════════════════════════════════
   11. LOADING STATE
   ═══════════════════════════════════════════════════ */
.cr-catalog__loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    backdrop-filter: blur(1px);
}

.cr-catalog__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e5e7eb;
    border-top-color: #7324FF;
    border-radius: 50%;
    animation: cr-spin 0.6s linear infinite;
}

@keyframes cr-spin {
    to { transform: rotate(360deg); }
}

.cr-catalog__grid--loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   12. MOBILE
   ═══════════════════════════════════════════════════ */
.cr-mobile-filter-bar {
    display: none;
}

@media (max-width: 1024px) {
    .cr-catalog__layout {
        grid-template-columns: 1fr;
    }

    .cr-catalog__grid.courses.grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cr-catalog__grid.courses.grid > .item {
        width: auto;
        margin: 0;
    }

    .cr-catalog .courses .cover {
        height: auto;
    }

    .cr-catalog .courses .title {
        font-size: 15px;
    }

    .cr-catalog .courses .price {
        font-size: 20px;
    }

    .cr-sort-options {
        display: none;
    }

    .cr-sort-select--mobile {
        display: block;
    }

    /* Sidebar becomes a bottom sheet */
    .cr-filter-sidebar {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        background: #fff;
        z-index: 1000;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        top: auto;
    }

    .cr-filter-sidebar--mobile-open {
        transform: translateY(0);
    }

    .cr-filter-sidebar__inner {
        padding: 0 20px 100px;
    }

    .cr-filter-sidebar__mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        border-bottom: 1px solid #e5e7eb;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1;
    }

    .cr-filter-sidebar__mobile-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a2e;
    }

    .cr-filter-sidebar__close {
        width: 32px;
        height: 32px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
        transition: background 0.15s;
    }

    .cr-filter-sidebar__close:hover {
        background: #e5e7eb;
    }

    .cr-filter-sidebar__mobile-footer {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 12px 20px;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        z-index: 1001;
        box-sizing: border-box;
    }

    .cr-filter-sidebar__apply {
        width: 100%;
        padding: 14px 24px;
        background: #7324FF;
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s;
    }

    .cr-filter-sidebar__apply:hover {
        background: #9B5FFF;
    }

    /* Mobile filter bar */
    .cr-mobile-filter-bar {
        display: flex;
        gap: 12px;
        margin-bottom: 16px;
        align-items: center;
    }

    .cr-mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        background: #fff;
        font-size: 14px;
        font-weight: 500;
        color: #374151;
        cursor: pointer;
        transition: border-color 0.15s;
    }

    .cr-mobile-filter-btn:hover {
        border-color: #7324FF;
    }

    .cr-mobile-filter-btn__count {
        background: #7324FF;
        color: #fff;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 600;
    }

    /* Overlay */
    .cr-filter-sheet-open .cr-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .cr-filter-sheet-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .cr-catalog__grid.courses.grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cr-catalog__grid.courses.grid > .item {
        width: auto;
        margin: 0;
    }

    .cr-catalog__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .cr-chip {
        max-width: 200px;
    }
}

/* ═══════════════════════════════════════════════════
   13. ANIMATIONS
   ═══════════════════════════════════════════════════ */
.cr-filter-option {
    animation: cr-fadeIn 0.15s ease;
}

@keyframes cr-fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Course card fade-in after filter */
.cr-catalog__grid .item {
    animation: cr-cardFadeIn 0.25s ease;
}

@keyframes cr-cardFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
