.dru-cats {
    padding-top: 20px;
    padding-bottom: 20px;
}

.dru-cats__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.dru-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 222px;
    padding: 25px 20px;
    border-radius: 24px;
    background: #090909;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}

.dru-cat__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.dru-cat__icon img {
    width: 54px;
    height: 54px;
}

.dru-cat__title {
    display: block;
    min-height: 52px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #f4f6ef;
    transition: color .2s ease;
}

.dru-cat__subtitle {
    display: block;
    min-height: 36px;
    margin-top: 10px;
    font-family: var(--font);
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #a7aea1;
    transition: color .2s ease;
}

.dru-cat:hover {
    background: #6bb022;
}
.dru-cat:hover .dru-cat__title,
.dru-cat:hover .dru-cat__subtitle {
    color: #090909;
}
.dru-cat:hover .dru-cat__icon img {
    filter: brightness(0) saturate(100%) invert(0);
}

@media (max-width: 1240px) {
    .dru-cats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .dru-cats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .dru-cat { height: 190px; padding: 18px 12px; }
    .dru-cat__title { font-size: 16px; line-height: 20px; }
    .dru-cat__subtitle { font-size: 13px; }
    .dru-cat__icon img { width: 42px; height: 42px; }
}

@media (max-width: 359px) {
    .dru-cats__grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) and (min-width: 360px) {
    .dru-cats__grid { gap: 10px; }
    .dru-cat { height: 168px; padding: 14px 8px; border-radius: 18px; }
    .dru-cat__icon { margin-bottom: 12px; }
    .dru-cat__title { min-height: 40px; font-size: 15px; line-height: 19px; }
    .dru-cat__subtitle { min-height: 32px; margin-top: 6px; font-size: 12px; line-height: 15px; }
}

/* Сетка разделов мобильной главной по Figma 2153:9938 */
@media (max-width: 600px) {
    .home .dru-cats { padding: 0 20px 20px; }
    .home .dru-cats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 10px;
    }
    .home .dru-cat {
        height: 138px;
        padding: 15px 10px;
        border-radius: 24px;
    }
    .home .dru-cat__icon { margin-bottom: 5px; }
    .home .dru-cat__icon img { width: 36px; height: 36px; }
    .home .dru-cat__title {
        min-height: 34px;
        font-size: 14px;
        line-height: 1.2;
    }
    .home .dru-cat__subtitle {
        min-height: 29px;
        margin-top: 5px;
        font-size: 12px;
        line-height: 14px;
    }
}
