.home-header {
    display: flex;
    flex-direction: column;
    background: rgb(244,176,69);
    background: linear-gradient(45deg, rgba(244,176,69,1) 0%, rgba(243,184,80,1) 100%);
    overflow: hidden;
    position: absolute;
    z-index: 1;
    width: 100%;
}







.home-decor {
    position: absolute;
    z-index: 0;
}

.home-header__decor-1 {
    background-image: url("/assets/image/home/header-1.png");
    width: 112px;
    height: 261px;
    top: 0;
    right: -375px;
}
.home-header__decor-2 {
    width: 252px;
    height: 359px;
    top: -105px;
    left: -375px;
}
.home-header__decor-3 {
    width: 744px;
    height: 450px;
    top: 0;
    right: -40px;
}
.home-header__decor-4 {
    width: 178px;
    height: 84px;
    bottom: 80px;
    left: -90px;
}

.home-afisha__decor-1 {
    width: 237px;
    height: 163px;
    top: -30px;
    right: -275px;
}

.home-afisha__decor-2 {
    width: 225px;
    height: 349px;
    top: 300px;
    left: 0;
}
.home-afisha__help-icon {
    position: absolute;
    z-index: 999;
    width: 49px;
    height: 50px;
    background-image: url("/assets/image/icon/icon-info-bg-red.svg");
    background-size: cover;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 25px;
}
.home-afisha__help-icon button {
    border: 0;
    cursor: pointer;
    background: none;
    height: 25px;
    width: 25px;
    padding: 0;
}
.home-afisha__help-icon img {
    width: 100%;
}

.home-header__description {
    display: flex;
    margin-top: 90px;
}
.home-header__static-description {
    position: relative;
    z-index: 1;
    font-weight: normal;
}
.carousel-wrapper {
    position: relative;
    z-index: 2;
}
.home-header__static-description,
.carousel-wrapper__element {
    font-size: 34px;
    line-height: 34px;
}

.home-header__name {
    color: #fff;
    font-family: Freehand575;
    font-size: 115px;
    position: relative;
    z-index: 1;
}


.home-header__buttons {
    margin-top: 60px;
}

.home-header__link-btn:hover {
    color: #fff;
}
.home-header__link-btn {
    margin-left: 30px;
    color: #fcf2e1;
    display: inline-block;
}

.home-header__socials {
    margin-top: 110px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.home-header__content {
    height: 600px;
}






.carousel-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    height: 44px;
}
.carousel-wrapper__inner {
    animation: scroll2 22s ease-in-out infinite;
}

@keyframes scroll2 {
    0% {
        transform: translateY(-210px);
    }
    2%, 18% {
        transform: translateY(-176px);
    }
    21%, 39% {
        transform: translateY(-132px);
    }
    42%, 60% {
        transform: translateY(-88px);
    }
    63%, 81% {
        transform: translateY(-44px);
    }
    84%, 99% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(44px);
    }
}

@keyframes scroll {
    0% {
        transform: translateY(-490px);
    }
    2%, 18% {
        transform: translateY(-395px);
    }
    21%, 39% {
        transform: translateY(-294px);
    }
    42%, 60% {
        transform: translateY(-198px);
    }
    63%, 81% {
        transform: translateY(-100px);
    }
    84%, 99% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(98px);
    }
}





.home-afisha {
    overflow: hidden;
    padding: 80px 0 0px;
    position: relative;
    z-index: 2;
    margin-top: 0;
    background: #FBF4E9;
}

.afisha-container {
    margin-bottom: 190px !important;
}

.home-afisha__content {
    background: rgb(244,176,69);
    background: linear-gradient(170deg, rgba(244,176,69,1) 0%, rgba(243,184,80,1) 100%);
    display: flex;
    border-radius: 10px;
    z-index: 2;
    position: relative;
}

.home-afisha__content-col:first-child {
    border-right: 1px solid #e58d44;
}

.home-afisha__content-col {
    width: 50%;
    padding: 35px;
}

