.product-card__out-of-stock {
position: absolute;
top: 12px;
left: 12px;
background: rgba(162, 161, 161, 0.9);
color: #fff;
padding: 4px 10px;
border-radius: 24px;
font-size: 12px;
font-weight: 600;
z-index: 2;
}

.product-card__in-stock {
position: absolute;
top: 12px;
left: 12px;
background: var(--accent-02);  color: #fff;
padding: 4px 10px;
border-radius: 24px;
font-size: 12px;
font-weight: 600;
z-index: 2;
}

.product-card__out-of-stock.out-of-stock {
color: #D61111;
font-size: 13px;
font-weight: 600;
margin-top: 6px;
}

.product-card__out-of-stock.onbackorder {
background: rgba(255, 152, 0, 0.9);
/* оранжевая */
}

.main-product__actions-instock .product-card__in-stock {
position: static;
display: inline-block;
background: var(--accent-02);
color: #fff;
padding: 4px 10px;
border-radius: 24px;
font-size: 12px;
font-weight: 600;
margin-bottom: 12px;
}

.main-product__actions-instock .product-card__out-of-stock.out-of-stock {
    position: static;
    display: inline-block;
    background: rgba(162, 161, 161, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    }

.main-product__actions-instock .product-card__out-of-stock.onbackorder {
display: inline-block;
background: rgba(255, 152, 0, 0.9);
color: #fff;
padding: 4px 10px;
border-radius: 24px;
font-size: 12px;
font-weight: 600;
margin-bottom: 12px;
}
.product-card__heading-labels {
position: absolute;
top: 12px;
left: 12px;
right: 12px;
display: flex;
z-index: 3;
pointer-events: none;
gap: 5px;
}

.product-card__heading-discount,
.product-card__in-stock,
.product-card__out-of-stock {
position: static;
margin: 0;
}

.ic_social {
	width: 18px;
	height: 18px;
	display: inline-block;
	background-size: contain;
	vertical-align: middle;
	margin-top: -1px;
	margin-left: 5px;
}

@media screen and (min-width: 576px) {
    .products__subcat:not(.is-init) {
      max-height: 111px;
      overflow: hidden;
    }
  }


.contacts__phone-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-header__actions-numbers.numbers-action {
    padding-left: 16px;
}

@media screen and (max-width: 1440px) {
    .main-header__panel {
        width: auto;
        padding-left: 22px
    }

    .headerMini .main-header__panel > ul {
        padding-left: 0;
    }

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

}


.messenger-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
}



  @media screen and (max-width: 767px) {
    .headerMini .main-header__panel {
        display: none;
    }
  
    .main-header__logo {
        margin-left: 0;
    }
    .headerMini .main-header__logo a .icon {
        display: block;
        min-width: 121px;
        width: 142px;
        height: 35px;
    }

    .info-action__title .icon, .numbers-action__title .icon {
        min-width: 26px;
        width: 26px;
        height: 26px;
        cursor: pointer;
    }

    .headerMini .ic_social {
        width: 24px;
        height: 24px;
    }

    .banner .swiper[data-slider="banner"] .swiper-wrapper {
        padding-bottom: 0px;
      }

      .main-header .menu-header__btn .icon i {
        width: 24px;
        height: 2px;
    }

    .main-header .menu-header__btn .icon {
        min-width: 24px;
        width: 24px;
        height: 24px;
    }

    .main-header__search .search-index__btn .btn-searchMobile .icon {
        background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjIyMyA4LjExMWE2LjExMiA2LjExMiAwIDEwLTEyLjIyNC4wMDEgNi4xMTIgNi4xMTIgMCAwMDEyLjIyNCAwem0yIDBhOC4wNyA4LjA3IDAgMDEtMS43MTUgNC45ODNsMy4xOTkgMy4xOTlhMSAxIDAgMTEtMS40MTQgMS40MTRsLTMuMi0zLjJhOC4wNzQgOC4wNzQgMCAwMS00Ljk4MiAxLjcxNiA4LjExMiA4LjExMiAwIDExOC4xMTItOC4xMTJ6Ii8+PC9zdmc+) !important;
        background-position: center;
        background-repeat: no-repeat;
    }

    .main-header .menu-header__btn.is--active .icon i {
        margin: -3px -2px -3px -1px;
    }
  }

  @media screen and (max-width: 576px) {
    .ic_social.icon-viber {
        display: none;
      }
      .ic_social.icon-wa {
        display: none;
      }
    
  }

  @media screen and (max-width: 374px) {
    .headerMini .main-header__logo a .icon {
        min-width: 136px;
        width: 136px;
        height: 35px;
    }
  }

