* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family:"Unbounded", Roboto, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 160%;
    overflow-x: hidden;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* если вдруг появляется горизонтальный скролл */
}


.header {
    position: relative;
    width: 100%;
    background-image: url('images/фонвверх3.png');
    background-size: cover;     /* растягивает на всю ширину */
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding-left: 3%;
    padding-right: 3%;
    width: 100%;
}
.header__top-inner {
    z-index: 99999 !important;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.171);
}
.header__logo {
    padding-top: 0;
    flex: 0 0 auto;
}
.header__logo img {
    height: 95px;
    width: auto; 
    border-radius: 50%;
    margin-bottom: 0;
    margin-left: 50px;
    margin-top: 30px;
}
.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.header__nav-list {
    display: flex;
    gap: 32px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.header__nav-link {
    color: #ffffff;
}
.header__actions {
    margin-right: 50px;
}
.header__consult-btn {
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    flex: 0 0 auto; /* Запрещаем растягивание */
    width: auto;
    color: #ffffff;
    border: 2px solid #1fa64a;
    background: linear-gradient(55.95deg, #1fa64a 0%, #25cb5a 100%);
    border: none;
    padding: 12px 20px;
    margin-left: 0;
}
.header__consult-btn {
    margin-right: 0px;
}
.header__consult-btn:last-child {
    margin-right: 0px;
}
.header__consult-btn:hover {
    transform: scale(1.05);
}

.narrow-photo img {
    display: block;
}

.narrow-photo img {
    min-height: 100%;    /* минимально - на всю высоту */
    /* object-fit: fill;    или убрать object-fit */
    display: block;
}
.hero-section {
    position: relative;
    width: 100%;
    height: auto; /* высота фото */
    overflow: hidden;
}


.hero-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    color: white;
    text-align: start;
    padding: 20px;
}

.breadcrumbs {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}

.breadcrumbs__home {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.breadcrumbs__separator {
    color: white;
    margin: 0 5px;
}


.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.header__nav {
    display: flex;
    align-items: center;  /* Центрирование по вертикали */
    height: 100%;         /* Растягиваем на всю высоту хедера */
}

.header__nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 800px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.catalog-content {
    background-color: #e5f6ea;
    padding: 50px 20px;
    padding-bottom: 100px;
}
/*=================== цвета хлебных крошек =====================*/
/*=================== цвета хлебных крошек =====================*/
.breadcrumbs__home svg path {
    stroke: #ffffff; /* зелёный для обводки */
}

/* Разделитель ">" */
.breadcrumbs__separator {
    color: #ffffff; /* зелёный */
}

/* Текст "Каталог" */
.breadcrumbs__current {
    color: #ffffff; /* зелёный */
    font-weight: bold;
}

/* Если нужен другой оттенок зелёного: */
.breadcrumbs__home svg path {
    stroke: #ffffff; /* светло-зелёный */
}
.main__catalog {
    padding-top: 40px;
    padding-bottom: 20px;
}
.catalog__heading {
    display: flex;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1fa64a;
}
.heading__subtitle {
    margin-bottom: 30px;
}
.cards {
    margin-top: -100px;
    display: flex;
    gap: 20px;
}
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: #e5f6ea;
}
.card, .card2 {    
    background-color: #fff;
    width: 350px;
    transition: all .3s;
    border-radius: 20px;
}

.card:hover, .card2:hover{    
    background-color: #93bfa0;
}
.card img {
    width: 180px;
    height: auto;
    display: block;
    margin: 10px;
    margin-left: 75px;
    transition: all .3s;
}     
.card:hover img {
    transform: scale(1.05);
}  
.card2:hover img {
    transform: scale(1.05);
} 
.card button {
    margin-top: 10px;
    padding: 8px 16px;
}
.card2 h3{    
    margin-top: 95px;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #167d36;
}
.card h3{    
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #167d36;
}
.card2 p{    
    font-size: 16px;
    text-align: center;
    color: #187d38;
}
.card p{    
    font-size: 16px;
    text-align: center;
    color: #187d38;
}
.card2 img {
    width: 220px;
    height: auto;
    display: block;
    margin: 10px;
    margin-top: 90px;
    margin-left: 28px;
    transition: all .3s;
}     
.card2 button {
    margin-top: 10px;
}
.card button {
    margin-bottom: 10px;
}

.navigation-items {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ОСНОВНЫЕ БЛОКИ - разные размеры */
.navigation-item1 {
    width: 300px;        /* первый - большой */
    height: 130px;
    border: 1px solid #167d36;
    margin: 0 15px;
    border-radius: 17px;
    margin-bottom: 20px;
}

.navigation-item2 {
    width: 280px;        /* второй - чуть меньше */
    height: 130px;
    border: 1px solid #167d36;
    margin: 0 15px;
    border-radius: 11px;
}

.navigation-item3 {
    width: 260px;        /* третий - еще меньше */
    height: 130px;
    border: 1px solid #167d36;
    margin: 0 15px;
    border-radius: 11px;
}
.navigation-item4 {
    width: 280px;
    height: 130px;
    border: 1px solid #167d36;
    margin: 0 15px;
    border-radius: 11px;
}

.navigation-item1:hover {
    background-color: #93bfa0;
}

.navigation-item2:hover {
    background-color: #93bfa0;
}

.navigation-item3:hover {
    background-color: #93bfa0;
}   

/* ВНУТРЕННОСТИ - одинаковые для всех */
.item1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: #167d36;
}

.nav-content {
    flex: 1;
    text-align: left;
    margin-left: 15px;
}

/* КОНТЕЙНЕРЫ ДЛЯ ФОТО - тоже разные размеры */
.nav-image {
    width: 150px;        /* первый блок - фото шире */
    height: 129px;
    overflow: hidden;
    border-radius: 10px;
}

.nav-image1 {
    width: 170px;        /* второй блок - фото уже */
    height: 129px;
    overflow: hidden;
    border-radius: 10px;
}

.nav-image2 {
    width: 110px;        /* третий блок - фото самое узкое */
    height: 129px;
    overflow: hidden;
    border-radius: 10px;
}

/* ФОТО - одинаково заполняют свои контейнеры */
.nav-image img,
.nav-image1 img,
.nav-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card span{
    margin-top: 75px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: rgb(66, 145, 92);
}
.card span{
    display: flex;
    justify-content: center;
    align-items: center;
}
        .navigation-item1, .navigation-item2, .navigation-item3, .navigation-item4 {
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        /* Стиль для активной кнопки */
        .navigation-item1.active, 
        .navigation-item2.active, 
        .navigation-item3.active,
        .navigation-item4.active {
            background-color: #1a6e34 !important;
            border-color: #0f4d23 !important;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            transform: scale(1.02);
        }
        
        .navigation-item1.active .nav-content,
        .navigation-item2.active .nav-content,
        .navigation-item3.active .nav-content,
        .navigation-item4.active .nav-content {
            color: white;
            font-weight: bold;
        }
        
        /* Эффект затемнения при наведении для неактивных */
        .navigation-item1:not(.active):hover,
        .navigation-item2:not(.active):hover,
        .navigation-item3:not(.active):hover,
        .navigation-item4:not(.active):hover {
            filter: brightness(0.9);
        }
        
        /* Скрытие карточек при фильтрации */
        .card {
            transition: opacity 0.3s ease, transform 0.3s ease;
            margin-bottom: 20px;
        }
        
        .card.hidden {
            display: none;
        }
        
        /* Анимация появления */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .card:not(.hidden) {
            animation: fadeIn 0.4s ease;
        }

        /* Исправляем структуру каталога - делаем гриды для ровных рядов */
        .main__catalog .container {
            max-width: 1260px;
            margin: 0 auto;
            padding: 0 3%;
            width: 100%;
        }

        .catalog-content {
            background-color: #e5f6ea;
            padding: 50px 20px;
            padding-bottom: 100px;
        }

        /* Используем CSS Grid для идеального выравнивания */
        .cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Всегда 3 колонки */
            gap: 20px;
            margin-top: -50px;
            justify-content: center;
        }

        .card {
            background-color: #fff;
            width: 100%; /* Карточки занимают всю ширину колонки */
            max-width: 350px; /* Максимальная ширина */
            transition: all .3s;
            border-radius: 20px;
            margin: 0 auto; /* Центрируем внутри колонки */
        }

        .card img {
            width: 180px;
            height: auto;
            display: block;
            margin: 10px auto; /* Центрируем изображение */
            transition: all .3s;
        }

        .card:hover img {
            transform: scale(1.05);
        }

        .card h3 {
            font-size: 26px;
            font-weight: bold;
            text-transform: uppercase;
            text-align: center;
            color: #167d36;
        }

        .card p {
            font-size: 16px;
            text-align: center;
            color: #187d38;
            padding-bottom: 15px;
        }

        .card span {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 75px;
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            text-align: center;
            color: rgb(66, 145, 92);
        }

        /* Стили для навигации */
        .navigation-items {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .navigation-item1 {
            width: 300px;
            height: 130px;
            border: 1px solid #11602a;
            margin: 0 15px;
            border-radius: 17px;
            margin-bottom: 20px;
        }

        .navigation-item2 {
            width: 280px;
            height: 130px;
            border: 1px solid #11602a;
            margin: 0 15px;
            border-radius: 11px;
        }

        .navigation-item3 {
            width: 260px;
            height: 130px;
            border: 1px solid #11602a;
            margin: 0 15px;
            border-radius: 11px;
        }

        .item1 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            height: 100%;
            font-size: 20px;
            color: #167d36;
        }

        .nav-content {
            flex: 1;
            text-align: left;
            margin-left: 15px;
        }

        .nav-image {
            width: 150px;
            height: 129px;
            overflow: hidden;
            border-radius: 10px;
        }

        .nav-image1 {
            width: 170px;
            height: 129px;
            overflow: hidden;
            border-radius: 10px;
        }

        .nav-image2 {
            width: 110px;
            height: 129px;
            overflow: hidden;
            border-radius: 10px;
        }

        .nav-image img,
        .nav-image1 img,
        .nav-image2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Медиа-запрос для мобильных устройств */
        @media (max-width: 768px) {
            .cards {
                grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
            }
        }

        @media (max-width: 480px) {
            .cards {
                grid-template-columns: 1fr; /* 1 колонка на телефонах */
            }
        }
.footer {
    color: #fff;
}
.footer__top {
    position: relative;
    z-index: 1000;
    background-color: #256c27;
    padding: 80px 0 60px;
}
.footer__top-inner {
    display: flex;
    justify-content: space-between;
    margin: 0 -15px;
}
.footer__top-col{
    display: flex;
    flex-direction: column;
}
.footer__top-col:first-child {
    max-width: 310px;
}
.footer__top-col:last-child {
    max-width: 315px;
}
.footer__top-col:last-child .footer__top-title{
    white-space: normal;
}
.header__logo {
    display: block;
    margin-bottom: 25px;
}
.footer__top-text {
    color: #fff;
    line-height: 150%;
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 5px;
}
.footer__top-text:hover {
    opacity: 1;
}
.footer__socials {
    display: flex;
}
.footer__socials-item {
    margin-right: 20px;
}
.footer__socials-item:last-child {
    margin-right: 0px;
}
.footer__socials-link path {
    transition: all .3s;
}
.footer__socials-link:hover path {
    fill: #fff;
}
.footer__top-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    white-space: nowrap;
}
.footer__top-list::placeholder {
    color: #fff;
    opacity: 0.6;
}
.footer__top-item {
    margin-bottom: 8px;
}
.footer__top-item:last-child {
    margin-bottom: 0;
}
.footer__item-link {
    font-size: 14px;
    color: #fff;
    opacity: 0.6;
    display: flex;
    align-items: center;
    transition: all .3s;
    white-space: nowrap;
}
.footer__item-link svg{
    margin-right: 8px;
}
.footer__item-link path{
    transition: all .3s;
}
.footer__item-link:hover{
    opacity: 1;
}
.footer__top-items {
    background: #ffffff1f;
    border: 1px solid #ffffff33;
    border-radius: 4px;
    margin-bottom: 12px;
    display: flex;
}
.footer__top-input {
    padding: 9px 0px 9px 12px;
    font-style: 10px;
    line-height: 150%;
    color: #fff;
    width: 100%;
    position: relative;
}
.footer__form-btn::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url(/icons/arrow-right.svg);
    transition: all .3s;
}
.footer__form-btn:hover::before {
    transform: scale(1.2);
}
.footer__form-btn {
    padding: 10px 12px;
}
.footer__top-input::placeholder {
    color: #fff;
    opacity: 0.6;
}
.footer__form-desc {
    font-size: 10px;
    line-height: 150%;
}
.footer__bottom {
    background-color: #292c37;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.footer__copy {
    font-size: 12px;
}
.footer__go-top {
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: #fff;
    opacity: .6;
    transition: all .3s;
}
.footer__go-top:hover {
    opacity: 1;
}
@media (max-width: 1200px) {
    .ptoduct {
        display: none;
    }
    .kompany {
        display: none;
    }
}
@media (max-width: 768px) {
    .footer__top-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        margin: 0;
    }
    
    .footer__top-col {
        width: 100%;
        max-width: 100% !important;
        align-items: center;
        text-align: center;
    }
    
    .footer__top-col:first-child,
    .footer__top-col:last-child {
        max-width: 100% !important;
    }
    
    .footer__item-link {
        justify-content: center;
        white-space: normal; /* Разрешаем перенос текста */
    }
    
    .footer__top-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer__top-title {
        white-space: normal; /* Разрешаем перенос заголовка */
        text-align: center;
    }
    
    .footer__socials {
        justify-content: center;
    }
    .ptoduct {
        display: none;
    }
    .kompany {
        display: none;
    }
    .header__logo img {
        display: flex;
        margin-right: 40px;
    }
}
label {
    display: none;
}
#burger-toggle {
    display: none;
}

