@font-face {
    font-family: 'Freehand575';
    src: url('../fonts/Freehand575-2/Freehand575.eot');
    src: url('../fonts/Freehand575-2/Freehand575.eot') format('embedded-opentype'),
    url('../fonts/Freehand575-2/Freehand575.woff2') format('woff2'),
    url('../fonts/Freehand575-2/Freehand575.woff') format('woff'),
    url('../fonts/Freehand575-2/Freehand575.ttf') format('truetype'),
    url('../fonts/Freehand575-2/Freehand575.svg#18805') format('svg');
}

.header-wrapper {

    background: rgb(244,176,69);
    background: linear-gradient(45deg, rgba(244,176,69,1) 0%, rgba(243,184,80,1) 100%);
    position: relative;
}
.header-wrapper > .container {
    overflow: hidden;
}
.not-home-header-decor {
    z-index: 0;
    position: absolute;
    width: 744px;
    height: 450px;
    bottom: -220px;
    right: -100px;
}
.wrapper__content {
    flex: 1;
    padding: 50px 0 0;
    background: #bf1111;
    background: linear-gradient(0deg, #9f0c2f 0%, #cb182c 100%);
}

.header-bottom-background {
    background-image: url("../image/header-bottom.png");
    height: 25px;
    width: 100%;
    position: absolute;
    bottom: -23px;
}

.breadcrumbs {
    margin-top: 15px;
}

.breadcrumbs__link:hover {
    color: #000;
}
.breadcrumbs__link-secondary:before {
    content: '';
    display: block;
    position: absolute;
    width: 21px;
    height: 16px;
    left: 2px;
    top: 0;
    background-image: url("../image/icon/breadcrumb.png");
}
.breadcrumbs__link-secondary {
    padding-left: 31px;
}
.breadcrumbs__link {
    font-size: 14px;
    text-decoration: none;
    position: relative;
    display: inline-block;
}
.breadcrumbs__link-disabled {
    cursor: default;
}
.review-link img {
    width: 20px;
}
.review-link:hover {
    color: #000;
    cursor: pointer;
    text-decoration: underline;
}
.review-link {
    cursor: pointer;
    display: flex;
    color: #4f3a39;
    font-weight: 900;
    font-size: 12px;
    text-decoration: none;
}
.red-link:hover {
    color: #2a1916;
}
.red-link {
    font-weight: bold;
    color: #cb192c;
    position: relative;
    text-decoration: none;
}
.red-link:hover:before {
    background: #2a1916;
}
.red-link:before {
    display: block;
    content: '';
    width: 100%;
    height: 1px;
    bottom: 3px;
    left: 0;
    background: #cb192c94;
    position: absolute;
}
.page-title {
    margin-top: 0px;
    margin-bottom: 0;
    line-height: 1;
    font-family: Freehand575;
    font-size: 60px;
    color: #fff;
    font-weight: normal;
    line-height: 0.8;
}

.reviews {
    margin-top: 20px;
}

.review {
    padding: 20px 30px;
    border: 1px solid #f4b045;
    border-radius: 12px;
    margin-bottom: 25px;
    background: #fff;
    overflow: hidden;
}
.review__header {
    display: flex;
    justify-content: space-between;
}
.review__user {
    display: flex;
    align-items: center;
}

.review__avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 30px;
    background: #bf1111;
    background: linear-gradient(0deg, #9f0c2f 0%, #cb182c 100%);
    margin-right: 15px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
}
.review__name {
    font-weight: 800;
}
.review__body {
    margin-top: 25px;
    opacity: .8;
}
.review__date {
    color: #d88a2c;
    font-size: 14px;
    margin-top: 10px;
}

.block {
    position: relative;
    -webkit-box-shadow: 0px 0px 20px -10px rgba(34, 60, 80, 0.5);
    -moz-box-shadow: 0px 0px 20px -10px rgba(34, 60, 80, 0.5);
    box-shadow: 0px 0px 20px -10px rgba(34, 60, 80, 0.5);
}
.block-decor {
    position: absolute;
    left: 50%;
    top: -65px;
    margin-left: -29px;
    background: url("/assets/image/icon/program-decor.png");
    width: 59px;
    height: 48px;
}
.block-program__fulltext {
    font-size: 18px;
    line-height: 1.4;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.gallery-wrapper__decor {
    position: absolute;
    background: url("/assets/image/program/gallery-decor.png");
    width: 259px;
    height: 139px;
    left: 50%;
    margin-left: -130px;
    top: -40px;
}

.gallery-wrapper a {
    z-index: 1;
}
.gallery-wrapper img {
    height: 140px;
    border-radius: 12px;
    margin: 10px;
    z-index: 1;
}


.block__body {
    position: relative;
    background: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 50px 35px 45px;
}
.block__body-yellow {
    background: rgb(244,176,69);
    background: linear-gradient(45deg, #f3b851 0%, #f3b851 100%);
}
.block__body-wave-yellow,
.block__body-wave {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.block__body-wave:before,
.block__body-wave-yellow:before {
    content: '';
    height: 51px;
    width: 100%;
    display: block;
    position: absolute;
    top: -50px;
    left: 0;
    background-size: cover;
}

@media (min-width: 1211px) {
    .not-home-header-decor {
        background-image: url(/assets/image/home/header-3.png);
    }

    .block__body-wave:before {
        background: url("/assets/image/program/wave.svg");
    }
    .block__body-wave-yellow:before {
        background: url("/assets/image/program/wave-yellow.svg");
    }
}

@media (max-width: 1210px) {
    .block__body-wave:before,
    .block__body-wave-yellow:before {
        display: none;
    }
    .block__body-wave-yellow,
    .block__body-wave {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    .wrapper__content {
        padding: 35px 0 0;
    }
}

@media (max-width: 767px) {
    .header__phone {
        display: none;
    }
    .block__body {
        padding: 20px 15px 25px;
    }

    .review__avatar {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 25px;
    }
    .review__header {
        display: block;
    }
    .review__date {
        margin-top: 10px;
    }
    .review__body {
        margin-top: 0;
    }
    .review {
        padding: 15px 15px;
    }
    .page-title {
        margin-top: 25px;
        margin-bottom: 10px;
        font-size: 65px;
        line-height: 49px;
        padding: 0 12px;
    }
    footer .container {
        padding: 0 12px;
    }
}


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.active {
    color: #000 !important;
}
.header__menu a:hover {
    color: #000 !important;
}
.header__menu a {
    position: relative;
    padding: 10px 15px;
    display: inline-block;
    text-decoration: none;
    color: #444;
    font-weight: bold;
    font-size: 16px !important;
}
.header__menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #000;
    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 {
    display: flex;
    overflow: hidden;
}
.header__phone a {
    font-weight: bold;
    font-size: 20px;
    background: none !important;
    color: #444;
}
.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;
    }

    .header__menu a {

    }

    .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 a {
        color: #2a1916;
    }
    .header__menu {
        border-radius: 0;
    }

    .header__menu-icon {
        display: block;
        z-index: 10;
    }
    .header__menu-mobile.open {
        display: flex !important;
        left: 0;
    }
    .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: 7px;
    }
    .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;
    }
}

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