/* ==================================================================== */
/* 0. ГЛОБАЛЬНЫЕ СТИЛИ КОНТЕЙНЕРА И СТАТИСТИКИ */
/* ==================================================================== */

.cat-product-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cat-stats-panel {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cat-stat-box {
    text-align: center;
    padding: 5px 15px;
}

.cat-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
}

.cat-stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .cat-stats-panel {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==================================================================== */
/* 1. КОНТЕЙНЕРЫ КАТЕГОРИЙ И ЛОГИКА СЕТКИ */
/* ==================================================================== */

.cat-vertical-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.cat-main-card {
    min-width: 150px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: auto;
}

.cat-main-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Адаптивность */
@media (min-width: 992px) {
    .cat-main-card {
        flex: 0 0 calc(33.333% - 6.66px);
    }
}
@media (max-width: 991px) and (min-width: 577px) {
    .cat-main-card {
        flex: 0 0 calc(50% - 5px);
    }
}
@media (max-width: 576px) {
    .cat-main-card {
        flex: 0 0 100%;
    }
}

/* ==================================================================== */
/* 2. СТИЛИ ССЫЛКИ (Занимает всю карточку) */
/* ==================================================================== */

.cat-card-header.cat-card-full-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
}

.cat-card-header.cat-card-full-link:hover {
    background-color: #f9f9f9;
}

.cat-card-link {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.cat-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    line-height: 1.2;
    font-family: 'Roboto';
    letter-spacing: 0.5px;
}

.cat-item-count {
    margin-left: 10px;
    padding: 4px 10px;
    color: #000000;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.cat-item-count:after {
    content:" товаров";
    margin:0 5px
}

.seo-section {
        background-color: #f4f4f4; /* Светло-серый фон страницы */
        padding: 50px 20px;
        font-family: 'Helvetica Neue', Arial, sans-serif;
        color: #333333; /* Глубокий серый текст */
        line-height: 1.7;
    }

    .seo-container {
        max-width: 1000px;
        margin: 0 auto;
        background: #ffffff; /* Белая подложка для текста */
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .seo-title {
        font-size: 28px;
        font-weight: 700;
        color: #222;
        margin-bottom: 25px;
        text-align: center;
        border-bottom: 3px solid #2eb1a8; /* Оранжевая полоска под заголовком */
        display: inline-block;
        width: 100%;
        padding-bottom: 15px;
    }

    .seo-lead {
        font-size: 18px;
        color: #555;
        margin-bottom: 35px;
        text-align: center;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin: 40px 0;
    }

    .benefit-card {
        background: #fdfdfd;
        padding: 20px;
        border-radius: 10px;
        border: 1px solid #eee;
        text-align: center;
        transition: transform 0.3s ease;
    }

    .benefit-card:hover {
        transform: translateY(-5px);
        border-color: #e67e22;
    }

    .benefit-card h3 {
        font-size: 16px;
        color: #2eb1a8;
        margin-top: 10px;
    }

    .info-block {
        margin: 40px 0;
    }

    .info-block h2 {
        font-size: 22px;
        margin-bottom: 20px;
        color: #2c3e50;
    }

    .profile-list {
        list-style: none;
        padding: 0;
    }

    .profile-list li {
        padding: 15px;
        background: #f9f9f9;
        margin-bottom: 10px;
        border-left: 4px solid #3498db;
        border-radius: 4px;
    }

    .cta-box {
        background: #2c3e50;
        color: #ffffff;
        padding: 30px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 50px;
    }

    .cta-button {
        background: #2eb1a8;
        color: #fff;
        padding: 15px 30px;
        text-decoration: none;
        border-radius: 6px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .cta-button:hover {
        color:white;
        background: #11d0c5;
    }

    @media (max-width: 768px) {
        .cta-box { flex-direction: column; text-align: center; }
        .cta-button { margin-top: 20px; width: 100%; }
        .seo-container { padding: 20px; }
    }