@media (max-width: 1366px) {
   
}

@media (max-width: 1024px) {
    .categories {
        margin-top: 44px;
    }
}

@media (max-width: 920px) {
}

@media (max-width: 768px) {
   
    .categories__list {
        display: none;
    }
    
    .categories__card a {
        /* padding: 6px 8px; */
        width: 100%;
    }

    .categories__card img {
        /* width: 82px; */
        margin: 0;
    }
    
    /* Фиксированная высота для слайдера и выравнивание карточек */
    .categories__slider {
        height: 92px !important; /* Фиксированная высота слайдера */
        align-items: stretch !important;
    }
    
    .categories__slider .categories__card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important; /* Карточка занимает всю высоту слайдера */
    }
    
    .categories__slider .categories__card a {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important; /* Ссылка занимает всю высоту карточки */
    }
}

@media (min-width: 768px) {
   
    .categories__slider {
        display: none;
    }
}

@media (max-width: 375px) {
    /* Дополнительные правила для очень маленьких экранов */
    .categories__slider {
        height: 92px !important; /* Сохраняем фиксированную высоту */
    }
    
    .categories__slider .categories__card {
        height: 100% !important;
    }
    
    .categories__slider .categories__card a {
        height: 100% !important;
    }
}

@media (min-width: 375px) {
}
