/* Общий контейнер конфигуратора */
.product-panels {
    margin-top: 30px;
    clear: both;
    text-align: left; /* Исправляет сползание заголовка */
}

.panels-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: block;
}

/* Стили фильтров */
.panel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
}

.filter-btn:hover {
    background: #eee;
    border-color: #0084a1; /* Цвет вашей кнопки ЗАКАЗАТЬ */
}

.filter-btn.active {
    background: #0084a1; /* Фирменный бирюзовый цвет */
    color: #fff;
    border-color: #0084a1;
    box-shadow: 0 2px 5px rgba(0,132,161, 0.3);
}

/* Сетка панелей */
.panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.panel-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #fff;
    text-decoration: none !important;
}

.panel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: #0084a1;
}

.panel-card.active {
    border: 2px solid #0084a1;
    box-shadow: 0 0 0 2px rgba(0,132,161, 0.1);
}

.panel-card img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    display: block;
}

.panel-name {
    font-size: 10px;
    line-height: 1.2;
    color: #777;
    margin-top: 6px;
    text-align: center;
    height: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Плавность для всей области */
.carousel-otdelka img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
