.products-item {
    position: relative;
}

.products-item__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    font-size: 0;
    text-decoration: none;
}

.products-item .products-item__like,
.products-item .product-item__preview,
.products-item .product-item__pagination {
    z-index: 2;
}

.products-item .product-item__compare-m {
    position: relative;
    z-index: 2;
    width: fit-content;
}

.main-item__content .main-item__title {
    letter-spacing: -.01em;
    color: #2a2a2a;
    max-width: 540px;
    margin-bottom: 30px;
    font-size: 56px;
    font-weight: 500;
    line-height: 135%;
}

@media (max-width: 1440px) {
    .main-item__content .main-item__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-item__content .main-item__title {
        margin-bottom: 15px;
        font-size: 28px;
        line-height: 110%;
    }
}

.main-item--banner {
    flex: 0 0 100%;
    width: 100%;
    display: block;
    line-height: 0;
    overflow: hidden;
}

.main-item--banner .main-item__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    display: block;
}

.main-item--banner .main-item__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.home-intro {
    padding: 0;
}

.home-intro__box {
    background: #f9f5f2;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    gap: 90px;
    width: 100%;
    padding: 60px;
}

.home-intro__main {
    flex-shrink: 0;
    width: 100%;
    max-width: 640px;
}

.home-intro h1 {
    letter-spacing: -.01em;
    color: #2a2a2a;
    margin: 0 0 15px;
    font-size: 40px;
    font-weight: 500;
    line-height: 110%;
}

.home-intro p {
    letter-spacing: -.01em;
    color: #707070;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 135%;
}

.home-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
    width: 100%;
    max-width: 900px;
    height: fit-content;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-benefits li {
    letter-spacing: -.01em;
    color: #707070;
    padding-left: 26px;
    font-size: 15px;
    font-weight: 400;
    line-height: 135%;
    position: relative;
}

.home-benefits li:before {
    content: "";
    background: url(../img/nd/check.svg) 50% / 16px 16px no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 2px;
    left: 0;
}

.home-benefits li b {
    color: #2a2a2a;
    font-weight: 500;
}

@media (max-width: 1440px) {
    .home-intro__box {
        gap: 60px;
        padding: 40px;
    }

    .home-intro h1 {
        font-size: 32px;
    }
}

@media (max-width: 1280px) {
    .home-intro__box {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .home-intro__main {
        max-width: unset;
    }

    .home-benefits {
        max-width: unset;
    }
}

@media (max-width: 768px) {
    .home-intro__box {
        border-radius: 0;
        gap: 20px;
        padding: 30px 15px;
    }

    .home-intro h1 {
        font-size: 24px;
    }

    .home-intro p {
        font-size: 13px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-benefits li {
        font-size: 13px;
    }
}

.review-video-yt .review-video__item-wrapper {
    width: 220px;
    height: 391px;
}

.review-video-yt .review-video__item iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .review-video-yt .review-video__item-wrapper {
        width: 150px;
        height: 267px;
    }
}

.categories-note {
    letter-spacing: -.01em;
    color: #707070;
    border-top: 1px solid #d4d4d4;
    margin: 30px 0 0;
    padding: 30px 0 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 135%;
}

.home-steps {
    border-top: 1px solid #d4d4d4;
    margin-top: 30px;
    padding-top: 30px;
}

.home-steps h3 {
    letter-spacing: -.01em;
    color: #2a2a2a;
    margin: 0 0 30px;
    font-size: 18px;
    font-weight: 500;
    line-height: 135%;
}

.home-steps__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
    counter-reset: step;
    list-style: none;
}

.home-steps__list li {
    letter-spacing: -.01em;
    color: #707070;
    min-height: 32px;
    padding-left: 47px;
    font-size: 15px;
    font-weight: 400;
    line-height: 135%;
    position: relative;
    counter-increment: step;
}

.home-steps__list li:before {
    content: counter(step);
    color: #fff;
    background: #0071e3;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.seo-content {
    justify-content: space-between;
    gap: 90px;
    width: 100%;
    display: flex;
}

.seo-content .section-title {
    flex-shrink: 0;
    display: block;
    width: 100%;
    max-width: 510px;
    height: fit-content;
    margin-bottom: 0;
    position: sticky;
    top: 160px;
}

.seo-text {
    width: 100%;
    max-width: 1100px;
}

.seo-text h3 {
    letter-spacing: -.01em;
    color: #2a2a2a;
    margin: 15px 0 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 135%;
}

