/* 
 * The need to disable zooming of the Safari viewport.
 * The problem is that users can scale the image with their fingers even if the user-scalable=no value is set in the viewing area on the site.
*/
body {
    touch-action: pan-x pan-y;
}

/* CATALOG SECTION GRID PRODUCTS */
.catalog-section-stretch {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 1fr;
    gap: 20px;  
}

.catalog-section-stretch.BANNER_RIGHT {
    grid-template-rows: repeat(2,1fr);
    grid-template-areas:
        "item-1 item-2 item-5 item-5"
        "item-3 item-4 item-5 item-5";
}

.catalog-section-stretch.BANNER_LEFT .prod-item:nth-child(1),
.catalog-section-stretch.BANNER_RIGHT .prod-item:nth-child(1) {
    grid-area: item-1;
}

.catalog-section-stretch.BANNER_LEFT .prod-item:nth-child(2),
.catalog-section-stretch.BANNER_RIGHT .prod-item:nth-child(2) {
    grid-area: item-2;
}

.catalog-section-stretch.BANNER_LEFT .prod-item:nth-child(3),
.catalog-section-stretch.BANNER_RIGHT .prod-item:nth-child(3) {
    grid-area: item-3;
}

.catalog-section-stretch.BANNER_LEFT .prod-item:nth-child(4),
.catalog-section-stretch.BANNER_RIGHT .prod-item:nth-child(4) {
    grid-area: item-4;
}

.catalog-section-stretch.BANNER_LEFT .prod-item:nth-child(5),
.catalog-section-stretch.BANNER_RIGHT .prod-item:nth-child(5) {
    grid-area: item-5;
}

.catalog-section-stretch.BANNER_CENTER {
    grid-template-rows: 1fr;
    grid-template-areas: "item-1 item-2 item-2 item-3";
}

.catalog-section-stretch.BANNER_CENTER .prod-item:nth-child(1) { 
    grid-area: item-1;
    /* aspect-ratio: 0.73/1; */
}

.catalog-section-stretch.BANNER_CENTER .prod-item:nth-child(2) { 
    grid-area: item-2;
}

.catalog-section-stretch.BANNER_CENTER .prod-item:nth-child(3) { 
    grid-area: item-3;
    /* aspect-ratio: 0.73/1; */
}

/* .catalog-section-stretch.BANNER_CENTER .prod-item {
    aspect-ratio: 3/2;
} */

.catalog-section-stretch.BANNER_LEFT {
    grid-template-rows: repeat(2,1fr);
    grid-template-areas:
    "item-1 item-1 item-2 item-3"
    "item-1 item-1 item-4 item-5";
}

.catalog-section-stretch.ONLY_BANNERS{
    grid-template-columns: repeat(2,1fr);
}

.prod-item__add-to-cart-btn.without-offers .in-cart .svg,
.prod-item__add-to-cart-btn.without-offers .btn-price,
.prod-item__add-to-cart-btn.without-offers .svg,
.prod-item__add-to-cart-btn.without-offers svg {
    display: none;
}

.prod-item__add-to-cart-btn.without-offers span {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: normal;
}

.prod-item__add-to-cart-btn.without-offers .in-cart {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    border-color: #000000;
}

img.lazyloading {
    background: url("../images/loaders/preloader.svg") center center no-repeat !important;
}

.front_page .company-animation-top {
    transition: max-height .35s cubic-bezier(0, 0.35, 1, 0.65)
}

.company-animation-top.hide {
    display: block;
    max-height: 0;
}