.home-afisha__title {
    margin-bottom: 40px;
    color: #fff;
    font-size: 36px;
}

.home-afisha__subtitle {
    display: flex;
    position: relative;
    margin-bottom: 30px;
    justify-content: space-between;
    align-items: center;
}
.home-afisha__subtitle h3 {
    font-family: Freehand575;
    font-size: 44px;
    line-height: 1;
    font-weight: normal;
}
.home-afisha__date {
    background: #eaa435;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    -webkit-box-shadow: 2px 2px 7px 0 rgba(34, 60, 80, 0.2) inset;
    -moz-box-shadow: 2px 2px 7px 0 rgba(34, 60, 80, 0.2) inset;
    box-shadow: 2px 2px 7px 0 rgba(34, 60, 80, 0.2) inset;
}
.home-afisha__program:hover {
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
}
.home-afisha__program {
    transition: .2s;
    padding: 12px 12px 50px;
    position: relative;
    display: flex;
    background: #f8f8f8;
    margin-bottom: 6px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    overflow: hidden;
    cursor: pointer;
}
.home-afisha__program-price {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    bottom: 15px;
    right: 12px;
}
.home-afisha__program-date {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    bottom: 15px;
    left: 12px;
    color: #837b79;
}
.home-afisha__program-age {
    position: absolute;
    padding: 4px 12px;
    right: 0;
    top: 0;
    background: #d88a2c;
    border-bottom-left-radius: 18px;
    font-size: 13px;
    color: #fff;
}
.home-afisha__program-photo img {
    width: 100%;
}
.home-afisha__program-photo {
    overflow: hidden;
    width: 80px;
    min-width: 80px;
    height: 80px;
    background: #dbdbdb;
    border-radius: 8px;
    margin-right: 18px;
}
.home-afisha__program-title {
    text-decoration: none;
    font-weight: 900;
    line-height: 1.1;
    margin: 12px 70px 8px 0;
    display: block;
}
.home-afisha__program-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 57px;
    font-size: 14px;
    color: #837b79;
    text-overflow: ellipsis;
    overflow: hidden;
}





