h2 {
    font-size: 25px;
    font-weight: 700;
}

.page__content {
    padding-top: 0 !important;
    font-size: 15px;
    color: #1F3153;
}

.mt-52 {
    margin-top: 52px;
}

.main-page__carousel .swiper-container {
    border-radius: 10px;
}

.main-page__carousel .swiper-slide {
    min-height: 320px;
    max-height: 320px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.slide__description a {
    text-decoration: none;
    color: #ffffff;
}

.slide__description a:hover {
    color: #ffffff;
}

.main_slider__control {
    display: flex;
    flex-flow: nowrap row;
    height: 0;
}

.slider-control__prev, .slider-control__next {
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex: 0 0 52px;
    justify-content: center;
    height: 52px;
    width: 52px;
}

.slider-control__prev {
    margin-left: 35px;
    margin-right: auto;
}

.slider-control__next {
    margin-left: auto;
    margin-right: 35px;
}

.slider-control__prev:hover, .slider-control__next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-control__prev:after {
    display: block;
    width: 17px;
    height: 16px;
    content: '';
    background: url("data:image/svg+xml,%0A%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.01189 0L9.39247 1.37853L3.73736 7.02523H17V8.97476H3.73736L9.39247 14.6215L8.01189 16L0 8L8.01189 0Z' fill='black'/%3E%3C/svg%3E%0A") no-repeat center center;
    flex: 0 0 auto;
}

.slider-control__next:after {
    display: block;
    width: 17px;
    height: 16px;
    content: '';
    background: url("data:image/svg+xml,%0A%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.98811 0L7.60753 1.37853L13.2626 7.02523H0V8.97476H13.2626L7.60753 14.6215L8.98811 16L17 8L8.98811 0Z' fill='black'/%3E%3C/svg%3E%0A") no-repeat center center;
    flex: 0 0 auto;
}

.slider-control__prev:focus {
    outline: none;
}

.slider-control__next:focus {
    outline: none;
}

.slider-control-wrap, .small-slider-control-wrap {
    position: absolute;
    z-index: 2;
    right: 0;
    top: calc(50% - 26px);
    left: 0;
    width: 100%;
    height: 0;
    margin: 0 auto;
}

.small-slider-control-wrap {
    top: calc(50% - 19px);
    height: 0;
    left: -18px;
    right: -18px;
    width: auto;
}

.small-slider-control__prev, .small-slider-control__next {
    align-items: center;
    background-color: #DEE2EC;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex: 0 0 38px;
    justify-content: center;
    height: 38px;
    width: 38px;
}

.small-slider-control__prev {
    margin-left: 0;
    margin-right: auto;
}

.small-slider-control__next {
    margin-left: auto;
    margin-right: 0;
}

.small-slider-control__prev:hover, .small-slider-control__next:hover {
    background-color: #D3D9E8;
}

.small-slider-control__prev:after {
    display: block;
    width: 14px;
    height: 14px;
    content: '';
    background: url("data:image/svg+xml,%0A%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.63058 0L9.53674e-07 7L6.63058 14L8.15005 12.5603L3.87465 8.04669H14V5.95331H3.87465L8.15005 1.43971L6.63058 0Z' fill='black'/%3E%3C/svg%3E%0A") no-repeat center center;
    flex: 0 0 auto;
}

.small-slider-control__next:after {
    display: block;
    width: 14px;
    height: 14px;
    content: '';
    background: url("data:image/svg+xml,%0A%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.36942 0L14 7L7.36942 14L5.84995 12.5603L10.1253 8.04669H0V5.95331H10.1253L5.84995 1.43971L7.36942 0Z' fill='black'/%3E%3C/svg%3E%0A") no-repeat center center;
    flex: 0 0 auto;
}

.main-page__carousel .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -24px;
}

.main-page__carousel .swiper-pagination-bullet {
    height: 4px;
    background: #BDC4D0;
    width: 23px;
    opacity: 1;
    border-radius: 0;
    margin: 0 4px;
}

.main-page__carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #8692A7;
    opacity: 1;
}

.main_slider__header, .main_slider__description {
    line-height: normal;
}

.main_slider__header {
    color: #000000;
    font-size: 40px;
    font-weight: 900;
}

.main_slider__description {
    color: #000000;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 56px;
    margin-top: 8px;
}

