.title-banner{
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 42px;
    line-height: 100%;
}
.subtitle-banner{
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    margin-top: 15px;
}
.favorites__text{
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 22px;
    line-height: 100%;
}
.top-banner-catalog .btn-fav{
    font-family: Wix Madefor Display;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #FFFFFF;
    display: flex;
    width: 100%;
    height: 53px;
    max-width: 390px;
    border-radius: 15px;
    text-transform: none;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.favorites__empty{
    margin-top: 50px;
    display: none;
}

.catalog-courses-background {
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.catalog-courses-background img {
    opacity: 0.1;
}

.catalog-courses-wrap {
    z-index: 2;
}

.catalog-courses-title {
    max-width: 100% !important;
    margin-top: 20px !important;
    font-size: 26px !important;
    line-height: 1 !important;
}

.catalog-newest-card__oldprice {
    font-size: 20px !important;
    line-height: 20px !important;
}

.catalog-courses-label {
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.catalog-courses-item {
    padding: 25px 30px 15px !important;
}

.prof-block {
    margin-bottom: 15px;
}

.catalog-courses-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.catalog-info {
    display: flex;
    align-items: center;
    /* flex-wrap: nowrap; */
    border: 1px solid white;
    border-radius: 20px;
    font-size: 12px;
    position: absolute;
    right: 20px;
}
.catalog-info.action-black-friday{
    background: #ff672d;
}
.star-container-courses{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.rating-text-courses{
    font-family: 'Wix Madefor Display';
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    margin-right: 5px;
}

.evaluation-courses{
    width: 55px;
    height: 11px;
    list-style: none;
    padding: 0;
    position: relative;
}

.evaluation__item-courses{
    height: 100%;
    background-size: contain;
    display: list-item;
    z-index: 2;
    position: relative;
    min-width: 20%;
}

.mirrored-courses{
    background-image: url("./img/star_gray.png");
    background-size: contain !important;
    position: absolute !important;
    display: block !important;
    top: 0;
    z-index: 1 !important;
    width: 100%;
}

/* Пример медиазапроса для изменения стилей на маленьких экранах */
@media screen and (min-width: 979px ) and ( max-width: 1460px) {
    .catalog-courses-container {
        flex-direction: column; /* Изменяем направление на вертикальное */
        align-items: flex-start; /* Выравниваем элементы слева */
    }
    .catalog-info {
        position:inherit;

    }

}
@media screen and (max-width: 460px) {
    .catalog-courses-container {
        flex-direction: column; /* Изменяем направление на вертикальное */
        align-items: flex-start; /* Выравниваем элементы слева */
    }
    .catalog-info {
        position:inherit;

    }

}

.catalog-card__block{
    background: linear-gradient(107.2deg, #FBFBFB 0%, #ECECEC 104.44%);
    border-radius: 15px;
}

.course-category__block{
    font-family: Wix Madefor Display;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.12px;
    color: black;
    margin-bottom: 10px;
}

.format-course{
    background: white;
    border-radius: 20px;
    border: 1px solid #093EB4;
    font-family: Wix Madefor Display;
    font-size: 12px;
    height: 32px;
    min-width: 96px;
    width: max-content;
    font-weight: 500;
    line-height: 15.12px;
    text-align: center;
    padding: 5px 15px;
    color: #000000;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.format-course_activ{
    background: #093EB4;
    color: white;
}

.catalog-courses-title_new{
    font-family: Wix Madefor Display;
    font-size: 26px;
    font-weight: 500;
    line-height: 32.76px;
    color: #093EB4;
    max-width: 100% !important;
    margin-top: 20px !important;
    display: block;
}

.catalog-newest-card__price_new{
    color: #093EB4;
    font-family: Wix Madefor Display;
    font-size: 20px;
    font-weight: 500;
    line-height: 25.2px;
}

.catalog-newest-card__oldprice_new{
    font-family: Wix Madefor Display;
    font-size: 20px;
    font-weight: 400;
    line-height: 25.2px;
    color: #093EB4;
    opacity: 30%;
    text-decoration: line-through;
    margin-left: 15px;
}

.course-date_text{
    font-family: Wix Madefor Display;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.12px;
    color: black;
}

.course-block__sale-hit , .course-block__sale-hit-recommendation{
    border: 1px solid #FF662C;
    color: #000000;
    border-radius: 56px;
    padding: 7px 17px;
    font-family: Wix Madefor Display;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

 .course-block__sale-hit-recommendation{
    margin-bottom: 0px !important;
    max-width: 123px;
    height: 26px;
}
.format-course-recommendation{
    width: 96px !important;
    min-width: 64px;
    max-width: 100%;
}

@media screen and (max-width:1145px) {
    .format-course-recommendation{
        width: 64px !important;
    }
}

 .catalog-courses-labels-recommendation{
    gap: 10px;
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    justify-content: flex-start;
}

.course-block__sale-hit-recommendation{
    margin-bottom: 0px !important;
}
.courses-container-recommendation{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.catalog-courses-labels  li{
    flex: 1;
    width: 100%;
    margin-bottom: 10px;
}

.course-block__sale-hit-recommendation{
    margin-bottom: 0px !important;
    max-width: 123px;
    height: 26px;
}
.format-course-recommendation{
    max-width: 96px;
}

.catalog-courses-labels-recommendation{
    gap: 10px;
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    justify-content: flex-start;
}


.card-course_block-info{
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.catalog-courses-item_new{
    padding: 35px !important;
    border: 1px solid #00000033;
    min-height: 323px;
}

.catalog-courses-container_new {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

.course-btn{
    background: #FF662C;
    font-family: Wix Madefor Display;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    color: white;
    padding: 21px 27px;
    width: 100%;
    border-radius: 15px;
}

.card-course_block-info-bt{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-label {
    display: flex;
    align-items: center;
    margin-bottom: 0px !important;
}

.catalog-courses-other_title{
    font-family: Wix Madefor Display;
    font-size: 32px;
    font-weight: 500;
    line-height: 40.32px;
    color: #000000;
    margin-top: 50px;
}
.forms__favorites{
    background: #A9D0FF;
    border-radius: 15px;
    padding: 50px 40px;
    max-height: 400px !important;
    height: max-content;
}

.forms__favorites .title__forms{
    color: #000;
}
.forms__favorites .checkbox__input:checked ~ .checkbox__label:before {
    background: #272727 url(/local/templates/uprav_new_ui/assets/css/../img/svg/check.svg) no-repeat 50% !important;
    background-size: 11px ! IMPORTANT;
}
.favorites__buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
@media screen and (max-width: 1588px) {
    .format-course{
        font-size: 10px;
        font-weight: 500;
        line-height: 10.08px;
        width: 100% !important;
        padding: 5px 15px;
    }

    .course-block__sale-hit {
        font-size: 10px;
        font-weight: 500;
        line-height: 10.08px;
        width: 100%;
        margin-top: 10px;
        padding: 7px;
        height: max-content;
    }
    .course-block__sale-hit-new{
        width: 100% !important;
    }
    .catalog-courses-labels{
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 980px) {
    .forms__favorites {
        padding: 30px 30px;
        height: max-content;
    }
    .rating-text-courses {
        font-size: 10px;
    }
    .course-category__block {
        font-size: 10px !important;
        line-height: 12.6px;
    }
    .course-block__sale-hit {
        max-width: 105px;
    }
    .catalog-newest-card__oldprice {
        font-size: 12px !important;
        line-height: 17px !important;
    }
    .catalog-courses-item_new {
        padding: 20px !important;
        min-height: 229px !important;
    }
    .catalog-courses-title_new {
        font-size: 16px;
        font-weight: 500;
        line-height: 20.24px;
        margin-top: 0px !important;
    }

    .format-course{
        font-size: 8px;
        padding: 3px 12px;
        height: 26px;
        min-width: 62px;    
    }
    .catalog-courses-labels {
        grid-template-columns: repeat(3, minmax(62px, max-content));
    }

    .catalog-newest-card__oldprice_new {
        margin-left: 0px;
        font-size: 14px;
        font-weight: 400;
        line-height: 16.52px;
        order: -1;
    }
    .catalog-newest-card__price_new {
        font-size: 16px;
        font-weight: 500;
        line-height: 20.24px;
    }

    .catalog-courses-price{
        display: flex;
        gap: 5px;
        margin-top: 11px !important;
    }
    .course-date_text {
        font-size: 10px;
        font-weight: 500;
        line-height: 12.6px;
    }
    .card-course_block-info-bt {
        align-items: flex-end;
    }
    .course-btn {
        height: 53px;
        max-width: 105px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .format-course{
        font-size: 8px;
    }

    .catalog-courses-other_title {
        font-family: Wix Madefor Display;
        font-size: 24px;
        font-weight: 500;
        line-height: 30.24px;
        margin-top: 40px;
    }
    .catalog-courses-other_info {
        font-family: Wix Madefor Display;
        font-size: 12px;
        font-weight: 500;
        line-height: 15.12px;
        margin: 0px !important;
    }

    .btn-filter-catalog{
        background: #093EB4;
        height: 53px;
        border-radius: 15px;
        text-align: center;
        padding: 8px 29px;
        font-family: "TT Norms";
        font-style: normal;
        line-height: 17px;
        color: #ffffff;
        display: flex;
        align-items: center;
        font-size: 12px;
        font-weight: 500;
        line-height: 12px;
        flex-direction: row-reverse;
        justify-content: flex-end;
    
    }

    .btn-filter-catalog:before{
        position: absolute;
        content: "";
        height: 10px;
        width: 22px;
        -webkit-mask-image: url(./img/svg/filter-arr.svg);
        background: #ffffff;
        background-size: cover;
        background-repeat: no-repeat;
        right: 45px;
    }

    .btn-filter-catalog.active:before {
        transform: rotate(180deg);
    }
    .catalog-filters {
        display: none;
    }

    .catalog-filter-section {
        display: flex;
        flex-wrap: wrap;
    }

    .catalog-filters_option {
        font-size: 12px;
        font-weight: 500;
        line-height: 15.12px;
    }
    .new-select select {
        font-size: 12px;
        font-weight: 500;
        line-height: 12px;
        margin-top: 10px;
    }

    .filters-more__item-new{
        display: none;
    }

    .media-min--tab-new{
        width: max-content !important;
    }
    .media-min--tab-new a{
        width: max-content !important;
    }

    .filters-more-new{
        display: flex;
        flex-wrap: wrap;
    }

    .yandex-review{
        display: none;
    }
    .courses-container-recommendation{
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 30px;
    }
    .course-block__sale-hit-recommendation {
        max-width: max-content !important;
        height: 26px !important;
    }
    .format-course-recommendation {
        width: 62px !important;
    }
    .title-banner {
        font-size: 24px;
        line-height: 100%;
    }
    .subtitle-banner {
        font-size: 16px;
        line-height: 100%;
        margin-top: 15px;
    }
    .favorites__text {
        font-size: 18px;
        line-height: 100%;
    }
    .favorites__buttons {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }
    .top-banner-catalog .btn-fav {
        margin-top: 0px;
    }
}

.catalog-pagination-item > * {
    pointer-events: none;
}