/* ============================================
   Две цены в карточке: «от X BYN / Y RUB»
   ============================================ */
.product-action-price--dual {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    font-size: 15px;
    line-height: 1.3;
    margin-top: 4px;
}

.product-action-price--dual .price-dual__prefix {
    color: #888;
    font-size: 13px;
    font-weight: 400;
    margin-right: 2px;
}

.product-action-price--dual .price-dual__byn {
    font-weight: 700;
    font-size: 16px;
    color: #111;
}

.product-action-price--dual .price-dual__sep {
    color: #bbb;
    font-weight: 400;
    font-size: 14px;
    margin: 0 2px;
}

.product-action-price--dual .price-dual__rub {
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.product-action-price--dual .price-discount {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 6px;
}

/* Мобильные — чуть мельче */
@media (max-width: 480px) {
    .product-action-price--dual {
        font-size: 14px;
        gap: 3px;
    }
    .product-action-price--dual .price-dual__byn {
        font-size: 15px;
    }
    .product-action-price--dual .price-dual__rub {
        font-size: 13px;
    }
    .product-action-price--dual .price-dual__prefix {
        font-size: 16px;
    }
}
.main-product__price--dual .price-dual__byn {
    font-size: 24px;
}
.main-product__price--dual .price-dual__rub {
    font-size: 18px;
}
.main-product__price--dual .price-dual__prefix {
    font-size: 14px;
}
/* Цены в поиске — как в карточках */
.top-search__cost.product-action-price--dual,
.simple-card-product__content-price.product-action-price--dual {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
    font-size: 13px;
    line-height: 1.3;
}

.top-search__cost .price-dual__prefix,
.simple-card-product__content-price .price-dual__prefix {
    font-size: 11px;
    color: #999;
}

.top-search__cost .price-dual__byn,
.simple-card-product__content-price .price-dual__byn {
    font-weight: 700;
    font-size: 14px;
    color: #111;
}

.top-search__cost .price-dual__sep,
.simple-card-product__content-price .price-dual__sep {
    color: #bbb;
    margin: 0 2px;
}

.top-search__cost .price-dual__rub,
.simple-card-product__content-price .price-dual__rub {
    font-size: 12px;
    color: #666;
}
.top-search__cost.product-action-price--dual,
.simple-card-product__content-price.product-action-price--dual {
    font-size: inherit;
    color: inherit;
    background: none;
    padding: 0;
    margin: 0;
    border: none;
}
/* Заголовок-плашка */
.nav-drop-item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 0;
}

/* Стрелочка справа */
.nav-drop-item.has-children > .nav-drop-item-title::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.2s;
}

/* Когда открыто — стрелка вниз */
.nav-drop-item.has-children.is-open > .nav-drop-item-title::after {
    transform: rotate(-135deg);
}

/* По умолчанию подменю скрыто */
.nav-drop-item.has-children > .nav-drop {
    display: none;
}

/* Когда открыто — показываем */
.nav-drop-item.has-children.is-open > .nav-drop {
    display: block;
    padding-left: 16px;
    padding-bottom: 8px;
}

