/* GOBI — кастомные стили, не хранить в Aspro */

/* Чёрный текст меню на главной */
body.site_s1 .light-menu-color #header .menu-row:not(.bglight) td:not(.search-item) .wrap > a {
    color: #000000 !important;
}

/* Чёрные SVG-иконки шапки */
body.site_s1.long_banner .light-menu-color .logo_and_menu-row .logo-row
.svg:not(.svg-inline-search2):not(.light-ignore):not(.iconset_icon) svg *,
body.site_s1.long_banner .light-menu-color .logo_and_menu-row
.logo svg:not(.not_fill) *,
body.site_s1.long_banner .light-menu-color .logo-row .search_wrap.only_bg
.svg:not(.iconset_icon) * {
    fill: #222 !important;
}

/* =========================================================
   GOBI — шапка главной страницы
   ========================================================= */

/* Телефон */
body.site_s1 .light-menu-color #header .phone-block .phone a,
body.site_s1 .light-menu-color #header .phone-block .phone {
    color: #222 !important;
}

/* Иконка телефона */
body.site_s1 .light-menu-color #header .phone-block .svg svg *,
body.site_s1 .light-menu-color #header .phone-block svg *,
body.site_s1 .light-menu-color #header .phone-block use {
    fill: #222 !important;
    color: #222 !important;
}

/* Личный кабинет: иконка и текст */
body.site_s1 .light-menu-color #header .personal-link,
body.site_s1 .light-menu-color #header .personal-link .name,
body.site_s1 .light-menu-color #header .personal-link .wrap {
    color: #222 !important;
}

body.site_s1 .light-menu-color #header .personal-link .svg svg *,
body.site_s1 .light-menu-color #header .personal-link svg *,
body.site_s1 .light-menu-color #header .personal-link use {
    fill: #222 !important;
    color: #222 !important;
}

/* Поиск: иконка и текст */
body.site_s1 .light-menu-color #header .inline-search-show,
body.site_s1 .light-menu-color #header .inline-search-show .title {
    color: #222 !important;
}

body.site_s1 .light-menu-color #header .inline-search-show .svg svg *,
body.site_s1 .light-menu-color #header .inline-search-show svg *,
body.site_s1 .light-menu-color #header .inline-search-show use {
    fill: #222 !important;
    color: #222 !important;
}

/* Корзина: иконка, название и счётчик */
body.site_s1 .light-menu-color #header .top_basket .basket-link,
body.site_s1 .light-menu-color #header .top_basket .basket-link .title,
body.site_s1 .light-menu-color #header .top_basket .basket-link .count {
    color: #222 !important;
}

body.site_s1 .light-menu-color #header .top_basket .basket-link .svg svg *,
body.site_s1 .light-menu-color #header .top_basket .basket-link svg *,
body.site_s1 .light-menu-color #header .top_basket .basket-link use {
    fill: #222 !important;
    color: #222 !important;
}

/* Иконка скидки/молнии */
body.site_s1 .light-menu-color #header .svg-inline-icon_discount svg *,
body.site_s1 .light-menu-color #header .svg-inline-icon_discount path {
    fill: #222 !important;
}

/* Обычные пункты меню — чёрные */
body.site_s1 .light-menu-color #header .menu-row:not(.bglight)
td:not(.search-item) .wrap > a {
    color: #000 !important;
}

/* SALE — всегда красный */
body.site_s1 .light-menu-color #header .menu-row
td.menu_sale .wrap > a,
body.site_s1 .table-menu td.menu_sale .wrap > a {
    color: #B00000 !important;
}
/* SALE — красный пункт меню */
body.site_s1 #header .table-menu td.menu-item.menu_sale .wrap > a,
body.site_s1 #header .table-menu td.menu_sale .wrap > a,
body.site_s1 #header .menu-row td.menu_sale .wrap > a,
body.site_s1 #header td.menu_sale a {
    color: #B00000 !important;
}

/* Текст внутри ссылки тоже принудительно красный */
body.site_s1 #header td.menu_sale .wrap > a > div,
body.site_s1 #header td.menu_sale a div {
    color: #B00000 !important;
}
/* =========================================================
   Шапка GOBI — убрать прозрачность и сделать иконки черными
   ========================================================= */

/* Шапка GOBI - нормальный цвет иконок */
body.site_s1 .light-menu-color #header .svg {
    opacity: 1 !important;
}

body.site_s1 .light-menu-color #header .svg svg * {
    fill: #222 !important;
}

body.site_s1 .light-menu-color #header .svg use {
    fill: #222 !important;
}
/* Каталог (9 точек) */
body.site_s1 .light-menu-color #header .svg-inline-icon_catalog,
body.site_s1 .light-menu-color #header .svg-inline-icon_catalog svg,
body.site_s1 .light-menu-color #header .svg-inline-icon_catalog svg *,
body.site_s1 .light-menu-color #header .svg-inline-icon_catalog path {
    fill: #222 !important;
    color: #222 !important;
    opacity: 1 !important;
}

/* Поиск */
body.site_s1 .light-menu-color #header .svg-inline-search,
body.site_s1 .light-menu-color #header .svg-inline-search svg *,
body.site_s1 .light-menu-color #header .svg-inline-search path {
    fill: #222 !important;
    opacity: 1 !important;
}

/* Кабинет */
body.site_s1 .light-menu-color #header .svg-inline-cabinet,
body.site_s1 .light-menu-color #header .svg-inline-cabinet svg *,
body.site_s1 .light-menu-color #header .svg-inline-cabinet path {
    fill: #222 !important;
    opacity: 1 !important;
}

/* Корзина */
body.site_s1 .light-menu-color #header .basket .svg,
body.site_s1 .light-menu-color #header .basket svg *,
body.site_s1 .light-menu-color #header .basket path {
    fill: #222 !important;
    opacity: 1 !important;
}

/* Связанные товары на детальной странице GOBI */
body.site_s1 .gobi-linked-products {
    margin-top: 60px;
    margin-bottom: 60px;
}

body.site_s1 .gobi-linked-products__title {
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    body.site_s1 .gobi-linked-products {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    body.site_s1 .gobi-linked-products__title {
        margin-bottom: 20px;
    }
}
/* Yandex Pay / Split на детальной странице */
body.site_s1 .gobi-yapay-widget {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;
    min-height: 54px;
}

body.site_s1 .gobi-yapay-widget:empty {
    display: none;
    min-height: 0;
    margin: 0;
}

body.site_s1 .gobi-yapay-widget .ya-pay-widget {
    width: 100% !important;
    max-width: 100% !important;
}
/* =========================================================
   Виджет отзывов MyReviews на детальной странице GOBI
   ========================================================= */

body.site_s1 .gobi-reviews-widget {
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
}

body.site_s1 .gobi-reviews-widget__title {
    margin-bottom: 28px;
}

body.site_s1 .gobi-reviews-widget__body {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: 20px;
}

body.site_s1 #myReviews__block-widget {
    display: block;
    width: 100%;
    max-width: 1355px;
    min-height: 320px;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
}

@media (max-width: 767px) {
    body.site_s1 .gobi-reviews-widget {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    body.site_s1 .gobi-reviews-widget__title {
        margin-bottom: 20px;
    }

    body.site_s1 .gobi-reviews-widget__body,
    body.site_s1 #myReviews__block-widget {
        min-height: 400px;
    }
}
/* Bitrix24 widget visibility fix */
.b24-widget-button-wrapper {
    visibility: visible !important;
}