.seo-text strong {
    color: #2a2a2a;
    font-weight: 500;
}

.seo-text ul,
.seo-text ol {
    letter-spacing: -.01em;
    color: #707070;
    margin: 0;
    padding-left: 22px;
    font-size: 16px;
    font-weight: 400;
    line-height: 155%;
}

.seo-text ul {
    list-style: disc;
}

.seo-text ol {
    list-style: decimal;
}

.seo-contacts {
    background: #f9f5f2;
    border-radius: 3px;
    padding: 30px;
}

.categories-note a,
.home-steps__list a,
.seo-text a {
    color: #0071e3;
    text-underline-offset: 3px;
    text-decoration: underline;
    text-decoration-color: #0071e34d;
    transition: all .3s ease-in-out;
}

.categories-note a:hover,
.home-steps__list a:hover,
.seo-text a:hover {
    color: #2a2a2a;
    text-decoration-color: #2a2a2a4d;
}

@media (max-width: 1440px) {
    .seo-content {
        gap: 60px;
    }

    .seo-content .section-title {
        max-width: 400px;
    }
}

@media (max-width: 1280px) {
    .seo-content .section-title {
        top: 80px;
    }
}

@media (max-width: 1040px) {
    .home-steps__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-content {
        flex-direction: column;
        gap: 15px;
    }

    .seo-content .section-title {
        max-width: unset;
        position: relative;
        top: unset;
    }

    .seo-text {
        max-width: unset;
    }
}

