/* ====== Бытовые фильтры ====== */

.category-page {
    padding: 60px 0;
    background: #fff;
}

.category-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1a1a1a;
}

/* ——— Подкатегории в стиле aiver.ru ——— */
.subcategory-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.subcategory-card {
    background: transparent !important;
    border: none !important;
    text-align: center;
    cursor: pointer;
    width: 180px;
    transition: all 0.3s ease;
    box-shadow: none !important;
    transform: none !important;
}

.subcategory-card .circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: none;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.subcategory-card img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.subcategory-card h3 {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* ——— Hover эффект: круг чуть поднимается с мягкой тенью ——— */
.subcategory-card:hover .circle {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    transform: translateY(-4px);
}

.subcategory-card:hover img {
    transform: translateY(-2px);
}

/* ——— Активная категория ——— */
.subcategory-card.active .circle {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    border-color: #ddd !important;
    transform: translateY(-4px);
}

.subcategory-card.active img {
    transform: translateY(-2px);
}

/* ——— Убираем лишние эффекты и рамки ——— */
.subcategory-card.active,
.subcategory-card:hover,
.subcategory-card:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.subcategory-card.active h3,
.subcategory-card:hover h3 {
    color: #1a1a1a !important;
}

/* ——— Товары ——— */
.products-section {
    margin-top: 60px;
}

.products-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    padding: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.product-button {
    background: #3b6ef3;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-button:hover {
    background: #2d54c9;
}

/* ——— Прочее ——— */
.catalog-toolbar {
    display: none !important;
}

footer {
    border-top: none !important;
}

.category-page,
.products-section {
    border-bottom: none !important;
}

/* ——— Адаптив ——— */
@media (max-width: 768px) {
    .subcategory-card {
        width: 140px;
    }

    .subcategory-card .circle {
        width: 120px;
        height: 120px;
    }

    .subcategory-card img {
        width: 60px;
        height: 60px;
    }

    .subcategory-card h3 {
        font-size: 13px;
    }
}