

/* Start:/local/templates/modern_2026/components/bitrix/breadcrumb/breads/style.min.css?1772566482508*/
.bx-breadcrumb{margin:5px 0 20px 0}.bx-breadcrumb i{color:#b5bdc2;line-height:13px;font-size:12px;vertical-align:middle;margin-right:5px}.bx-breadcrumb .bx-breadcrumb-item{float:left;margin-bottom:10px;white-space:nowrap;line-height:13px;vertical-align:middle;margin-right:10px}.bx-breadcrumb .bx-breadcrumb-item span{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:13px;white-space:normal}.bx-breadcrumb .bx-breadcrumb-item a{border-bottom:none}.bx-breadcrumb .bx-breadcrumb-item a:hover{}
/* End */


/* Start:/local/templates/modern_2026/components/bitrix/catalog/modern_cat/style.css?17767893033330*/
/* ======= CATALOG SECTION STYLES ======= */

.catalog-section {
    margin-bottom: 50px;
}

.catalog-section__header {
    margin-bottom: 30px;
}

.catalog-section__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 15px 0;
    position: relative;
    padding-bottom: 15px;
}

.catalog-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--color-gold);
}

.catalog-section__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray-dark);
}

/* Панель инструментов */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 25px;
    border-top: 1px solid var(--color-gray);
    border-bottom: 1px solid var(--color-gray);
    flex-wrap: wrap;
    gap: 15px;
}

.catalog-toolbar__left {
    font-size: 14px;
    color: var(--color-gray-dark);
}

