/* ==========================================
   CATEGORY PAGE
========================================== */

.category-page {
    padding: 50px 0 70px;
    background: #f5f7fb;
}
.category-page__header {
    margin-bottom: 30px;
}
.category-page__header h1 {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
}
.category-page__header p {
    max-width: 760px;
    margin: 0;
    color: #71809a;
    font-size: 14px;
    line-height: 1.6;
}
/* ==========================================
   FILTER
========================================== */

.category-filter {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 150px;
    gap: 12px;
    margin-bottom: 50px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e4e8ee;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20, 30, 50, 0.05);
}
.category-filter select {
    width: 100%;
    height: 52px;
    padding: 0 50px;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #ffffff;
    color: #e77b2c;
    font-size: 15px;
    cursor: pointer;
}
.category-filter__button {
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #e77b2c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
/* ==========================================
   PRODUCTS
========================================== */

.category-page
.catalog-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1200px) {

    .category-page
    .catalog-products__grid {
        grid-template-columns:
            repeat(4, 1fr);
    }
    .category-filter {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .category-filter__button {
        grid-column: span 2;
    }

}
@media (max-width: 700px) {

    .category-page {
        padding: 40px 0 60px;
    }
    .category-page__header h1 {
        font-size: 34px;
    }
    .category-filter {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .category-filter__button {
        grid-column: auto;
    }
    .category-page
    .catalog-products__grid {
        grid-template-columns: 1fr;
    }

}
.category-page .car-filter {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    padding-left: 48px;
    padding-right: 48px;
    border-radius: 0;
    box-sizing: border-box;
}
/* ==========================================
   SEO БЛОК — ШИНИ ТА ДИСКИ
========================================== */

.tires-seo {
    padding: 70px 0 90px;
    background: #f5f7fb;
}
.tires-seo h2 {
    margin: 0 0 6px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #202636;
}
.tires-seo p {
    max-width: 1050px;
    margin: 0 0 38px;
    font-size: 17px;
    line-height: 1.7;
    color: #66758d;
}
/* Ссылки размеров */

.tires-seo__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 42px;
}

.tires-seo__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 10px 16px;
    border: 1px solid #e8943a;
    border-radius: 10px;
    background: #ffffff;

    color: #66758d;

    font-size: 16px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.tires-seo__links a:hover {
    background: #e77b2c;
    border-color: #e77b2c;

    color: #ffffff;
}
.optics-seo {
    padding: 70px 0 90px;
    background: #f5f7fb;
}

.optics-seo h2 {
    margin: 0 0 10px;

    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;

    color: #202636;
}
.optics-seo p {
    max-width: 1100px;

    margin: 0 0 34px;

    font-size: 17px;
    line-height: 1.7;

    color: #66758d;
}