

/* Start:/bitrix/templates/eshop_bootstrap_v4/components/bitrix/catalog/.default/style.css?17858528804575*/
/* =========================================
   1. ДИЗАЙН-СИСТЕМА И ПЕРЕМЕННЫЕ
   ========================================= */
:root {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;

    /* Переменные сайта */
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    --z-top-panel: 5000;
    --z-front: 1000;
    --z-back: calc(var(--z-front) - 1);
    --z-sticky: calc(var(--z-front) + 1);

    /* Цветовая палитра */
    --bg-white: #ffffff;
    --bg-black: #000000;
    --bg-grey: #f7f8fa;
    --bg-grey-d: #eeeeee;
    --bg-grey-l: #f1f1f1;
    --bg-grey-alt: #dddddd;

    --color-white: #ffffff;
    --color-black: #000000;
    --color-red: #f8353e;
    --color-green: #0fce2d;
    --color-grey-d: #666666;
    --color-grey-l: #999999;
    --color-primary: #11497b;
    --color-primary-d: #0e3c65;
    --color-primary-l: #145691;
    --color-secondary: #009fe3;
    --color-text: #222222;

    --border-grey: #eeeeee;
    --border-grey-d: #dddddd;

    /* Шрифты и сетка */
    --font-family: 'Manrope', sans-serif;
    --font-normal: 400;
    --font-bold: 700;
    
    --shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
    --shadow-s: 0 0 15px 0 rgba(0, 0, 0, 0.05);
    --radius: 5px;
    
    --header-height: 68px;
    --document-max-width: 1463px;
}

/* =========================================
   2. ОСНОВНОЙ КОНТЕЙНЕР
   ========================================= */
.container {
    font-family: var(--font-family);
    font-weight: var(--font-normal);
    font-size: 14px;
    line-height: 18px;
    color: var(--color-black);
    box-sizing: border-box;
    width: 100%;
    max-width: 1380px !important;
    margin-right: auto;
    margin-left: auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Заголовок категории (H1) */
.section__title {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 20px 0 25px 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section__title {
        font-size: 24px;
        margin: 15px 0 20px 0;
    }
}

/* =========================================
   3. СЕТКА КАТАЛОГА С САЙДБАРОМ
   ========================================= */
.collection.with-sidebar {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* Боковое меню (Сайдбар) */
.collection__sidebar.sidebar {
    width: 280px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Основной контент страницы */
.collection__content {
    flex: 1 1 auto;
    min-width: 0; /* Предотвращает разрыв флекс-контейнера */
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 992px) {
    .collection.with-sidebar {
        flex-direction: column;
        gap: 20px;
    }

    .collection__sidebar.sidebar {
        width: 100%;
    }
}

/* =========================================
   4. ВЕРХНЕЕ И НИЖНЕЕ SEO-ОПИСАНИЕ
   ========================================= */
.collection__text.text {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-grey);
    box-shadow: var(--shadow-s);
    margin-bottom: 30px;
}

.seo-top-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444444;
}

.seo-top-description p {
    margin-top: 0;
    margin-bottom: 10px;
}

.seo-top-description p:last-child {
    margin-bottom: 0;
}

/* Нижний текст описания */
.product-bottom-text {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-grey);
}

.product-bottom-text p {
    line-height: 1.8;
    color: #444444;
    font-size: 15px;
}

/* =========================================
   5. ВСПОМОГАТЕЛЬНЫЕ СТИЛИ ДЛЯ СПИСКА ТОВАРОВ И КАРТОЧЕК
   ========================================= */
/* Автоматическая сетка товаров (если используется стандартная сетка) */
.catalog-section,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 575px) {
    .catalog-section,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
/* End */


/* Start:/bitrix/templates/eshop_bootstrap_v4/components/bitrix/catalog.section.list/.default/style.css?17743622442261*/
/* =========================================
   СТИЛИ КАТЕГОРИЙ (Непробиваемые)
   ========================================= */
.collections-grid { 
    display: grid !important; 
    grid-template-columns: repeat(5, 1fr) !important; 
    gap: 20px !important; 
    margin-bottom: 30px !important;
    width: 100% !important;
}

@media (max-width: 992px) { 
    .collections-grid { grid-template-columns: repeat(3, 1fr) !important; } 
}
@media (max-width: 575px) { 
    .collections-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } 
}

.collections-grid__item { 
    border-radius: 5px !important; 
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important; 
    transition: all 0.4s ease !important; 
    background: #fff !important; 
    height: 100% !important; 
    display: block !important;
    border: none !important; /* Убиваем рамки Bootstrap */
}

.collections-grid__item:hover { 
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-3px) !important;
}

.collection-card { 
    display: flex !important; 
    flex-direction: column !important; 
    height: 100% !important; 
    text-decoration: none !important; 
}

.collection-card__image { 
    padding-top: 100% !important;
    position: relative !important; 
    background: #f8f9fa !important; 
    display: block !important;
}

.collection-card__image img { 
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: contain !important; 
    padding: 10px !important; 
    max-width: none !important; /* Перебиваем Bootstrap */
}

.collection-card__data { 
    padding: 15px !important; 
    text-align: center !important; 
    margin-top: auto !important; 
    background: #fff !important;
}

.collection-card__title { 
    color: #11497b !important; 
    font-weight: 600 !important; 
    font-size: 15px !important; 
    line-height: 1.3 !important; 
    margin: 0 !important; /* Перебиваем Bootstrap */
}

.collection-card__count { 
    color: #999 !important; 
    font-size: 13px !important; 
    margin-top: 5px !important; 
}
/* End */
/* /bitrix/templates/eshop_bootstrap_v4/components/bitrix/catalog/.default/style.css?17858528804575 */
/* /bitrix/templates/eshop_bootstrap_v4/components/bitrix/catalog.section.list/.default/style.css?17743622442261 */
