

/* Start:/local/templates/default/components/bitrix/search.title/bootstrap_v4/style.css?17757267683429*/
/* ============================================================
   Search title component — bootstrap_v4
   ============================================================ */

.bx-searchtitle {
    width: 100%;
    font-family: var(--ui-font-family, sans-serif);
}

.bx-searchtitle .search-title-form {
    width: 100%;
}

/* Pill container — единственная рамка */
.bx-searchtitle .search-title-control {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 42px;
    background: #f8f8f8;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    overflow: hidden;
}

/* Поле ввода */
.bx-searchtitle .search-title-input {
    flex: 1 1 auto;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 10px 0 14px;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    box-shadow: none;
    height: 100%;
    min-width: 0;
}

.bx-searchtitle .search-title-input::placeholder {
    color: #aaa;
}

.bx-searchtitle .search-title-input:focus {
    outline: none;
    box-shadow: none;
}

/* Убираем нативные кнопки браузера (Chrome clear, IE ×) */
.bx-searchtitle .search-title-input::-webkit-search-cancel-button,
.bx-searchtitle .search-title-input::-webkit-search-decoration,
.bx-searchtitle .search-title-input::-ms-clear {
    display: none;
    -webkit-appearance: none;
}

/* Кнопка очистки × */
.bx-searchtitle .search-title-clear {
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s;
}

.bx-searchtitle .search-title-clear:hover {
    color: #555;
}

/* Кнопка «Найти» */
.bx-searchtitle .search-title-submit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-left: 1px solid #d0d0d0;
    background: #f0f0f0;
    color: #333;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.bx-searchtitle .search-title-submit:hover {
    background: #e4e4e4;
}

.bx-searchtitle .search-title-submit:active {
    background: #d8d8d8;
}

/* ============================================================
   Results dropdown
   ============================================================ */
.title-search-result {
    margin-top: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: none;
    overflow: hidden;
    z-index: 205;
    background: #fff;
    padding: 6px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.search-title-result-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 16px;
}

.search-title-result-item:last-child {
    border-bottom: none;
}

.search-title-result-item-link {
    font-size: 14px;
    line-height: 1.3;
    color: #111;
    text-decoration: none;
    display: block;
}

.search-title-result-item-link:hover {
    color: #0257DF;
}

.search-title-result-item-price {
    font-size: 13px;
    margin-top: 2px;
}

.search-title-result-item-current-price {
    font-weight: 600;
    color: #0257DF;
}

.search-title-result-item-old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #999;
    margin-left: 4px;
}

/* End */