@media (max-width: 768px) {
    .categories-note {
        margin-top: 20px;
        padding-top: 20px;
        font-size: 13px;
    }

    .home-steps {
        margin-top: 20px;
        padding-top: 20px;
    }

    .home-steps h3 {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .home-steps__list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-steps__list li {
        font-size: 13px;
    }

    .seo-text h3 {
        font-size: 16px;
    }

    .seo-text ul,
    .seo-text ol {
        font-size: 13px;
    }

    .seo-contacts {
        padding: 20px 15px;
    }
}

.ui-autocomplete {
    z-index: 200;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    flex-direction: column;
    gap: 5px;
    max-height: 60vh;
    margin: 0;
    padding: 7px;
    list-style: none;
    display: flex;
    overflow-y: auto;
    box-shadow: 0 10px 30px #2a2a2a1f;
}

.ui-autocomplete .ui-menu-item-wrapper {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active .search-result {
    border-color: #0071e3;
}

.ui-autocomplete .search-result__img img {
    object-fit: contain;
}

.ui-autocomplete .search-result--category .search-result__img {
    color: #0071e3;
    justify-content: center;
    align-items: center;
    display: flex;
}

.ui-autocomplete .search-result--category .search-result__name {
    color: #2a2a2a;
    font-size: 15px;
    font-weight: 500;
}

.ui-helper-hidden-accessible {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.product-card-search {
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    display: flex;
}

.product-card-search__img {
    background: #f9f5f2;
    border-radius: 3px;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    margin: 0;
    display: flex;
    overflow: hidden;
}

.product-card-search__img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}

.product-card-search__inner {
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    display: flex;
}

.product-card-search__title {
    letter-spacing: -.01em;
    color: #2a2a2a;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
    display: -webkit-box;
    overflow: hidden;
}

.product-card-search__availability {
    letter-spacing: -.01em;
    color: #707070;
    font-size: 13px;
    font-weight: 400;
    line-height: 130%;
}

.product-card-search__prop {
    display: none;
}

.product-card-search__price {
    letter-spacing: -.01em;
    color: #2a2a2a;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
}

.catalog-menu__dropdown [data-menu-list] {
    display: none;
    flex-direction: column;
    width: 100%;
}

.catalog-menu__dropdown [data-menu-list].active {
    display: flex;
}

.search-overlay__preview .sf {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    display: flex;
}

.search-overlay__preview .sf__filters {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
    display: grid;
}

.search-overlay__preview .sf__group {
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    display: flex;
}

.search-overlay__preview .sf__group.is-hidden {
    display: none;
}

.search-overlay__preview .sf__label {
    letter-spacing: -.01em;
    color: #2a2a2a;
    font-size: 15px;
    font-weight: 500;
    line-height: 135%;
}

.search-overlay__preview .sf__select {
    letter-spacing: -.01em;
    color: #2a2a2a;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6L8 11L4 6H12Z' fill='%23707070'/%3E%3C/svg%3E") right 10px center / 16px 16px no-repeat;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    width: 100%;
    height: 40px;
    padding: 0 32px 0 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 110%;
    transition: all .3s ease-in-out;
    appearance: none;
}

.search-overlay__preview .sf__select:hover,
.search-overlay__preview .sf__select:focus,
.search-overlay__preview .sf__select:focus-visible {
    border-color: #0071e3;
    outline: none;
}

.search-overlay__preview .sf__price {
    align-items: center;
    gap: 10px;
    display: flex;
}

.search-overlay__preview .sf__price-sep {
    color: #707070;
    flex-shrink: 0;
    font-size: 13px;
}

.search-overlay__preview .sf__input {
    letter-spacing: -.01em;
    color: #2a2a2a;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 110%;
    transition: all .3s ease-in-out;
}

.search-overlay__preview .sf__input::placeholder {
    color: #707070;
}

.search-overlay__preview .sf__input:hover,
.search-overlay__preview .sf__input:focus,
.search-overlay__preview .sf__input:focus-visible {
    border-color: #0071e3;
    outline: none;
}

.search-overlay__preview .sf__input::-webkit-outer-spin-button,
.search-overlay__preview .sf__input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.search-overlay__preview .sf__results {
    border-top: 1px solid #d4d4d4;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    display: flex;
}

.search-overlay__preview .sf__results-title {
    letter-spacing: -.01em;
    color: #2a2a2a;
    padding-left: 7px;
    font-size: 18px;
    font-weight: 500;
    line-height: 135%;
}

.search-overlay__preview .sf__results-list {
    flex-direction: column;
    gap: 15px;
    display: flex;
}

.search-overlay__preview .sf__results-list.is-loading {
    opacity: .5;
    pointer-events: none;
}

.search-overlay__preview .sf__loading {
    letter-spacing: -.01em;
    color: #707070;
    padding: 20px 7px;
    font-size: 15px;
    font-weight: 400;
    line-height: 135%;
}

@media (max-width: 1280px) {
    .search-overlay__preview .sf__filters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-overlay__preview .sf {
        gap: 20px;
    }

    .search-overlay__preview .sf__filters {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-overlay__preview .sf__results {
        padding-top: 15px;
    }

    .search-overlay__preview .sf__results-title {
        font-size: 16px;
    }
}

.modal-label--error input {
    border-color: #d64545;
}

.modal-label__error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.3;
    color: #d64545;
}

.modal-form__blocked {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 3px;
    background: #fdf0f0;
    font-size: 14px;
    line-height: 1.4;
    color: #d64545;
}

.modal-form__note {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.4;
    color: #6a6a6a;
}

.header-bottom__link-counter:empty,
.fixed-mobile__item-counter:empty {
    display: none;
}

.compare-heading__clear {
    margin-left: auto;
}

.catalog-checkbox__num {
    display: none;
}

.catalog-group.disabled_fieldsets,
.catalog-price.disabled_fieldsets {
    display: none;
}

.catalog-checkbox.disabled,
.catalog-radio.disabled {
    opacity: 0.4;
    pointer-events: none;
}

#mse2_filters .hidden {
    display: none;
}

.catalog-chips:empty,
.catalog-toolbar__filters-count:empty {
    display: none;
}

.catalog-group,
.catalog-price {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.catalog-chips[style] {
    display: flex !important;
}

.catalog-chips:empty {
    display: none !important;
}

@media (width <= 992px) {
    .catalog-chips[style] {
        display: none !important;
    }
}

.item-flex__tag--purpose {
    background-color: #ececec;
}

.item-flex__advantages-item a {
    color: #0071e3;
    text-decoration: underline;
    text-underline-offset: 4px;
}


.cart-item__options {
    letter-spacing: -.01em;
    color: #707070;
    font-size: 13px;
    line-height: 135%;
}

.cart-item__count {
    margin-top: 5px;
}

.cart-item__count .modal-counter__value {
    width: 30px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart-item__count .modal-counter__value::-webkit-outer-spin-button,
.cart-item__count .modal-counter__value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.checkout-radios {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.checkout-field input.error,
.checkout-field textarea.error,
.checkout-field select.error {
    border-color: #d64545;
}

.checkout-section:not(:has(#msOrder, .checkout-done)) .checkout-empty {
    display: flex;
}

.checkout-delivery__desc {
    letter-spacing: -.01em;
    color: #d64545;
    font-size: 13px;
    line-height: 135%;
}

@media (width <= 575px) {
    .checkout-block__row:has(input[name=building]) {
        grid-template-columns: 1fr 1fr;
    }
}
