.categories-items {
    padding: 100px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.category-card {
    width: 285px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-image img {
    width: 100%;
    height: auto;
    display: block;
}

.category-content {
    padding: 16px;
    text-align: center;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0;
}

.category-description {
    font-size: 14px;
}

@media (max-width: 1024px) {
    .category-card {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .category-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