.alert {
    margin: 0;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > .input-main {
    position: initial;
}

.top_slider_wrapp .box.wvideo.loading:not(.started):after,
.top_slider_wrapp .wrapper_video {
    background: #fff;
}

.top_slider_wrapp .box .video.cover {
    height: 1080px;
}

.drag-block.BANNERS {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* .catalog-section-stretch.BANNER_LEFT .prod-item.banner .image-wrapper {
    max-height: calc(100% - 70px);
} */

.catalog-section-stretch .prod-item.banner .image-wrapper {
    max-height: 100%;
}

.catalog-section-stretch.BANNER_RIGHT .prod-item.banner .image-wrapper.video {
    /* max-height: 87%; */
    width: 100%;
    height: 100%;
    position: relative;

}

.prod-item.banner .image-wrapper:not(.video) {
    position: relative;
    height: 100%;
}

.prod-item.banner .image-wrapper img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.prod-item.banner .image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.catalog-section-stretch.ONLY_BANNERS .prod-item.banner .image-wrapper video{
    position: relative;
}
.catalog-section-stretch.ONLY_BANNERS .prod-item.banner .image-wrapper img{
    position: relative;
}

.catalog-section-stretch .prod-item.banner .image-wrapper.video {
    height: 100%;
    position: relative;
}

.prod-item.banner a {
    height: 100%;
}

@media screen and (max-width: 768px) {
    .catalog-section-stretch.BANNER_RIGHT {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-template-areas:
            "item-1 item-2"
            "item-5 item-5"
            "item-5 item-5"
            "item-3 item-4";
    }

    .catalog-section-stretch.BANNER_LEFT {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-template-areas:
            "item-2 item-3"
            "item-1 item-1"
            "item-1 item-1"
            "item-4 item-5";
    }

    .catalog-section-stretch.BANNER_CENTER {
        /* grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr); */
        grid-template-areas:
            "item-1 item-3"
            "item-2 item-2";
    }

    .catalog-section-stretch.BANNER_CENTER .prod-item:nth-child(2) {
        aspect-ratio: unset;
    }

    .prod-item.banner .image-wrapper img {
        position: unset;
    }

    .catalog-section-stretch {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .detail .prod-view-main .prod-view-gallery {
        aspect-ratio: 1.4 / 1.7;
        flex: unset;
    }
    .detail .prod-view-gallery .swiper .swiper-slide {
        aspect-ratio: unset;
    }
    .catalog-section-stretch {
        display: flex;
        flex-flow: column;
    }

    .prod-item.banner .image-wrapper video {
        position: relative;
    }
}

.personal_wrapper .account-container input[type=submit]:last-of-type {
    color: #fff !important;
}

.bxblink.invisible {
    width: 1px;
    height: 1px;
    display: block;
    visibility: none;
}

.select.open .select__dropdown {
    z-index: 3500;
}

.gotobasket {
    display: block;
    width: 100%;
    height: 100%;
    align-content: center;
    text-align: center;
}

.section-gallery-wrapper__item video {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.image_wrapper_block video {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
    pointer-events: none;
    object-fit: cover;
}

.section-gallery-wrapper__item._active video {
    opacity: 1;
}

/* ----- DETAIL PAGE ----- */
.article .sku_mdash::before {
    content: ':';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12px;
    visibility: visible;
}

.article .sku_mdash {
    margin-right: 5px;
    position: relative;
    width: 5px;
    display: inline-block;
    visibility: hidden;
}

/* popup */

#popup-catalog {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transition: left 0.3s;
    color: #141728;
    display: none;
    opacity: 0;
}

#popup-catalog .popup__wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 356px;
    min-height: 100%;
    background-color: #FFFFFF;
    padding: 17px 20px 96px;
}

@media screen and (max-width: 900px) {
    #popup-catalog .popup__wrap {
        width: 100%;
        padding: 17px 20px 96px;
    }
}

.popup__menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup__menu .menu_dropdown .menu_dropdown-list {
    padding: 15px 15px 0 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    display: none;
}

.popup__menu .menu_dropdown.active .menu_dropdown-list {
    display: flex;
    margin-left: 15px;
    animation: smooth-lunge .18s ease-in;
}

.popup__menu .menu_dropdown .menu_dropdown-header {
    position: relative;
}

@keyframes smooth-lunge {
    from {
        opacity: 0;
        margin-left: -15px;
    }
    to {
        opacity: 1;
        margin-left: 15px;
    }
  }

.popup__menu .menu_dropdown .menu_dropdown-title {
    display: block;
    cursor: pointer;
}

.popup__menu .menu_dropdown .menu_dropdown-item {
    cursor: pointer;
}

.popup__menu a{
    text-transform: uppercase;
}

#popup-catalog .popup__top {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 40px;
}

#popup-catalog .popup__title {
    text-transform: uppercase;
    font-size: 18px;
}

#popup-catalog .popup__title > a {
    display: flex;
}