/* Возвращаем телефон текстом на широких экранах */
@media screen and (min-width: 1441px) {
    .headerMini .main-header .numbers-action .numbers-action__title .name {
        display: block;
    }
}

/* Прячем телефон раньше — на 1440px и меньше */
@media screen and (max-width: 1440px) {
    .headerMini .main-header .numbers-action .numbers-action__title .name {
        display: none;
    }
    .headerMini .main-header .numbers-action .numbers-action__title .icon:last-child {
        display: none;
    }
}

/* Меню в шапке не переносится до 1080px */
@media screen and (min-width: 1200px) {
    .headerMini .main-header__panel {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .headerMini .main-header__panel > ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 16px;
        white-space: nowrap;
    }

    .headerMini .main-header__panel > ul li {
        flex-shrink: 0;
    }

    .headerMini .main-header__panel > ul li a,
    .headerMini .main-header__panel > ul li span {
        white-space: nowrap;
    }
}
@media screen and (max-width: 1440px) {
    .headerMini .top-header__actions-numbers {
        margin-left: 0;
    }
}

/*@media screen and (max-width: 1200px) {*/
/*    .main-header__panel{*/
/*    order: 3;*/
/*    width: 100%;*/
/*    padding: 15px 0;*/
/*        }*/
/*}*/

.search-index__input input{
    min-width: 110px;
}

