html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Arvo';
    font-display: auto;
    src: local('Arvo'), url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
}

@font-face {
    font-family: 'Verdana';
    font-display: swap;
    src: local('Verdana');
}


body {
    font-variant-numeric: lining-nums proportional-nums;
    font-family: 'Raleway', 'Verdana', sans-serif;
    background-color: var(--gray-350-50);
    color: var(--gray-800);
    line-height: normal;
    font-style: normal;
    overflow-x: hidden;
    font-weight: 400;
    font-size: var(--fz-14);

}

body::-webkit-scrollbar {
    width: 0 !important;
}


#element::-webkit-scrollbar {
    width: 10px;
}

#element::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
    background-color: #f9f9fd;
}

#element::-webkit-scrollbar-thumb {
    background-color: #f2bf93;
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, .25) 50%,
    rgba(255, 255, 255, .25) 75%,
    transparent 75%,
    transparent);
}

:root {
    --fz-8: 0.5rem;
    --fz-10: 0.625rem;
    --fz-12: 0.75rem;
    --fz-14: 0.875rem;
    --fz-16: 1rem;
    --fz-18: 1.125rem;
    --fz-20: 1.25rem;
    --fz-24: 1.5rem;
    --fz-28: 1.75rem;
    --fz-32: 2rem;
    --fz-36: 2.25rem;
    --fz-42: 2.625rem;

    --radius-xs: 4px;
    --radius-x: 8px;
    --radius-m: 12px;
    --radius-l: 16px;
    --radius-xl: 24px;
    --radius-lg: 32px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

*::before,
*::after {
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
    padding-left: 0;
    margin: 0;

    li {
        margin: 0;
        padding: 0;
    }
}

button {
    border: none;
}

/**/
input {
    outline: none;
}

picture {
    height: 100%;
    width: 100%;
}

/* Border-radius */
.border-radius {
    .border-radius_40 {
        border-radius: 40px;

        @media (max-width: 768px) {
            border-radius: 20px;
        }
    }

    .border-radius_30 {
        border-radius: 30px;

        @media (max-width: 768px) {
            border-radius: 15px;
        }
    }

    .border-radius_20 {
        border-radius: 20px;

        @media (max-width: 768px) {
            border-radius: 10px;
        }
    }

    .border-radius_16 {
        border-radius: 16px;

        @media (max-width: 768px) {
            border-radius: 8px;
        }
    }
}

/* Margin */
.mt-20 {
    margin-top: 20px;

    @media (max-width: 576px) {
        margin-top: 15px;
    }
}

.mt-60 {
    margin-top: 60px;

    @media (max-width: 576px) {
        margin-top: 30px;
    }
}

.mb-60 {
    margin-bottom: 60px;

    @media (max-width: 576px) {
        margin-bottom: 30px;
    }
}

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

.pb-100 {

    @media (max-width: 902px) {
        padding-bottom: 100px;
    }
}

.mb-40 {
    margin-bottom: 40px;

    @media (max-width: 576px) {
        margin-bottom: 20px;
    }
}

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

/*Padding*/
.pt-20 {
    padding-top: 20px;
}

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

.pt-40 {
    padding-top: 40px;

    @media (max-width: 576px) {
        padding-top: 20px;
    }
}

.pb-40 {
    padding-bottom: 40px;
    @media (max-width: 576px) {
        padding-bottom: 20px;
    }

}

.pt-50 {
    padding-top: 50px;
    @media (max-width: 576px) {
        padding-top: 30px;
    }
}

.pb-50 {
    padding-bottom: 50px;
    @media (max-width: 576px) {
        padding-bottom: 30px;
    }
}

.pt-60 {
    padding-top: 60px;

    @media (max-width: 576px) {
        padding-top: 30px;
    }
}

.pb-60 {
    padding-bottom: 60px;

    @media (max-width: 576px) {
        padding-bottom: 30px;
    }
}

/* Container */
.main-container {
    width: 100%;
    margin: 0 auto;
    max-width: 1366px;
    padding-left: 0;
    padding-right: 0;

    @media (max-width: 1366px) {
        padding-left: 32px;
        padding-right: 32px;
    }

    @media (max-width: 902px) {
        padding-left: 16px;
        padding-right: 16px;
    }

}

/*margin-table*/
body .margin-table {
    @media (max-width: 768px) {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}


/*layout */
.layout {
    position: relative;
    z-index: 2;

    .layout__content {
        grid-template-columns: 330px 1fr;
        padding: 20px 0;
        display: grid;
        gap: 30px;

        @media (max-width: 768px) {
            grid-template-columns: 0 1fr;
        }
    }

    .layout-aside_left, .layout-aside_right {

        @media (max-width: 768px) {
            display: none;
        }
    }

    .sidebar-nav-wrap {
        height: 100%;
    }

    .sidebar-nav-wrapper {
        height: 100%;
        transition: .3s;
    }

    .sidebar-nav {
        display: none;
        flex-direction: column;
        gap: 30px;
        justify-content: space-between;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        position: sticky;
        top: 68px;

        ul {
            padding-left: 0;
        }
    }

    .sidebar-nav.active {
        display: flex;
    }
}

/* Typography */
.title-h1 {
    font-size: var(--fz-36); /* 36px */
    font-weight: 700;
    line-height: 2.5rem;
    display: inline-block;
    font-family: 'Raleway', sans-serif;

    @media (max-width: 768px) {
        font-size: var(--fz-28); /* 28px */
        line-height: normal;
    }
    @media (max-width: 576px) {
        font-size: var(--fz-20);
    }
}

.title-h2 {
    font-size: var(--fz-28);
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Raleway', sans-serif;

    @media (max-width: 768px) {
        font-weight: 600;
        font-size: var(--fz-24);
    }
    @media (max-width: 576px) {
        font-size: var(--fz-18);
    }

}

.title-h3 {
    font-size: var(--fz-24);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.375;

    @media (max-width: 768px) {
        font-size: var(--fz-18);
    }

    @media (max-width: 576px) {
        font-size: var(--fz-16);
    }
}

/*Увеличение при наведении*/
.scale {
    transition: 1s !important;

    &:hover {
        transform: scale(1.2) !important;
    }

}

/**/
.title-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-800);
    transition: color .3s;
    font-weight: 700;
    margin-left: auto;

    @media (max-width: 576px) {
        gap: 3px;
    }

    svg {
        width: 11px;
        height: 11px;
        fill: var(--red-700);
        stroke: var(--red-700);
        transition: .3s;
        margin-top: 5px;

        @media (max-width: 576px) {
            width: 8px;
            height: 8px;
            margin-top: 3px;
        }
    }


    &:hover {
        color: var(--red-600) !important;

        svg {
            fill: var(--red-600) !important;
            stroke: var(--red-600) !important;
        }
    }

}