#popup-catalog .popup__close {
    border: 1px solid #000000;
    background-color: #000000;
    color: #FFFFFF;
    padding: 9px 23px;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
}

#popup-catalog button.popup__close::after,
#popup-catalog button.popup__close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: white;
}

#popup-catalog button.popup__close::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

#popup-catalog button.popup__close::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.no-scroll {
    overflow: hidden;
}

/* */
.like_icons .prod-item__like-btn.active svg {
    fill: #1d1d1b;
}

.breadcrumbs__link[href="/docs/"] {
    pointer-events: none;
}

/* .wrapper_inner .right_block {
    font-family: "HelveticaNeueCyr", "Helvetica Neue", sans-serif;
} */

.product-container .counter_wrapp .button_block svg.to-cart {
    display: block;
    min-width: 16px;
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    display: block;
    padding: 0;
}
.recommendation-item-image-wrapper {
    position: relative;
    z-index: 1;
}

.recommendation-gallery-wrapper img {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
    pointer-events: none;
    object-fit: cover;
}

.recommendation-gallery-wrapper {
    position: relative;
}

.recommendation-item-image-wrapper .product-item-image-wrapper,
.recommendation-gallery-wrapper > a.thumb {
    display: block;
    aspect-ratio: 0.73/1;
}

.recommendation-item-image-wrapper .product-item-image-original {
    background-size: cover;
    display: block;
    height: 100%;
    width: 100%;
}

.recommendations-section .prod-item .like_icons span {
    color: #1d1d1b;
    visibility: visible;
    opacity: 1;
}

/* subscribe */
.subscribe__input input[type="submit"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

@media only screen and (min-width: 1280px) {
    .subscribe__input button:hover {
        background-color: #f4f4f3;
    }
}

/* button buy */
.bx_catalog_item_scu .item_wrapper:last-child ul {
    padding: 0 4px 3px 0;
}
.buy_block .counter_wrapp .button_block {
    position: relative;
    min-height: 52px;
    min-width: 125px;
}
.item-view-inf-props .prod-view-inf-flex {
    flex-flow: row wrap;
}
.prod-view-inf-flex--bottom > div:first-child {
    flex: 1;
}
.prod-view-buy-btn {
    position: relative;
}

.buy_block .counter_wrapp .button_block {
    background: transparent;
    display: flex;
    align-items: center;
    width: 100%;
}

.buy_block .counter_wrapp .button_block .btn.not-available {
    width: 100%;
    justify-content: center;
    background-color: gray;
    cursor: default;
}

.buy_block .counter_wrapp .button_block .btn {
    flex-flow: row nowrap;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    min-height: 32px;
    /* font-family: HelveticaNeueCyr,Helvetica Neue,sans-serif; */
    font-size: 14px;
    color: #fff;
    background-color: #1d1d1b;
    transition: opacity .3s ease;
    display: flex;
    justify-content: center;
}

.product-container .counter_wrapp .button_block .in-cart i:not(.svg-inline-prediction) {
    position: relative;
    top: unset;
    margin: 0;
}

.product-container .counter_wrapp .button_block .in-cart span {
    padding: 0;
}

.counter_wrapp .prod-view-buy-btn>*:last-child {
    margin-left: initial;
}

.prod-view-buy-btn .buy-btn-price {
    margin-left: auto;
}

.product-container .counter_wrapp .prod-view-buy-btn.button_block svg.to-cart {
    min-width: 16px;
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    display: block;
    padding: 0;
}

/* swiper */
.swiper-pagination-bullet:before {
    content: unset;
}

.prod-view-gallery .swiper .swiper-button-next, 
.prod-view-gallery .swiper .swiper-button-prev {
    background: transparent;
}

.swiper .swiper-pagination-bullet-active {
    background: #1d1d1b;
}

/* search */
.middle .container .search-popup {
    margin-top: -1px;
}

/* detail page */
.product-info-headnote__article {
    /* font-family: "HelveticaNeueCyr", "Helvetica Neue", sans-serif; */
    font-size: 12px;
}

.product-info-headnote__article .article__title {
    
}

.prod-view-content {
    position: sticky;
    top: 60px;
}

/* .prod-view-gallery .swiper-wrapper {
    width: 690px;
} */

.char-side .properties__item.properties__item--compact {
    margin-top: 5px;
}

body .char-side .properties {
    /* font-family: "HelveticaNeueCyr", "Helvetica Neue", sans-serif; */
    font-size: 12px;
    line-height: 16px;
}

.sku_props .bx_item_section_name .sku_mdash {
    margin: 0 7px 0 3px;
    position: relative;
    width: 5px;
    display: inline-block;
    visibility: hidden;
}

.sku_props .bx_item_section_name .sku_mdash::before {
    content: ':';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12px;
    visibility: visible;
}

.product-detail-gallery__container .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 576px) {
    .product-detail-gallery__container .swiper-slide {
        height: auto;
    }
}

