/* --- 1. Общие настройки и Хедер --- */
.line-block--gap-12 { --gap: 24px; }

#headerfixed, 
#headerfixed .header, 
#headerfixed .header__inner, 
#headerfixed .header__main-part {
    background-color: rgba(255, 255, 255, 0.1) !important; 
    background-image: none !important;
}

#headerfixed .header__inner {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); 
}

#headerfixed .header__inner--shadow-fixed {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important; /* Исправлено: было 4px4 */
}

.header__top-part { height: 54px; }

.phones__dropdown .dropdown {
    padding: 15px 16px;
    min-width: 240px;
}

/* --- 2. Поиск и Кнопки --- */
.search.search--hastype { --search-height: 54px; }
.search.search--hastype .search-input-div { height: var(--search-height); }
.search.search--hastype .search-input {
    height: var(--search-height) !important;
    padding: 0 20px !important;
    line-height: var(--search-height);
    border-width: 1px !important;
    border-color: var(--theme-base-color) !important;
    transition: all 0.2s ease-in-out;
}

.btn.btn-lg { --button-height: 54px; }
.btn.btn-sm {
    --button-height: 46px;
    --button-font-size: 0.875rem;
    --button-pl: 10px;
    --button-pr: 10px;
}

/* --- 3. Карточка товара и Кнопки купить (Общие стили) --- */
.catalog-block__info-tech { display: none !important; }
.catalog-block__info-bottom { margin-top: 30px; position: relative; }

.line-block.flexbox--justify-center {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: nowrap !important; /* На десктопе оставляем в одну линию */
    margin: 0 !important;
    gap: 8px; 
}

.line-block--8 > .line-block__item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.js-btn-state-wrapper { 
    flex: 1 1 auto !important; 
    min-width: 0; 
}

.btn.to_cart {
    width: 100% !important;
    height: 46px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    min-width: max-content !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.js-replace-icons {
    flex: 0 0 auto !important;
    display: flex !important;
    gap: 8px;
    align-items: center;
}

.item-action__inner {
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--ui-color-base-05);
    border-radius: var(--ui-border-radius-sm);
}