.main_slider__link-btn {
    background-color: #FF940B;
    border-radius: 2px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    padding: 12px 32px;
    text-decoration: none;
}

.main_slider__link-btn:hover {
    color: #ffffff;
}

.main_slider__content {
    margin-left: 150px;
    display: flex;
    flex-direction: column;
    height: 320px;
    justify-content: center;
}

.swiper-button-disabled {
    opacity: 0;
    cursor: default;
}

.tab-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.tab-wrapper .tab-item,
.tab-wrapper input {
    display: none;
}

.tab-wrapper .tab-item {
    background-color: #fff;
    padding-top: 28px;
    order: 1;
}

.main-page__ads-and-tabs .tab-wrapper .tab-item {
    max-width: 990px;
}

.tab-wrapper label.tab-label {
    align-items: center;
    background-color: #F4F6F9;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    float: left;
    justify-content: center;
    height: 48px;
    line-height: 24px;
    margin-top: 10px;
    margin-right: 20px;
    min-width: 50px;
    padding: 12px 22px;
    text-align: center;
    white-space: nowrap;
}

.tab-wrapper label.tab-label:last-of-type {
    margin-right: 0;
}

.tab-wrapper input:checked + label.tab-label {
    background-color: #2471FF;
    color: #FFFFFF;
    cursor: default;
}

.tab-wrapper input:checked + label.tab-label + .tab-item {
    display: block;
    /*display: flex;*/
    /*gap: 24px;*/
    /*width: 100%;*/
}

.d-block {
    display: block !important;
}

.main-page__pop-section {
    background-color: #F3F6FB;
    border-radius: 5px;
    width: 300px;
    height: 140px;
}

.main-page__pop-section-title {
    color: #1F3153;
    font-weight: 700;
    margin: 20px;
}

.main-page__pop-section:hover {
    background-color: #E9ECF3;
    cursor: pointer;
}

.d-inline-flex {
    display: inline-flex;
}

.mw-100 {
    max-width: 100%;
}