@media only screen and (min-width: 1445px) {
    .prod-view-gallery .product-detail-gallery__container .swiper-wrapper {
        display: flex;
        flex-flow: row wrap;
    }

    .product-detail-gallery__container .product-detail-gallery__slider--big .swiper-slide {
        flex-basis: calc(50% - 10px);
    }
}

/* header */
.header__index.hide {
    display: none;
}
.header__nav__container span.active {
    font-size: 20px;
    opacity: 1;
}
.header__company-link a {
    display: block;
}
.cart-dropdown__item__inf__name {
    text-transform: uppercase;
}
.cart-dropdown__footer .cart-dropdown__button {
    transition: all 0.3s;
}
.cart-dropdown__button:hover {
    background-color: #1D1D1BB2;
}
.header .header__nav span {
    pointer-events: all;
    cursor: pointer;
}
.header .header__nav span:hover {
    color: #333;
}
.header__company-link {
    transition: all .15s;
}
.header__company-link.hide {
    opacity: 0;
}
.header__controls .personal-link .wrap {
    display: none;
}
.personal-link .svg.inline.big svg {
    width: 18px;
    height: 20px;
}
.header__controls .personal-link {
    font-size: 0;
}

.company-animation-top .company-animation-top__wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 24px;
    padding: 20px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.header_catalog-burger {
    cursor: pointer;
    display: block;
}
@media (min-width: 577px) {
    .company-animation-top__wrapper .company-animation-top__img{
        max-width: 422px;
    }
}

@media (max-width: 576px) {
    .company-animation-top__wrapper img {
        display: none; 
    }

    .company-animation-top__wrapper img:first-child {
        display: block;
    }

    .header_catalog-burger {
        display: none;
    }
    .company-animation-top .company-animation-top__wrapper{
        padding: 30px 20px;
    }
}

/* footer */
.footer > div[itemscope] {
    margin-top: -40px;
}
/* subheader */
.header__nav__container a {
    text-wrap: nowrap;
    text-transform: uppercase;
}

.subheader__nav a {
    text-transform: uppercase;
}