@media (max-width: 784px) {
    .header__image-wrapper {
        display: none;
    }
    label {
        position: relative;
        display: block;
        height: 25px;
        width: 30px;
        cursor: pointer;
        z-index: 99999;
    }
    
    label::before, 
    label::after, 
    label span {
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: white;
        transition: 0.3s;
    }
    
    label::before {
        content: "";
        top: 0;
    }
    
    label::after {
        content: "";
        bottom: 0;
    }
    
    label span {
        top: 11px;
    }
    
    /* Исправлено: правильный селектор ~ */
    #burger-toggle:checked ~ label::after {
        transform: rotate(45deg);
        bottom: 11px;
    }
    
    /* Исправлено: правильный селектор ~ */
    #burger-toggle:checked ~ label::before {
        transform: rotate(-45deg);
        top: 12px;
    }
    
    /* Исправлено: правильный селектор ~ */
    #burger-toggle:checked ~ label span {
        transform: rotate(-45deg);
        top: 12px;
    }
    
    /* Исправлено: используем существующий класс .header__nav-list */
    .header__nav-list {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #4f4f4f;
        flex-direction: column;
        padding: 80px 20px 20px;
        margin: 0;
        transition: 0.5s;
        z-index: 99999;
    }
    
    /* Исправлено: правильный селектор ~ */
    #burger-toggle:checked ~ .header__nav-list {
        left: 0;
    }
    
    /* Скрываем стандартную навигацию на мобильных */
    .header__nav {
        justify-content: flex-end;
        padding-right: 20px;
    }
    
    .header__actions {
        margin-right: 20px;
    }
    
    .header__logo img {
        margin-left: 20px;
        height: 80px;
    }
}
@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        max-width: 600px;
    }
}