.mh-100 {
    max-height: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

.d-none {
    display: none;
}

.swiper-sm-only .swiper-wrapper {
    width: auto;
}

.main-page__ads-and-tabs {
    display: flex;
    gap: 28px;
}

.main-page__tabs {
    flex-grow: 1;
}

.main-page__ads {
    width: 240px;
    flex-direction: column;
    display: none;
}

.main-page__ads .ad__block {
    margin-top: 56px;
    width: 240px;
    height: 400px;
}

.main-page__product.swiper-slide {
    width: 230px;
    height: auto;
}

.mt-12 {
    margin-top: 12px;
}

.mb-12 {
    margin-bottom: 12px;
}

.ms-8 {
    margin-left: 8px;
}

.ms-12 {
    margin-left: 12px;
}

.me-12 {
    margin-right: 12px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mt-22 {
    margin-top: 22px;
}

.me-8 {
    margin-right: 8px;
}

.top-98 {
    top: 98px;
}

.top-130 {
    top: 130px;
}

.pb-18 {
    padding-bottom: 18px;
}

.gap-28 {
    gap: 28px;
}

.product-card-2022__sale-2 {
    padding: 2px 7px;
}

.main-page__product .product-card-2022__sale-2:hover > .item-description {
    display: block;
    bottom: -2px;
    left: -108px;
}

.main-page__product .old-price {
    color: #8692A7;
    font-size: 13px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 5px;
}

.main-page__product .old-price del {
    text-decoration: line-through;
    text-decoration-color: #FE531E;
}

.main-page__product .discount {
    background: #FF940B;
    border-radius: 4px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    line-height: 13px;
    margin-left: 8px;
    padding: 4px 8px;
}

.main-page__image-wrapper {
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    background-color: #F3F6FB;
    text-align: center;
    height: 230px;
    width: 100%;
    display: flex;
}

.main-page__image-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.main-page__product-title {
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #1F3153;
}

.main-page__ads .banner {
    border-radius: 0;
}

.btn-icon-cart:before {
    display: inline-block;
    width: 19px;
    height: 18px;
    content: '';
    background: url("data:image/svg+xml,%0A%3Csvg width='17' height='16' viewBox='0 0 19 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3cpath d='M14.3991 13.5901C13.1831 13.5901 12.1805 14.5654 12.1805 15.795C12.1805 17.0035 13.1618 18 14.3991 18C15.615 18 16.6176 17.0247 16.6176 15.795C16.5962 14.5866 15.615 13.5901 14.3991 13.5901Z' fill='white'/%3e%3cpath d='M18.3028 3.07423C18.2602 3.07423 18.1962 3.05303 18.1322 3.05303H4.69304L4.47972 1.63252C4.35173 0.699653 3.54111 0 2.58117 0H0.85328C0.383976 0 0 0.381629 0 0.848064C0 1.3145 0.383976 1.69613 0.85328 1.69613H2.58117C2.68783 1.69613 2.77316 1.78093 2.79449 1.88694L4.11707 10.834C4.28773 11.9577 5.269 12.8058 6.42093 12.8058H15.295C16.4043 12.8058 17.3642 12.0213 17.5989 10.94L18.9855 4.04951C19.0708 3.60427 18.7722 3.15904 18.3028 3.07423Z' fill='white'/%3e%3cpath d='M8.96001 15.689C8.91735 14.5229 7.93608 13.5901 6.76283 13.5901C5.52557 13.6537 4.58697 14.6714 4.62963 15.8798C4.6723 17.0459 5.63223 17.9788 6.80549 17.9788H6.84815C8.06407 17.9152 9.02401 16.8975 8.96001 15.689Z' fill='white'/%3e%3C/svg%3E%0A") no-repeat center center;
    flex: 0 0 auto;
}

.main-page__article {
    background-color: #F3F6FB;
    border-radius: 5px;
    overflow: hidden;
    height: auto;
}

.main-page__article-img {
    height: 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-page__article-date, .main-page__article-title, .main-page__article-description {
    padding: 6px 18px;
    line-height: 19px;
}

.main-page__article-date {
    color: #96A2BC;
    font-weight: 500;
    margin-top: 8px;
}

.main-page__article-title {
    display: block;
    color: #1F3153;
    text-decoration: none;
    font-weight: 500;
}

.main-page__article-title:hover, .main-page__article-title:focus {
    color: #2471FF;
}

.main-page__article-description {
    font-weight: 400;
    margin-bottom: 12px;
}

.main-page__overlay-tab-link {
    display: block;
    position: absolute;
    right: 0;
    top: -42px;
    font-weight: 500;
    color: #2471FF;
    text-decoration: none;
}

.main-page__merchant-block {
    border: 1px solid #DEE2EC;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    padding: 4px 0 12px 0;
    height: auto;
}

.main-page__merchant-block:hover {
    border: 1px solid #A0C2FF;
}

.main-page__merchant-name {
    color: #1F3153;
    font-weight: 700;
    text-decoration: none;
    margin: 8px 18px;
    overflow: hidden;
    word-break: break-word;
}

.main-page__merchant-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 114px;
    margin: 8px 18px;
}

.main-page__merchant-logo img {
    max-height: 100%;
    max-width: 100%;
}

.main-page__merchant-products {
    color: #96A2BC;
    margin: auto 18px 8px 18px;
}

.main-page__idea-block {
    width: 404px;
    height: 303px;
    cursor: default;
}

.main-page__idea-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 100%;
}

.main_page__idea-point {
    cursor: pointer;
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: #BDC3D0;
    border: 5px solid #FFFFFF;
    border-radius: 50%;
}

.main_page__idea-point:hover, .main_page__idea-point.show {
    background-color: #FF940B;
}

.main_page__idea-point-hint {
    display: none;
    padding: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
}

.main_page__idea-point-balloon {
    cursor: default;
    width: 224px;
    padding: 14px 12px;
    background-color: #FFFFFF;
    border-radius: 5px;
}

.main_page__idea-point-balloon .product-card-2022__price-tn, .main_page__idea-point-balloon .product-card-2022__price-tn .product-card-measure {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    color: #54698D;
}

.main_page__idea-point.show + .main_page__idea-point-hint {
    display: block;
}

.main_page__idea-point-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    color: #1F3153;
}

.main_page__idea-point-balloon .card__list {
    background: #2471FF url('../img/item.svg') no-repeat center center;
    width: 33px;
    height: 33px;
    border-radius: 4px;
    margin-top: 3px;
    margin-right: 3px;
}