.home-category {
    z-index: 2;
    margin-top: -90px;
    position: relative;
    background-image: url("../image/home/board-bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 620px;
}

.home-category:before {
    content: '';
    position: absolute;
    top: -40px;
    background-image: url("../image/home/arka-top.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 192px;
    width: 100%;
    z-index: 2;
}

.home-category:after {
    content: '';
    position: absolute;
    bottom: -28px;
    background-image: url("../image/home/arka-bottom.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 90px;
    width: 100%;
}

.home-category .container {
    height: 100%;
    display: flex;
}

.home-category__perch {
    width: 289px;
    height: 128px;
    position: absolute;
    background-image: url("../image/home/perch.png");
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    right: -20px;
    top: 50px;
    z-index: 1;
}

.home-category__teacher {
    width: 731px;
    height: 533px;
    position: absolute;
    background-image: url("../image/home/teacher.png");
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    left: -200px;
}

@media (max-width: 1590px) {
    .home-category__teacher {
        width: 650px;
        height: 475px;
        left: -100px;
    }
}

@media (max-width: 1380px) {
    .home-category__teacher {
        width: 600px;
        height: 438px;
        left: -15px;
    }
}

.home-category__content {
    padding-top: 85px;
    width: 1170px;
}

.home-category__title {
    font-family: Freehand575;
    font-size: 80px;
    font-weight: normal;
    margin-bottom: 37px;
}

.home-category__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.home-category__button-icon {
    height: 65px;
    margin-bottom: 15px;
}
.home-category__button a {
    color: #faedef;
    text-decoration: none;
    font-size: 18px;
}
.home-category__button {
    cursor: pointer;
    width: 263px;
    margin-bottom: 40px;
    background: #9f0a30;
    background: linear-gradient(0deg, #9f0a30 0%, #c7172c 100%);
    border-radius: 10px;
    text-align: center;
    padding: 30px 10px 25px;

    font-size: 14px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    -webkit-box-shadow: 0 26px 22px -21px rgb(159, 11, 48);
    -moz-box-shadow: 0 26px 22px -21px rgb(159, 11, 48);
    box-shadow: 0 26px 22px -21px rgb(159, 11, 48);
}








.home-gallery-and-viezd {
    margin-top: -35px;
    padding-top: 160px;
    background: rgb(244,176,69);
    background: linear-gradient(45deg, rgba(244,176,69,1) 0%, rgba(243,184,80,1) 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.home-gallery {

    padding-bottom: 67px;
    position: relative;
    z-index: 1;
}
.home-gallery__title {
    margin-bottom: 40px;
    color: #fff;
    font-size: 36px;
}

.home-viezd {
    position: relative;
    z-index: 1;
}
.home-viezd__title {
    font-family: Freehand575;
    font-size: 80px;
    line-height: 1;
    font-weight: normal;
    margin-bottom: 33px;
}
.home-viezd__description {
    font-size: 18px;
}
.home-viezd__decor-1 {
    background-image: url("/assets/image/home/viezd-1.png");
    width: 295px;
    height: 277px;
    bottom: -265px;
    right: -175px;
}






.zayavkaModal,
.modal {
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.modal__box {
    padding: 1em;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    -webkit-transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.5);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.5);
    -webkit-transform: rotate(5deg) translate(-1em, 1em);
    transform: rotate(5deg) translate(-1em, 1em);
    border-top: 5px solid #da513d;
    border-bottom: 5px solid #ddd;
    max-width: 500px;
}
/* modal magic */
.zayavkaModal.open,
.modal.open {
    opacity: 1;
    visibility: visible;
}
.zayavkaModal.open .modal__box,
.modal.open .modal__box {
    -webkit-transform: rotate(0deg) translate(0, 0);
    transform: rotate(0deg) translate(0, 0);
}





@media (min-width: 1210px) {
    .home-header__decor-3 {
        background-image: url("/assets/image/home/header-3.png");
    }
    .home-header__decor-4 {
        background-image: url("/assets/image/home/header-4.png");
    }
    .home-header__decor-2 {
        background-image: url("/assets/image/home/header-2.png");
    }
    .home-afisha__decor-1 {
        background-image: url("/assets/image/home/afisha-1.png");
    }
    .home-afisha__decor-2 {
        background-image: url("/assets/image/home/afisha-2.png");
    }
}
@media (max-width: 1210px) {

    .home-header__description {
        margin-top: 20px;
        position: relative;
        z-index: 1;
    }

    .home-afisha {
        padding: 60px 0 0px;
        margin-top: 0;
    }
    .afisha-container {
        margin-bottom: 190px !important;
    }
    .home-afisha__date {
        position: absolute;
        bottom: -32px;
        left: 0;
        font-size: 12px;
        padding: 5px 14px;
    }
    .home-afisha__subtitle {
        margin-bottom: 45px;
    }
    .home-category__perch {
        right: 0;
        top: 32px;
    }
    .home-category__teacher {
        background-image: url("../image/home/teacher1.png");
        width: 345px;
        height: 500px;
        left: 10px;
    }

    .home-category__title {
        margin-bottom: 25px;
    }
    .home-category__content {
        padding: 110px 0 0 40px;
    }

    .home-category__button {
        padding: 10px 10px 10px;
        margin-bottom: 20px;
        width: 280px;
    }

    .home-category__button-icon img {
        max-height: 100%;
    }

    .home-category__button-icon {
        height: 40px;
        margin-bottom: 8px;
    }

}

@media (max-width: 767px) {
    .home-category {
        height: 480px;
    }

    .header__phone {
        display: none;
    }
    .home-afisha__content-col-2 {
        margin-top: 24px;
    }
    .home-afisha__content-col-2 .home-afisha__subtitle {
        margin-bottom: 16px;
    }
    .home-header__static-description, .carousel-wrapper__element {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .home-header__description {
        margin-top: 0px;
        position: relative;
        z-index: 1;
    }
    .home-header__name {
        margin-top: -10px;
        font-size: 50px;
        line-height: 1;
    }
    .home-header__link-btn {
        display: none;
    }
    .home-header__buttons {
        margin-top: 30px;
        z-index: 1;
        position: relative;
    }
    .home-header__socials {
        margin-top: 30px;
    }

    .home-header__content {
        height: 425px;
        position: relative;
    }
    .home-afisha {
        margin-top: 0;
    }
    .home-category__content {
        width: 100%;
        padding: 120px 20px 50px;
    }
    .home-category__teacher {
        display: none;
    }
    .home-category__button {
        width: 100%;
    }
    .home-category__title {
        margin-bottom: 15px;
    }
    .home-category__perch {
        top: 27px;
    }

    .home-afisha__content {
        flex-direction: column;
    }
    .home-afisha__content-col {
        width: 100%;
    }
    .home-afisha__content-col:first-child {
        border: 0;
        margin-bottom: 30px;
    }

    .home-afisha__title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .home-afisha__content {
        background: unset;
    }
    .home-afisha__subtitle h3 {
        color: #fff;
        font-size: 40px;
    }
    .home-afisha__content-col {
        padding: 0;
    }

    .home-category__title {
        font-size: 64px;
        line-height: 64px;
        display: flex;
        align-items: center;
    }
    .home-viezd__title {
        font-size: 64px;
        margin-bottom: 18px;
    }
    .home-gallery-and-viezd {
        padding-top: 100px;
    }
    .home-category__buttons {
        margin-top: 15px;
    }

    .home-afisha__program-title {
        line-height: 14px;
        margin: 20px 10px 8px 0;
    }
    .home-afisha__content-col-1 .home-afisha__program {
        padding: 12px;
    }

    .home-afisha {
        padding: 50px 0 0;
    }
    .afisha-container {
        margin-bottom: 150px !important;
    }
    @keyframes scroll {
        0% {
            transform: translateY(-493px);
        }
        2%, 18% {
            transform: translateY(-393px);
        }
        21%, 39% {
            transform: translateY(-295px);
        }
        42%, 60% {
            transform: translateY(-197px);
        }
        63%, 81% {
            transform: translateY(-99px);
        }
        84%, 99% {
            transform: translateY(-1px);
        }
        100% {
            transform: translateY(98px);
        }
    }

    .home-afisha__help-icon {
        background-image: none;
        top: -4px;
    }
}


html {
    background: #FBF4E9;
}
html, body {
    margin: 0;
}
* {
    box-sizing: border-box;
    margin: 0;
    color: #2a1916;
    letter-spacing: 0.4px;
    outline: 0;
}
.fancybox-container * {
    color: #fff;
}
.container {
    width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.header {
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
}
.header__menu a {
    position: relative;
}
.header__menu a.active {
    color: #000 !important;
    background: rgb(255 221 167);
}
.header__menu a:hover {
    color: #fff;
}
.header__menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.header__menu a.active::after,
.header__menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.header__menu a {
    padding: 10px 15px;
    display: inline-block;
    text-decoration: none;
    color: #000000b0;
    font-size: 14px;
}
.header__menu {
    display: flex;
    overflow: hidden;
    background: rgb(255 221 167);
}
.header__phone a {
    color: #fff;
    text-decoration: none;
    background: #bf1111 !important;
    background: linear-gradient(0deg, #9f0c2f 0%, #cb182c 100%) !important;
}
.header-wrapper__static {
    position: relative;
    z-index: 1;
}

.primary-btn {
    padding: 15px 30px;
    background: #209f0a;
    background: linear-gradient(0deg, #2d9f0a 0%, #17c754 100%);
    border-radius: 100px;
    color: #faedef;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    -webkit-box-shadow: 0 26px 22px -21px rgb(159, 11, 48);
    -moz-box-shadow: 0 26px 22px -21px rgb(159, 11, 48);
    box-shadow: 0 26px 22px -21px rgb(159, 11, 48);
    border: 0;
    outline: 0;
    cursor: pointer;
    min-width: 200px;
}

.header__logo {
    margin-left: -15px;
}
.logo__img {
    height: 80px;
}
.logo {
    display: flex;
}
.logo__text {
    margin-left: 8px;
    margin-top: 10px;
}
.logo__name {
    font-family: Freehand575;
    font-size: 36px;
    line-height: 1;
    color: #fff;
}
.logo__description {
    font-size: 14px;
    color: #fff;
}



footer {
    position: relative;
    z-index: 1;
    background: #2a1916;
}
.footer__content {
    padding: 40px 0 60px;
    display: flex;
    justify-content: space-between;
}

.footer__social {
    margin-top: 30px;
}
.footer__social-title {
    color: #716866;
    font-size: 12px;
    margin-bottom: 13px;
}
.footer__title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer__navigation a,
.footer__program a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    opacity: .8;
}

.footer__designed-by img {
    width: 96px;
}

.footer__designed-by .footer__title {
    font-size: 12px;
    opacity: .7;
}

.copyright a {
    color: #fff;
}
.copyright {
    color: #fff;
    opacity: .3;
    font-size: 14px;
    margin-top: 40px;
}




.social {
    width: 132px;
    display: flex;
    justify-content: space-between;
}
.social__item {
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: #cb192c;
}
.social__item img {
    max-width: 14px;
    max-height: 14px;
}

.social__item-odnoklassniki img,
.social__item-instagram img {
    max-width: 16px;
    max-height: 16px;
}


.pagination {
    background-image: url("/assets/image/pagination.svg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 730px;
    height: 201px;
    text-align: center;
    padding: 80px;
    margin: 0 auto;
}
.pagination__links {
    display: flex;
    justify-content: center;
    position: relative;
}
.pagination__link:hover {
    color: #2a1916;
}
.pagination__link {
    font-size: 14px;
    padding: 0 9px;
    font-weight: bold;
    color: #cb192c;
    cursor: pointer;
}
.pagination__link-active {
    color: #fff !important;
    cursor: default;
}

.pagination__button:hover {
    background: #2a1916;
}
.pagination__button {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: #cb192c;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -10px;
    cursor: pointer;
}

.pagination__button-prev {
    left: 0;
    -moz-transform: scale(-1, -1);
    -o-transform: scale(-1, -1);
    -webkit-transform: scale(-1, -1);
    transform: scale(-1, -1);
}
.pagination__button-next {
    right: 0;
}
.pagination__button-disabled {
    cursor: default;
    background: #cb192c !important;
}
.pagination__button img {
    width: 11px;
}
.program-pagination,
.review-pagination {
    overflow: hidden;
}
.info-block {
    position: relative;
}
.info-block__icon {
    width: 14px;
    height: 14px;
    cursor: pointer;
}
.info-block__text {
    position: absolute;
    display: none;
    left: 12px;
    top: 12px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    color: #2a1916;
    font-size: 14px;
}
.info-block:hover .info-block__text{
    display: block;
    white-space: nowrap;
    text-align: left;
}

.info-block-price {
    padding-right: 5px;
}
.info-block-price ul li {
    color: #4f3e3d;
}
.info-block-price ul {
    padding-left: 20px;
}
.info-block-price .info-block__icon {
    margin-left: 5px;
}
.header__menu-icon {
    content: '';
    position: absolute;
    right: 15px;
    top: 26px;
    width: 18px;
    height: 18px;
    background-image: url("/assets/image/icon/menu.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: none;
}
.header__menu-icon.open {
    background-image: url("/assets/image/icon/menu-close.svg");
    right: 18px;
    top: 27px;
    width: 14px;
    height: 14px;
}


@media (max-width: 1210px) {
    .container {
        width: 910px;
        padding: 0;
    }


    .logo__img {
        height: 70px;
    }
    .logo__name {
        font-size: 32px;
    }
    .logo__description {
        font-size: 13px;
    }
    .logo__text {
        margin-left: 5px;
    }

    .footer__program {
        margin: 10px 0;
    }
}



@media (max-width: 910px) {
    .container {
        width: 100%;
    }
    .header {
        display: block;
    }
    .header__phone {
        position: absolute;
        top: 17px;
        right: 50px;
    }
    .header__menu {
        border-radius: 0;
    }
    .header__menu a {
        color: #2a1916;
    }
    .header__menu-icon {
        display: block;
        z-index: 10;
    }
    .header__menu-mobile.open {
        display: flex !important;
        left: 0;
        background: #fff !important;
    }
    .header__menu-mobile.open a {
        color: #000 !important;
    }
    .header__menu {
        display: none;
    }
    .header__menu-mobile {
        transition: .5s;
        position: absolute;
        background: #fff;
        flex-direction: column;
        left: 100%;
        top: 0;
        padding: 15px;
        width: 100vw;
        height: 100vh;
        z-index: 9;
        -webkit-box-shadow: 0px 0px 20px -10px rgba(34, 60, 80, 1);
        -moz-box-shadow: 0px 0px 20px -10px rgba(34, 60, 80, 1);
        box-shadow: 0px 0px 20px -10px rgba(34, 60, 80, 1);
    }
    .header__menu a.active {
        background: #fff;
        color: #c9182b !important;
    }
    .header__menu a {
        font-size: 18px;
        padding: 3px 3px;
        margin: 8px;
        font-weight: bold;
    }

    .header__logo .logo__img {
        height: 50px;
    }
    .header__logo .logo__text {
        margin-top: 0;
    }
    .header__logo {
        margin-left: -5px;
    }
    .pagination {
        width: 410px;
        height: 65px;
        padding: 41px 39px;
        margin-left: -30px;
    }
    .pagination__button {
        width: 29px;
        height: 29px;
        top: -6px;
    }
    .pagination__button img {
        width: 10px;
    }
    .pagination__link {
        font-size: 13px;
        padding: 0px 7px;
    }
    .program-pagination,
    .review-pagination {
        margin-bottom: 25px;
    }



    .footer__designed-by .footer__title,
    .footer__designed-by img {
        display: none;
    }

    .footer__content {
        display: block;
        padding-bottom: 20px;
    }
}

@media (max-width: 374px) {
    .pagination {
        width: 380px;
        padding: 38px 35px;
    }
    .home-header__description {
        transform: scale(0.8);
        width: 120%;
        margin-left: -10%;
    }
}

@media (max-width: 349px) {
    .pagination {
        width: 350px;
        padding: 34px 32px;
        margin-left: -27px;
    }
}















/* Карточки прграммы */

/* Стили для контейнера */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    row-gap: 32px;
    padding: 20px 20px 20px 0;
    justify-content: space-between;
    width: 100%;
}

/* Стили для карточки товара */
.product-card {
    overflow: hidden;
    position: relative;
    width: calc(50% - 16px); /* 3 элемента в строку */
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: #F5F7FA;
    border-radius: 16px;
}

/* Стили для изображения товара */
.product-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 240px;
}

.product-card:hover img {
    transform: scale(1.05); /* Увеличение до 110% при наведении */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

/* Иконка "Избранное" */
.favorite-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff; /* Белый цвет */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Серая тень */
}

/* Стили для информации о продукте */
.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 15px 20px;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 16px 0 8px;
    text-decoration: none;
}


.product-caption {
    font-size: 14px;
    color: #333;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-tag {
    font-size: 14px;
    color: #333;
    background: #E6E8EB;
    padding: 5px 7px;
    border-radius: 5px;
}

.product-price {
    color: #F3B146;
    font-size: 24px;
    font-weight: bold;
}

/* Адаптивные стили */
@media (max-width: 1210px) {
    .product-grid {
        padding: 20px;
    }
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .product-grid {
        gap: 8px;
        row-gap: 24px;
    }

    .product-card {
        width: 100%; /* 2 элемента в строку на средних экранах */
    }

    .product-grid {
        padding: 20px;
    }
}

/* /Карточки прграммы */