/* --- АДАПТИВ ДЛЯ КНОПОК НА МОБИЛКАХ --- */
@media (max-width: 600px) {
    /* Разрешаем перенос элементов на новую строку */
    .line-block.flexbox--justify-center {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* Обертка кнопки "В корзину" занимает 100% ширины */
    .js-btn-state-wrapper {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    /* Кнопка "В корзину" тоже растягивается */
    .btn.to_cart {
        min-width: 100% !important; /* Перебиваем десктопное правило */
        font-size: 15px !important;
    }

    /* Обертка для иконок переносится вниз и тоже занимает всю ширину */
    .js-replace-icons {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    /* Сами иконки (сердце и сравнение) делят нижнее пространство пополам */
    .item-action__inner {
        flex: 1 !important; /* Растягиваем на 50% ширины каждая */
        width: auto !important; 
        max-width: none !important;
        height: 42px !important; /* Чуть уменьшаем высоту для аккуратности */
    }
}

/* --- 4. Баннеры с текстом --- */
.banners-img-with-text-list__item {
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.4s ease-in-out !important;
}

.banners-img-with-text-list__item:hover .banners-img-with-text-list__item-image { transform: scale(1.08); }
.banners-img-with-text-list__item-image { transition: transform 0.7s ease !important; }

.banners-img-with-text-list__item-text--absolute {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 15px !important;
}

.banners-img-with-text-list__item-title a {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banners-tags-title-stroke {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 5px 14px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    display: inline-block;
}

.banners-img-with-text-list__item-tags-link:hover .banners-tags-title-stroke {
    background: #007dbf !important;
    border-color: #007dbf !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 125, 191, 0.4);
}

.banners-img-with-text-list__item-tags {
    gap: 5px !important;      /* Современный способ сделать отступ между кнопками */    
}

/* --- 5. Попапы и формы --- */
.form.popup {
    max-width: 500px !important;
    width: 100% !important;
    padding: 20px 15px !important;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.form-header .title {
    font-size: 28px !important;
    font-weight: 800 !important;
    text-align: center;
}

.form-control.input-filed, 
.form-control.phone {
    height: 54px !important;
    border-radius: 12px !important;
    padding: 0 20px !important;
    background: #f7f9fc !important;
    border: 2px solid #f7f9fc !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.form-control.input-filed:focus, 
.form-control.phone:focus {
    background: #fff !important;
    border-color: var(--theme-base-color) !important;
    box-shadow: 0 8px 20px var(--theme-base-opacity-color) !important;
}

.form-footer input[type="submit"].btn-default {
    height: 60px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: var(--theme-base-color) !important;
    color: #fff !important;
    width: 100%;
    box-shadow: 0 10px 25px var(--theme-base-opacity-color) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* --- 6. Блок Компании (Айсберг) --- */
.company-front-wrapper.flexbox {
    display: block !important;
    padding: 80px 60px !important;
    position: relative;
    overflow: visible !important; /* Изменил на visible, чтобы тень не резалась */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 30px !important;
    background: var(--card_bg_black) !important; 
    border: 1px solid var(--stroke_black) !important;
    z-index: 1;
}

/* Ограничитель для свечения, чтобы не вылезало, раз мы убрали overflow у родителя */
.company-front-wrapper::before {
    content: "";
    position: absolute; 
    top: -100px; 
    right: -100px;
    width: 300px; 
    height: 300px;
    background: radial-gradient(circle, var(--theme-base-opacity-color) 0%, transparent 70%);
    z-index: -1; /* Уводим под контент */
    pointer-events: none;
    border-radius: 30px;
}

/* ВОЗВРАЩАЕМ ТЕНЬ И ЭФФЕКТ ПРИ НАВЕДЕНИИ */
.company-front-wrapper:hover {
    transform: translateY(-8px); /* Чуть выше поднимаем */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--theme-base-color) !important; /* Подсветим рамку при наведении */
}

.company-item__title .index-block__title {
    font-size: 42px !important;
    font-weight: 900 !important;
    background: linear-gradient(45deg, var(--white_text_black), var(--theme-base-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1; 
    position: relative;
}

.main-quote {
    font-size: 22px; 
    font-weight: 600;
    color: var(--theme-base-color);
    border-left: 4px solid var(--theme-base-color);
    padding-left: 20px; 
    margin: 25px 0;
}

.features-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    margin-top: 35px; 
}

.feature-tag {
    background: var(--theme-base-opacity-color);
    color: var(--theme-base-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px; 
    font-weight: 700;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--theme-base-color);
    color: #fff;
}

/* --- 7. МЕДИА-ЗАПРОСЫ (Адаптив) --- */
@media (max-width: 600px) {
    .company-front-wrapper.flexbox { 
        padding: 40px 20px !important; 
        overflow: hidden !important; /* На мобилках лучше скрыть вылеты */
    }
    
    .company-front-wrapper:hover {
        transform: none; /* На мобилках подъем не нужен */
    }

    .company-item__title .index-block__title { 
        font-size: 28px !important; 
        -webkit-text-fill-color: var(--white_text_black);
    }
    
    .main-quote {
        font-size: 18px;
    }
    
    .features-grid { 
        justify-content: flex-start; 
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .line-block.flexbox--justify-center { gap: 4px !important; }
    .btn.to_cart { font-size: 13px !important; padding: 0 8px !important; min-width: 0 !important; }
    .item-action__inner { width: 40px !important; height: 40px !important; min-width: 40px !important; }
    .banners-tags-title-stroke { padding: 3px 8px !important; font-size: 12px !important; }
}

/* 1. Очистка стандартных стилей Аспро */
.skewed-plate-inner .banners-big__title,
.skewed-plate-inner .banners-big__title a {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    display: inline !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* 2. Внешний контейнер (позиционирование) */
.skewed-plate-wrapper {
    display: inline-block;
    margin-left: 10px;   /* Отступ слева как в твоем примере */
    margin-bottom: 12px; /* Чуть увеличил для баланса */
}

/* 3. Сама белая плашка (стиль из твоего примера) */
.skewed-plate-inner {
    background: #ffffff !important;
    transform: skewX(-15deg) !important;
    padding: 5px 15px !important; /* Компактные отступы из примера */
    border: 1px solid rgba(0,0,0,0.05) !important; /* Тонкая грань */
    
    /* Смешанная тень: мягкая + жесткая как в примере */
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05) !important; 
    
    display: inline-block !important;
}

/* 4. Текст внутри (возвращаем наклон и красим) */
.skewed-plate-inner .banners-big__title,
.skewed-plate-inner .banners-big__title a,
.skewed-plate-inner h1.banners-big__title {
    display: block !important;
    transform: skewX(15deg) !important; /* Выравниваем текст */
    
    color: #005a8a !important; /* Твой фирменный синий */
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 40px !important; /* Размер для заголовка, можно подкрутить */
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

/* Адаптив */
@media (max-width: 768px) {
    .skewed-plate-inner {
        padding: 4px 12px !important;
    }
    .skewed-plate-inner .banners-big__title {
        font-size: 18px !important;
    }
    .skewed-plate-wrapper {
        margin-left: 0; /* На мобилках лучше без отступа слева */
    }
}

/* Скрываем обертку чекбокса, если внутри него счетчик равен (0) */
.form-checkbox:has([data-role^="count_"]):has(span[data-role^="count_"]:-moz-only-whitespace),
.form-checkbox:has([data-role^="count_"]):has(span[data-role^="count_"]:empty),
.form-checkbox:has(span[data-role^="count_"]):filter(span:contains("0")) {
    /* Это сложные селекторы, давай сделаем проще через поиск текста (0) */
}

/* Если Битрикс выводит (0), то просто ищем этот текст и скрываем родителя */
/* В Аспро обычно помогает вот такой вариант: */
.bx_filter_parameters_box .form-checkbox:has(span[data-role^="count_"]:-moz-only-whitespace),
.bx_filter_parameters_box .form-checkbox:has(span[data-role^="count_"]:empty) {
    display: none !important;
}

/* Самый надежный способ для Аспро, если они не удаляют 0 из верстки */
.bx_filter_parameters_box label.disabled {
    display: none !important;
}

.share {
    display: none !important;
}

.grid-list.catalog-detail__forms {
    display: none !important;
}

.form.popup {
    max-width: 100% !important;
}

.price-economy__val {
    background: #41e667 !important;
}

.banners-big__text {
    width: 100%!important;
}

.left_block {
    height: auto !important;
    min-height: 100%;
    display: block !important; /* Уйдем от flex для чистоты эксперимента */
}

.custom-smart-sticky {
    position: sticky !important;
    width: 100%;
    /* Больше никаких top или bottom здесь быть не должно! */
    will-change: top;
}

/* Контейнер сетки */
.sections-block__wrapper {
    gap: var(--gap);
    padding: 20px 0;
}

/* Сама карточка категории */
.sections-block__item {
    background: var(--card_bg_black) !important;
    border: 1px solid var(--stroke_black) !important;
    border-radius: var(--theme-outer-border-radius) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Внутренняя обертка */
.sections-block__item-inner {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

/* Обертка картинки */
.sections-block__item-image-wrapper {
    margin-bottom: 15px;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Фиксируем высоту для ровной сетки */
}

.sections-block__item-image {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

/* Текст названия */
.sections-block__item-text {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--white_text_black) !important;
    margin-top: auto;
    transition: color 0.3s ease;
}

/* --- ЭФФЕКТЫ ПРИ НАВЕДЕНИИ --- */

.sections-block__item:hover {
    transform: translateY(-8px); /* Приподнимаем */
    border-color: var(--theme-base-color) !important;
    box-shadow: 0 20px 40px rgba(0, 125, 191, 0.15) !important;
    background: var(--card_bg_hover_black) !important;
}

.sections-block__item:hover .sections-block__item-image-wrapper {
    transform: scale(1.1); /* Увеличиваем картинку */
}

.sections-block__item:hover .sections-block__item-text {
    color: var(--theme-base-color) !important;
}

/* Декоративная полоска снизу при наведении */
.sections-block__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--theme-base-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sections-block__item:hover::after {
    width: 60%;
}

/* Адаптив для мобилок */
@media (max-width: 600px) {
    .sections-block__item-inner {
        padding: 15px !important;
    }
    .sections-block__item-text {
        font-size: 14px !important;
    }
    .sections-block__item-image-wrapper {
        height: 80px;
    }
}

/* 1. Контейнер блока — уменьшаем высоту за счет padding */
.topic {
    padding-top: var(--ui-space-inset-lg) !important;    /* 20px вместо 48px */
    padding-bottom: var(--ui-space-inset-lg) !important; /* 20px вместо 24px */
    background-color: var(--lite_bg_black) !important;   /* Светло-серый фон */
}

/* 2. Обновленная акцентная полоска слева (через псевдоэлемент) */
.topic .topic__heading {
    position: relative !important;
    /* Убираем старую рамку */
    border-left: none !important;
    /* Увеличиваем отступ слева, чтобы освободить место для новой полоски */
    padding-left: var(--ui-space-inline-lg) !important; /* Было -md, стало -lg */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Создаем саму полоску */
.topic .topic__heading::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important; /* Центрируем по вертикали */
    transform: translateY(-50%) !important; /* Точная центровка */
    
    /* НАСТРОЙКИ ВЫСОТЫ И ШИРИНЫ */
    width: 4px !important;     /* Ширина полоски */
    height: 150% !important;   /* Высота полоски (150% от высоты заголовка) */
    
    /* Цвет и скругление */
    background-color: var(--theme-base-color) !important;
    border-radius: 2px !important; /* Опционально: легкое скругление углов */
}

/* 3. Заголовок — убираем нижний отступ, так как теперь они в ряд */
.topic .switcher-title {
    font-family: var(--theme-font-title-family), sans-serif !important;
    font-weight: var(--ui-font-weight-bold) !important;
    font-size: var(--ui-font-size-5xl) !important;
    line-height: 1 !important; /* Прижимаем строку */
    color: var(--ui-color-text-primary) !important;
    letter-spacing: var(--ui-text-letter-spacing-neg-2) !important; 
    margin: 0 !important; 
    max-width: none !important;
}

/* 4. Бейджик — делаем чуть компактнее */
.topic .element-count-wrapper {
    display: flex !important;
}

.topic .element-count-wrapper .element-count {
    font-size: var(--ui-font-size-3xs) !important; /* 11px */
    background: var(--theme-base-opacity-color) !important; 
    color: var(--theme-base-color) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* 5. Мобильная версия */
@media (max-width: 768px) {
    .topic {
        padding-top: var(--ui-space-inset-md) !important;
        padding-bottom: var(--ui-space-inset-md) !important;
    }
    .topic .switcher-title {
        font-size: var(--ui-font-size-3xl) !important; 
    }
}

/* 1. Основной контейнер плашки */
.sections-list__item {
    background: var(--card_bg_black) !important;
    border: 1px solid var(--stroke_black) !important;
    border-radius: var(--border-radius) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important; /* Критично для полоски */
    overflow: hidden !important;
    padding: 8px 14px !important; 
    display: flex !important;
    align-items: center !important;
    cursor: pointer;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

/* 2. ТА САМАЯ ПОЛОСКА (::after) */
.sections-list__item::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 3px !important;
    background: var(--theme-base-color) !important;
    transition: width 0.3s ease, left 0.3s ease !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important; /* Чтобы была поверх фона */
}

/* Состояние полоски при наведении */
.sections-list__item:hover::after {
    width: 100% !important;
}

/* 3. Эффект подъема всей карточки */
.sections-list__item:hover {
    transform: translateY(-6px) !important;
    border-color: var(--theme-base-color) !important;
    background: var(--card_bg_hover_black) !important;
    box-shadow: 0 10px 20px rgba(0, 125, 191, 0.1) !important;
}


/* 5. Текст */
.sections-list__item-text {
    font-size: var(--ui-font-size-md) !important;
    font-weight: 600 !important;
    color: var(--white_text_black) !important;
    transition: color 0.3s ease !important;
}

.sections-list__item:hover .sections-list__item-text {
    color: var(--theme-base-color) !important;
}

/* 1. Общий контейнер группы */
.properties-group__items {
    border-top: 1px solid var(--ui-color-palette-gray-15) !important;
    margin-top: 20px !important;
}

/* 2. Стиль каждой строки характеристики */
.properties-group__item {
    display: flex !important;
    align-items: flex-end !important; /* Выравнивание по нижней линии */
    justify-content: space-between !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    transition: background-color 0.2s ease !important;
    border-bottom: 1px solid var(--ui-color-palette-gray-10) !important;
}

/* Эффект зебры — подсвечиваем четные строки */
.properties-group__item:nth-child(even) {
    background-color: var(--ui-color-palette-gray-02) !important;
}

/* Подсветка при наведении */
.properties-group__item:hover {
    background-color: var(--theme-base-opacity-color) !important; /* Твой фирменный голубой с прозрачностью */
}

/* 3. Название характеристики (левая часть) */
.properties-group__name-wrap {
    flex: 1 !important;
    display: flex !important;
    align-items: baseline !important;
    color: var(--ui-color-palette-gray-80) !important;
    font-size: var(--ui-font-size-md) !important;
}

/* Пунктирная линия между названием и значением */
.properties-group__name-wrap::after {
    content: "" !important;
    flex: 1 !important;
    margin: 0 10px 5px 10px !important;
    border-bottom: 1px dotted var(--ui-color-palette-gray-30) !important;
}

.properties-group__name {
    color: inherit !important;
    white-space: nowrap !important;
}

/* 4. Значение характеристики (правая часть) */
.properties-group__value-wrap {
    max-width: 50% !important;
    text-align: right !important;
}

.properties-group__value {
    color: var(--ui-color-palette-gray-90) !important;
    font-weight: 600 !important;
    font-size: var(--ui-font-size-md) !important;
}

/* 5. Адаптив для мобильных устройств */
@media (max-width: 600px) {
    .properties-group__item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 10px !important;
    }
    
    .properties-group__name-wrap::after {
        display: none !important; /* Убираем точки на мобилках */
    }
    
    .properties-group__value-wrap {
        max-width: 100% !important;
        margin-top: 4px !important;
        text-align: left !important;
    }
    
    .properties-group__value {
        color: var(--theme-base-color) !important; /* Выделяем цветом на мобилке */
    }
}

/* 1. Основная карточка тизера */
.tizers-list .tizers-list__item {
    display: flex !important;
    align-items: flex-start !important;
    padding: 24px !important;
    background: var(--ui-color-palette-gray-02) !important; /* Легкий светло-серый фон */
    border: 1px solid var(--ui-color-palette-gray-10) !important;
    border-radius: var(--theme-outer-border-radius) !important; /* 16px */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    height: 100%;
    box-sizing: border-box !important;
    position: relative;
    overflow: hidden;
}

/* Эффект при наведении на карточку */
.tizers-list .tizers-list__item:hover {
    transform: translateY(-6px) !important; /* Легкий подъем */
    background: #ffffff !important; /* Осветляем фон */
    border-color: var(--theme-base-opacity-color) !important; /* Красим рамку */
    box-shadow: 0 15px 30px rgba(0, 125, 191, 0.08) !important; /* Мягкая тень */
}

/* 2. ИСПРАВЛЕННЫЙ Островок для иконки (Максимальное центрирование) */
.tizers-list .tizers-list__item-image-wrapper {
    background: #ffffff !important;
    border-radius: 12px !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-right: 20px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04) !important;
    transition: transform 0.4s ease, background 0.4s ease !important;
    overflow: hidden; /* Чтобы перекрытие иконки не вылезало */
}

/* Принудительно центрируем вложенную ссылку и иконку-обертку */
.tizers-list .tizers-list__item-image-wrapper a,
.tizers-list .tizers-list__item-image-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Корректировка размера самой SVG (Убрали маргины) */
.tizers-list .tizers-list__item-image-icon svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
    margin: 0 !important;
}

/* Анимация иконки при наведении */
.tizers-list .tizers-list__item:hover .tizers-list__item-image-wrapper {
    transform: scale(1.1) !important;
    background: var(--theme-base-opacity-color) !important;
}

/* 3. Текстовая часть */
.tizers-list .tizers-list__item-text-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Заголовок тизера */
.tizers-list .tizers-list__item-name {
    display: block !important;
    font-size: var(--ui-font-size-lg) !important; /* 15px-16px */
    font-weight: 700 !important;
    color: var(--ui-color-palette-gray-90) !important;
    margin-bottom: 6px !important;
    transition: color 0.3s ease !important;
}

.tizers-list .tizers-list__item:hover .tizers-list__item-name {
    color: var(--theme-base-color) !important; /* Синий заголовок при ховере */
}

/* Описание тизера */
.tizers-list .tizers-list__item-descr {
    display: block !important;
    font-size: var(--ui-font-size-md) !important; /* 14px */
    color: var(--ui-color-palette-gray-60) !important;
    line-height: 1.45 !important;
}

/* 4. Адаптив для мобильных устройств */
@media (max-width: 600px) {
    .tizers-list .tizers-list__item {
        padding: 16px !important; /* Уменьшаем отступы */
    }
    
    .tizers-list .tizers-list__item-image-wrapper {
        width: 48px !important;
        height: 48px !important;
        margin-right: 16px !important;
    }

    .tizers-list .tizers-list__item-image-icon svg {
        width: 26px !important;
        height: 26px !important;
    }
    
    .tizers-list .tizers-list__item-name {
        font-size: var(--ui-font-size-md) !important;
    }

    .tizers-list .tizers-list__item-descr {
        font-size: var(--ui-font-size-sm) !important;
    }
}

/* 2. Сама карточка бренда (делаем шире и ниже) */
.brands-list .brands-list__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 120px !important;   /* Уменьшили высоту */
    min-width: 230px !important; /* Задаем комфортную ширину */
    background: #ffffff !important;
    border: 1px solid var(--ui-color-palette-gray-10) !important;
    border-radius: var(--theme-outer-border-radius, 12px) !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box;
    overflow: visible !important; /* Чтобы тень и края не резались */
    padding: 10px 20px !important;
}

/* Эффект при наведении */
.brands-list .brands-list__item:hover {
    transform: translateY(-5px) !important; /* Всплывает в подготовленную зону */
    border-color: var(--theme-base-color) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 10 !important;
}

/* 3. Обертка логотипа */
.brands-list .brands-list__image-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 4. Логотип (цветной, без фильтров) */
.brands-list .brands-list__image {
    max-width: 100% !important;
    max-height: 80% !important; /* Ограничиваем по высоте, чтобы не липло к краям */
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease !important;
}

/* Микро-зум логотипа при наведении */
.brands-list .brands-list__item:hover .brands-list__image {
    transform: scale(1.05) !important;
}

/* 5. Навигация (стрелки) — центрируем по новой высоте */
.brands-list .slider-nav {
    top: 50% !important; /* Учитываем добавленный padding-top контейнера */
}

/* Убираем стандартные эффекты темы, которые могут мешать */
.brands-list .grid-list__item.hover_blink:hover {
    opacity: 1 !important;
}
.brands-list .shine:after {
    display: none !important; /* Убираем блик, если он мешает чистоте лого */
}

.swiper-free-mode>.swiper-wrapper {
    margin: 15px auto;
}

/* 1. Контейнер заголовка с акцентной линией */
.index-block__title-wrapper .index-block__part--left h3.index-block__title {
    position: relative;
    padding-left: 18px !important; /* Место под синюю полоску */
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Синяя вертикальная линия слева [как на скрине 1] */
.index-block__title-wrapper .index-block__part--left h3.index-block__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--theme-base-color, #007dbf);
    border-radius: 2px;
}

/* 2. Ссылка-обертка */
.index-block__title-wrapper .index-block__link-wrapper {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1d2024 !important;
}

/* 3. Стилизация серого бокса (.index-block__link) [как на скрине 3] */
.index-block__title-wrapper .index-block__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;  /* Пропорции прямоугольника со скрина */
    height: 36px !important;
    background: #f2f4f7 !important; /* Светло-серый фон по умолчанию */
    border-radius: 10px !important;  /* Мягкое скругление углов */
    margin-left: 12px !important;
    transition: all 0.3s ease !important;
}

/* 4. Стрелка внутри бокса (.index-block__arrow) */
.index-block__title-wrapper .index-block__arrow {
    display: flex !important;
    line-height: 0 !important;
    transition: transform 0.3s ease !important;
}

/* --- ЭФФЕКТЫ ПРИ НАВЕДЕНИИ --- */

/* Весь заголовок и бокс реагируют на ховер ссылки */
.index-block__link-wrapper:hover {
    color: var(--theme-base-color, #007dbf) !important;
}

/* Бокс становится цветным [как на твоем основном дизайне] */
.index-block__link-wrapper:hover .index-block__link {
    background: var(--theme-base-color, #007dbf) !important;
}

/* Сама иконка стрелки становится белой и чуть сдвигается */

.index-block__link-wrapper:hover .index-block__arrow i svg use {
    stroke: #ffffff !important;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .index-block__title-wrapper .index-block__link-wrapper {
        font-size: 22px !important;
    }
    .index-block__title-wrapper .index-block__link {
        width: 38px !important;
        height: 32px !important;
        margin-left: 10px !important;
    }
}

/* 1. Общий контейнер выпадающего меню */
.header-menu__dropdown-menu .dropdown-menu-inner {
    border: 1px solid #f0f2f5 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
    border-radius: 16px !important;
}

/* 2. Левая часть (Навигация по разделам) */
.menu-navigation__sections {
    background: #f8fafc !important; /* Легкий фон для боковой панели */
    padding: 10px !important;
    border-right: 1px solid #edf2f7 !important;
}

.menu-navigation__sections-item-link {
    transition: all 0.2s ease !important;
    margin-bottom: 4px !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
}

/* Эффект при наведении и активный пункт слева */
.menu-navigation__sections-item:hover .menu-navigation__sections-item-link,
.menu-navigation__sections-item.active .menu-navigation__sections-item-link {
    background: #ffffff !important;
    color: var(--theme-base-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* 3. Правая часть (Контент с картинками) */
.menu-navigation__content {
    padding: 25px !important;
    background: #fff !important;
}

/* Заголовок активного раздела в контенте */
.parent-items__item-name {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1d2024 !important;
}

/* 4. Сетка подразделов с иконками */
.header-menu__dropdown-menu--grids {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 колонки */
    gap: 15px !important;
    margin-top: 20px !important;
}

.header-menu__dropdown-item {
    display: flex !important;
    align-items: center !important;
    padding: 10px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

.header-menu__dropdown-item:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

/* Картинки подразделов */
.header-menu__dropdown-item-img {
    display: flex !important;           /* Делаем бокс flex-контейнером */
    align-items: center !important;     /* Центрируем по вертикали */
    justify-content: center !important; /* Центрируем по горизонтали */
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    background: #fff !important;
    border-radius: 10px !important;
    padding: 5px !important;
    margin-right: 12px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}

.header-menu__dropdown-item-img img {
    max-width: 100% !important;
    max-height: 100% !important; /* Добавили, чтобы картинка не вываливалась по высоте */
    object-fit: contain !important;
}

/* Прокидываем центрирование внутрь вложенных контейнеров */
.header-menu__dropdown-item-img-inner,
.header-menu__dropdown-item-img-inner a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Текст подразделов */
.header-menu__wide-child-link {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* 5. Убираем лишние стрелочки и линии, если они мешают */
.header-menu__dropdown-right-arrow {
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.menu-navigation__sections-item.active .header-menu__dropdown-right-arrow {
    transform: rotate(-90deg);
    color: var(--theme-base-color);
}

/* Контейнер всего блока */
.custom-address-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--ui-color-palette-gray-02, #f8fafb);
    border: 1px solid var(--stroke_black, #ededed);
    border-radius: var(--border-radius, 8px);
    width: 100%;
    max-width: 260px; /* чуть меньше 290px для отступов */
    box-sizing: border-box;
    margin: 10px 0;
}

/* Стилизация текста адреса */
.custom-address-block .addr-text {
    font-size: 13px !important;
    font-weight: 600;
    color: var(--white_text_black, #222);
    text-align: left;
    width: 100%;
    display: block;
    position: relative;
    padding-left: 25px;
    line-height: 1.4;
    margin-bottom: 5px;
}

/* Добавляем иконку через CSS, чтобы Bitrix её не съел */
.custom-address-block .addr-text::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

/* Стили для фреймов (выравнивание и тени) */
.custom-address-block iframe {
    display: block;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    background: #fff;
}

/* Линия-разделитель после адреса */
.custom-address-block .addr-text::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--stroke_black, #ededed);
    margin-top: 12px;
}

/* 1. Основной фон и границы всего блока фильтра */
.bx_filter.bx_filter_vertical {
    background: #fafafa !important; /* Светло-серый фон */
    padding: 20px !important;
    border-radius: 12px !important;
}

.bx_filter_parameters_box_title {
    font-weight: 700 !important;
}

/* Включаем компактный вид для разрешений 1366px и ниже */
@media (max-width: 1399px) {
    /* Находим саму кнопку корзины */
    .item-action--basket .btn.to_cart {
        font-size: 0 !important; /* Полностью скрываем текст "В корзину" */
        min-width: 40px !important; /* Убиваем эффект класса btn-wide */
        width: 60px !important;     /* Делаем кнопку квадратной */
        padding: 0 !important;      /* Сбрасываем боковые отступы */
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
/* 1. ПРЯЧЕМ ЛОГО ПИНТЕРЕСТА НАГЛУХО */
.social__item.pinterest a.social__link::before,
.social__item.pinterest a.social__link::after,
.social__items .pinterest .social__link::before {
    content: none !important;
    display: none !important;
    font-size: 0 !important;
    opacity: 0 !important;
    width: 0 !important;
}

/* 2. НАСТРАИВАЕМ КРУЖОК */
.social__item.pinterest a.social__link {
    background-color: #007dbf !important; /* Твой синий */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important; /* Чтобы ничего лишнего не вылазило за края */
}

/* 3. ВЫРАВНИВАЕМ БУКВУ М */
.social__item.pinterest .max-letter {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    inset: 0 !important;
    position: absolute !important; /* Сажаем поверх всего */
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    pointer-events: none !important;
}

/* Бьем точно по классу, который в верстке */
.form-footer.auth__bottom {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* На всякий случай обнуляем отступ у последнего блока внутри */
.form-footer.auth__bottom .licence_block {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}