

/* Start:/local/templates/main/components/bitrix/catalog.section.list/catalog_sections/style.css?17816277574330*/
/* ===== Сетка разделов ===== */
.catalog-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.catalog-section-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-section-card {
    display: block;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
    flex: 1;
}

.catalog-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.catalog-section-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f6f8;
    overflow: hidden;
}

.catalog-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-section-card:hover .catalog-section-image img {
    transform: scale(1.05);
}

.catalog-section-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff7a00;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalog-section-info {
    padding: 20px 25px 25px;
}

.catalog-section-name {
    font-weight: 600;
    font-size: 18px;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.catalog-section-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.catalog-section-count {
    display: inline-block;
    font-size: 13px;
    color: #888;
    background: #f5f6f8;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.catalog-section-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #ff7a00;
    transition: color 0.3s ease;
}

.catalog-section-link:after {
    content: ' →';
    transition: transform 0.2s ease;
}

.catalog-section-card:hover .catalog-section-link:after {
    transform: translateX(4px);
}

/* ===== Подразделы ===== */
.catalog-subsection-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: #f9f9f7;
    border-radius: 6px;
    border: 1px solid #e8e8e5;
}

.catalog-subsection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.catalog-subsection-item:hover {
    border-color: #ff7a00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.catalog-subsection-image {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f6f8;
}

.catalog-subsection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-subsection-info {
    flex: 1;
    min-width: 0;
}

.catalog-subsection-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-subsection-count {
    font-size: 12px;
    color: #888;
}

/* ===== Пустой раздел ===== */
.catalog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* ===== Адаптивность ===== */
@media (max-width: 992px) {
    .catalog-sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .catalog-subsection-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .catalog-subsection-list {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
        gap: 8px;
    }
    
    .catalog-subsection-item {
        padding: 8px 12px;
    }
    
    .catalog-subsection-image {
        width: 32px;
        height: 32px;
    }
    
    .catalog-subsection-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .catalog-subsection-list {
        grid-template-columns: 1fr;
    }
}
/* End */
/* /local/templates/main/components/bitrix/catalog.section.list/catalog_sections/style.css?17816277574330 */
