

/* Start:/local/templates/kfork/components/bitrix/news/brands/bitrix/news.list/.default/style.css?17836936097647*/
/* Основной контейнер */
.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Табы ===== */
.brands-tabs {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Навигация табов */
.brands-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 15px 20px 0;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.brands-tabs__btn {
    position: relative;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
    font-family: inherit;
}

.brands-tabs__btn:hover {
    color: #c62c2f;
    background: rgba(30, 136, 229, 0.05);
}

.brands-tabs__btn--active {
    color: #c62c2f;
    background: #fff;
    border-bottom-color: #c62c2f;
}

.brands-tabs__btn--active:hover {
    background: #fff;
}

.brands-tabs__count {
    font-size: 12px;
    color: #adb5bd;
    margin-left: 4px;
    font-weight: 400;
}

.brands-tabs__btn--active .brands-tabs__count {
    color: #c62c2f;
}

/* Контент табов */
.brands-tabs__content {
    padding: 20px;
}

.brands-tabs__panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.brands-tabs__panel--active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Сетка брендов ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ===== Карточка бренда ===== */
.brand-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.brand-card:hover {
    border-color: #c62c2f;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.1);
    transform: translateY(-3px);
}

.brand-card__image {
    flex: 0 0 80px;
    height: 60px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card__image img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.brand-card__info {
    flex: 1;
    min-width: 0;
}

.brand-card__name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.brand-card__name:hover {
    color: #c62c2f;
    text-decoration: none;
}

.brand-card__description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-card__link {
    display: inline-block;
    font-size: 14px;
    color: #c62c2f;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.brand-card__link:hover {
    color: #1565c0;
    text-decoration: none;
    transform: translateX(4px);
}

/* ===== Детальная страница ===== */
.brand-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.brand-detail__header {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.brand-detail__title {
    font-size: 32px;
    color: #212529;
    margin-bottom: 20px;
}

.brand-detail__logo {
    margin-bottom: 20px;
}

.brand-detail__logo img {
    max-width: 200px;
    max-height: 150px;
    object-fit: contain;
}

.brand-detail__description {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.brand-detail__full-description {
    font-size: 16px;
    color: #212529;
    line-height: 1.8;
}

.brand-detail__products {
    margin-top: 40px;
}

.brand-detail__products-title {
    font-size: 24px;
    color: #212529;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c62c2f;
}

.brand-detail__back {
    margin-top: 40px;
}

.brand-detail__back .btn {
    display: inline-block;
    padding: 12px 24px;
    background: #6c757d;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-detail__back .btn:hover {
    background: #5a6268;
    color: #fff;
    text-decoration: none;
}

/* ===== Товары бренда ===== */
.brand-products {
    margin-top: 20px;
}

.brand-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-card__image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.product-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card__no-image {
    color: #adb5bd;
    font-size: 14px;
}

.product-card__info {
    padding: 15px;
}

.product-card__name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.product-card__name:hover {
    color: #c62c2f;
    text-decoration: none;
}

.product-card__description {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-card__price {
    font-size: 20px;
    font-weight: 700;
    color: #e53935;
    margin: 10px 0;
}

.product-card__link {
    display: inline-block;
    padding: 8px 20px;
    background: #c62c2f;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-card__link:hover {
    background: #1565c0;
    color: #fff;
    text-decoration: none;
}

.brand-products__pagination {
    margin-top: 30px;
    text-align: center;
}

.brand-products__empty {
    padding: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 16px;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .brands-tabs__nav {
        padding: 10px 15px 0;
        gap: 2px;
    }
    
    .brands-tabs__btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .brands-tabs__count {
        font-size: 10px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .brand-card {
        padding: 15px;
    }
    
    .brand-card__image {
        flex: 0 0 60px;
        height: 50px;
    }
    
    .brand-card__image img {
        max-width: 60px;
        max-height: 50px;
    }
    
    .brand-products__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .brand-detail__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .brands-tabs__btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-card {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-card__image {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .brand-detail__header {
        padding: 20px;
    }
}
/* End */
/* /local/templates/kfork/components/bitrix/news/brands/bitrix/news.list/.default/style.css?17836936097647 */