/* Планшеты вертикально */
@media (max-width: 768px) {
    /* Каталог */
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: -30px;
    }
    
    .card {
        max-width: 100%;
    }
    
    .card h3 {
        font-size: 20px;
    }
    
    .card p {
        font-size: 14px;
    }
    
    .card img {
        width: 140px;
    }
    
    /* Hero секция */
    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        max-width: 500px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .breadcrumbs {
        margin-bottom: 10px;
        font-size: 12px;
    }
    
    /* Навигация по категориям - ВСЕ БЛОКИ ОДИНАКОВЫЕ */
    .navigation-items {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 15px;
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    /* ОДИНАКОВЫЙ РАЗМЕР ДЛЯ ВСЕХ БЛОКОВ */
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        width: 220px;
        height: 110px;
        margin: 0;
        border-radius: 12px;
    }
    
    .item1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 16px;
    }
    
    .nav-content {
        flex: 1;
        text-align: left;
        margin-left: 12px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .nav-content span {
        font-size: 14px;
    }
    
    /* ОДИНАКОВЫЕ КОНТЕЙНЕРЫ ДЛЯ ФОТО */
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 100px;
        height: 108px;
        border-radius: 10px;
    }
    
    .catalog-content {
        padding: 30px 15px;
        padding-bottom: 60px;
    }
}

