.catalog_viewed_header {
    margin: 30px auto 10px auto;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
}

@media (max-width: 575.98px) {
    div[id^="CatalogElementBasket_"].popup-window .popup-window-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    div[id^="CatalogElementBasket_"].popup-window .popup-window-buttons .btn.btn-primary.btn-buy.btn-sm {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0 !important;
        white-space: normal;
        text-align: center;
    }
}


/* ref code */

#product_reference .main-popup__body {
    max-width: 560px;
}

#product_reference .reference-form-custom {
    display: block;
}

#product_reference .reference-form-custom .form-group {
    margin-bottom: 18px;
}

#product_reference .reference-form-custom .form-control {
    width: 100%;
    min-height: 54px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #f7f7f7;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    padding: 16px 18px;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#product_reference .reference-form-custom .form-control:focus {
    border-color: #70b27c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(112, 178, 124, .16);
    outline: none;
}

#product_reference .reference-form-custom textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

#product_reference .reference-form-custom .grade-revievs {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 16px 18px;
}

#product_reference .reference-form-custom .grade-revievs__text {
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

#product_reference .reference-form-custom .grade-revievs__icons {
    display: flex;
    gap: 8px;
}

#product_reference .reference-form-custom .grade-revievs__icon {
    cursor: pointer;
    display: flex;
    height: 32px;
    width: 32px;
}

#product_reference .reference-form-custom .grade-revievs__icon input {
    display: none;
}

#product_reference .reference-form-custom .grade-revievs__icon svg {
    color: #d8d8d8;
    fill: currentColor;
    height: 100%;
    stroke: currentColor;
    transition: color .18s ease, transform .18s ease;
    width: 100%;
}

#product_reference .reference-form-custom .grade-revievs__icon:hover svg,
#product_reference .reference-form-custom .grade-revievs__icon svg.active {
    color: #ffd21f;
}

#product_reference .reference-form-custom .grade-revievs__icon:focus-visible svg {
    outline: 2px solid #70b27c;
    outline-offset: 3px;
}

#product_reference .reference-form-custom .grade-revievs__icon:hover svg {
    transform: scale(1.08);
}

#product_reference .reference-form-custom .form-error {
    color: #d93025;
    font-size: 13px;
    margin-top: 8px;
}

#product_reference .reference-form-custom .main-form__btn .btn {
    background: #70b27c;
    border-color: #70b27c;
    color: #fff;
}

#product_reference .reference-form-custom .main-form__btn .btn:hover {
    background: #5c9e68;
    border-color: #5c9e68;
}

@media (max-width: 575.98px) {
    #product_reference .reference-form-custom .grade-revievs {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    #product_reference .reference-form-custom .grade-revievs__icon {
        height: 30px;
        width: 30px;
    }
}