@media screen and (max-width: 1200px) {
    /* 1. Каталог — только иконка */
    .headerMini .main-header .catalog-btn__btn-name {
        display: none;
    }

    .headerMini .main-header .catalog-btn__btn {
        padding: 10px;
        gap: 0;
    }

    /* 2. Поиск — только иконка, как на мобилке */
    .headerMini .main-header__search .search-index__input {
        display: none !important;
    }

    .headerMini .main-header__search .search-index__btn {
        position: static;
        transform: none;
    }

    .headerMini .main-header__search .search-index__btn .btn-search {
        display: none;
    }

    .headerMini .main-header__search .search-index__btn .btn-searchMobile {
        display: block;
        cursor: pointer;
    }

    .headerMini .main-header__search .search-index__btn .btn-searchMobile .icon {
        display: block;
        min-width: 20px;
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .main-header__search .search-index__btn .btn-searchMobile .icon {
        background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjIyMyA4LjExMWE2LjExMiA2LjExMiAwIDEwLTEyLjIyNC4wMDEgNi4xMTIgNi4xMTIgMCAwMDEyLjIyNCAwem0yIDBhOC4wNyA4LjA3IDAgMDEtMS43MTUgNC45ODNsMy4xOTkgMy4xOTlhMSAxIDAgMTEtMS40MTQgMS40MTRsLTMuMi0zLjJhOC4wNzQgOC4wNzQgMCAwMS00Ljk4MiAxLjcxNiA4LjExMiA4LjExMiAwIDExOC4xMTItOC4xMTJ6Ii8+PC9zdmc+) !important;
        background-position: center;
        background-repeat: no-repeat;
    }

    .top-search__heading {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 24px;
        padding: 18px 0;
    }
        /* Кнопка «Найти» — в строке с полем */
        .top-search .search-index__btn_mobile {
            position: static;              /* убираем fixed */
            left: auto;
            bottom: auto;
            width: auto;                   /* не на всю ширину */
            display: block;
        }

        .top-search .search-index__btn_mobile .btn {
            border-radius: 8px;            /* возвращаем скругление */
            white-space: nowrap;
            padding: 12px 20px;
            height: 48px;
        }

        /* Поле поиска + кнопка — в одну строку */
        .top-search .search-index__field {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .top-search .search-index__input {
            flex: 1;
            display: block !important;     /* поле ввода внутри модалки должно быть видно */
            margin-bottom: 0;
        }

        /* Скрываем иконку-лупу — теперь есть кнопка «Найти» */
        .top-search .search-index__btn {
            display: none;
        }
    .open-find-popup .header__wrapper .search-index__btn .btn-blue{
        display: none;
    }
}

/* ============================================================
   Мобильный хедер включается с 924px
   ============================================================ */

/* --- До 924px: мобильный вид --- */
@media screen and (max-width: 924px) {
    .headerMini .main-header__panel {
        display: none;
    }

    .main-header .menu-header {
        display: flex;
    }

    .main-header .catalog-btn {
        display: none;
    }

    .headerMini .main-header .catalog-btn__btn-name {
        display: none;
    }

    .headerMini .main-header__search .search-index__input {
        display: none;
    }

    .headerMini .main-header__search .search-index__btn {
        position: static;
        transform: none;
    }

    .headerMini .main-header__search .search-index__btn .btn-search {
        display: none;
    }

    .headerMini .main-header__search .search-index__btn .btn-searchMobile {
        display: block;
        cursor: pointer;
    }

    .headerMini .main-header__search .search-index__btn .btn-searchMobile .icon {
        display: block;
        min-width: 20px;
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .main-header__search .search-index__btn .btn-searchMobile .icon {
        background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjIyMyA4LjExMWE2LjExMiA2LjExMiAwIDEwLTEyLjIyNC4wMDEgNi4xMTIgNi4xMTIgMCAwMDEyLjIyNCAwem0yIDBhOC4wNyA4LjA3IDAgMDEtMS43MTUgNC45ODNsMy4xOTkgMy4xOTlhMSAxIDAgMTEtMS40MTQgMS40MTRsLTMuMi0zLjJhOC4wNzQgOC4wNzQgMCAwMS00Ljk4MiAxLjcxNiA4LjExMiA4LjExMiAwIDExOC4xMTItOC4xMTJ6Ii8+PC9zdmc+) !important;
        background-position: center;
        background-repeat: no-repeat;
    }

    .headerMini .main-header__logo a .icon {
        min-width: 121px;
        width: 142px;
        height: 35px;
    }

    .info-action__title .icon,
    .numbers-action__title .icon {
        min-width: 26px;
        width: 26px;
        height: 26px;
        cursor: pointer;
    }

    .headerMini .ic_social {
        width: 24px;
        height: 24px;
    }

    .main-header .menu-header__btn .icon i {
        width: 24px;
        height: 2px;
    }

    .main-header .menu-header__btn .icon {
        min-width: 24px;
        width: 24px;
        height: 24px;
    }

    /* Кнопка «Найти» в модалке — внизу, на всю ширину */
    .top-search .search-index__btn_mobile {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        display: block;
    }

    .top-search .search-index__btn_mobile .btn {
        border-radius: 0;
        width: 100%;
        height: 48px;
    }

    .top-search .search-index__btn {
        display: none;
    }

    .top-search .search-index__field {
        display: block;
    }

    .top-search .search-index__input {
        display: block;
        margin-bottom: 0;
    }
    .top-search__heading {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 24px;
        padding: 18px 0;
    }
}
.advantages {
    padding: 60px 0;
}

.advantages__header {
    margin-bottom: 40px;
}

.advantages__header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary, #1a1a1a);
}

.advantages__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary, #666);
    max-width: 800px;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.advantage-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card__icon .icon {
    width: 100%;
    height: 100%;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.advantage-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary, #1a1a1a);
}

.advantage-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary, #666);
    margin: 0;
}

/* Адаптация под цветовую схему */
[data-color-scheme="dark"] .advantage-card {
    background: #2c2c2c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-color-scheme="dark"] .advantage-card__title {
    color: #ffffff;
}

[data-color-scheme="dark"] .advantage-card__text {
    color: #b0b0b0;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .advantages {
        padding: 40px 0;
    }

    .advantages__header h2 {
        font-size: 24px;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-card {
        padding: 20px;
    }

    .advantage-card__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .advantage-card__title {
        font-size: 18px;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}