/* Мобильные телефоны - 2 на 2 */
@media (max-width: 576px) {
    /* Каталог - 1 колонка */
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: -20px;
    }
    
    .card {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .card h3 {
        font-size: 18px;
    }
    
    .card img {
        width: 120px;
    }
    
    /* Hero секция */
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        max-width: 100%;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .breadcrumbs {
        font-size: 10px;
        gap: 4px;
    }
    
    /* Навигация по категориям - строго 2 на 2 */
    .navigation-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
        max-width: 400px;
        margin: 20px auto 0;
    }
    
    /* ВСЕ БЛОКИ ОДИНАКОВЫЕ И ЗАНИМАЮТ ВСЮ ШИРИНУ ЯЧЕЙКИ */
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        width: 100%;
        height: 100px;
        margin: 0;
        border-radius: 12px;
    }
    
    .item1 {
        font-size: 14px;
    }
    
    .nav-content {
        margin-left: 10px;
        font-size: 12px;
    }
    
    .nav-content span {
        font-size: 12px;
    }
    
    /* ВСЕ ФОТО-КОНТЕЙНЕРЫ ОДИНАКОВЫЕ */
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 85px;
        height: 98px;
    }
    
    .catalog-content {
        padding: 20px 10px;
        padding-bottom: 40px;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 480px) {
    .navigation-items {
        gap: 10px;
        padding: 0 10px;
    }
    
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        height: 90px;
    }
    
    .nav-content {
        font-size: 11px;
        margin-left: 8px;
    }
    
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 75px;
        height: 88px;
    }
    
    .card h3 {
        font-size: 16px;
    }
    
    .card p {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 10px;
    }
    
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        height: 85px;
    }
    
    .nav-content {
        font-size: 10px;
        line-height: 10px
    }
    .nav-content span {
        font-size: 8px;
    }
    
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 65px;
        height: 83px;
    }
}
@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        max-width: 600px;
    }
}

