

/* Start:/local/templates/profparket_10.2019/components/bitrix/catalog/brands/style.css?17582173793208*/
/* Основные стили для бренд-секции */
.brand-section {
    box-sizing: border-box;
}

.brand-section__image {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
}

.brand-section__image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.brand-section__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: nearest-neighbor;
}

.brand-section__image-brand {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.brand-section__image-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
    background: transparent;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.brand-section__info {
    margin-top: 12px;
}

.brand-section__info-name {
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #333333;
    margin: 0;
    word-wrap: break-word;
}

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

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .brand-section__image {
        height: 120px;
    }
    
    .brand-section__image-brand {
        width: 32px;
        height: 32px;
        bottom: 6px;
        right: 6px;
    }
    
    .brand-section__info-name {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .brand-section__image {
        height: 100px;
        margin-bottom: 10px;
    }
    
    .brand-section__image-brand {
        width: 28px;
        height: 28px;
        bottom: 4px;
        right: 4px;
        padding: 3px;
    }
}

/* Состояния hover */
.brand-section__item:hover .brand-section__image img {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}

.brand-section__item:hover .brand-section__info-name {
    color: #0066cc;
    transition: color 0.2s ease-in-out;
}

/* Гарантия четкости изображений */
.brand-section__main-image {
    image-rendering: auto;
}

.brand-section__main-image[src*=".png"],
.brand-section__main-image[src*=".svg"] {
    image-rendering: crisp-edges;
}

/* Фикс для Retina дисплеев */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-section__image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Улучшенная обработка ошибок загрузки изображений */
.brand-section__image img:not([src*="no-image"]):not([src]) {
    opacity: 0;
}

.brand-section__image img[src*="no-image.jpg"] {
    filter: grayscale(80%);
    opacity: 0.6;
}
/* End */
/* /local/templates/profparket_10.2019/components/bitrix/catalog/brands/style.css?17582173793208 */
