

/* Start:/local/components/rozav/grouped_products/templates/.default/style.css?17854157565575*/
.manufacturers-page {
    padding: 20px 0;
}

.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

/* Хлебные крошки */
.manufacturer-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.manufacturer-breadcrumb a {
    color: #0055cc;
    text-decoration: none;
}

.manufacturer-breadcrumb a:hover {
    text-decoration: underline;
}

.manufacturer-breadcrumb .separator {
    margin: 0 5px;
}

/* Список производителей - 6 в строку */
.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.manufacturer-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.manufacturer-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #d0d0d0;
}

.manufacturer-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.manufacturer-card {
    padding: 15px;
    text-align: center;
}

.manufacturer-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.manufacturer-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.manufacturer-image.placeholder {
    background: #e9ecef;
    font-size: 28px;
    color: #6c757d;
    font-weight: bold;
}

.manufacturer-image.placeholder span {
    display: block;
    font-size: 28px;
    color: #6c757d;
    font-weight: bold;
}

.manufacturer-name {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    line-height: normal;
}

.manufacturer-count {
    font-size: 13px;
    color: #999;
}

.manufacturer-description-short {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Шапка производителя */
.manufacturer-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.manufacturer-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e6e6e6;
}

.manufacturer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.manufacturer-logo-placeholder {
    background: #e9ecef;
    font-size: 48px;
    color: #6c757d;
    font-weight: bold;
}

.manufacturer-logo-placeholder span {
    display: block;
    font-size: 48px;
    color: #6c757d;
    font-weight: bold;
}

.manufacturer-info {
    flex: 1;
}

.manufacturer-title {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #333;
    border-bottom: none;
    padding-bottom: 0;
}

.manufacturer-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.manufacturer-products-count {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

/* Список товаров */
.manufacturer-products {
    margin-top: 20px;
}

/* ============================================= */
/* АДАПТИВНОСТЬ */
/* ============================================= */

/* Для планшетов и маленьких ноутбуков - 4 колонки */
@media (max-width: 1200px) {
    .manufacturers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* Для планшетов - 3 колонки */
@media (max-width: 992px) {
    .manufacturers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .manufacturer-image {
        width: 80px;
        height: 80px;
    }
}

/* Для мобильных устройств - 2 колонки */
@media (max-width: 768px) {
    .manufacturers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .manufacturer-image {
        width: 70px;
        height: 70px;
    }
    
    .manufacturer-image.placeholder {
        font-size: 22px;
    }
    
    .manufacturer-image.placeholder span {
        font-size: 22px;
    }
    
    .manufacturer-name {
        font-size: 14px;
    }
    
    .manufacturer-card {
        padding: 12px;
    }
    
    .manufacturer-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    
    .manufacturer-logo {
        width: 100px;
        height: 100px;
    }
    
    .manufacturer-logo-placeholder {
        font-size: 32px;
    }
    
    .manufacturer-logo-placeholder span {
        font-size: 32px;
    }
}

/* Для очень маленьких экранов - 1 колонка */
@media (max-width: 480px) {
    .manufacturers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .manufacturer-image {
        width: 60px;
        height: 60px;
    }
    
    .manufacturer-card {
        padding: 10px;
    }
    
    .manufacturer-name {
        font-size: 12px;
    }
    
    .manufacturer-count {
        font-size: 11px;
    }
}

/* Можно также сделать переключение между 6 и другим количеством через параметр */
/* End */
/* /local/components/rozav/grouped_products/templates/.default/style.css?17854157565575 */