.main_page__idea-point-balloon .card__list:after {
    content: '';
}

.main_page__idea-point-balloon .card__list[data-role="fast-buy-btn"][data-in-cart="1"] {
    background: #ff940b url(../img/item.svg) no-repeat center center;
}

.main_page__idea-point-balloon .card__list[data-role="fast-buy-btn"][data-in-cart="1"]:hover {
    background: #e65c00 url(../img/item.svg) no-repeat center center !important;
}

.main-page__about {
    background-image: url(../img/main/bg_xxl.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 255px;
    display: flex;
    padding: 38px 46px;
}

.page__about-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    right: 248px;
}

.page__about-value, .page__about-img {
    font-size: 34px;
    font-weight: 900;
    line-height: 40px;
    color: #2471FF;
    margin-bottom: 24px;
}

.page__about-img {
    margin-top: -2px;
    margin-bottom: 16px;
}

.page__about-img img {
    height: 41px;
    max-height: 41px;
    max-width: 252px;
}

.page__about-values {
    margin-left: 80px;
}

.page__about-video-block {
    width: 242px;
    margin-right: 42px;
}

.page__about-play-btn {
    border: none;
    width: 160px;
    height: 160px;
    background: url("data:image/svg+xml,%0A%3Csvg width='48' height='59' viewBox='0 0 48 59' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M47.0399 28.7966C47.6665 29.1883 47.6665 30.101 47.0399 30.4926L2.32336 58.4405C1.65731 58.8567 0.793363 58.3779 0.793363 57.5925L0.793365 1.69683C0.793365 0.91139 1.65731 0.432545 2.32336 0.848825L47.0399 28.7966Z' fill='%232471FF'/%3E%3C/svg%3E%0A") no-repeat 57% center #FFFFFF;
    border-radius: 50%;
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.main_page__seo-block ul {
    margin-left: 32px;
}

.page__about-block {
    flex: 1 1 auto;
}

.flex-service {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flex-calculator {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.main-page__services {
    height: 400px;
    padding-bottom: 52px;
}

.main-page__service-spk {
    width: 294px;
}

.main-page__calculator {
    width: calc(50% - 147px);
}

.main-page__calculator-icon {
    text-align: right;
    margin-right: -24px;
}

.main-page__calculator-icon img {
    max-height: 100%;
    max-width: 100%;
}

.main-page__service-spk-block, .main-page__calculator-block {
    display: block;
    background: #F3F6FB;
    border-radius: 5px;
    padding: 18px 24px;
    color: #1F3153;
    text-decoration: none;
    overflow: hidden;
}

.main-page__service-spk-block:hover, .main-page__calculator-block:hover {
    color: #1F3153;
    background: #E9ECF3;
}

.main-page__service-spk-icon {
    width: 34px;
    height: 28px;
}

.main-page__service-spk-icon img {
    max-width: 100%;
    max-height: 100%;
}

.flex-calculator .main-page__calculator-block {
    width: calc(50% - 6px);
    flex: 0 1 calc(50% - 15px);
}

.flex-calculator .main-page__calculator-block:last-child {
    flex: 0 1 calc(100% - 18px);
}

.flex-calculator .main-page__calculator-block:last-child .main-page__calculator-icon {
    text-align: center;
    margin-right: 0;
}

.main-page__service-spk-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
}

.main-page__calculator-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    padding-right: 4px;
}

.flex-merchant-service {
    display: flex;
    flex-wrap: wrap;
}

.main-page__merchant-service-block {
    flex: 0 0 48%;
    border: 1px solid #DEE2EC;
    border-radius: 5px;
    background-color: #FFFFFF;
    padding: 18px 24px;
    height: 48%;
    max-width: 48%;
    text-decoration: none;
    color: #1F3153;
}

.main-page__merchant-service-block:hover {
    border: 1px solid #A0C2FF;
    text-decoration: none;
    color: #1F3153;
}

.main-page__merchant-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 15px;
    text-transform: uppercase;
    color: #96A2BC;
    max-height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.main-page__merchant-icon {
    width: 48px;
    height: 48px;
    margin-right: 12px;
}


.main-page__merchant-icon img {
    max-width: 100%;
    max-height: 100%;
}

.product-latest {
    font-weight: 700;
    background: linear-gradient(90deg, #FF3E3E 0%, #FF940B 100%);
    border-radius: 4px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 12px;
    z-index: 1;
    padding: 5px 8px;
}

.product-card-2022__remains {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px;
}

.product-card-2022__remains > span {
    display: inline-block !important;
    margin: 2px;
}

.main-page__merchant-banner {
    max-width: 100%;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

#homepage_about_video .popup__close {
    right: 12px;
    top: 12px;
}

@media (max-width: 767px) {
    .main-page__carousel .swiper-slide {
        min-height: 236px;
        max-height: 236px;
        background-position: 50% 50% !important;
        background-size: contain;
    }

    .main_slider__content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        height: 236px;
    }

    .main_slider__header {
        font-size: 28px;
        margin-top: 42px;
    }

    .main_slider__description {
        margin-top: 0;
        margin-bottom: 44px;
        font-size: 18px;
    }

    .main_slider__link {
        margin-top: 0;
        margin-bottom: 24px;
    }

    .main-page__pop-section {
        width: 228px;
    }

    .small-slider-control__prev {
        margin-left: 0;
        margin-right: auto;
    }

    .small-slider-control__next {
        margin-left: auto;
        margin-right: 0;
    }

    .main-page__ads-and-tabs {
        gap: 24px;
    }

    .banner-2.hidden-sm.hidden-xs {
        display: block !important;
    }

    .main-page__image-wrapper {
        min-height: 144px;
        max-height: 100%;
    }

    .main-page__image-wrapper img {
        height: 100%;
        width: 100%;
        max-height: 45vw;
        object-fit: contain;
    }

    .main-page__product .additional-price {
        order: -1;
    }

    .main-page__about {
        background-image: url(../img/main/bg_sm.png);
        height: 637px;
        background-size: 100% 637px;
        flex-wrap: wrap;
        padding: 24px 16px;
    }

    .page__about-block {
        flex: 1 1 100%;
        padding-bottom: 16px;
    }

    .page__about-value {
        margin-bottom: 2px;
    }

    .page__about-img {
        margin-bottom: 2px;
    }

    .d-sm-none {
        display: none;
    }

    .mb-sm-24 {
        margin-bottom: 24px !important;
    }

    .page__about-video-block {
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page__about-play-btn {
        width: 140px;
        height: 140px;
    }

    .page__about-label {
        right: 62%;
        bottom: 154px;
    }

    .main-page__services {
        flex-wrap: wrap;
    }

    .flex-service {
        flex-direction: row;
        gap: 0;
    }

    .main-page__services {
        height: auto;
        padding-bottom: 28px;
    }

    .main-page__service-spk {
        max-height: 114px;
        margin-bottom: 66px;
        width: 100%;
    }

    .main-page__service-spk-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .justify-content-center-sm-only {
        justify-content: center;
    }

    .main-page__calculator {
        width: 100%;
    }

    .flex-calculator {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .flex-calculator .main-page__calculator-block,
    .flex-calculator .main-page__calculator-block:last-child {
        flex: 0 0 100%;
        width: unset;
        max-height: 128px;
    }

    .flex-calculator .main-page__calculator-block:last-child .main-page__calculator-icon,
    .flex-calculator .main-page__calculator-block .main-page__calculator-icon {
        text-align: right;
        margin-right: -24px;
        max-height: 90px;
    }

    .mh-128-sm-only {
        max-height: 128px;
    }


    .mh-146-sm-only {
        max-height: 146px;
    }

    .main-page__calculator-icon img {
        max-height: 146%;
    }

    .main-page__merchant-service-block {
        flex: 0 0 100%;
        height: auto;
        max-width: 100%;
    }

    .flex-merchant-service {
        flex-wrap: nowrap;
    }

    .pb-0-sm-only {
        padding-bottom: 0 !important;
    }

    .main-page__idea-block {
        height: 210px;
    }

    .main-page__articles-tabs .tab-wrapper .tab-item, .main-page__ads-and-tabs .tab-wrapper .tab-item {
        padding-top: 46px;
    }

    .main-page__overlay-tab-link {
        top: -32px;
    }

    [data-role="fast-buy-btn"][data-in-cart="1"]:after {
        content: 'В корзине';
    }

    .main_page__idea-point-balloon [data-role="fast-buy-btn"][data-in-cart="1"]:after {
        content: '';
    }
}

@media (max-width: 1023px) {
    .main-page__merchant-services {
        flex: 0 1 100%;
    }

    .product-card-2022__remains {
        padding: 4px;
    }

    #homepage_about_video .popup__content {
        padding: 24px;
    }

    #homepage_about_video .popup__close {
        right: 8px;
        top: 8px;
    }
}

@media (max-width: 1279px) {
    .tab-wrapper input:checked + label.tab-label + .tab-item {
        gap: 12px;
    }

    .page__about-video-block {
        margin-right: 0;
        width: 160px;
    }

    .page__about-values {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .gap-12-md {
        gap: 12px;
    }

    .gap-20-md {
        gap: 20px;
    }

    .gap-12-md {
        gap: 12px;
    }

    .gap-24-md {
        gap: 24px;
    }

    .draggable-scroller-md {
        user-select: none;
        cursor: grab;
    }

    .overflow-x-md {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .overflow-x-md::-webkit-scrollbar {
        display: none;
    }

    .main-page__ads {
        display: flex;
    }

    .main-page__product-swiper {
        max-width: calc(100vw - 338px);
    }

    .main-page__service-spk-block {
        flex: 1 1 auto;
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .main-page__carousel .swiper-slide {
        min-height: 240px;
        max-height: 240px;
        background-position: 25% 0 !important;
    }

    .main_slider__content {
        margin-left: 100px;
        height: 240px;
    }

    .main_slider__header {
        margin-top: 28px;
        font-size: 32px;
    }

    .main_slider__description {
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 24px;
        font-size: 22px;
    }

    .main_slider__link {
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .main-page__pop-section {
        width: 292px;
    }

    .main-page__idea-block {
        width: 298px;
        height: 224px;
    }

    .slider-control__prev {
        margin-left: 18px;
        margin-right: auto;
    }

    .slider-control__next {
        margin-left: auto;
        margin-right: 18px;
    }

    .banner-2.hidden-sm.hidden-xs {
        display: block !important;
    }

    .page__about-block {
        flex: 1 1 50%;
    }

    .main-page__about {
        background-image: url(../img/main/bg_md.png);
        height: 353px;
        background-size: 100% 353px;
    }

    .page__about-label {
        margin-bottom: 36px;
        top: 76px;
        right: 192px;
    }

    .page__about-value {
        margin-bottom: 16px;
    }

    .page__about-img {
        margin-bottom: 8px;
    }

    .mx-md-n35 {
        margin-left: -35px;
        margin-right: -35px;
    }

    .ml-md-35 {
        margin-left: 35px;
    }

    .mt-md-56 {
        margin-top: 56px;
    }

    .px-md-35 {
        padding-left: 35px;
        padding-right: 35px;
    }

    .main-page__services {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 0;
    }

    .flex-md-100 {
        flex: 1 1 100%;
    }

    .main-page__service-spk, .main-page__calculator {
        max-height: 350px;
    }

    .main-page__merchant-service-block {
        flex: 0 0 32%;
        display: none;
        height: auto;
    }

    .flex-merchant-service {
        max-height: 160px;
    }

    .flex-merchant-service .main-page__merchant-service-block:nth-child(-n+3) {
        display: flex;
    }

    .main-page__merchant-banner {
        max-height: 100%;
        width: auto;
        max-width: 100%;
    }

    .main-page__ads-and-tabs .main-page__overlay-tab-link {
        right: -86px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .main-page__about {
        background-image: url(../img/main/bg_xl.png);
        height: 245px;
        background-size: 100% 245px;
    }

    .page__about-label {
        right: 208px;
    }

    .main-page__merchant-service-block {
        flex: 1 0 100%;
        max-width: 100%;
    }

    .main-page__idea-block {
        width: 298px;
        height: 224px;
    }
}

@media (max-width: 378px) {
    .tab-wrapper input:checked + label.tab-label {
        /*margin-bottom: 34px;*/
    }
}

@media (min-width: 1280px) and (max-width: 1350px) {
    .page__about-values {
        margin-left: 46px;
    }

    .main-page__idea-block {
        width: 388px;
        height: 291px;
    }
}

@media (min-width: 1351px) {
    .gap-24-xxl {
        gap: 24px;
    }
}