/**/
.description {
    font-size: var(--fz-14);
    line-height: 1.5;
    color: var(--blue-350);
    font-weight: 500;

    @media (max-width: 576px) {
        font-size: var(--fz-12);
    }
}

.description_color_gray_350_50 {
    color: var(--gray-350-50);
}

/*background*/
.bg-color-white {
    background-color: var(--white);
}

.bg-color-gray {
    background-color: var(--gray-350-50);
}

.bg-color-red {
    background-color: var(--red-700);
}

/*Эффект при наведении на svg */
.svg-button {
    transition: background-color 0.3s;
}

.svg-path {
    transition: stroke-width 0.3s;
}

.svg-button:hover .svg-path {
    stroke: var(--red-600);
}

@keyframes draw {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.svg-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
}

.svg-button:hover .svg-path {
    animation: draw 500ms ease-in forwards;
}

/*btn-play*/
.btn-play {
    border: none;
    position: absolute;
    cursor: pointer;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: var(--white-70);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transition: all .2s ease-out;
    transform: translateY(-50%);

    &:before {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: var(--white);
        opacity: 0;
        content: '';
        animation: pulse 1s infinite;
        padding: 3px;
    }

    svg {
        fill: var(--gray-500);
        height: 26px;
        width: 19px;
        position: relative;
    }

    &.active:before {
        animation: blastOut 1s;
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: .4;
    }
    to {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes blastOut {
    from {
        transform: scale(0.9);
        opacity: .4;
    }
    to {
        transform: scale(10);
        opacity: 0;
    }
}

/*Swiper*/

.Swiper__col-5, .Swiper__col-4-row-2, .Swiper__col-4, .Swiper__col-3 {
    position: relative;
    overflow: hidden;

    .swiper__swiper-prev, .swiper__swiper-next {
        position: absolute;
        right: 10px;
        padding: 0;
        margin: 0;
        z-index: 2;
        bottom: 0;
        top: 50%;
        width: 45px;
        height: 45px;
        flex-shrink: 0;
        transform: translateY(-50%);

        @media (max-width: 768px) {
            display: none;
        }
    }

    .swiper__swiper-prev {
        svg {
            transform: rotate(180deg);
        }
    }

    .swiper__swiper-prev {
        left: 10px;
    }

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

/*Tabs-filter*/
.tabs-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;

    @media (max-width: 576px) {
        gap: 8px;
    }
}

.tabs-filter__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    height: 40px;
    border-radius: 8px;
    justify-content: center;
    white-space: nowrap;
    transition: background-color .3s;
    cursor: pointer;
    color: var(--gray-700);
    font-size: var(--fz-14);
    background-color: var(--gray-350-50);

    @media (max-width: 576px) {
        font-size: var(--fz-12);
        height: 30px;
        padding: 12px;
    }


    &:hover {
        background: linear-gradient(180deg, #FF2C4F, #E21B3C);
        color: var(--white);

        svg {
            fill: var(--white);
            stroke: var(--white);
        }
    }

}

/**/
/*wrapper_gap_60*/
.wrapper_gap_60 {
    display: flex;
    flex-direction: column;
    gap: 60px;

    @media (max-width: 576px) {
        gap: 30px;
    }
}

/**/
/*wrapper-wrap*/
.wrapper-wrap {
    padding: 40px 32px;
    border-radius: 16px;
    background-color: var(--white);

    @media (max-width: 768px) {
        padding: 32px 16px;
    }
}

body .color_white {
    color: var(--white);
    transition: .3s;
}

body .color_gray_850 {
    color: var(--gray-850);
    transition: .3s;

    svg {
        fill: var(--gray-850);
        stroke: var(--gray-850);
    }
}

.color_red_700 {
    color: var(--red-700);
    transition: .3s;
}

.bgc_red_700 {
    background-color: var(--red-700);
    transition: .3s;
}

.bg-fon-white {
    background-image: url("/bitrix/templates/shop.elastomeric/include/custom/images/fon.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;

    &::before,
    &::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 100px;
        z-index: 3;
        pointer-events: none;
        opacity: 1; /* делаем видимым градиент */
        transition: opacity 0.2s ease;
    }


    &::before {
        top: 0;
        /* Градиент сверху на всю ширину */
        background: linear-gradient(180deg, rgba(249, 249, 249) 0%, rgba(255, 255, 255, 0) 100%);

        @media (max-width: 576px) {
            top: -30px;
        }
    }

    &::after {
        bottom: 0;
        background: linear-gradient(0deg, rgb(249, 249, 249) 0%, rgba(243, 244, 246, 0) 100%);
    }
}

/*swiper*/
.swiper {
    .swiper-slide {
        height: auto;
    }
}

/**/
.gradient__wrap {
    background-color: var(--gray-850);
    position: relative;
    z-index: 0;

    &:before {
        content: "";
        position: absolute;
        background-image: url(/bitrix/templates/shop.elastomeric/include/custom/images/gradient.svg);
        background-repeat: no-repeat;
        background-size: cover;
        top: 0;
        height: 100%;
        left: 0;
        max-width: 663px;
        width: 100%;
        transform: rotate(180deg);
        z-index: 0
    }

    &:after {
        content: "";
        position: absolute;
        background-image: url(/bitrix/templates/shop.elastomeric/include/custom/images/gradient_2.svg);
        background-repeat: no-repeat;
        background-size: cover;
        bottom: 0;
        height: 490px;
        right: 0;
        max-width: 663px;
        width: 100%;
        z-index: 0;
    }
}

/**/
.wrapper-img_gradient_white {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: var(--gray-850);

    &:before, &:after {
        content: "";
        position: absolute;
        background-image: url(/bitrix/templates/shop.elastomeric/include/custom/images/wraper_gradient_white.png);
        background-repeat: no-repeat;
        bottom: 0;
        height: 300px;
        left: 0;
        max-width: 663px;
        width: 100%;
        z-index: 0;
        background-size: contain;
    }

    &:after {
        background-image: url(/bitrix/templates/shop.elastomeric/include/custom/images/wraper_gradient_white.png);
        top: 0;
        right: 0;
        left: unset;
        bottom: unset;
        transform: rotate(180deg);
    }
}

/**/

/*section__head*/
.section__head {
    display: flex;
    flex-direction: column;
    gap: 16px;

    .section__head-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-transform: uppercase;

        @media (max-width: 576px) {
            gap: 8px;
        }
    }

    .botton-header {

        @media (max-width: 576px) {
            font-size: var(--fz-12);
            padding: 8px 10px
        }


        svg {
            width: 20px;
            height: 20px;
            fill: var(--white);
            stroke: var(--white);

            @media (max-width: 576px) {
                width: 14px;
                height: 14px;
            }
        }
    }
}

/*Смотреть все*/
body .view-all {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border: 1px solid var(--red-600);
    box-shadow: 0 18px 40px rgba(255, 52, 92, 0.14);
    overflow: hidden;

    &:hover .button {
        transform: translateY(-2px);
        box-shadow: 0 14px 24px rgba(227, 24, 55, .38);
    }

    @media (max-width: 576px) {
        padding: 16px;
    }
}

.view-all__content {

    @media (max-width: 992px) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;

    }

    .button {
        font-size: var(--fz-12) !important;

        @media (max-width: 576px) {
            border-radius: 50%;
            width: 40px;
            height: 40px;

        }

        svg {
            width: 20px;
            height: 20px;
        }

        span {
            @media (max-width: 576px) {
                display: none;
            }
        }
    }

}

