

/* Start:/bitrix/templates/eshop_bootstrap_green/components/bitrix/catalog.section.list/home/style.css?17757306392098*/
.hcat { }

.hcat-section {
    margin-bottom: 28px;
}

.hcat-section__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4e8ed;
}

.hcat-section__title a {
    color: #1a2b3d;
    text-decoration: none;
}

.hcat-section__title a:hover {
    color: var(--bci-primary);
}

/* Desktop: flex wrap, fixed-width tiles */
.hcat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hcat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    text-decoration: none;
    color: #333;
    transition: color 0.15s;
}

.hcat-item:hover {
    color: #333;
    text-decoration: none;
}

.hcat-item__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 6px;
    transition: background-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.hcat-item__img img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.hcat-item:hover .hcat-item__img {
    background-color: #e8f2fc;
    box-shadow: 0 4px 14px rgba(0, 108, 181, 0.15);
}

.hcat-item__name {
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    word-break: break-word;
}

/* Tablet: 5 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .hcat-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    .hcat-item { width: 100%; }
    .hcat-item__img { width: 100%; height: auto; aspect-ratio: 1; }
}

/* Mobile: 4 columns */
@media (max-width: 767px) {
    .hcat-section__title { font-size: 16px; margin-bottom: 10px; }
    .hcat-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .hcat-item { width: 100%; }
    .hcat-item__img { width: 100%; height: auto; aspect-ratio: 1; }
    .hcat-item__name { font-size: 11px; }
}

@media (max-width: 400px) {
    .hcat-grid { gap: 6px; }
}

/* End */
/* /bitrix/templates/eshop_bootstrap_green/components/bitrix/catalog.section.list/home/style.css?17757306392098 */
