/* fonts */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

/* end fonts */

*{
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 1.25;
    color: #313131;
    padding-top: 78px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.body--grey{
    background: #F6F6F6;
}

a {
    color: inherit;
    text-decoration: none;
}

img{
    max-width: 100%;
    max-height: 100%;
}

.page{
    flex: 1 0 auto;
}

.btn{
    background: transparent;
    border: 0;
    box-shadow: unset;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.btn-red,
.btn-disabled,
.btn-white,
.btn-white--black{
    padding: 16px 36px;
    background: #E9291E;
    color: #fff;
    font-weight: 600;
    border: 1px solid #E9291E;
    font-size: 20px;
}

.btn-red:hover{
    background: #313131;
    border-color: #313131;
}

.btn-white{
    color: #D9190E;
    border-color: #D9190E;
    background: #fff;
}

.btn-white--black{
    border-color: #333333;
    color: #333333;
}

.btn-white:hover{
    color: #313131;
    border-color: #313131;
}

.btn-disabled{
    background: #313131;
    border-color: #313131;
    cursor: unset;
}

.container{
    margin: 0 auto;
    width: 1472px;
    max-width: 100%;
    padding: 0 16px;
}

.block-title{
    font-weight: 600;
    font-size: 30px;
    margin: 0 0 50px 0;
}


/* Попап */

.popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.popup__btns{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.popup--opened{
    display: block;
}

.popup__block{
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    padding: 50px;
    width: 716px;
    max-width: calc(100% - 32px);
    background: #fff;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
}

.popup__block--small{
    width: 440px;
}

.popup__close{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup__close:hover path{
    fill: #D9190E;
}

.popup__title{
    font-weight: 600;
    font-size: 30px;
    text-align: center;
}

.popup__title:not(:last-child){
    margin-bottom: 24px;
}

.popup__title--margin:not(:last-child){
    margin-bottom: 50px;
}

.popup__video iframe{
    border: 0;
    width: 100%;
}

/* Попап */

/* Хлебные крошки */

.breadcrumbs{
    padding: 40px 0;
}

.breadcrumbs__container{
    padding-left: 170px;
}

.breadcrumbs__list{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.breadcrumbs__icon{
    margin: 0 12px;
}

.breadcrumbs__link{
    color: rgba(41, 41, 41, .5);
}

.breadcrumbs__link:hover{
    color: #D9190E;
}

/* Хлебные крошки */

/* Шапка */

.header{
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    padding: 24px 0;
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.header__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

.header__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}


.logo{
    width: 117px;
}

.header__logo{
    position: relative;
    z-index: 3;
    align-self: flex-start;
}

.header__logo .logo__image{
    position: absolute;
    max-height: unset;
    left: 0;
    top: 0;
}

.top-menu__btn{
    padding-right: 40px;
    position: relative;
    font-weight: 600;
}

.top-menu__btn_icon{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
}

.top-menu__btn:hover{
    color: #D9190E;
}

.top-menu__btn:hover path{
    fill: #D9190E;
}

.top-menu--opened .top-menu__btn{
    color: #D9190E;
}

.top-menu--opened .top-menu__btn path{
    fill: #D9190E;
}

.top-menu--opened .top-menu__btn_icon{
    transform: rotate(180deg) translateY(50%);
}

.top-menu__block{
    display: none;
    position: absolute;
    z-index: 2;
    left: 0;
    width: 100%;
    top: 100%;
    padding: 50px 0;
    background: #fff;
    box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.15);
}

.top-menu__block_close{
    display: none;
    position: absolute;
    left: 93px;
    right: 0;
    top: 0;
    padding: 8px 16px;
}

.top-menu--opened .top-menu__block{
    display: block;
}

.top-menu__block::before{
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 8px;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.1), transparent);
}

.top-menu__container{
    width: 1232px;
}

.top-menu__tags-list{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 6px;
}

.top-menu__tags-list:not(:last-child){
    margin-bottom: 50px;
}

.tag{
    border-bottom: 2px solid transparent;
}

.tag:not(.tag--image){
    padding:  0 40px 25px 40px;
}

.tag--active,
.tag:hover{
    color: #D9190E;
    border-color: #D9190E;
}


.tag--image{
    width: 200px;
}

.tag__image{
    height: 100px;
    width: 100%;
}

.tag__image--big{
    height: 200px;
}

.tag__text{
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.top-menu__items-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 50px;
}

.menu__list{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.menu__item:hover,
.menu__item.active{
    color: #D9190E;
}

.menu__link--underline{
    text-decoration: underline;
}

.phone{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.phone:hover{
    text-decoration: underline;
}

.header__phone{
    color: #D9190E
}

.header__icon{
    flex-shrink: 0;
}

.header__phone path{
    fill: #D9190E
}


.geo{
    position: relative;
}

.geo__btn{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 600;
    color: #000;
}

.geo__btn:hover{
    color: #D9190E
}

.geo__btn:hover path{
    fill: #D9190E
}

.geo__icon{
    flex-shrink: 0;
}

.geo__title{
    text-decoration-line: underline;
}

.geo__popup{
    position: absolute;
    opacity: 0;
    top: calc(100% + 13px);
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    padding: 24px;
    background: #fff;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 1s;
    pointer-events: none;
    z-index: 3;
}

.geo__popup--opened{
    opacity: 1;
    pointer-events: all;
}

.geo__popup_text{
    font-size: 20px;
    font-weight: 600;
}

.geo__popup_btn{
    width: 100%;
}

.cart{
    width: 30px;
    height: 30px;
    position: relative;
}

.cart__link{
    /* position: relative; */
}


.cart__preview{
    position: absolute;
    top: 100%;
    right: 0;
    width: 730px;
    padding-top: 15px;
    display: none;
}


.cart:hover .cart__preview{
    display: block;
}

.cart__preview_content{
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    padding-top: 18px;
}

.cart__btns{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
}

.cart__btn{
    display: block;
    width: calc(50% - 25px);
    text-align: center;
}

.cart__table{
    padding: 18px 36px 18px 36px;
    max-height: 400px;
    overflow: auto;
}

.cart__icon{
    position: absolute;
    left: 0;
    bottom: 0;
}

.cart__count{
    position: absolute;
    top: 0;
    right: 0;
    line-height: 17px;
    text-align: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #D9190E;
    font-size: 10px;
    color: #fff;
}

.cart:hover path{
    fill: #D9190E;
}

.cart:hover .cart__count{
    background: #313131;
}

.header__burger{
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/burger.svg');
}

.header--opened .header__burger{
    background-image: url('../img/close.svg');
}

/* Шапка */


/* Футер */

.footer{
    background: #313131;
    color: #fff;
    padding: 50px 0;
    flex: 0 0 auto;
}

.footer__container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stoptech{
    width: 170px;
}

.footer-menu{
    align-self: flex-end;
}

.footer-menu .menu__list{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}


.socials{
    flex: 0 0 300px;
}

.socials__list{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px
}

.socials__item{
    width: 100%;
}

.socials__link{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.socials__item:hover{
    color: #D9190E;
}

.socials__item:hover path{
    fill: #D9190E;
}

.socials__icon{
    flex: 0 0 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Футер */

/* Главаня */

.index-page{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/content/index-bg.jpg") center bottom -100px no-repeat;
    background-size: cover;
    height: calc( 100vh - 78px);
    overflow: hidden;
}

.index-page__container{
    width: 1141px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 80px;
    transform: translateY(-14%);
}

.index-page__title{
    font-weight: 600;
    font-size: 48px;
    line-height: 1.14;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.search{
    width: 100%;
    background: #fff;
    padding: 20px 50px 20px 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px
}

.fake-list{
    position: relative;
    width: 250px;
}

.fake-list__btn{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 190px;
    height: 100%;
    padding-right: 35px;
    padding-left: 50px;
    font-weight: 600;
    position: relative;
    border-left: 2px solid #F6F6F6;
    cursor: pointer;
}

.fake-list--input .fake-list__btn{
    border: 1px solid #767676;
    padding: 16px 56px 16px 16px;
}

.fake-list__btn_text{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.fake-list__btn_icon{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
}

.fake-list--input .fake-list__btn_icon{
    right: 18px;
}

.fake-list--input .fake-list__btn_icon path{
    fill: #767676;
}


.fake-list--input .fake-list__btn_text{
    color: #767676;
    font-size: 14px;
    font-weight: 400;
}

.fake-list__list{
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    padding: 25px 0;
    background: #fff;
    width: 300px;
    list-style-type: none;
    margin: 0;
    max-height: 200px;
    overflow: auto;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.fake-list--input .fake-list__list{
    width: 100%;
    top: 100%;
    padding: 16px 0;
    max-height: 200px;
}

.fake-list__list::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
    width: 8px;               /* ширина scrollbar */
}

.fake-list__list::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track {
    background: #F6F6F6;        /* цвет дорожки */
}

.fake-list__list::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb{
    background-color: #767676;    /* цвет плашки */
    border-radius: 0;       /* закругления плашки */
}

.fake-list__item label{
    display: block;
    width: 100%;
    padding: 8px 50px;
    cursor: pointer;
}

.fake-list--input .fake-list__item{
    padding: 8px 16px;
}

.fake-list__item:hover{
    color: #D9190E;
}

.fake-list__item--empty{
    font-size: 12px;
    font-style: italic;
}

.fake-list--opened .fake-list__list{
    display: block;
}


.fake-list__btn:hover{
    color: #D9190E;
}

.fake-list__btn:hover path{
    fill: #D9190E;
}

.fake-list--opened .fake-list__btn{
    color: #D9190E;
}

.fake-list--opened .fake-list__btn path{
    fill: #D9190E;
}

.fake-list--opened .fake-list__btn_icon{
    transform: rotate(180deg) translateY(50%);
}

/* Главаня */

/* Каталог */

.catalog-page{
    padding: 40px 0 50px 0;
}

.catalog-page__error{
    width: 100%;
    text-align: center;
    font-size: 32px;
}

.catalog-page__container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.catalog-page__filter-btn{
    width: 100%;
    margin-bottom: 36px;
    display: none;
}

.catalog-list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 36px 27px;
}

.product{
    flex: 0 0 calc((100% / 4) - calc(27px / 4 * 3));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border: 1px solid transparent;
    background: #F6F6F6;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
}

.product:hover{
    border-color:#D9190E;
}


.product__image{
    padding: 25px;
    background-color: #fff;
    position: relative;
    height: 260px;
}

.product__image img{
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}

.product__info{
    padding: 36px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.product__title{
    display: block;
    width: 100%;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 24px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product__buy{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product__btn{
    padding: 16px 5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product__prices{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px
}

.price{
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.price--red{
    color: #D9190E;
}

.price--old{
    font-weight: 400;
    font-size: 14px;
    text-decoration-line: line-through;
}

.products__labels{
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    right: 24px;
    bottom: -16px;
}

.label{
    padding: 6px 24px;
    color: #fff;
    font-weight: 600;
}

.label--best{
    background: #313131;
}

.label--sale{
    background: #2CBBB2;
}

.label--new{
    background: #3A7DAD;
}


.pager{
    width: fit-content;
    margin: 50px 0 0 auto;
    background-color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.pager__item:not(.pager__item--arrow){
    padding: 0 12.5px;
    text-align: center;
    font-weight: 600;
}

.pager__item:hover{
    color: #D9190E;
}

.pager__item--arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.pager__item--arrow:hover path{
    fill: #D9190E;
}

.filter{
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    background: #fff;
    padding: 20px 24px 20px 0;
}

.catalog-page__filter{
    margin-bottom: 50px;
    align-self: flex-start;
}

.filter__list .fake-list__btn{
    padding: 16px 35px 16px 36px;
    min-width: 211px;
}

.filter__list:first-child .fake-list__btn{
    border-color: transparent;
}

.filter__list .fake-list__list{
    width: calc(100% + 24px);
}

/* Каталог */


/* Детальная страница */

.product__container{
    padding: 40px 0 80px 0;
}

.product-page__header{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    padding-bottom: 80px;
}

.product-page__images{
    flex: 0 0 710px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    height: 550px;
}

.product-page__info{
    flex-grow: 1;
}

.product-page__title{
    margin-bottom: 36px;
}

.product-page__code{
    font-weight: 600;
    font-size: 18px;
    color: #767676;
    margin-bottom: 60px;
}

.props-list{
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    align-items: flex-start;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
}

.props-list__item{
    flex: 0 0 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    position: relative;
    font-size: 14px;
}

.props-list__item--full{
    flex-basis: 100%;
}

.props-list__item::before{
    content: '';
    flex: 1 1 auto;
    order: 2;
    height: 12px;
    border-bottom: 1px dotted #313131;
    margin: 0 5px;
}

.props-list__title{
    order: 1;
}

.props-list__value{
    order: 3;
}

.props-list__title,
.props-list__value{
    max-width: 70%;
}

.props-list__title--bold{
    font-weight: 600;
    max-width: 50%;
}

.product-page__props{
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-page__props_block{
    flex: 0 0 calc(50% - 18px);
}

.product-page__stock{
    margin-bottom:80px;
}

.product-page__stock--available{
    color: #36A677;
}

.product-page__buy{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.product-page__prices{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-shrink: 0;
}

.product-page__sertificate{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    padding: 10px 28px;
    border: 1px solid #313131;
    gap: 16px;
    font-weight: 500;
    font-size: 14px;
}

.product-page__body{
    background: #F6F6F6;
    padding: 40px 0 0 0;
    position: relative;
}

.models-block{
    padding: 40px 0;
}

.models-block__list{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px 60px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.models-block__item{
    flex: 0 0 calc((100% / 5) - calc(60px / 5 * 4));
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    text-decoration-line: underline;
    color: #313131;
    padding-left: 40px;
    background: url('../img/check-green.svg') no-repeat center left;
}

.models-block__btn{
    display: none;
    margin-top: 26px;
    width: 100%;
    text-align: center;
}


.video-block{
    padding: 40px 0;
}

.video-block__container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.video-block__block{
    flex: 0 0 calc( 50% - 30px);
}

.video-block__block:first-child:last-child{
    flex: 0 0 100%;
}


.video-block__block ul{
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.video-block__block li{
    padding-left: 24px;
    position: relative;
}

.video-block__block li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #D9190E;
}

.video-block__block li:not(:last-child){
    margin-bottom: 16px;
}

.media{
    width: 100%;
    max-width: 100%;
    font-size: 24px;
    line-height: 1.25;
    text-align: left;
}

.media--video{
    background: transparent;
    border: 0;
    cursor: pointer;
}

.media__image{
    width: 100%;
    height: 405px;
    margin-bottom: 16px;
    position: relative;
}

.media__image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
}

.media__overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.media--video:hover{
    color: #AB1421;
}

.media--video:hover .media__overlay path{
    fill: #AB1421;
}

.product-page__advantages{
    margin-bottom: 40px;
}

.advantages-block{
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.525) 0%, rgba(0, 0, 0, 0.7) 100%), url('../img/product-advantages-bg.webp') no-repeat center;
    color: #FFFFFF;
    filter: grayscale(1);
}

.advantages-block__list{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 48px;
}

.advantages-block__item{
    flex: 0 0 calc((100% / 5) - calc(48px / 5 * 4));
    text-align: center;
}

.advantages-block__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 100%;
    margin-bottom: 24px;
}

.products-block{
    padding: 40px 0;
}

.sertificate-block{
    padding: 40px 0;
    background: url('../img/sertificate-bg.png') no-repeat center bottom;
    background-size: 100% auto;
}

.sertificate-block__container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px
}

.sertificate-block__info{
    flex-grow: 1;
}

.sertificate-block__text{
    margin-bottom: 50px;
    font-size: 28px;
    line-height: 1.3;
}

.sertificate-block__info p{
    margin: 0;
}

.sertificate-block__image{
    flex: 0 0 680px;
    max-width: 100%;
}

.sertificate-block__btn{
    display: block;
    width: fit-content;
}

.sertificate-block__btn:not(:last-child){
    margin-bottom: 20px;
}



.product-gallery{
    width: 550px;
    height: 550px;
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden
}

.product-gallery__list{
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.product-gallery__item{
    width: 100%;
    height: 550px;
    padding: 55px;
    flex-shrink: 0;
}


.product-gallery__item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.product-thumbs{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.product-thumbs__viewport{
    height: 492px;
    overflow-y: clip;
}

.product-thumbs__wrapper{
    padding: 12px 0;
    max-height: 164px;
}

.product-thumbs__item{
    width: 140px;
    height: 140px !important;
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    padding: 14px;
}

.product-thumbs__item.swiper-slide-thumb-active{
    box-shadow: 2px 2px 15px rgba(233, 41, 30, .15);;
}

.product-thumbs__item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbs__btn{
    width: 16px;
    height: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-thumbs__btn:hover path{
    fill: #AB1421;
}

.product-thumbs__btn--prev{
    top: 0;
}

.product-thumbs__btn--next{
    bottom: 0;
}

.product-thumbs__btn--disabled{
    display: none;
}

.product-page__anchors{
    display: none;
}

.anchors-block{
    width: 100%;
}

.anchors-block--fixed.anchors-block{
    position: fixed;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgb(0 0 0 / 15%);
    top: 62px;
    z-index: 3;
    padding-top: 40px;

}

.anchors-block--fixed .anchors-block__container{
    padding: 0 16px;
}

.anchors-block__list{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: auto;
    gap: 24px;
    width: 100%;
    position: relative;
}

.anchors-block__item{
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

 .anchors-block--fixed .anchors-block__item--active{
    color: #D9190E;
}

.anchors-block--fixed .anchors-block__item--active::after,
.anchors-block__list::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}


.anchors-block__item--active::after{
    background: #D9190E;
    z-index: 2;
}

.anchors-block__list::after{
    background: #F6F6F6;
}
/* Детальная страница */

/* Корзина */


.basket-page{
    padding: 40px 0 100px 0;
}

.basket-page__content{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
}

.basket-page__table{
    flex: 1 1 auto;
}

.basket-page__total{
    flex: 0 0 360px;
}

.total-block{
    border: 1px solid #D9190E;
    padding: 36px;
}

.total-block__section{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total-block__count{
    margin-bottom: 24px;
}


.total-block__count_title{
    font-weight: 600;
}

.total-block__text{
    color: #000;
    margin-bottom: 50px;
}

.total-block__price{
    margin-bottom: 24px;
}

.total-block__price_title{
    font-weight: 600;
    font-size: 28px;
}

.total-block__btn{
    display: block;
    width: 100%;
    text-align: center;
}

.product-table__row{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}


.product-table__row:not(:last-child){
    margin-bottom: 36px;
}

.cart__table .product-table__row:not(:last-child){
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 2px solid #F6F6F6;
}

.product-table__row--header{
    color: #767676;
    border-bottom: 2px solid #F6F6F6;
    padding: 24px 0;
}

.product-table__cell{
    flex: 0 0 120px;
}

.product-table__cell--small{
    flex: 0 0 60px;
}

.product-table__cell--medium{
    flex: 0 0 90px;
}

.product-table__cell--big{
    flex: 1 1 auto;
}

.product-table__cell--semibold{
    font-weight: 600;
}

.product-cell{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px
}

.product-cell__image{
    flex: 0 0 100px;
    height: 100px;
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    padding: 10px;
}

.product-cell__info_title{
    display: block;
    font-weight: 600;
}

.product-cell__info_title:not(:last-child){
    margin-bottom: 16px;
}

.count-block{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 120px;
    border: 1px solid #F6F6F6;
    padding: 14px 18px;
}

.count-block__input{
    display: block;
    flex-grow: 1;
    border: 0;
    background: transparent;
    text-align: center;
    width: 40px;
    
}

.count-block__input:focus{
    outline: unset;
}

.count-block__btn{
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-block{
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-block__btn{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-block__btn:hover path,
.count-block__btn:hover path{
    fill: #D9190E;
}

/* Корзина */

/* Оформление заказа */

.checkout-page{
    padding: 40px 0 100px 0;
}

.checkout-page__content{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 50px;
    position: relative;
}

.checkout-page__fields{
    flex: 1 1 auto;
}

.checkout-page__total {
    flex: 0 0 530px;
    position: relative;
}

.checkout-page__props{
    margin-bottom: 64px;
}

.checkout-page__total{
    padding: 50px 50px 36px 50px;
}


.fields-section{
    width: 100%;
    padding: 50px;
    background: #F6F6F6;
}

.fields-section__title{
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 36px 0;
}


.fields-section__fields{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 36px 50px;
}

.fields-section__fields--subsection{
    gap: 16px;
}

.fields-section__fields:not(:last-child){
    margin-bottom: 50px;
}

.field{
    flex: 0 0 100%;
}

.field--half{
    flex-basis: calc(50% - 25px);
}

.field__label,
.field__input{
    display: block;
    width: 100%;
}

.field__label:not(.custom-radio__label, .custom-checkbox__label){
    margin-bottom: 10px;
    font-weight: 600;
}

.field__input{
    padding: 16px;
    border: 1px solid #767676;
    font-size: 14px;
}

.field--error .field__input{
    border-color: #D9190E;
}

.field__input:hover{
    border-color: #313131;
}

.field__input:focus{
    outline: none;
    border-color: #6A8BDE;
}

.field__star{
    color: #E9291E;
}

.field__input--select{
    -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 48px;
}


.field__select{
    position: relative;
}

.field__arrow{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

.field--error .field__arrow path{
    fill: #D9190E;
}

.field__input--select:hover + .field__arrow path{
    fill: #313131;
}

.field__input--select:focus + .field__arrow path{
    fill: #6A8BDE;
}

.field__input--select:focus + .field__arrow{
    transform: translateY(-50%) rotate(180deg);
}

.field__error{
    display: none;
    margin-top: 10px;
    text-align: right;
    color: #D9190E;
    font-size: 14px;
}


.field--error .field__error{
    display: block;
}

.checkout-page__section:not(:last-child){
    margin-bottom: 50px;
}


.custom-radio{
    align-self: stretch;
}

.custom-radio__label{
    height: 100%;
    position: relative;
    border: 1px solid #767676;
    background: #FFFFFF;
    cursor: pointer;
}

.custom-radio__input,
.custom-checkbox__input,
.fake-list__input{
    position: absolute;
    opacity: 0;
    appearance: none;
    height: 1px;
    width: 1px;
}

.custom-radio__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px 18px 72px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    color: #767676;
    font-weight: 600;
}

.custom-radio__label::before{
    content: '';
    top: 24px;
    left: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid #767676;
    border-radius: 50%;
}

.custom-radio--only-title .custom-radio__label::before{
    top: 50%;
    transform: translateY(-50%);
}

.custom-radio__body{
    padding: 24px;
}

.custom-radio__text:not(:last-child){
    margin: 0 0 16px 0;
}

.custom-radio__text:last-child{
    margin: 0;
}

.custom-radio__text--semibold{
    font-weight: 600;
}

.custom-radio__input:checked + .custom-radio__label{
    border-color: #36A677;
}

.custom-radio__input:checked + .custom-radio__label path{
    fill: #36A677;
}

.custom-radio__input:checked + .custom-radio__label .custom-radio__header{
    color: #36A677;
}

.custom-radio__input:checked + .custom-radio__label::before{
    border-color: #36A677;
    background: radial-gradient( #36A677 6px, transparent 7px);
}

.custom-radio__input:focus + .custom-radio__label{
    border-color: #6A8BDE;
}

.custom-radio__input:focus + .custom-radio__label path{
    fill: #6A8BDE;
}

.custom-radio__input:focus + .custom-radio__label .custom-radio__header{
    color: #6A8BDE;
}

.custom-radio__input:focus + .custom-radio__label::before{
    border-color: #6A8BDE;
    background: radial-gradient( #6A8BDE 6px, transparent 7px);
}

.field__input--textarea{
    padding: 24px;
    min-height: 111px;
    resize: vertical;
}

.custom-checkbox__label{
    position: relative;
    padding-left: 30px;
    font-size: 14px;
}


.custom-checkbox__label::before{
    width: 16.8px;
    height: 16.8px;
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    border: 1px solid #767676;
    border-radius: 5px;
}

.custom-checkbox__input:checked + .custom-checkbox__label::before{
    border-color: #36A677;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../img/custom-check-green.svg');
}

.custom-checkbox__label:hover::before{
    border-color: #313131;
}

.custom-checkbox__input:checked + .custom-checkbox__label:hover::before{
    background-image: url('../img/custom-check-black.svg');
}

.custom-checkbox__input:checked + .custom-checkbox__label::before{
    border-color: #36A677;
    background-image: url('../img/custom-check-green.svg');
}

.field--error .custom-checkbox__label::before{
    border-color: #D9190E;
}

.field--error .custom-checkbox__input:checked + .custom-checkbox__label:hover::before{
    border-color: #D9190E;
    background-image: url('../img/custom-check-red.svg');
}

.custom-checkbox__input:focus + .custom-checkbox__label::before{
    border-color: #6A8BDE;
    
}

.custom-checkbox__input:checked:focus + .custom-checkbox__label::before{
    background-image: url('../img/custom-check-blue.svg');
}

.field--address-part{
    flex-basis: calc(20% - 16px / 5 * 4);
}

.field--address{
    flex-basis: calc(60% - 8px);
}

.fields-section__translate{
    flex: 0 0 100%;
    height: 1px;
}

.thanks-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thanks-section__title{
    font-size: 48px;
    margin: 0 0 36px 0;
    text-align: center;
}


.thanks-section__text{
    margin-bottom: 50px;
    text-align: center;
}

.thanks-section__text P{
    margin: 0 0 10px 0;
}

.thanks-section__text P:last-child{
    margin-bottom: 0;
}

.thanks-section__text--green{
    font-weight: 600;
    color: #36A677;
}

/* Оформление заказа */

/* Страница 404 */


.error-page{
    padding: 100px 0;
    background: url('../img/404-bg.png') bottom center no-repeat;
    background-size: cover;
}

.error-page__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page__image{
    width: 840px;
    margin-bottom: 50px;
}

.error-page__title{
    margin-bottom: 24px;
}

.error-page__text{
    margin-bottom: 24px;
}

/* Страница 404 */

/* Контакты */

.contacts-page{
    padding: 40px 0 100px 0;
    background: url('../img/404-bg.png') top center no-repeat;
    background-size: cover;
}

.contacts-page__content{
    position: relative;
    padding: 30px 0;
}


.contacts-page__info{
    background: #FFFFFF;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    width: 50%;
    padding: 50px;
    font-size: 28px;
    color: #767676;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.contacts-page__info .socials__link{
    align-items: flex-start;
}

.contacts-page__info .socials__icon{
    margin-top: 6px;
}

.contacts-page__map{
    position: absolute;
    right: 0;
    left: calc(50% - 70px);
    top: 0;
    bottom: 0;
    margin: 0 -16px;
}

/* Контакты */

/*Страница оплата*/

.payment-text{
    margin-bottom: 60px;
    line-height: 1.5;
}

.payment-text td{
    width: 33%;
}

.payment-text img{
    max-width: 300px;
}

.ad_tb{
    max-width: 100%;
    overflow: auto;
}

/*Страница оплата*/