

/* Start:/local/components/neohs/electronic.categories/templates/.default/style.css?17906803052045*/
/* Основной контейнер */
.electronic-categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ec-empty {
    padding: 40px 20px;
    text-align: center;
    color: #888;
    font-size: 16px;
}

/* Список карточек */
.ec-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Карточка категории */
.ec-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.ec-item:hover {
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
    transform: translateY(-2px);
}

.ec-item__picture {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.ec-item__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ec-item:hover .ec-item__picture img {
    transform: scale(1.05);
}

.ec-item__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ec-item__title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.ec-item:hover .ec-item__title {
    color: #1a73e8;
}

.ec-item__description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ec-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ec-item__picture {
        height: 180px;
    }

    .ec-item__title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .electronic-categories {
        padding: 20px 16px;
    }

    .ec-item__picture {
        height: 160px;
    }

    .ec-item__content {
        padding: 16px;
    }
}
/* End */
/* /local/components/neohs/electronic.categories/templates/.default/style.css?17906803052045 */