@-webkit-keyframes swing {
    15% {
        -webkit-transform: translateX(9px);
        transform: translateX(9px);
    }
    30% {
        -webkit-transform: translateX(-9px);
        transform: translateX(-9px);
    }
    40% {
        -webkit-transform: translateX(6px);
        transform: translateX(6px);
    }
    50% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    65% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes swing {
    15% {
        -webkit-transform: translateX(9px);
        transform: translateX(9px);
    }
    30% {
        -webkit-transform: translateX(-9px);
        transform: translateX(-9px);
    }
    40% {
        -webkit-transform: translateX(6px);
        transform: translateX(6px);
    }
    50% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    65% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes moving {
    30% {
        webkit-transform: skewX(-45deg) translateX(33.5em);
        transform: skewX(-45deg) translateX(33.5em);
    }
    100% {
        webkit-transform: skewX(-45deg) translateX(33.5em);
        transform: skewX(-45deg) translateX(33.5em);
    }
}

@keyframes moving-rate {
    0% {
        transform: skewX(-45deg) translateX(0);
    }
    2% {
        transform: skewX(-45deg) translateX(33.5em);
    }
    100% {
        transform: skewX(-45deg) translateX(33.5em);
    }
}

.widget-gift {
    display: flex;
    bottom: 40px;
    cursor: pointer;
    height: 104px;
    left: 40px;
    position: fixed;
    width: 120px;
    z-index: 99999999;
    /*background-image: url("/local/templates/retail/images/widgetGift/s-widget-1.png");*/
    background-size: cover;
    overflow: hidden;
    background-repeat: no-repeat;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    animation: swing 2.5s ease-in-out infinite both;
}

.widget-gift:after {
    content: "";
    background-color: #fff;
    height: 100%;
    width: 15px;
    display: block;
    position: absolute;
    top: 0;
    left: -20px;
    -webkit-transform: skewX(-45deg) translateX(0);
    transform: skewX(-45deg) translateX(0);
    transition: none;
    webkit-animation: moving-rate 30s ease-in-out infinite;
    -webkit-animation: moving-rate 30s ease-in-out infinite;
    /*animation: moving 5s ease-in-out infinite;*/
    animation: moving-rate 30s ease-in-out infinite;
}

.widget-gift__title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'GothamPro', 'Helvetica', arial, sans-serif;
    font-size: 12px;
    color: #fff;
    background: #6050dc;
    border-radius: 90px;
    text-align: center;
    width: 120px;
    height: 26px;
}

.widget-gift__img {
    margin: 0 auto -26px auto;
}

.widget-sale {
    display: none;
}

@media (max-width: 768px) {
    .widget-gift {
        bottom: 20px
    }
}

@keyframes swing {
    0% {
        transform: translateX(0);
    }
    5% {
        transform: translateX(9px);
    }
    10% {
        transform: translateX(-9px);
    }
    15% {
        transform: translateX(6px);
    }
    20% {
        transform: translateX(-6px);
    }
    25% {
        transform: translateX(3px);
    }
    30% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

.widget-gift {
    animation: swing 12.5s ease-in-out infinite;
}

.scroll-top {
    display: none;
    width: 60px;
    height: 60px;
    position: fixed;
    border: none;
    outline: 0;
    cursor: pointer;
    z-index: 1001;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    bottom: 150px;
    right: 40px;
    /*opacity: .9;*/
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 30px;
        right: 11px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .scroll-top svg {
        width: 40px;
        height: 40px;
    }
}

.scroll-top:hover {
    opacity: 1;
    -webkit-transform: translateY(-3px) translateZ(0);
    transform: translateY(-3px) translateZ(0)
}

span.woodmart-social-icon-name {
    display: none;
}

div.woodmart-social-icons {
    margin-bottom: 20px;
}

div.woodmart-social-icons a {
    margin-right: 5px;
    display: inline-block;
    width: 30px;
    height: 30px;
}

div#blog_wheel.carousel_type .bw_content {
    background: #fff;
}

.widget-gift__img {
    opacity: 0;
}

.widget-gift.js-carousel-trigger {
    background: url('/local/templates/retail/img/box-bg-pc2.webp') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.widget-gift__title {
    background: #55842E !important;
}

.widget-gift-close {
    position: absolute;
    top: -2px;
    right: 0px;
    width: 20px;
    height: 20px;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.widget-gift-close svg {
    width: 10px;
    height: auto;
    margin-top: -5px;
}

@media (max-width: 768px) {
    .widget-gift-close {
        display: flex !important;
    }
}

.widget-gift.js-carousel-trigger {
    justify-content: flex-end;
}

.offer-block__btn-icon--mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .offer-block__bg-2 picture {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        width: 100%;
        height: 100%;
    }
    .offer-block__bg-2 picture img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .offer-block__btn-icon--desktop {
        display: none;
    }
    .offer-block__btn-icon--mobile {
        display: flex;
    }
    .offer-block__btn-icon--mobile img {
        filter: none;
        -webkit-filter: none;
    }
}

div.form_message {
    display: none;
    color: red;
    font-weight: bold;
    margin-bottom: 7px;
}

.form_error {
    background-color: rgb(245, 138, 9);
}

@media (max-width: 992px) {
    div[id^='sgTopbar'].HARD_TOP {
        top: 0px !important;
    }
    header.header {
        position: relative;
        z-index: 100;
    }
}


/* fix. */

.course-author__img img {
    object-fit: contain;
    object-position: center bottom;
}

.course-author__bg img {
    object-fit: contain;
    object-position: center bottom;
}

.subscription-form__img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.offer-block__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.reviews-slider-images__wrapper.swiper-wrapper .reviews-slider-images__slide {
    width: auto;
}

@media screen and (min-width: 768px) {
    .scroll-top {
        bottom: 30px;
        right: 20px;
    }
}

@media screen and (min-width: 992px) {
    .search-block__input {
        height: 40px;
        padding-left: 70px;
        padding-right: 20px;
        border-radius: 8px;
        width: 302px;
        padding-left: 50px;
        max-width: 100%;
    }
    .search-block__btn {
        right: unset;
        left: 5px;
    }
    .search-block__box.js-search-block__body {
        width: fit-content;
    }
    .header-top__center {
        width: fit-content;
        flex: unset;
    }
    .header-top__row {
        justify-content: space-between;
        margin: 0px;
    }
    .header-top__left {
        padding: 0px;
        width: 154px;
    }
    .header-top__left .logo {
        width: fit-content;
        max-width: 100%;
    }
    .header-top__right {
        padding: 0px;
    }
    .contacts-header {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .contacts-header .socials-block__item {
        height: 29px;
        width: 42px;
        border-radius: 5px;
    }
    .contacts-header .socials-block {
        padding: 0px;
        margin-left: 50px;
    }
    .header-top__col {
        flex: unset;
        padding: 0px;
    }
    .header-top__center {
        padding: 0px;
    }
    .actions-block__item {
        width: 50px;
        height: 50px;
        border-radius: 5px;
        justify-content: center;
        gap: 5px;
    }
    .actions-block__icon {
        width: 20px;
        height: 20px;
        max-width: 20px;
        min-width: 20px;
    }
    .actions-block__icon svg {
        width: unset;
        max-width: 100%;
        height: auto;
        max-height: 100%;
    }
    .bx-basket.bx-opener {
        height: 50px;
        width: 50px;
        max-width: 50px;
    }
    .header-bottom__right .btn {
        height: 42px;
        width: 313px;
        max-width: 100%;
        background: #81bc3d;
        border-radius: 8px;
        text-transform: none;
        font-weight: 500;
    }
    .menu__link {
        height: 42px;
        padding: 10px 25px;
        width: fit-content;
    }
    .menu__item {
        flex: unset;
    }
    ul.menu__list {
        column-gap: 20px;
        justify-content: flex-start;
        width: fit-content;
    }
    .catalog-btn {
        width: 183ppx;
        height: 42px;
    }
    .header-top {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .socials-block__item-vk {
        background: #0077FF;
    }
    a.socials-block__item.socials-block__item-max {
        background: #6FAD72;
    }
    .bx-basket .actions-block__icon svg {
        display: none;
    }
    .bx-basket .actions-block__icon {
        background: url('/include/header/cart.svg');
        background-size: contain;
        background-position: center;
    }
    .actions-block__icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    a.actions-block__item.fav .actions-block__icon {
        width: 17px;
        min-width: 17px;
    }
    a.actions-block__item.fav .actions-block__icon svg {
        height: 17px;
    }
    header.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 100;
    }
    body.scrolled .socials-block {
        display: none;
    }
    body.scrolled .header-bottom__center {
        display: none;
    }
    body.scrolled .contacts-header__email {
        display: none;
    }
    body.scrolled a.contacts-header__phone-text {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 0px;
        opacity: 0;
        top: 0;
        left: 0;
        z-index: 2;
    }
    body.scrolled .contacts-header__phone {
        width: 24px;
        height: 24px;
        overflow: hidden;
    }
    body.scrolled .contacts-header__phone-icon {
        width: 24px;
        height: 24px;
    }
    body.scrolled .contacts-header__phone-icon svg {
        width: 24px;
        height: 24px;
    }
    a.contacts-header__phone-text {
        transition: none;
    }
    .scrolled .header-bottom {
        padding: 0px;
    }
    div#js_block_2 a.btn.btn-green {
        width: 260px;
        height: 42px;
        text-transform: none;
        background: #81bc3d;
        border-radius: 8px;
        padding: 12px;
        font-size: 14px;
        gap: 0px;
        justify-content: space-between;
    }
    div#js_block_1 a.catalog-btn.js-menu-catalog__btn {
        width: 169px;
        height: 42px;
        padding-left: 22px;
        padding-right: 22px;
        gap: 5px;
    }
    div#js_block_1 a.catalog-btn.js-menu-catalog__btn .catalog-btn__icon.js-menu-catalog__icon {
        width: 16px;
        height: 16px;
    }
    div#js_block_1,
    div#js_block_2 {
        display: none;
    }
    .scrolled div#js_block_1,
    .scrolled div#js_block_2 {
        display: flex;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .header-bottom__right .btn {
        width: 200px;
    }
    div#js_block_2 a.btn.btn-green {
        width: fit-content;
        white-space: nowrap;
        gap: 10px;
    }
    div#js_block_2 a.btn.btn-green span span {
        display: none;
    }
    .menu__link {
        padding: 10px 20px;
    }
    .contacts-header .socials-block {
        margin-left: 20px;
    }
    .search-block__input {
        width: 200px;
        font-size: 14px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1098px) {
    .contacts-header .socials-block__item {
        width: 30px;
    }
    .menu__link {
        padding: 10px 15px;
    }
    ul.menu__list {
        column-gap: 16px;
    }
}

@media screen and (max-width: 991.98px) {
    .logo img {
        opacity: 0;
    }
    .logo {
        background: url('/local/templates/syrover/assets/img/logo.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        height: 67px;
    }
    div#js_block_1,
    div#js_block_2 {
        display: none;
    }
}

@media (min-width: 992px) {
    .main {
        margin-top: 170px;
    }
    .actions-block__text {
        white-space: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .main {
        margin-top: 148px;
    }
}

@media (max-width: 768px) {
    .teaching_new .teaching_bottom .swiper_teaching-arrows {
        top: unset;
        bottom: 0;
        left: 50%;
        right: unset;
        transform: translateX(-50%);
    }
    .teaching_new .swiper-pagination {
        margin-bottom: 20px;
    }
    .teaching_new .teaching_bottom .swiper-button-prev:after,
    .teaching_new .teaching_bottom .swiper-button-next:after {
        display: none;
    }
}