/* Планшеты вертикально */
@media (max-width: 768px) {
    /* Каталог */
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: -30px;
    }
    
    .card {
        max-width: 100%;
    }
    
    .card h3 {
        font-size: 20px;
    }
    
    .card p {
        font-size: 14px;
    }
    
    .card img {
        width: 140px;
    }
    
    /* Hero секция */
    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        max-width: 500px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .breadcrumbs {
        margin-bottom: 10px;
        font-size: 12px;
    }
    
    /* Навигация по категориям - ВСЕ БЛОКИ ОДИНАКОВЫЕ */
    .navigation-items {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 15px;
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    /* ОДИНАКОВЫЙ РАЗМЕР ДЛЯ ВСЕХ БЛОКОВ */
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        width: 220px;
        height: 110px;
        margin: 0;
        border-radius: 12px;
    }
    
    .item1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 16px;
    }
    
    .nav-content {
        flex: 1;
        text-align: left;
        margin-left: 12px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .nav-content span {
        font-size: 14px;
    }
    
    /* ОДИНАКОВЫЕ КОНТЕЙНЕРЫ ДЛЯ ФОТО */
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 100px;
        height: 108px;
        border-radius: 10px;
    }
    
    .catalog-content {
        padding: 30px 15px;
        padding-bottom: 60px;
    }
}