.catalog-toolbar__left strong {
    color: var(--color-black);
    font-weight: 600;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-sort label {
    font-size: 14px;
    color: var(--color-gray-dark);
}

.catalog-sort__select {
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--color-gray);
    border-radius: 6px;
    background: var(--color-white);
    font-size: 14px;
    color: var(--color-black);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%234F4F4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.catalog-sort__select:hover,
.catalog-sort__select:focus {
    border-color: var(--color-gold);
    outline: none;
}

/* Подразделы */
.catalog-subsections {
    margin-bottom: 35px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .catalog-section__title {
        font-size: 24px;
    }
    
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .catalog-toolbar__right {
        width: 100%;
    }
    
    .catalog-sort {
        justify-content: space-between;
    }
    
    .catalog-sort__select {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .catalog-section__title {
        font-size: 22px;
    }
    
    .catalog-sort {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .catalog-sort__select {
        max-width: 100%;
    }
}
/* Центрирование пагинации */
.catalog-products__pagination {
    text-align: center;
}

.catalog-products__pagination .pagination,
.catalog-products__pagination .modern-page-navigation,
.catalog-products__pagination .bx-pagination {
    justify-content: center;
    display: flex;
}

/* Убираем отступ слева */
.catalog-products__pagination ul {
    padding-left: 0;
}
/* End */


/* Start:/local/templates/modern_2026/components/bitrix/catalog/modern_cat/section.css?17768747796366*/
/* Дополнительные стили для каталога */
.sortline {
    margin-bottom: 20px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sortline select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.sortline select:hover,
.sortline select:focus {
    border-color: var(--color-gold);
    outline: none;
}

/* Анимация загрузки */
body.loading_body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
}

body.loading_body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10000;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .sortline {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sortline select {
        width: 100%;
    }
}
/* Панель управления каталогом */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    flex-wrap: wrap;
    gap: 15px;
}

.catalog-toolbar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.catalog-toolbar__right {
    display: flex;
    align-items: center;
}

/* Переключатель вида */
.view-switcher {
    display: flex;
    gap: 5px;
    background: #f5f5f5;
    padding: 3px;
    border-radius: 6px;
}

.view-switcher__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.view-switcher__btn:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.view-switcher__btn.active {
    background: #fff;
    color: #FEAC00;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.view-switcher__btn svg {
    width: 18px;
    height: 18px;
}

/* Сортировка */
.sort-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select__label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.sort-select__select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.sort-select__select:hover,
.sort-select__select:focus {
    border-color: #FEAC00;
    outline: none;
}

/* Скрытые элементы */
.hidden {
    display: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .catalog-toolbar__left {
        justify-content: space-between;
    }
    
    .sort-select {
        justify-content: space-between;
    }
    
    .sort-select__select {
        flex: 1;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .catalog-toolbar__left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-select {
        flex-wrap: wrap;
    }
    
    .sort-select__select {
        max-width: 100%;
        width: 100%;
    }
}
/* ======= LAYOUT КАТАЛОГА ======= */
.catalog-layout {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.catalog-layout__sidebar {
    flex: 0 0 260px;
    min-width: 260px;
}

/* Если левая колонка пустая - скрываем её */
.catalog-layout__sidebar:empty {
    display: none;
}

/* Когда левая колонка скрыта, правая занимает всю ширину */
.catalog-layout__sidebar:empty + .catalog-layout__content {
    flex: 1;
    width: 100%;
}

.catalog-layout__content {
    flex: 1;
    min-width: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .catalog-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .catalog-layout__sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
}
/* ======= ОПИСАНИЕ РАЗДЕЛА ======= */
.catalog-section-description {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.catalog-section-description p {
    margin-bottom: 10px;
}

.catalog-section-description h1,
.catalog-section-description h2,
.catalog-section-description h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.catalog-section-description ul,
.catalog-section-description ol {
    margin: 10px 0;
    padding-left: 20px;
}

.catalog-section-description img {
    max-width: 100%;
    height: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .catalog-section-description {
        margin-top: 30px;
        font-size: 13px;
    }
}
/* ===== БЛОКИ РЕКОМЕНДАЦИЙ ===== */
.recommendations-block {
    margin: 40px 0 30px;
}

.recommendations-block__header {
    margin-bottom: 20px;
}

.recommendations-block__title {
    font-size: 22px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FEAC00;
    display: inline-block;
}
/* End */


/* Start:/local/templates/modern_2026/components/bitrix/catalog/modern_cat/bitrix/catalog.section.list/.default/style.css?178082847912443*/
/* ======= CATEGORIES SECTION (разделы каталога) ======= */
:root {
    --color-black: #1A1A1A;
    --color-black-light: #333333;
    --color-gold: #FEAC00;
    --color-gold-dark: #E59C00;
    --color-gray-light: #F5F5F5;
    --color-gray: #E0E0E0;
    --color-gray-dark: #4F4F4F;
    --color-white: #FFFFFF;
    
    /* Тени */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Заголовок раздела */
.section-header {
    margin-bottom: 40px;
}

.section-header__title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.section-header__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 2px;
}

/* Сетка категорий */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка категории */
.category-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Изображение */
.category-card__image-wrapper {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
    background: #ffffff;
}

.category-card__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
}

.category-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image {
    transform: scale(1.08);
}

/* Индикаторы для администратора */
body.admin-mode .category-card__image-wrapper[data-source="product"]::before,
body.bitrix-edit-mode .category-card__image-wrapper[data-source="product"]::before {
    content: '📦 Картинка товара';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(254, 172, 0, 0.95);
    color: var(--color-black);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

body.admin-mode .category-card__image-wrapper[data-source="placeholder"]::before,
body.bitrix-edit-mode .category-card__image-wrapper[data-source="placeholder"]::before {
    content: '🖼️ Нет фото';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.category-card__image-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(254, 172, 0, 0.9);
    color: var(--color-black);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-base);
}

.category-card:hover .category-card__image-badge {
    opacity: 1;
    transform: scale(1);
}

/* Контент карточки */
.category-card__content {
    padding: 24px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.category-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color var(--transition-fast);
    padding-right: 0;
}

.category-card:hover .category-card__title {
    color: var(--color-gold-dark);
}

.category-card__count {
    font-size: 14px;
    color: var(--color-gray-dark);
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    padding-left: 18px;
}

.category-card__count::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 20px;
    line-height: 1;
    top: -2px;
}

/* Футер карточки со стрелкой */
.category-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-gray);
    padding-top: 16px;
}

.category-card__link-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.category-card__link-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.category-card:hover .category-card__link-label {
    color: var(--color-black);
}

.category-card:hover .category-card__link-label::after {
    width: 100%;
}

.category-card__arrow {
    color: var(--color-gray-dark);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gray-light);
    border: 1px solid transparent;
}

.category-card:hover .category-card__arrow {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateX(6px) scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 172, 0, 0.3);
}

