.category-wall__section {
    margin: 40px 0;
}

.category-wall__grid {
    display: grid;
    gap: 20px;
}

.category-wall__grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.category-wall__grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.category-wall__grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.category-wall__grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.category-wall__grid.cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.category-wall__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    padding: 25px 15px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 250px;
}

.category-wall__item:hover {
    outline: 3px solid #02ccc0!important;
}

.category-wall__img-wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.category-wall__img-wrap img {
    width: auto;
    object-fit: contain;
}

.category-wall__title {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

@media (max-width: 991px) {
    .category-wall__grid {
        gap: 15px;
    }

    .category-wall__grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-wall__grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-wall__grid.cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-wall__grid.cols-5 {
        grid-template-columns: repeat(4, 1fr);
    }

    .category-wall__grid.cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .category-wall__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .category-wall__item {
        padding: 15px 10px;
        min-height: 190px;
    }

    .category-wall__img-wrap img {
        max-height: 100px;
    }

    .category-wall__title {
        font-size: 12px;
    }
}

.category-wall__item {
    position: relative;
    overflow: hidden;
}

.category-wall__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    line-height: normal;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #02ccc0;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-wall__badge.badge-new {
    background-color: #02ccc0;
}

.category-wall__badge.badge-hit {
    background-color: #ff9500;
}

.category-wall__badge.badge-sale {
    background-color: #ff3b30;
}

@media (max-width: 768px) {
    .category-wall__badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }
}