.view-all__title {
    margin-bottom: 10px;
    font-size: var(--fz-24);
    line-height: 1.15;
    font-weight: 700;
    color: var(--red-700);

    @media (max-width: 576px) {
        font-size: var(--fz-18);
    }
}

.view-all__text {
    margin-bottom: 20px;
    font-size: var(--fz-14);
    line-height: 1.4;
    color: var(--blue-350);

    @media (max-width: 576px) {
        font-size: var(--fz-12);
    }
}

.view-all__decor {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
    height: 220px;
    pointer-events: none;

    span {
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255, 77, 109, 0.16);
        border-radius: 52% 48% 57% 43% / 48% 56% 44% 52%;
        transform-origin: center;

        &:nth-child(1) {
            transform: rotate(0deg) scale(1);
        }

        &:nth-child(2) {
            transform: rotate(12deg) scale(0.92);
        }

        &:nth-child(3) {
            transform: rotate(24deg) scale(0.84);
        }

        &:nth-child(4) {
            transform: rotate(36deg) scale(0.76);
        }

        &:nth-child(5) {
            transform: rotate(48deg) scale(0.68);
        }
    }
}

.view-all__icon {
    position: absolute;
    right: 50px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--white);
    color: var(--red-700);
    box-shadow: 0 12px 24px rgba(239, 35, 72, 0.18);
    top: 50%;

    @media (max-width: 992px) {
        top: 75%;
    }
    @media (max-width: 576px) {
        display: none;
    }

    svg {
        width: 30px;
        height: 30px;
        stroke-width: 15;
        fill: var(--red-700);
        stroke: var(--red-700);
    }
}

/* Без JavaScript блоки остаются видимыми */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.4s ease,
        transform 0.4s ease;
    }

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}