/* dropdown */
.left_menu.dropdown {
    position: relative;
    background-color: transparent;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.subheader .dropdown,
[data-dropdown] {
    z-index: 100;
}

.bx_filter .bx_filter_parameters_box {
    padding: 20px;
}

.bx_filter_vertical .bx_filter_block {
    margin-top: 20px;
}

.bx_filter .bx_filter_parameters_box_title {
    /* font-family: "HelveticaNeueCyr", "Helvetica Neue", sans-serif; */
    font-size: 12px;
}

.bx_filter .bx_filter_parameters_box_container.pict_block {
    margin-top: 0;
}

.bx_filter_vertical input[type="checkbox"] + label, 
.filter input[type="checkbox"] + label {
    cursor: pointer;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    gap: 8px;
}

.bx_filter_input_checkbox svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.5) rotate(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bx_filter_vertical input[type="checkbox"] + label:after {
    content: unset;
}

.bx_filter .bx_filter_parameters_box_container {
    display: flex;
    flex-flow: column;
    gap: 12px;
}

.filter-dropdown__section__main__checkbox-input__dot {
    overflow: hidden;
}

.button:not(.button--primary, :disabled):hover {
    color: #fff;
}

.cart-dropdown__item__price .notes {
    margin-top: 0;
    margin-bottom: 0;
}

.filter-dropdown__header__close-btn {
    cursor: pointer;
}

.bx_filter .expand_block {
    display: unset;
    cursor: pointer;
}

/* Торговые предложения - SKU  */

.bx_filter_vertical.bx_filter .hidden_values {
    display: none;
    flex-flow: column;
    gap: 12px;
}

.prod-item__add-to-cart-btn span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prod-item .js-notice-block__image {
    position: relative;
}

/* 
.ce_cmp_hidden.sku_props {
    height: 16px;
    padding: 0 4px 4px 0;
    margin-top: 4px;
} */

.category-main .sku_props .bx_item_section_name {
    display: none;
}

.category-main .sku_in_section .bx_item_detail_scu ul li .cnt_item, 
.category-main .sku_in_section .bx_scu_scroller_container ul li .cnt_item {
    cursor: pointer;
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: margin .3s ease;
    border: none;
    box-shadow: none;
    display: block;
}

.category-main .bx_catalog_item_scu .bx_item_detail_scu ul li .cnt_item::before {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: border .3s ease,opacity .3s ease,transform .3s ease;
}

.catalog_detail .sku_props .bx_item_detail_size ul li {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 52px;
    height: 52px;
    border: 1px solid #e8e8e8;
    /* font-family: "HelveticaNeueCyr", "Helvetica Neue", sans-serif; */
    font-size: 12px;
    transition: border 0.3s ease;
    background: transparent;
    color: #1d1d1b;
}

.sku_props .bx_item_detail_size ul li:not(.active):hover span {
    color: currentColor;
}

.catalog_detail .sku_props .bx_item_detail_size ul li.active {
    border: 1px solid currentColor;
}

.sku_props .bx_item_detail_size ul li:hover {
    border: 1px solid #bbb;
}

.sku_props .bx_item_detail_size ul li span {
    all: revert;
}

.js_price_wrapper{
    display: flex;
    flex-direction: row-reverse;
    align-items: baseline;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.cost.prices .price, 
.cart-dropdown__item__price .old_price-block {
    margin: 0px 7.5px 0px;
}

.item-view-inf-props-price:not(.with_old_price) .cost.prices .price {
    margin: 0;
}

.cost.prices .price .values_wrapper,
.cost.prices .js_price_wrapper .old_price-block
 {
    /* font-family: "HelveticaNeueCyr", "Helvetica Neue", sans-serif; */
    font-size: 20px;
    font-weight: 400;
}

.prod-item__inf .old_price-block {
    position: relative;
    display: inline-block;
    font-size: 12px;
}

.basket-item-price-old-text,
.cart-item_prices .old_price-block,
.cart-dropdown__item__price .old_price-block {
    position: relative;
    display: inline-block;
}

.prod-item__inf .old_price-block::before,
.basket-item-price-old-text::before,
.cart-item_prices .old_price-block::before,
.cart-dropdown__item__price .old_price-block::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: currentColor;
    transform: translateY(-50%);
}

.cost.prices .js_price_wrapper .old_price-block {
    text-align: center;
    text-decoration: line-through;
}

.prod-item__inf .prod-item__price {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.prod-item__price.with_old_price .price_matrix_wrapper  {
    color: #FB4616;
}

.item-view-inf-props-price.with_old_price .js_price_wrapper .price_matrix_wrapper {
    color: #FB4616;

}

.cart-dropdown__item__price.with_old_price .summ {
    color: #FB4616;
    margin-bottom: 5px;
}

.cart-dropdown__button__side span {
    text-transform: uppercase;
    max-height: 14px;
}

.cart-item_prices {
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.old_price-block ~ span,
.basket-item-price-old ~ span {
    color: #FB4616;
    padding: 2px 4px;
}

.basket-item-price-old {
    color: unset;
    text-decoration: unset;
}

.buy_block .counter_wrapp .button_block .btn {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 8px;
    line-height: inherit;
    text-align: start;
    letter-spacing: 0;
    border: none;
    box-shadow: none;
}

.buy_block .counter_wrapp .button_block .btn-price {
    margin-left: auto;
    display: none;
}

.item-view-inf-props-wrapper {
    position: relative;
}

.item-view-inf-props {
    display: flex;
    flex-flow: column;
    gap: 5px;
    width: 100%;
    margin: 0 auto 10px;
}

.product-info-headnote {
    margin-bottom: 20px;
}

.prod-view-inf-flex .item_wrapper {
    flex: 1;
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.prod-view-inf-flex .offer_buy_block {
    flex: 1;
}

.product-container .buy_block .sku_props > .wrapper_sku {
    display: flex;
    flex-flow: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.bx_item_detail_scu .bx_scu_scroller_container {
    overflow: hidden;
}

.catalog_detail .sku_props .bx_item_section_name {
    /* font-family: HelveticaNeueCyr,Helvetica Neue,sans-serif; */
    font-size: 12px;
    line-height: 12px;
    color: #1d1d1b;
}

.bx_catalog_item_scu ul {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 0 4px 4px 0;
}

.bx_catalog_item_scu.sku_in_section ul {
    gap: 4px;
}

.wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) .bx_scu ul li {
    width: auto;
    /* margin: 0; */
    max-height: unset;
}

.wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) ul li .cnt1 {
    padding-top: 0;
}

.wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) ul li .cnt_item {
    cursor: pointer;
    position: relative;
    width: 60px;
    padding: 4px;
    height: 85px;
    /* border-radius: 50%; */
    transition: margin .3s ease;
    border: none;
    box-shadow: none;
    background-size: cover;
}

.wrapper1 .bx_catalog_item_scu .bx_item_detail_scu ul li .nf .cnt_item > span.bg, .bx_scu_scroller_container ul li .nf .cnt_item > span.bg {
    background-size: 100% 100%;
}

/* .wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) ul li .cnt_item:hover {
    margin: 0 4px;
} */

/* .wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) ul li .cnt_item:hover::before {
    opacity: 1;
    transform: none;
    border: 1px solid rgba(29,29,27,.3);
} */

.wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) ul li.active .cnt_item::before {
    opacity: 1;
    transform: none;
    border: 1px solid #1d1d1b;
}

.sku_props .bx_item_section_name .sku_mdash {}

.wrapper1 .detail .bx_catalog_item_scu:not(.sku_in_section) ul li .cnt_item::before {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    /* border-radius: 50%; */
    opacity: 1;
    /* transform: scale(0); */
    transition: border .3s ease,opacity .3s ease,transform .3s ease;
    border: 1px solid #e8e8e8;
}

.bx_filter label.dib:not(.active):hover .bx_filter_param_btn, 
.bx_catalog_item_scu .bx_item_detail_scu ul li:hover span:not(.cnt_item) {
    background: transparent;
}

/* .wrapper1 .detail .bx_catalog_item_scu ul li.active .cnt_item {
    margin: 0 4px;
} */

.bx_filter .bx_filter_param_label.active .bx_filter_btn_color_icon, 
.bx_catalog_item_scu ul li.active .cnt_item, 
.bx_scu_scroller_container ul li.bx_active .cnt_item {
    box-shadow: unset;
}

.wrapper1 .detail .bx_catalog_item_scu .bx_item_detail_scu {
    flex: 1;
    display: flex;
    flex-flow: column;
    gap: 8px;
}

@media only screen and (min-width: 1445px) {
    .main_item_wrapper.prod-view-content {
        flex: 0.325;
    }
}

@media screen and (max-width: 600px) {
    body .compact-catalog .inner_wrap > .sku_props.ce_cmp_hidden {
        display: block;
    } 
}

@media screen and (max-width: 576px) {
    .cart-item_prices {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
}

/* Разделы товаров */
.prod-item:hover .prod-item__add-to-cart-btn {
    z-index: 2;
}

.catalog_item .image_wrapper_block .like_icons span {
    visibility: visible;
    opacity: 1;
}

/* .catalog_item_wrapp.catalog_item {
    height: 100%;
} */

.catalog_item_wrapp.catalog_item .inner_wrap {
    height: 100%;
    display: flex;
    flex-flow: column;
}

.catalog_item .image_wrapper_block {
    flex-grow: 1;
    margin: 0;
}

.prod-item__name {
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.category-main .prod-item__inf,
.section-content-wrapper .prod-item__inf {
    align-items: baseline;
    height: 32px;
}

/* .category-main .sku_props.ce_cmp_hidden,
.section-content-wrapper .sku_props.ce_cmp_hidden {
    height: 18px;
} */

.header__control-btn .prices,
.prod-item__price {
    text-wrap: nowrap;
}

.prod-item__price,
.prod-item__name {
    line-height: 16px;
}

.prod-item__price .font_mxs,
.prod-item__price .font-bold {
    font-weight: normal;
    font-size: inherit;
    line-height: inherit;
    text-wrap: nowrap;
}

.subheader__control-btn {
    cursor: pointer;
}



/* Баннера на главной */
.post-item-link table {
    position: relative;
    left: 40px;
}

.post-item-link .swiper-button-prev:after, .post-item-link .swiper-button-next:after {
    font-size: 0;
}

.top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item,
.top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item > div,
.top_slider_wrapp .main-slider .wrapper_inner,
.top_slider_wrapp .main-slider {
    height: 100%;
}

.top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item {
    pointer-events: all;
}

@media screen and (min-width: 576px) {
    .posts-main .post-item-link:nth-child(1) {
        aspect-ratio: 1.945/1;
    }
}

.posts-main .post-item-link:nth-child(1):hover .post-item-link__cover {
    transform: scale(1);
}

.paper-container .paper-main img {
    object-position: top;
}

@media screen and (min-width: 576px) {
    .posts-main .post-item-link:nth-child(1):hover .post-item-link__category {
        font-size: 32px;
    }
}

.list.items .post-item-link:nth-child(1) .post-item-link__category {
    left: 20px;
}

.list.items .post-item-link:hover .post-item-link__category {
    font-size: 32px;
}

.list.items .post-item-link__category {
    bottom: 15px;
}

.post-item-link__category, .post-item-link__icon {
    z-index: 15;
}

.top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-top_left {
    top: 40px;
    left: 40px;
    right: initial;
    bottom: initial;
}

.top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-top_right {
    top: 40px;
    left: initial;
    right: 40px;
    bottom: initial;
}

.top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-bottom_left {
    top: initial;
    left: 40px;
    right: initial;
    bottom: 40px;
}

.post-item-link:hover .post-item-link__cover .head-title.post-item-link__category-bottom_right {
    right: 80px;
    bottom: 25px;
}

.top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-bottom_right {
    top: initial;
    left: initial;
    right: 55px;
    bottom: 16px;
    transition: .3s;
}

@media screen and (max-width: 576px) {
    .top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-top_left {
        top: 32px;
        left: 16px;
    }

    .top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-top_right {
        top: 32px;
        right: 16px;
    }

    .top_slider_wrapp .post-item-link__cover .head-title.post-item-link__category-bottom_left {
        bottom: 32px;
        left: 16px;
    }

    .post-item-link:hover .post-item-link__cover .head-title.post-item-link__category-bottom_right {
        bottom: 32px;
        right: 16px;
    }
}

/* Категории на главной */

.post-list-items__container .item .img.shine a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.post-list-items__container {
    padding-top: 20px;
}

.list.items .post-list-items__wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

.list.items .post-list-items__wrapper .post-item-link:nth-child(1) {
    min-width: auto;
    margin: initial;
    aspect-ratio: 0.73/1;
}

.list.items .post-list-items__wrapper .post-item-link:nth-child(4n) {
    aspect-ratio: 2.26/1;
    width: 100%;
}

.list.items .post-list-items__wrapper .post-item-link {
    width: calc(33.333% - (40px / 3));
    flex: initial;
    aspect-ratio: 0.73/1;
    padding: 0;
}

.sections_wrapper .list .item:not(.section_item) {
    height: 100%;
    padding: 0;
}

.sections_wrapper .list .item .img img,
.sections_wrapper .list .item.bordered .img {
    width: 100%;
    height: 100%;
}

.hover_shine .shine:before {
    content: unset;
}

/* personal section */

.account-main {
    grid-template-areas: 'a b';
}

.account-main.clearfix::before,
.account-main.clearfix::after {
    content: unset;
}

.wrapper1:not(.front_page):not(.catalog_page) .account-main .right_block.wide_ {
    width: 100%;
}

.account-main .right_block {
    grid-area: b;
}

.account-main .left_block {
    grid-area: a;
}

.account-profile-form__head__btn,
.personal_wrapper form input[type=submit] {
    cursor: pointer;
}

/* contacts page */
.contacts-v2 {
    margin-top: 50px;
}

@media screen and (min-width: 1700px) {
    .product-item-scu-list .prod-item__colors {
        margin-top: 0;
    }
}

@media only screen and (max-width: 768px)  {
    .list.items .post-list-items__wrapper .post-item-link:nth-child(1),
    .list.items .post-list-items__wrapper .post-item-link:nth-child(2) {
        width: calc(50% - (20px / 2));
    }
    .list.items .post-list-items__wrapper .post-item-link:nth-child(3) {
        aspect-ratio: 1.17/1;
        width: 100%;
    }
    .list.items .post-list-items__wrapper .post-item-link:nth-child(4n) {
        aspect-ratio: 1.47/1;
        width: 100%;
    }
}

@media only screen and (max-width: 576px) {
    .buy_block .counter_wrapp .button_block.short {
        max-width: 90px;
        min-width: 90px;
    }
    .buy_block .counter_wrapp .button_block.short .to-cart span:not(.btn-price) {
        display: none;
    }
    .buy_block .counter_wrapp .button_block.small {
        max-width: 160px;
        min-width: 160px;
    }
    .list.items .post-list-items__wrapper .post-item-link:nth-child(n) {
        aspect-ratio: 0.72/1;
    }
    .list.items .post-list-items__wrapper .post-item-link:nth-child(4n) {
        aspect-ratio: 2/2;
    }
    .container_inner.account-main {
        flex-flow: column-reverse;
    }

    .container_inner.account-main .sticky-sidebar__inner {
        padding: 0;
    }

    .container_inner.account-main .banner_content_bottom_container {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    .bx_catalog_item_scu .item_wrapper:last-child ul {
        padding: 0 4px 2px 0;
    }
    .prod-view-buy-btn {
        min-width: 167px;
    }
}

/* page templates (paper 1,2) */
.container .paper-container {
    margin: 0 auto;
}

.top-block-wrapper .centered_title {
    max-width: 454px;
}

@media only screen and (min-width: 486px) {
    .top-block-wrapper .centered_title {
        padding: 0;
    }
}

@media only screen and (max-width: 485px) {
    .maxwidth-theme {
        margin: 0;
    }
}

.header__company-link {
    max-width: 135px !important;
}

#popup-catalog .popup__title {
    max-width: 135px;
}

.popup__title img {
    width: 100%;
}

.floating-btn__wrapper {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 100;
}
.floating-btn__item {
    display: block;
    width: 51px;
    height: 51px;
    text-align: center;
    font-size: 30px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    -webkit-transition: background-color ease 0.6s;
    -o-transition: background-color ease 0.6s;
    -moz-transition: background-color ease 0.6s;
    transition: background-color ease 0.6s;
    cursor: pointer;
}
.floating-btn__item.btn--default {
    background: #fff;
}
.floating-btn__item.pulse-btn {
    position: relative;
    -webkit-animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    -o-animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    -webkit-box-shadow: 0 0 0 0 #000;
    -moz-box-shadow: 0 0 0 0 #000;
    box-shadow: 0 0 0 0 #000;
}
.floating-btn__wrapper-item{
    background: #000;
    border-radius: 50px;
}
.floating-btn__item.max{
    background: url(/local/templates/thekey/images/svg/social/social.svg?v=1) 0 0 no-repeat;
    background-position: -920px -727px;
    background-size: 977px 1339px;
}
@-webkit-keyframes pulse {
  to {
    -webkit-box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
            box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}
@-moz-keyframes pulse {
  to {
    -moz-box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
         box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}
@-o-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}
@keyframes pulse {
  to {
    -webkit-box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
       -moz-box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
            box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}
.floating-btn__item.pulse-btn svg{
    position: absolute;
    left: -2px;
    top: -2px; 
    width: 55px;
    height: 55px;
}

.catalog_detail .sku_props .bx_item_detail_size ul li.missing {
  position: relative;
  overflow: hidden;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    background-image: linear-gradient(
      to bottom right,
      transparent calc(50% - 0.5px),
      #1d1d1b calc(50% - 0.5px),
      #1d1d1b calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
    z-index: 1;
    transform: unset;
  }
}