/* Start:/bitrix/components/bitrix/breadcrumb/templates/universal/style.min.css?1767949518620*/
.bx-breadcrumb{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bx-breadcrumb-item{height:22px;white-space:nowrap}.bx-breadcrumb-item-angle{margin:0 10px;color:#b5bdc2;vertical-align:top;font-size:12px}.bx-breadcrumb-item-link{border-bottom:0;vertical-align:top;line-height:21px}.bx-breadcrumb-item-text{vertical-align:top;white-space:normal;font:400 13px/21px "Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;transition:250ms linear all}
/* End */


/* Start:/bitrix/components/bitrix/catalog.section.list/templates/bootstrap_v4/style.min.css?17679495252306*/
.catalog-section-list-item-title{overflow:hidden;margin:0;padding:0;vertical-align:middle;text-align:center;text-overflow:ellipsis;font-size:14px;line-height:20px}.catalog-section-list-item-link{vertical-align:middle;font-size:14px;line-height:20px}.catalog-section-list-item-counter{vertical-align:middle;font-size:12px;line-height:20px}.catalog-section-list-item-description{font-size:13px}.catalog-section-list-item-img{display:block;padding-top:100%;width:100%;border:1px solid #ccc;border-radius:2px;background-color:#fff;background-position:center;background-size:cover;background-repeat:no-repeat;transition:250ms linear all}.catalog-section-list-item-img:hover{border-color:var(--theme-color-primary)}.catalog-section-list-line-list{padding:0;list-style:none}.catalog-section-list-line-list .catalog-section-list-item{display:flex;margin-bottom:15px;align-items:flex-start}.catalog-section-list-line-list .catalog-section-list-item-title{text-align:left}.catalog-section-list-line-img-container{padding-right:15px;min-width:75px;width:75px}.catalog-section-list-line-list .catalog-section-list-titles{margin:0;line-height:20px}.catalog-section-list-text-list{padding:0;list-style:none;column-count:3}.catalog-section-list-text-list .catalog-section-list-item-title{text-align:left}@media(max-width:767px){.catalog-section-list-text-list{column-count:1}}.catalog-section-list-tile-list{padding:0;list-style:none}.catalog-section-list-tile-img-container{width:100%}.catalog-section-list-list{margin-bottom:30px}.catalog-section-list-list .catalog-section-list-item{padding:0;line-height:16px}.catalog-section-list-list .catalog-section-list-item:before{content:''!important}.catalog-section-list-list-title{display:inline-block;margin:0;margin-bottom:10px;padding:0;vertical-align:top;font-weight:normal;font-size:12px;line-height:16px}.catalog-section-list-list-link{white-space:nowrap;font-size:13px}.catalog-section-list-list-link:hover{text-decoration:none}.catalog-section-list-list-title span{font-size:11px}@media(max-width:639px){.bx-touch .catalog-section-list-list .bx_catalog_line_title{margin-bottom:5px;line-height:12px}.bx-touch .catalog-section-list-list .bx_catalog_line_title a{font-size:12px}}.catalog-section-list-list-title,.catalog-section-list-list-link{transition:all .3s ease}
/* End */


/* Start:/bitrix/components/bitrix/sale.basket.basket.line/templates/bootstrap_v4/style.min.css?17679495314065*/
.basket-line-block{position:relative;padding-left:25px;white-space:nowrap;font-size:13px}.basket-line-block-icon-cart,.basket-line-block-icon-profile{position:relative;margin-right:10px}.basket-line-block-icon-cart:after,.basket-line-block-icon-profile:after{position:absolute;top:-1px;left:-25px;display:block;width:20px;height:20px;content:''}.basket-line-block-icon-profile:after{background:no-repeat center url(/bitrix/components/bitrix/sale.basket.basket.line/templates/bootstrap_v4/images/profile.svg)}.basket-line-block-icon-cart:after{background:no-repeat center url(/bitrix/components/bitrix/sale.basket.basket.line/templates/bootstrap_v4/images/cart.svg)}@media(min-width:768px){.bx-basket-fixed{position:fixed;z-index:998;overflow:hidden;padding-top:10px;width:200px;border:1px solid #f0f0f0;border-radius:1px;background:#fff;box-shadow:0 7px 10px rgba(0,0,0,0.15)}.bx-basket-fixed.top{top:10px}.bx-basket-fixed.right{right:10px}.bx-basket-fixed.bottom{bottom:10px}.bx-basket-fixed.left{left:10px}.bx-basket-fixed.bx-max-height{top:10px;bottom:10px}}@media(max-width:767px){.bx-basket-fixed{position:fixed;right:0;bottom:0;left:0;z-index:998;overflow:hidden;padding-top:10px;border:1px solid #f0f0f0;border-radius:1px;background:#fff;box-shadow:0 7px 10px rgba(0,0,0,0.15)}.bx-basket-fixed.vcenter{bottom:10px;top:auto !important}.bx-basket-item-list{display:none}}.bx-basket-fixed .basket-line-block{margin-left:10px}.bx-basket-item-list{position:relative;overflow:hidden;padding-bottom:20px;border-top:1px solid #f7f7f7}.bx-opener .bx-basket-item-list{padding-bottom:75px}.bx-max-height .bx-basket-item-list{position:absolute;right:0;bottom:0;left:0}.bx-closed .bx-basket-item-list{overflow:hidden;height:20px}.bx-basket-item-list-action{position:absolute;right:0;bottom:0;left:0;z-index:120;padding:3px 0;height:20px;background:#f7f7f7;color:#4f4f4f;vertical-align:middle;text-align:center;font-size:12px;line-height:14px;cursor:pointer}.bx-basket-item-list-button-container{position:absolute;right:0;bottom:20px;left:0;padding:10px 0;border-top:1px solid #f7f7f7;background:#fff;text-align:center}.bx-basket-item-list-container{overflow-y:auto;max-height:100%}.bx-basket-item-list-item{position:relative;margin-bottom:15px;padding-top:15px;padding-right:10px;padding-left:10px;border-bottom:1px solid #f7f7f7}.bx-basket-item-list-container .bx-basket-item-list-item:last-child{margin-bottom:0;border-bottom:0}.bx-basket-item-list-item-status{margin:0 10px 20px;padding:3px;border-radius:3px;background:#ebebeb;text-align:center;white-space:normal;font-weight:bold;font-size:12px;line-height:16px}.bx-basket-item-list-item-img{position:relative;padding-bottom:5px;text-align:center}.bx-basket-item-list-item-img img{max-width:90px;height:auto;border:1px solid #e6e6e6}.bx-basket-item-list-item-name{padding-bottom:5px}.bx-basket-item-list-item-name a{font-size:13px;line-height:16px}.bx-basket-item-list-item-remove{position:absolute;top:-7px;right:10px;width:20px;height:20px;opacity:.5;cursor:pointer;transition:250ms linear all}.bx-basket-item-list-item-remove:after,.bx-basket-item-list-item-remove:before{position:absolute;top:50%;left:50%;display:block;width:10px;height:2px;border-radius:1px;background-color:#333;content:'';transform:translate(-50%,-50%)}.bx-basket-item-list-item-remove:after{-webkit-transform:translate(-50%,-50%) rotate(45deg);-moz-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);-o-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg)}.bx-basket-item-list-item-remove:before{-webkit-transform:translate(-50%,-50%) rotate(135deg);-moz-transform:translate(-50%,-50%) rotate(135deg);-ms-transform:translate(-50%,-50%) rotate(135deg);-o-transform:translate(-50%,-50%) rotate(135deg);transform:translate(-50%,-50%) rotate(135deg)}.bx-basket-item-list-item-remove:hover{opacity:.7}.bx-basket-item-list-item-price-block{padding-bottom:5px;font-size:12px}.bx-basket-item-list-item-price{display:inline-block;margin-right:5px}.bx-basket-item-list-item-price-old{display:inline-block;margin-right:5px;color:#b0b0b0;text-decoration:line-through}.bx_cart_login_top .basket-line{line-height:1.44em}
/* End */


/* Start:/local/templates/default/template_styles.css?177666294455172*/
:root {
    /* Typography */
    --ui-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ui-font-family-open-sans: var(--ui-font-family);
    --ui-font-family-secondary: var(--ui-font-family);

    --ui-font-weight-regular: 400;
    --ui-font-weight-medium: 500;
    --ui-font-weight-semibold: 600;
    --ui-font-weight-bold: 700;

    --ui-text-xs: 12px;
    --ui-text-sm: 13px;
    --ui-text-md: 14px;
    --ui-text-lg: 18px;
    --ui-text-xl: 22px;

    --ui-line-sm: 1.25;
    --ui-line-md: 1.35;

    /* Radius */
    --ui-radius-xs: 8px;
    --ui-radius-sm: 12px;
    --ui-radius-md: 16px;
    --ui-radius-lg: 20px;

    /* Spacing */
    --ui-space-1: 4px;
    --ui-space-2: 8px;
    --ui-space-3: 12px;
    --ui-space-4: 16px;
    --ui-space-5: 20px;

    /* Surfaces / background */
    --ui-bg-page: #ffffff;
    --ui-bg-soft: #f5f3f1;
    /* мягкие серые панели */
    --ui-bg-muted: rgb(245, 243, 241);
    --ui-bg-muted-btn: rgba(68, 45, 13, 0.08);
    /* кнопки/вставки */
    --ui-bg-card: #ffffff;

    /* Border / shadow */
    --ui-border-color: rgba(0, 0, 0, 0.08);
    --ui-border-color-strong: rgba(0, 0, 0, 0.12);
    --ui-shadow-card: 0 6px 20px rgba(0, 0, 0, 0.08);
    --ui-shadow-card-light: 0 4px 14px rgba(0, 0, 0, .08);

    /* Text */
    --ui-text: #111111;
    --ui-text-secondary: rgba(17, 17, 17, 0.65);
    --ui-text-muted: rgba(17, 17, 17, 0.45);

    /* Brand / actions */
    --ui-primary: #ffdd00;
    /* market yellow */
    --ui-primary-hover: #ffd400;
    --ui-primary-pressed: #f1c800;

    --ui-btn-text-on-primary: #111111;

    /* Price & accents */
    --ui-price: #0257DF;
    /* синяя цена */
    --ui-discount: #d32f2f;
    /* красная скидка */
    --ui-link: var(--ui-text);

    /* Controls */
    --ui-focus: rgba(26, 115, 232, 0.35);

    /* Specific: gallery / thumbnails */
    --ui-thumb-radius: var(--ui-radius-sm);
    --ui-gallery-radius: var(--ui-radius-lg);

    /* Specific: sticky card */
    --ui-sticky-height: 85px;

    --ui-page-max: 1600px;
}

.container {
    max-width: var(--ui-page-max);
}

.bx-yellow,
.bx-theme-yellow {
    /* base */
    --primary: var(--ui-primary);

    --theme-color-primary: #ffdd00;
    --theme-color-second: #ffd400;
    --theme-color-light: #ffffff;

    /* links */
    --theme-b-link: #b08900;
    --theme-b-link-hover: #8f6f00;

    /* button text */
    --theme-b-tx-primary: #111111;

    /* button bg */
    --theme-b-bg-primary: #ffdd00;
    --theme-b-bg-primary-hover: #ffd400;
    --theme-b-bg-primary-active: #f1c800;
    --theme-b-bg-primary-disabled: #e6c700;

    /* borders */
    --theme-b-bd-primary: #ffdd00;
    --theme-b-bd-primary-hover: #e6c700;
    --theme-b-bd-primary-active: #d9bc00;
    --theme-b-bd-primary-disabled: #c9ae00;

    /* shadow / focus */
    --theme-b-sd-primary: rgba(255, 221, 0, 0.45);

    /* text states */
    --theme-b-tx-primary-hover: #111111;
    --theme-b-tx-primary-active: #111111;
    --theme-b-tx-primary-disabled: #111111;
}

html,
body {
    height: 100%;
}

body {
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;

    background-attachment: fixed;
    background-size: cover;
    font-family: var(--ui-font-family);
    background: var(--ui-bg-page);
    color: var(--ui-text);
}

.bx-wrapper,
.page-content,
.workarea {
    flex: 1 0 auto;
    min-height: 0;
}

#bx_eshop_wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* этот блок должен растягиваться и “выталкивать” футер вниз */
#bx_eshop_wrap>#workarea {
    flex: 1 0 auto;
    min-height: 0;
}

/* футер не должен сжиматься */
#bx_eshop_wrap .bx-footer {
    flex-shrink: 0;
}

#pagetitle {
    margin-bottom: 35px;
}

#pagetitle,
h1 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: var(--ui-font-weight-semibold);
    margin: 0 0 var(--ui-space-4);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
    font-weight: var(--ui-font-weight-regular, 400);
}

.bx-content-section,
.bx-header-section {
    background-color: transparent;
    padding-bottom: 0;
}

.container.bx-content-section,
.bx-header-section.container {
    max-width: var(--ui-page-max);
}

.bx-wrapper {
    padding-top: var(--ui-space-4);
}

/*region HEADER*/
.bx-header {}

.bx-header-section {}

.bx-header-logo {
    order: 1
}

.bx-header-personal {
    order: 3
}

.bx-header-contact {
    order: 2
}

/*region Logo*/
.bx-logo-block {
    display: block;
    height: 50px;
    border-bottom: none;
}

.bx-logo-block img {
    max-height: 50px;
    max-width: 100%;
    width: auto;
    height: auto;
}

@media (max-width: 767px) {
    .bx-logo-block img {
        max-width: 100%;
        max-height: 45px;
        width: auto;
        height: auto;
    }

    .bx-header-logo {
        padding: 5px 50px;
        height: 55px;
        background-color: var(--theme-color-primary);
    }

    .bx-logo-block {
        height: auto;
    }

    body.bx-theme-green .bx-store-logo {
        background: #33b111;
    }
}

/*endregion*/

/*region included Phone*/
.bx-header-phone-block {
    display: flex;
    align-items: center;
}

.bx-header-phone-number {
    color: #000;
    white-space: nowrap;
    font: 21px/28px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
    font-weight: var(--ui-font-weight-semi-bold, 600);
    transition: 250ms linear all;
}

.bx-header-phone-icon {
    display: block;
    margin-right: 10px;
    width: 26px;
    height: 26px;
    background: no-repeat center url(/local/templates/default/images/phone.svg);
}

@media (max-width: 991px) {
    .bx-header-phone-number {
        font: 15px/18px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
        font-weight: var(--ui-font-weight-semi-bold, 600);
    }
}

/*endregion*/

/*region included Worktime*/
.bx-header-worktime {
    color: #000;
    font: 16px/22px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
    font-weight: var(--ui-font-weight-semi-bold, 600);
    transition: 250ms linear all;
}

.bx-worktime-title {
    color: #adadad;
    font: 12px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
    font-weight: var(--ui-font-weight-regular, 400);
}

.bx-worktime-schedule {
    color: #000;
    font: 12px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
    font-weight: var(--ui-font-weight-regular, 400);
}

@media (max-width: 991px) {
    .bx-header-worktime {
        font: 15px/18px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
        font-weight: var(--ui-font-weight-regular, 400);
    }
}

/*endregion*/

/*region New Header Layout — col-2 | col-4 | col-2 | col-2 | col-2 */

/* === Col 1: Logo + contacts === */
.bx-header-col-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    overflow: hidden;
}