/* Мобильные телефоны - 2 столбца, карточки 150px каждая (в сумме 300px) */
@media (max-width: 575px) {
    /* Контейнер для каталога */
    .main__catalog .container {
        max-width: 100%;
        padding: 0 10px;
    }
    .header__consult-btn {
        margin-left: 17px;
        margin-top: -7px;
        margin-bottom: 10px;
    }
    
    /* Сетка каталога - 2 столбца с фиксированной шириной */
    .cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(140px, 160px));
        gap: 12px;
        justify-content: center;
        margin-top: -20px;
    }
    
    /* Карточки товаров */
    .card {
        width: 100%;
        max-width: 160px;
        margin: 0 auto;
        border-radius: 16px;
    }
    
    .card img {
        width: 100px;
        height: auto;
        margin: 8px auto;
    }
    
    .card h3 {
        font-size: 14px;
        line-height: 1.3;
        padding: 0 5px;
        margin-bottom: 5px;
    }
    
    .card p {
        font-size: 12px;
        padding-bottom: 10px;
    }
    
    .card span {
        margin-top: 30px;
        font-size: 12px;
        padding: 10px;
    }
    
    /* Hero секция */
    .hero-title {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 11px;
        max-width: 100%;
        line-height: 1.4;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .breadcrumbs {
        font-size: 10px;
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .breadcrumbs__home svg {
        width: 14px;
        height: 14px;
    }
    
    /* Навигация по категориям - 2 на 2 */
    .navigation-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        max-width: 340px;
        margin: 20px auto 0;
    }
    
    /* ВСЕ БЛОКИ ОДИНАКОВЫЕ */
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        width: 100%;
        height: 90px;
        margin: 0;
        border-radius: 12px;
    }
    
    .item1 {
        font-size: 12px;
    }
    
    .nav-content {
        margin-left: 8px;
        font-size: 11px;
    }
    
    .nav-content span {
        font-size: 11px;
    }
    
    /* ВСЕ ФОТО-КОНТЕЙНЕРЫ ОДИНАКОВЫЕ */
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 75px;
        height: 88px;
    }
    
    .catalog-content {
        padding: 20px 10px;
        padding-bottom: 40px;
    }
}

/* Очень маленькие телефоны (до 400px) */
@media (max-width: 400px) {
    .cards {
        grid-template-columns: repeat(2, minmax(130px, 145px));
        gap: 10px;
    }
    
    .card {
        max-width: 145px;
    }
    
    .card img {
        width: 85px;
    }
    
    .card h3 {
        font-size: 12px;
    }
    
    .card p {
        font-size: 11px;
    }
    
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        height: 85px;
    }
    
    .nav-content {
        font-size: 10px;
        margin-left: 6px;
    }
    .nav-content span {
        font-size: 10px;
        margin-left: 6px;
    }
    
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 65px;
        height: 83px;
    }
}

@media (max-width: 340px) {
    .cards {
        grid-template-columns: repeat(2, minmax(120px, 135px));
        gap: 8px;
    }
    
    .card {
        max-width: 135px;
    }
    
    .card img {
        width: 75px;
    }
    
    .card h3 {
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .navigation-item1,
    .navigation-item2,
    .navigation-item3 {
        height: 80px;
    }
    
    .nav-image,
    .nav-image1,
    .nav-image2 {
        width: 60px;
        height: 78px;
    }
}
@media (max-width: 575px) {
    .hero-section {
        height: 300px;
    }
    
    .hero-image {
        height: 300px;
        object-fit: cover;
    }
    
    .hero-content {
        height: 300px;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        max-width: 90%;
    }
}