.category-card__arrow svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.category-card:hover .category-card__arrow svg {
    transform: translateX(2px);
}

/* Стили для визуального редактирования */
body.admin-mode .category-card:hover,
body.bitrix-edit-mode .category-card:hover {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
    cursor: pointer;
}

/* Анимация появления карточек */
@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: cardAppear 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

/* Задержки для каскадного появления */
.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.15s; }
.category-card:nth-child(3) { animation-delay: 0.2s; }
.category-card:nth-child(4) { animation-delay: 0.25s; }
.category-card:nth-child(5) { animation-delay: 0.3s; }
.category-card:nth-child(6) { animation-delay: 0.35s; }
.category-card:nth-child(7) { animation-delay: 0.4s; }
.category-card:nth-child(8) { animation-delay: 0.45s; }
.category-card:nth-child(9) { animation-delay: 0.5s; }
.category-card:nth-child(10) { animation-delay: 0.55s; }
.category-card:nth-child(11) { animation-delay: 0.6s; }
.category-card:nth-child(12) { animation-delay: 0.65s; }

/* ======= АДАПТИВНОСТЬ ======= */

/* Desktop HD */
@media (max-width: 1400px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .category-card__title {
        font-size: 16px;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header__title {
        font-size: 28px;
        padding-bottom: 12px;
    }
    
    .section-header__title::after {
        width: 60px;
        height: 3px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .category-card__content {
        padding: 20px 16px 16px;
    }
    
    .category-card__title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .category-card__count {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .section-header__title {
        font-size: 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }
    
    .category-card {
        border-radius: 14px;
    }
    
    .category-card__content {
        padding: 16px 14px 14px;
    }
    
    .category-card__title {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .category-card__count {
        font-size: 12px;
        margin-bottom: 14px;
        padding-left: 15px;
    }
    
    .category-card__footer {
        padding-top: 14px;
    }
    
    .category-card__link-label {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .category-card__arrow {
        width: 34px;
        height: 34px;
    }
    
    .category-card__arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Large */
@media (max-width: 576px) {
    .section-header {
        margin-bottom: 24px;
    }
    
    .section-header__title {
        font-size: 22px;
        padding-bottom: 10px;
    }
    
    .section-header__title::after {
        width: 50px;
        height: 3px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-card__image-wrapper {
        padding-top: 60%;
    }
    
    .category-card__content {
        padding: 16px 16px 14px;
    }
    
    .category-card__title {
        font-size: 16px;
    }
    
    .category-card__count {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

/* Mobile Small */
@media (max-width: 375px) {
    .section-header__title {
        font-size: 20px;
    }
    
    .category-card__title {
        font-size: 16px;
    }
    
    .category-card__footer {
        padding-top: 12px;
    }
    
    .category-card__link-label {
        font-size: 11px;
    }
    
    .category-card__arrow {
        width: 32px;
        height: 32px;
    }
}

/* Улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {
    .category-card:hover {
        transform: none;
    }
    
    .category-card:active {
        transform: scale(0.98);
    }
    
    .category-card__arrow {
        width: 44px;
        height: 44px;
    }
    
    .category-card__image-badge {
        opacity: 1;
        transform: scale(1);
    }
}

/* Печать */
@media print {
    .category-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .category-card__arrow,
    .category-card__link-label::after,
    .category-card__image-badge {
        display: none;
    }
}
/* End */


/* Start:/local/templates/modern_2026/components/bitrix/catalog/modern_cat/bitrix/catalog.section/modern/style.css?177687895015343*/
/* ======= ОСНОВНЫЕ СТИЛИ КАТАЛОГА ======= */
:root {
    --color-black: #1A1A1A;
    --color-black-light: #333333;
    --color-gold: #FEAC00;
    --color-gold-dark: #E59C00;
    --color-gray-light: #F5F5F5;
    --color-gray: #E0E0E0;
    --color-gray-dark: #4F4F4F;
    --color-white: #FFFFFF;
    --color-border: #EEEEEE;
}

/* Плитка (режим по умолчанию) */
.catalog-products__container--tile {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Адаптивность для плитки */
@media (max-width: 1200px) {
    .catalog-products__container--tile {
        grid-template-columns: repeat(4, 1fr);  /* 4 товара */
    }
}

@media (max-width: 992px) {
    .catalog-products__container--tile {
        grid-template-columns: repeat(4, 1fr);  /* 3 товара */
    }
}

@media (max-width: 768px) {
    .catalog-products__container--tile {
        grid-template-columns: repeat(3, 1fr);  /* 2 товара */
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .catalog-products__container--tile {
        grid-template-columns: 1fr;  /* 1 товар */
    }
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: var(--color-gold);
}

.product-card__image-wrapper {
    position: relative;
    padding-top: 100%;
    background: var(--color-gray-light);
    overflow: hidden;
}

.product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

/* Бейджи */
.product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-card__badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--color-gold);
    color: var(--color-black);
}

.product-card__badge--new {
    background: var(--color-black);
    color: var(--color-white);
}

.product-card__badge--sale {
    background: #ff4d4d;
    color: white;
}

/* Контент */
.product-card__content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

.product-card__title a:hover {
    color: var(--color-gold-dark);
}

/* Цена */
.product-card__price-block {
    margin-bottom: 15px;
}

.product-card__price--current {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.product-card__price--old {
    font-size: 13px;
    color: var(--color-gray-dark);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Кнопка */
.product-card__btn {
    width: 100%;
    padding: 10px;
    background: var(--color-black);
    color: var(--color-gold);
    border: 1px solid var(--color-black);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card__btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

/* ======= РЕЖИМ СПИСКА ======= */
.catalog-products__container--list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.catalog-products__container--list .product-card {
    flex-direction: row;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.catalog-products__container--list .product-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.catalog-products__container--list .product-card__image-wrapper {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    padding-top: 0;
    margin: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.catalog-products__container--list .product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-products__container--list .product-card__content {
    flex: 1;
    padding: 15px 15px 15px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.catalog-products__container--list .product-card__title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 20px 0 0;
    min-height: auto;
    -webkit-line-clamp: 1;
    flex: 1;
}

.catalog-products__container--list .product-card__price-block {
    margin-bottom: 0;
    margin-right: 20px;
    min-width: 100px;
    text-align: right;
}

.catalog-products__container--list .product-card__price--current {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.catalog-products__container--list .product-card__price--old {
    font-size: 12px;
    margin-left: 0;
    display: block;
}

.catalog-products__container--list .product-card__btn {
    width: auto;
    min-width: 140px;
    margin-top: 0;
    padding: 8px 15px;
    font-size: 12px;
}

/* ======= ПАГИНАЦИЯ (кастомная) ======= */
.catalog-products__pagination {
    margin: 40px 0 30px;
    clear: both;
    width: 100%;
}

.catalog-products__pagination .pagination {
    margin: 0;
    padding: 0;
}

.catalog-products__pagination .pagination__list {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-products__pagination .pagination__item {
    margin: 0;
    display: inline-flex;
}

.catalog-products__pagination .pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.catalog-products__pagination .pagination__link:hover {
    border-color: #FEAC00;
    background: #FEAC00;
    color: #1A1A1A;
}

.catalog-products__pagination .pagination__item.active .pagination__link {
    background: #FEAC00;
    border-color: #FEAC00;
    color: #1A1A1A;
    font-weight: 600;
    pointer-events: none;
}

/* Стрелки пагинации */
.catalog-products__pagination .pagination__link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.catalog-products__pagination .pagination__link svg path {
    transition: stroke 0.2s ease;
}

.catalog-products__pagination .pagination__link:hover svg path {
    stroke: #1A1A1A;
}

/* ======= АДАПТИВНОСТЬ ПАГИНАЦИИ ======= */
@media (max-width: 768px) {
    .catalog-products__pagination .pagination__link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }
    
    .catalog-products__pagination .pagination__list {
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .catalog-products__pagination .pagination__list {
        gap: 5px;
    }
    
    .catalog-products__pagination .pagination__link {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
        padding: 0 6px;
    }
    
    .catalog-products__pagination .pagination__link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Скрываем лишние страницы на мобильных (оставляем только первую, последнюю и текущую) */
    .catalog-products__pagination .pagination__item:not(.active):not(:first-child):not(:last-child):nth-child(n+4):nth-last-child(n+4) {
        display: none;
    }
}

/* ======= ФИЛЬТР (компактный) ======= */
.catalog-filter-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.catalog-filter-sidebar .bx-filter {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
}

.catalog-filter-sidebar .bx-filter .bx-filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
    color: var(--color-black);
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--color-black);
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box-container {
    padding-left: 0;
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box-container .checkbox {
    margin: 8px 0;
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box-container .checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-gray-dark);
    cursor: pointer;
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box-container .checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    cursor: pointer;
}

.catalog-filter-sidebar .bx-filter .bx-filter-parameters-box-container .checkbox input[type="checkbox"]:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

/* Кнопки фильтра */
.catalog-filter-sidebar .bx-filter .bx-filter-button-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-filter-sidebar .bx-filter .btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.catalog-filter-sidebar .bx-filter .btn-primary {
    background: var(--color-black);
    color: var(--color-gold);
}

.catalog-filter-sidebar .bx-filter .btn-primary:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.catalog-filter-sidebar .bx-filter .btn-link {
    background: transparent;
    color: var(--color-gray-dark);
    border: 1px solid var(--color-border);
}

.catalog-filter-sidebar .bx-filter .btn-link:hover {
    background: var(--color-gray-light);
}

/* Ценовой диапазон */
.catalog-filter-sidebar .bx-filter .bx-ui-slider-track-container {
    padding: 10px 0;
}

.catalog-filter-sidebar .bx-filter .bx-ui-slider-part {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-gray-dark);
}

/* ======= АДАПТИВНОСТЬ ======= */
@media (max-width: 1200px) {
    .catalog-products__container--tile {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .catalog-products__container--tile {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-filter-sidebar {
        width: 240px;
    }
    
    .catalog-products__container--list .product-card__content {
        flex-wrap: wrap;
    }
    
    .catalog-products__container--list .product-card__title {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .catalog-layout {
        flex-direction: column;
    }
    
    .catalog-filter-sidebar {
        width: 100%;
    }
    
    .catalog-products__container--tile {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .catalog-products__container--list .product-card {
        flex-direction: column;
    }
    
    .catalog-products__container--list .product-card__image-wrapper {
        width: 100%;
        height: 200px;
        margin: 0;
        border-radius: 8px 8px 0 0;
    }
    
    .catalog-products__container--list .product-card__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .catalog-products__container--list .product-card__title {
        margin-bottom: 10px;
    }
    
    .catalog-products__container--list .product-card__price-block {
        margin-bottom: 15px;
        text-align: left;
    }
    
    .catalog-products__container--list .product-card__btn {
        width: 100%;
    }
    
    .catalog-products__pagination .modern-page-navigation {
        gap: 3px;
    }
    
    .catalog-products__pagination .modern-page-navigation a,
    .catalog-products__pagination .modern-page-navigation span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .catalog-products__container--tile {
        grid-template-columns: 1fr;
    }
}
/* Цена 0 - "Уточняйте цену" */
.product-card__price--current[data-price-zero="true"] {
    color: #FEAC00;
    font-size: 14px;
    font-weight: 500;
}
/* Стиль для кнопки "Уточняйте цену" */
.product-card__price--request {
    color: #FEAC00;
    font-size: 14px;
    font-weight: 600;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}
/* ======= ОПИСАНИЕ РАЗДЕЛА ======= */
.catalog-section-description {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.catalog-section-description p {
    margin-bottom: 10px;
}

.catalog-section-description h2,
.catalog-section-description h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.catalog-section-description ul,
.catalog-section-description ol {
    margin: 10px 0;
    padding-left: 20px;
}

.catalog-section-description img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .catalog-section-description {
        margin-top: 30px;
        font-size: 13px;
    }
}
/* End */
/* /local/templates/modern_2026/components/bitrix/breadcrumb/breads/style.min.css?1772566482508 */
/* /local/templates/modern_2026/components/bitrix/catalog/modern_cat/style.css?17767893033330 */
/* /local/templates/modern_2026/components/bitrix/catalog/modern_cat/section.css?17768747796366 */
/* /local/templates/modern_2026/components/bitrix/catalog/modern_cat/bitrix/catalog.section.list/.default/style.css?178082847912443 */
/* /local/templates/modern_2026/components/bitrix/catalog/modern_cat/bitrix/catalog.section/modern/style.css?177687895015343 */