.bx-header-expert-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.bx-header-phone-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 3px;
}

.bx-header-phone-link {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

.bx-header-phone-link:hover {
    color: #0057b8;
}

.bx-header-max-icon {
    display: inline-flex;
    align-items: center;
    color: #0057b8;
    text-decoration: none;
    flex-shrink: 0;
}

.bx-header-max-icon:hover {
    color: #003d87;
}

.bx-header-sales-label {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 1px;
}

.bx-header-email-link {
    font-size: 12px;
    color: #0057b8;
    text-decoration: none;
}

.bx-header-email-link:hover {
    text-decoration: underline;
}

/* === Col 2: Description + search === */
.bx-header-col-desc {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bx-header-description {
    font-size: 11.5px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 8px;
}

/* === Col 3: Альп Эмаль + отзывы Маркет === */
.bx-header-col-reviews {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bx-header-brand-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.bx-header-review-link {
    display: block;
    color: #0057b8;
    text-decoration: none;
    font-size: 11.5px;
    line-height: 1.4;
}

.bx-header-review-link--mt {
    margin-top: 2px;
}

.bx-header-review-link:hover {
    text-decoration: underline;
}

/* === Col 4: Яндекс.Маркет + Дзен === */
.bx-header-col-yandex {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bx-header-reviews-source {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.35;
}

.bx-header-dzen-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #000;
    margin-top: 4px;
}

/* === Col 5: Buy options / Auth panel === */
.bx-header-col-buy {
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

/* Авторизован: профиль */
.bx-header-auth-profile {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #0057b8;
    text-decoration: none;
    padding: 5px 8px;
    border: 1px solid #0057b8;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.bx-header-auth-profile:hover {
    background: #0057b8;
    color: #fff;
}

.bx-header-auth-profile svg {
    flex-shrink: 0;
}

/* Корзина внутри col-5: компактный вид */
.bx-header-col-buy .bx-basket-inline-wrap,
.bx-header-col-buy .bx-sbl-panel {
    width: 100%;
}

.bx-header-col-buy .bx-basket-inline-wrap a,
.bx-header-col-buy .bx-sbl-panel a {
    font-size: 11px;
}

.bx-header-buy-title {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.3;
}

.bx-header-buy-btn {
    display: block;
    padding: 4px 6px;
    font-size: 11px;
    color: #333;
    text-decoration: none;
    border: 1px solid #bbb;
    border-radius: 4px;
    text-align: center;
    line-height: 1.35;
    transition: background 0.15s, color 0.15s;
}

.bx-header-buy-btn:hover {
    background: #f0f0f0;
    color: #000;
}

.bx-header-buy-btn--primary {
    background: #0057b8;
    border-color: #0057b8;
    color: #fff;
    font-weight: 600;
}

.bx-header-buy-btn--primary:hover {
    background: #003d87;
    border-color: #003d87;
    color: #fff;
}

/*endregion*/

/*region Desktop guest header (reference screenshot) */
@media (min-width: 1200px) {
    .bx-header-section {
        background: #fff;
        padding-top: 10px;
        padding-bottom: 6px;
    }

    .bx-desktop-header-wrap {
        padding: 0 2px;
    }

    .bx-guest-header {
        display: grid;
        grid-template-columns: minmax(220px, 1.1fr) minmax(430px, 2.7fr) minmax(220px, 1.15fr) minmax(220px, 1.2fr) minmax(250px, 1.35fr);
        column-gap: 18px;
        row-gap: 10px;
        align-items: start;
    }

    .bx-guest-header__contacts {
        grid-column: 1;
        grid-row: 1 / span 2;
        min-width: 0;
    }

    .bx-guest-header__logo {
        display: block;
        height: auto;
        margin-bottom: 8px;
    }

    .bx-guest-header__logo img {
        max-height: 50px;
        width: auto;
        max-width: 100%;
    }

    .bx-guest-header__expert-label {
        font-size: 13px;
        color: #1b1b1b;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .bx-guest-header__phone-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .bx-guest-header__phone-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 18px;
        border: 1px solid #777;
        border-radius: 6px;
        background: #efefef;
        color: #111;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
    }

    .bx-guest-header__phone-link:hover {
        color: #111;
        text-decoration: none;
        border-color: #555;
    }

    .bx-guest-header__max-icon {
        color: #0257df;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .bx-guest-header__max-icon:hover {
        color: #003ea6;
    }

    .bx-guest-header__sales-label {
        font-size: 13px;
        color: #1b1b1b;
        margin-bottom: 3px;
        line-height: 1.2;
    }

    .bx-guest-header__email-link {
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
        color: #0257df;
        text-decoration: none;
    }

    .bx-guest-header__email-link:hover {
        text-decoration: underline;
    }

    .bx-guest-header__desc {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .bx-guest-header__description {
        margin: 0;
        font-size: 13px;
        line-height: 1.2;
        color: #111;
    }

    .bx-guest-header__reviews {
        grid-column: 3;
        grid-row: 1;
        min-width: 0;
    }

    .bx-guest-header__brand-title {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
        color: #111;
        margin-bottom: 10px;
    }

    .bx-guest-header__review-link {
        display: block;
        font-size: 13px;
        line-height: 1.2;
        color: #0257df;
        text-decoration: none;
    }

    .bx-guest-header__review-link:hover {
        text-decoration: underline;
        color: #0249ba;
    }

    .bx-guest-header__review-link--mt {
        margin-top: 10px;
    }

    .bx-guest-header__review-link--market {
        margin-top: 4px;
        margin-bottom: 10px;
    }

    .bx-guest-header__yandex {
        grid-column: 4;
        grid-row: 1;
        min-width: 0;
    }

    .bx-guest-header__source-title {
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
        color: #111;
        margin-bottom: 10px;
    }

    .bx-guest-header__dzen-title {
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
        color: #111;
        margin-bottom: 6px;
    }

    .bx-guest-header__buy {
        grid-column: 5;
        grid-row: 1 / span 2;
        min-width: 0;
    }

    .bx-guest-header__account {
        grid-column: 5;
        grid-row: 1 / span 2;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .bx-guest-header__account .bx-header-auth-profile {
        width: 100%;
        justify-content: center;
        min-height: 38px;
        border-color: #7a7a7a;
        color: #111;
        background: #efefef;
    }

    .bx-guest-header__account .bx-header-auth-profile:hover {
        background: #e4e4e4;
        color: #111;
        border-color: #666;
    }

    .bx-guest-header__account .bx-basket-inline-wrap,
    .bx-guest-header__account .bx-sbl-panel {
        width: 100%;
    }

    .bx-guest-header__account .bx-basket-inline-wrap a,
    .bx-guest-header__account .bx-sbl-panel a {
        font-size: 12px;
    }

    .bx-guest-header__buy-title {
        font-size: 13px;
        font-weight: 700;
        color: #111;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .bx-guest-header__buy-btn {
        display: block;
        text-decoration: none;
        text-align: center;
        color: #111;
        border: 1px solid #7a7a7a;
        border-radius: 6px;
        padding: 8px 10px;
        line-height: 1.15;
        font-size: 13px;
        font-weight: 500;
        background: #efefef;
    }

    .bx-guest-header__buy-btn + .bx-guest-header__buy-btn {
        margin-top: 8px;
    }

    .bx-guest-header__buy-btn:hover {
        color: #111;
        text-decoration: none;
        background: #e4e4e4;
    }

    .bx-guest-header__buy-btn--primary {
        background: #0257df;
        border-color: #0257df;
        color: #fff;
        font-weight: 600;
    }

    .bx-guest-header__buy-btn--primary:hover {
        color: #fff;
        background: #0049bd;
        border-color: #0049bd;
    }

    .bx-guest-header__search {
        grid-column: 2 / 4;
        grid-row: 1;
        min-width: 0;
        align-self: end;
        margin-top: 12px;
    }

    .bx-guest-header__search .search-title-control {
        position: relative;
        height: 44px;
        border-radius: 6px;
        border: 1px solid #8d8d8d;
        background: #f3f3f3;
    }

    .bx-guest-header__search .search-title-control::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 50%;
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        pointer-events: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23989898' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cline x1='21' y1='21' x2='16.7' y2='16.7'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px;
    }

    .bx-guest-header__search .search-title-input {
        font-size: 14px;
        color: #222;
        padding: 0 46px 0 48px;
    }

    .bx-guest-header__search .search-title-input::placeholder {
        color: #9a9a9a;
        font-weight: 500;
    }

    .bx-guest-header__search .search-title-clear {
        display: none !important;
    }

    .bx-guest-header__search .search-title-submit {
        width: 44px;
        min-width: 44px;
        border-left: none;
        background: transparent;
        color: transparent;
        font-size: 0;
        padding: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 16px;
    }

    .bx-guest-header__search .search-title-submit:hover {
        background-color: #e7e7e7;
    }

    .bx-header-breadcrumb {
        margin-top: 10px;
        margin-bottom: 2px !important;
    }

    #navigation,
    #navigation a {
        font-size: 12px;
        color: #949494 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1539px) {
    .bx-guest-header {
        grid-template-columns: minmax(200px, 1.1fr) minmax(360px, 2.3fr) minmax(190px, 1fr) minmax(190px, 1fr) minmax(220px, 1.2fr);
        column-gap: 14px;
    }

    .bx-guest-header__description,
    .bx-guest-header__review-link,
    .bx-guest-header__buy-btn,
    #navigation,
    #navigation a {
        font-size: 12px;
    }

    .bx-guest-header__phone-link,
    .bx-guest-header__email-link {
        font-size: 13px;
    }
}
/*endregion*/

/*endregion*/

.sidebar-block-title {
    color: #343434;
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
    font-weight: var(--ui-font-weight-semi-bold, 600);
}

/*region FOOTER*/
/* ===== YM-like footer, without changing markup ===== */
.bx-footer {
    background: var(--ui-bg-page, #fff);
    color: var(--ui-text, #111);
    border-top: 1px solid var(--ui-border-color, rgba(0, 0, 0, .08));
}

/* Top footer area: white like YM (override Bootstrap bg-dark) */
.bx-footer .bx-footer-section.bg-dark {
    background: var(--ui-bg-page, #fff) !important;
    color: var(--ui-text, #111);
}

/* Bottom bar: light gray like YM (override bg-secondary) */
.bx-footer .bx-footer-section.bg-secondary {
    background: var(--ui-bg-soft, #f5f3f1) !important;
    border-top: 1px solid var(--ui-border-color, rgba(0, 0, 0, .08));
}

/* Override bootstrap "white" text inside footer */
.bx-footer .text-white,
.bx-footer .text-light {
    color: var(--ui-text, #111) !important;
}

/* Titles */
.bx-footer .bx-block-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 18px;
    font-weight: 700;
    color: var(--ui-text, #111) !important;
}

/* Links in footer: muted gray like YM */
.bx-footer a {
    color: var(--ui-text-muted) !important;
    text-decoration: none;
    transition: color .12s ease-out;
}

.bx-footer .nav-link {
    color: var(--ui-text-muted) !important;
    padding: 2px 0 !important;
}

.bx-footer a:hover {
    color: var(--ui-text, #111) !important;
}

/* Menus spacing (Bitrix menu usually renders ul/li) */
.bx-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bx-footer li {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

/* Phone icon shouldn't be white */
.bx-footer .fa,
.bx-footer i.fa {
    color: var(--ui-text, #111) !important;
    opacity: .85;
}

/* Layout paddings closer to YM */
.bx-footer .bx-footer-section.py-5 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

.bx-footer .bx-footer-section.py-2 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Bottom row: left links + right copyright in muted */
.bx-footer .bx-footer-section.bg-secondary,
.bx-footer .bx-footer-section.bg-secondary * {
    font-size: 12px;
    line-height: 16px;
}

.bx-footer .bx-footer-section.bg-secondary a {
    color: var(--ui-text-secondary, rgba(17, 17, 17, .65)) !important;
}

.bx-footer .bx-footer-section.bg-secondary .text-right {
    color: var(--ui-text-muted, rgba(17, 17, 17, .45)) !important;
}

/* Mobile compact */
@media (max-width: 767px) {
    .bx-footer .bx-footer-section.py-5 {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }
}

/*endregion*/

.bx-inclinkspersonal-item.bx-theme-blue:hover {
    background: #0083d1;
}

.bx-theme-blue.bx-inclinkspersonal-selected {
    background: #3398d7;
}

.bx-inclinkspersonal-item.bx-theme-black:hover {
    background: #303030;
}

.bx-theme-black.bx-inclinkspersonal-selected {
    background: #484848;
}

.bx-inclinkspersonal-item.bx-theme-green:hover {
    background: #44b1c9;
}

.bx-theme-green.bx-inclinkspersonal-selected {
    background: #5cc3d1;
}

.bx-inclinkspersonal-item.bx-theme-red:hover {
    background: #e63c3c;
}

.bx-theme-red.bx-inclinkspersonal-selected {
    background: #e95c5c;
}

.bx-inclinkspersonal-item.bx-theme-yellow:hover {
    background: #f4a52e;
}

.bx-theme-yellow.bx-inclinkspersonal-selected {
    background: #fbb859;
}

/* Перехват bootstrap-кнопок под твои токены */
.btn {
    border-radius: var(--ui-radius-sm);
    font-weight: var(--ui-font-weight-semibold);
    line-height: 1;
    padding: 20px 14px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
}

/* Primary → желтая маркетная */
.btn-primary {
    background: var(--ui-primary);
    border-color: transparent;
    color: var(--ui-btn-text-on-primary);
}

.btn-primary:hover {
    background: var(--ui-primary-hover);
}

.btn-primary:active {
    background: var(--ui-primary-pressed);
}


/*region Bootstrap modified*/
.btn-primary,
.list-group-item.active {
    border-color: var(--theme-b-bd-primary);
    background-color: var(--theme-b-bg-primary);
    color: var(--theme-b-tx-primary);
}

.btn-primary:hover {
    border-color: var(--theme-b-bd-primary-hover);
    background-color: var(--theme-b-bg-primary-hover);
    color: var(--theme-b-tx-primary-hover);
}

.btn-primary.disabled,
.btn-primary:disabled {
    border-color: var(--theme-b-bg-primary);
    background-color: var(--theme-b-bg-primary);
    color: var(--theme-b-tx-primary);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    border-color: var(--theme-b-bd-primary-active);
    background-color: var(--theme-b-bg-primary-active);
    color: var(--theme-b-tx-primary-active);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem var(--theme-b-sd-primary);
}

.btn-light {
    background-color: var(--ui-bg-muted-btn);
}

.form-control:focus {
    border-color: var(--theme-color-primary);
    box-shadow: 0 0 0 0.2rem var(--theme-b-sd-primary);
}

a,
.btn-link {
    color: var(--theme-b-link);
}

a:hover,
.btn-link:hover {
    color: var(--theme-b-link-hover);
}

a {
    color: var(--ui-link);
    text-decoration: none;
}

a:hover {
    color: var(--ui-text-muted);
    text-decoration: none;
}

.g-font-size-15 {
    font-size: 15px;
}

.g-font-size-17 {
    font-size: 17px;
}

.g-font-size-20 {
    font-size: 20px;
}

.text-primary {
    color: var(--primary) !important
}

.bg-primary {
    background: var(--primary) !important
}

.border-primary {
    border-color: var(--primary) !important
}



/*endregion*/

/* Sidebar panel */
.bx-sidebar-block,
.catalog-sidebar,
.sidebar {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: var(--ui-space-4);
}

/* Заголовки в сайдбаре без CAPS (в маркетах капсом почти не пишут) */
.sidebar-block-title,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5 {
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--ui-text-md);
    font-weight: var(--ui-font-weight-semibold);
    color: var(--ui-text);
}

/* Ссылки/элементы в сайдбаре чуть “чище” */
.sidebar li {
    font-size: var(--ui-text-sm);
    font-weight: var(--ui-font-weight-medium);
    color: var(--ui-text);
}

/* Catalog sidebar: tighter block spacing + clearer category list rhythm */
.catalog-sidebar > div:first-child {
    margin-bottom: 8px;
}

.catalog-sidebar > .mb-4 {
    margin-bottom: 0 !important;
}

.catalog-sidebar .row.mb-4 {
    margin-bottom: 8px !important;
}

.catalog-sidebar .catalog-section-list-list {
    margin-bottom: 0;
}

.catalog-sidebar .catalog-section-list-list > .catalog-section-list-item {
    margin-bottom: 5px;
}

.catalog-sidebar .catalog-section-list-list > .catalog-section-list-item:last-child {
    margin-bottom: 0;
}

.catalog-sidebar .smart-filter {
    margin-top: 0;
}

.sidebar-icon {
    width: 27px;
    height: 27px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: var(--theme-color-primary);
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar-icon-label {
    background-image: url(/local/templates/default/images/label.svg);
    background-size: 19px auto;
}

.sidebar-icon-delivery {
    background-image: url(/local/templates/default/images/delivery.svg);
    background-size: 17px auto;
}

.sidebar-icon-sale {
    background-image: url(/local/templates/default/images/sale.svg);
    background-size: auto 17px;
}

.sidebar-icon-self {
    background-image: url(/local/templates/default/images/self.svg);
    background-size: auto 17px;
}

.sidebar-icon-phone {
    background-image: url(/local/templates/default/images/phone_white.svg);
    background-size: auto 21px;
}


/* Base text defaults (safe to apply locally via wrapper too) */
.ui-scope {
    font-family: var(--ui-font-family);
    color: var(--ui-text);
}

/* Surface / card */
.ui-card {
    background: var(--ui-bg-card);
    border: 1px solid var(--ui-border-color);
    border-radius: var(--ui-radius-md);
}

.ui-soft {
    background: var(--ui-bg-soft);
    border-radius: var(--ui-radius-md);
}

/* Price */
.ui-price {
    display: flex;
    align-items: baseline;
    gap: var(--ui-space-2);
    flex-wrap: wrap;
}

.ui-price__current {
    font-size: var(--ui-text-xl);
    font-weight: var(--ui-font-weight-bold);
    color: var(--ui-price);
    line-height: var(--ui-line-sm);
}

.ui-price__old {
    font-size: var(--ui-text-sm);
    color: var(--ui-text-muted);
    text-decoration: line-through;
}

.ui-price__discount {
    font-size: var(--ui-text-sm);
    font-weight: var(--ui-font-weight-medium);
    color: var(--ui-discount);
}

/* Thumbnails / gallery helpers */
.ui-thumb {
    border-radius: var(--ui-thumb-radius);
    overflow: hidden;
}

.ui-gallery {
    border-radius: var(--ui-gallery-radius);
    overflow: hidden;
}

.bx-404-page {
    min-height: 60vh;
    /* чтобы футер не прилипал */
    display: flex;
    align-items: center;
    /* вертикаль */
    justify-content: center;
    /* горизонталь */
    padding: 40px 0;
}

.bx-404-inner {
    max-width: 920px;
    display: flex;
    gap: 32px;
    align-items: center;
}

.bx-404-code {
    font-size: 120px;
    line-height: 1;
    font-weight: 700;
    color: #8f9aa3;
    letter-spacing: -2px;
}

.bx-404-content {
    max-width: 420px;
}

.bx-404-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bx-404-text {
    color: #6b7785;
    line-height: 1.5;
    margin-bottom: 16px;
}

.bx-404-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .bx-404-inner {
        flex-direction: column;
        text-align: center;
    }

    .bx-404-content {
        max-width: none;
    }

    .bx-404-code {
        font-size: 84px;
    }

    .bx-404-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ============================================================
   MOBILE: Bottom sheet — Каталог и Фильтры
   ============================================================ */

/* --- Кнопка-бар над товарами (горизонтальный скролл) --- */
.mob-filter-chips {
    display: flex;
    gap: 8px;
    padding: 0 2px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mob-filter-chips::-webkit-scrollbar {
    display: none;
}

.mob-filter-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    height: 40px;
    border: 1px solid #8d8d8d;
    border-radius: 10px;
    background: #f3f3f3;
    font-size: 14px;
    font-weight: 500;
    color: #909090;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    position: relative;
    white-space: nowrap;
}

.mob-filter-chip--icon {
    padding: 0;
    border-radius: 10px;
    width: 40px;
    height: 40px;
}

.mob-filter-chip:active {
    background: #e7e7e7;
}

.mob-filter-chip__icon-svg {
    width: 22px;
    height: 22px;
    display: block;
    color: #909090;
}

.mob-filter-chip__icon-svg path {
    fill: currentColor;
}

/* Бейдж с числом активных фильтров */
.mob-filter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #0257DF;
    border: 2px solid #fff;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* --- Overlay --- */
.mob-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mob-sheet-overlay--visible {
    display: block;
    animation: mobOverlayIn .25s ease forwards;
}

@keyframes mobOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Bottom sheet --- */
.mob-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    max-height: none;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.32, .72, 0, 1);
    will-change: transform;
}

.mob-sheet--open {
    transform: translateY(0);
}

/* drag handle */
.mob-sheet::before {
    display: none;
}

/* --- Header --- */
.mob-sheet__header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 16px;
    border-bottom: none;
    flex-shrink: 0;
}

.mob-sheet__title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    letter-spacing: -.01em;
}

.mob-sheet__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    padding: 0;
}

.mob-sheet__close:active {
    opacity: 0.7;
}

/* --- Active filter tags row --- */
.mob-sheet__active-tags {
    display: flex;
    align-items: center;
    padding: 0 16px 12px;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mob-sheet__active-tags::-webkit-scrollbar {
    display: none;
}

.mob-sheet__active-tags::after {
    content: '';
    flex-shrink: 0;
    width: 16px;
    min-width: 16px;
}

.mob-sheet__active-tags:empty {
    padding: 0;
}

.mob-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0257DF;
    color: #fff;
    padding: 6px 10px 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
    margin-top: 15px;
}

.mob-filter-tag__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .28);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: background .12s;
}

.mob-filter-tag__x:hover {
    background: rgba(255, 255, 255, .45);
}

/* --- Scrollable body --- */
.mob-sheet__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
}


/* --- Filter inside sheet --- */
.mob-sheet--filter .smart-filter {
    margin-bottom: 0;
}

.mob-sheet--filter .smart-filter-parameters-box:first-child {
    padding-top: 16px;
}

/* Принудительно открываем все блоки (отключаем аккордеон) */
.mob-sheet--filter .smart-filter-parameters-box .bx-filter-block,
.mob-sheet--filter .smart-filter-parameters-box .smart-filter-block,
.mob-sheet--filter .smart-filter-parameters-box-container {
    display: block !important;
}

/* Скрываем стрелочки аккордеона */
.mob-sheet--filter .smart-filter-angle,
.mob-sheet--filter .bx-filter-angle {
    display: none !important;
}

.mob-sheet--filter .smart-filter-parameters-box-title-text {
    font-size: 15px;
    color: #111;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* Pill-style checkboxes (Бренд, Глянец и др.) */
.mob-sheet--filter .smart-filter-input-group-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.mob-sheet--filter .smart-filter-input-group-checkbox-list .form-group.form-check {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.mob-sheet--filter .smart-filter-input-group-checkbox-list .form-check-input {
    display: none;
}

.mob-sheet--filter .smart-filter-input-group-checkbox-list .form-check-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #c0c0c0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    transition: background .12s, border-color .12s;
    user-select: none;
    background: #fff;
    margin: 0;
}

.mob-sheet--filter .smart-filter-input-group-checkbox-list .form-check-input:checked+.form-check-label {
    background: #fff;
    border: 2px solid #000;
    color: #000;
    font-weight: 500;
    padding: 7px 13px;
}

/* iOS Toggle-свитчеры для булевых свойств (Доставка, Ниже рынка) */
.mob-sheet--filter .is-boolean-prop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.mob-sheet--filter .is-boolean-prop .smart-filter-parameters-box-title-text {
    margin-bottom: 0; /* Убираем отступ заголовка */
}

.mob-sheet--filter .is-boolean-prop .smart-filter-input-group-checkbox-list {
    margin: 0;
    gap: 0;
}

.mob-sheet--filter .is-boolean-prop .form-check-input {
    display: none;
}

.mob-sheet--filter .is-boolean-prop .form-check-label {
    position: relative;
    width: 46px;
    height: 26px;
    background: #e0e0e0;
    border-radius: 13px;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.mob-sheet--filter .is-boolean-prop .form-check-label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.mob-sheet--filter .is-boolean-prop .form-check-input:checked + .form-check-label {
    background: #0257DF;
}

.mob-sheet--filter .is-boolean-prop .form-check-input:checked + .form-check-label::after {
    transform: translateX(20px);
}

/* Price/range inputs */
.mob-sheet--filter .smart-filter-input-group-number .d-flex {
    gap: 12px;
}

.mob-sheet--filter .smart-filter-input-group-number .form-group {
    flex: 1;
    margin: 0;
}

.mob-sheet--filter .smart-filter-input-group-number .form-control {
    border-radius: 6px;
    border: 1px solid #a0a0a0;
    padding: 10px 12px;
    font-size: 14px;
    background: #fdfdfd;
    color: #111;
    height: 42px;
}

/* Скрываем трекбар для числовых диапазонов */
.mob-sheet--filter .smart-filter-slider-track-container,
.mob-sheet--filter .bx-ui-slider-track-container {
    display: none !important;
}

/* Section separators */
.mob-sheet--filter .smart-filter-parameters-box {
    padding-bottom: 16px;
    margin-bottom: 0;
    border-bottom: none;
}

.mob-sheet--filter .smart-filter-parameters-box:last-child {
    border-bottom: none;
}

/* Radio buttons as pills (Срок доставки etc.) */
.mob-sheet--filter .smart-filter-parameters-box .radio {
    display: inline-flex;
    margin: 0;
}

.mob-sheet--filter .smart-filter-parameters-box .smart-filter-input-group-checkbox-list + .radio,
.mob-sheet--filter .smart-filter-parameters-box .col {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

.mob-sheet--filter .smart-filter-param-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #c0c0c0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    background: #fff;
    margin: 0;
    user-select: none;
}

.mob-sheet--filter .smart-filter-param-label.bx-active,
.mob-sheet--filter .smart-filter-param-label:has(input:checked) {
    border: 2px solid #000;
    font-weight: 500;
    padding: 7px 13px;
}

.mob-sheet--filter .smart-filter-param-label .smart-filter-input-checkbox {
    display: inline;
}

/* Hide radio/checkbox inputs inside pill labels regardless of wrapper depth */
.mob-sheet--filter .smart-filter-param-label input[type="radio"],
.mob-sheet--filter .smart-filter-param-label input[type="checkbox"] {
    display: none;
}

.mob-sheet--filter .smart-filter-param-label .smart-filter-param-text {
    display: inline;
}

/* "Показать все" button */
.mob-sheet--filter .js-filter-toggle.sf-toggle-btn {
    color: #0257DF;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0 0;
    display: block;
    width: 100%;
    text-align: left;
}

.mob-sheet--filter .show-all-button-text {
    color: #0257DF;
}

.mob-sheet--filter .sf-show-all-box {
    border-color: #0257DF;
}

/* --- Footer buttons --- */
.mob-sheet__footer {
    display: flex;
    gap: 12px;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    flex-shrink: 0;
    background: #fff;
    border-top: none;
}

.mob-sheet__footer-btn {
    flex: 1;
    padding: 14px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity .15s, background .15s;
    line-height: 1;
}

.mob-sheet__footer-btn--cancel {
    background: #f5f5f5;
    color: #111;
    border: 1px solid #d8d8d8;
}

.mob-sheet__footer-btn--cancel:active {
    background: #ebebeb;
}

.mob-sheet__footer-btn--apply {
    background: #0257DF;
    color: #fff;
}

.mob-sheet__footer-btn--apply:active {
    background: #013faa;
}

/* --- Body scroll lock --- */
body.mob-sheet-lock {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


/* ============================================================
   MOBILE: Header (mob-header)
   ============================================================ */
.mob-header {
    padding: 12px 10px 16px;
    background: #fff;
    margin-bottom: 12px;
}

/* --- Top Row: 2 колонки (Левая и Правая) --- */
.mob-header__top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

/* Левая и Правая колонки */
.mob-header__col-left,
.mob-header__col-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 52px;
}

.mob-header__col-right {
    align-items: center;
}

.mob-header__logo {
    display: block;
    max-width: 140px;
}
.mob-header__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mob-header__expert {
    font-size: 13px;
    font-weight: 500;
    color: #111;
    text-align: center;
    align-self: flex-end;
    margin-top: 2px;
    margin-right: 3px;
}

.mob-header__sales-col {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mob-header__sales-label {
    font-size: 13px;
    font-weight: 500;
    color: #111;
    margin-bottom: 2px;
}

.mob-header__email {
    font-size: 14px;
    font-weight: 700;
    color: #0257DF;
    text-decoration: none;
}

.mob-header__contact-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mob-header__chat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0257DF;
}

.mob-header__phone {
    display: inline-block;
    background: #0257DF;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
}

/* --- Search Row --- */
.mob-header__search-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 16px;
}

.mob-header__menu-btn {
    flex: 0 0 46px;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    border: 1px solid #8d8d8d;
    border-radius: 8px;
    color: #909090;
    cursor: pointer;
    padding: 0;
    transition: background .2s, border-color .2s;
}

.mob-header__menu-btn:active {
    background: #e7e7e7;
}

.mob-header__search {
    flex: 1;
    min-width: 0;
}

/* Мобильный поиск: высота и ширина */
.mob-header__search .search-title-form {
    display: block;
    height: 46px;
}

.mob-header__search .search-title-control {
    height: 46px !important;
    max-width: none !important;
}

/* Кнопка «Найти» → иконка-лупа */
.mob-header__search .search-title-submit {
    width: 46px !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    background-color: #f0f0f0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px !important;
}

/* Мобильный поиск: как на ПК */
.mob-header__search .search-title-form {
    height: 44px !important;
}

.mob-header__search .search-title-control {
    position: relative;
    height: 44px !important;
    max-width: none !important;
    border-radius: 6px !important;
    border: 1px solid #8d8d8d !important;
    background: #f3f3f3 !important;
}

.mob-header__search .search-title-control::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23989898' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cline x1='21' y1='21' x2='16.7' y2='16.7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
}

.mob-header__search .search-title-input {
    font-size: 14px !important;
    color: #222 !important;
    padding: 0 46px 0 48px !important;
}

.mob-header__search .search-title-input::placeholder {
    color: #9a9a9a !important;
    font-weight: 500;
}

.mob-header__search .search-title-clear {
    display: none !important;
}

.mob-header__search .search-title-submit {
    width: 44px !important;
    min-width: 44px !important;
    border-left: none !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    padding: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px !important;
}

.mob-header__search .search-title-submit:hover {
    background-color: #e7e7e7 !important;
}

/* --- Quick Buy Info Box --- */
.mob-header__buy-box {
    background: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 14px;
}

.mob-header__buy-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.mob-header__buy-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
    color: #0257DF;
}

.mob-header__buy-list li {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
}
.mob-header__buy-list li:last-child {
    margin-bottom: 0;
}

/* --- Catalog grid inside sheet --- */
.mob-sheet--catalog .mob-sheet__body {
    padding: 10px 20px 16px;
}

.mob-sheet--catalog .catalog-section-list-tile-list.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mob-sheet--catalog .catalog-section-list-tile-list.row>.catalog-section-list-item {
    padding: 0;
    width: auto;
    max-width: none;
    min-width: 0;
}

.mob-sheet--catalog .catalog-section-list-item-inner {
    padding: 8px;
    background: #f3f3f3;
    border: 1px solid #9b9b9b;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    aspect-ratio: 1; /* Квадрат */
    margin: 0;
}

/* Полностью скрываем блок картинки */
.mob-sheet--catalog .catalog-section-list-tile-img-container {
    display: none !important;
}

.mob-sheet--catalog .catalog-section-list-item-title {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    margin: 0;
    text-align: left;
}

.mob-sheet--catalog .catalog-section-list-item-link {
    color: inherit;
    text-decoration: none;
}

/* Убираем лишнюю обёртку row>col внутри mob-catalog-grid */
.mob-sheet--catalog .mob-catalog-grid>.row {
    margin-bottom: 0 !important;
}

.mob-sheet--catalog .mob-catalog-grid>.row>.col {
    padding: 0;
}

/* Catalog section lists: no bullets and no left indent */
.catalog-section-list-line-list,
.catalog-section-list-text-list,
.catalog-section-list-tile-list,
.catalog-section-list-list,
.catalog-section-list-list ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* ============================================================
   HEADER VISIBILITY: mob vs desktop (replaces Bootstrap d-xl-* classes)
   Bitrix's ui.bootstrap4 doesn't reliably include xl display utilities.
   We control visibility via plain CSS wrappers instead.
   ============================================================ */

/* Mobile header: visible by default (mobile-first) */
.mob-header {
    display: block;
}

/* Desktop header wrappers: hidden by default */
.bx-desktop-header-wrap,
.bx-desktop-breadcrumb-wrap {
    display: none;
}

/* At xl (≥1200px): flip — show desktop, hide mobile */
@media (min-width: 1200px) {
    .mob-header {
        display: none !important;
    }
    .bx-desktop-header-wrap,
    .bx-desktop-breadcrumb-wrap {
        display: block;
    }
}

/* ============================================================
   Low desktop adaptation: target screens below 1366x768
   Goal: keep two visible product rows by compacting header,
   sidebar filter, and catalog cards.
   ============================================================ */
@media (min-width: 1200px) and (max-width: 1365px),
       (min-width: 1200px) and (max-height: 767px) {
    .bx-header-section {
        padding-top: 6px;
        padding-bottom: 2px;
    }

    .bx-guest-header {
        column-gap: 10px;
        row-gap: 6px;
    }

    .bx-guest-header__logo {
        margin-bottom: 4px;
    }

    .bx-guest-header__logo img {
        max-height: 38px;
    }

    .bx-guest-header__expert-label,
    .bx-guest-header__sales-label,
    .bx-guest-header__email-link,
    .bx-guest-header__description,
    .bx-guest-header__brand-title,
    .bx-guest-header__review-link,
    .bx-guest-header__source-title,
    .bx-guest-header__dzen-title,
    .bx-guest-header__buy-title {
        font-size: 11px;
        line-height: 1.15;
    }

    .bx-guest-header__phone-row {
        gap: 6px;
        margin-bottom: 6px;
    }

    .bx-guest-header__phone-link {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .bx-guest-header__buy-btn {
        padding: 5px 8px;
        font-size: 11px;
        line-height: 1.1;
    }

    .bx-guest-header__buy-btn + .bx-guest-header__buy-btn {
        margin-top: 5px;
    }

    .bx-guest-header__search {
        margin-top: 6px;
    }

    .bx-guest-header__search .search-title-control {
        height: 36px;
    }

    .bx-guest-header__search .search-title-input {
        font-size: 13px;
        padding: 0 40px 0 42px;
    }

    .bx-guest-header__search .search-title-control::before {
        left: 10px;
        width: 16px;
        height: 16px;
        background-size: 16px;
    }

    .bx-guest-header__search .search-title-submit {
        width: 36px;
        min-width: 36px;
        background-size: 14px;
    }

    .bx-header-breadcrumb {
        margin-top: 6px;
        margin-bottom: 0 !important;
    }

    #navigation,
    #navigation a {
        font-size: 11px;
    }

    .catalog-sidebar,
    .bx-sidebar-block,
    .sidebar {
        padding: 8px;
    }

    .catalog-sidebar > div:first-child {
        margin-bottom: 4px;
    }

    .catalog-sidebar .row.mb-4 {
        margin-bottom: 4px !important;
    }

    .sidebar-block-title {
        font-size: 12px;
    }

    .smart-filter {
        margin-bottom: 10px;
    }

    .smart-filter-parameters-box {
        margin-bottom: 8px;
        padding-bottom: 1px;
    }

    .smart-filter-parameters-box-title {
        padding-bottom: 2px;
    }

    .smart-filter-parameters-box-title-text {
        font-size: 12px;
    }

    .smart-filter-input-group-checkbox-list .form-group.form-check {
        gap: 6px;
        margin-bottom: 5px;
    }

    .smart-filter-input-group-checkbox-list .form-check-input {
        width: 18px;
        height: 18px;
        border-radius: 4px;
    }

    .smart-filter-input-group-checkbox-list .form-check-input::before {
        width: 7px;
        height: 7px;
    }

    .smart-filter-input-group-checkbox-list .form-check-label,
    .show-all-button-text {
        font-size: 12px;
        line-height: 1.25;
    }

    .smart-filter #set_filter.btn,
    .smart-filter #del_filter.btn {
        font-size: 12px;
        padding: 5px 12px;
    }

    .catalog-section {
        margin-bottom: 8px !important;
    }

    .product-item {
        padding-top: 8px;
    }

    .product-item-sub {
        margin-bottom: 8px;
    }

    .product-item .product-item-image-wrapper {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    .product-item .product-item-image-original,
    .product-item .product-item-image-alternative,
    .product-item .product-item-image-slide {
        padding: 6px;
    }

    .product-item .product-item-image-slider-control-container {
        margin-bottom: 4px;
    }

    .product-item-title,
    .product-item-title a {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .product-item-price-current,
    .product-item-big-card .product-item-price-current {
        font-size: 14px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
    }

    .product-item-info-container {
        margin-bottom: 4px;
    }

    .product-item-title {
        margin-bottom: 2px !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
    }

    .product-item-cart-overlay {
        right: 4px;
        bottom: 4px;
    }

    .product-item-cart-wrap,
    .product-item-cart-btn,
    .product-item-cart-btn .product-item-cart-svg {
        width: 38px !important;
        height: 38px !important;
    }
}

/* End */
/* /local/templates/default/components/bitrix/search.title/bootstrap_v4/style.css?17757267683429 */
/* /bitrix/components/bitrix/breadcrumb/templates/universal/style.min.css?1767949518620 */
/* /bitrix/components/bitrix/catalog.section.list/templates/bootstrap_v4/style.min.css?17679495252306 */
/* /bitrix/components/bitrix/sale.basket.basket.line/templates/bootstrap_v4/style.min.css?17679495314065 */
/* /local/templates/default/template_styles.css?177666294455172 */
