.category-items {
    margin-bottom: clamp(48px, 7.5vw, 144px);
}

.category-items__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(32px, 3.33vw, 64px);
}
.category-items__wrapper:has(> *:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 363px) !important;
    justify-content: center !important;
}
@media screen and (max-width: 1024px) {
    .category-items__wrapper:has(> *:nth-child(2):last-child) {
        justify-content: unset !important;
    }
}
.category-items__item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: clamp(16px, 1.25vw, 24px);
    width: 100%;
    height: 100%;
}

.category-items__item .img-wrapper {
    width: 100%;
    height: clamp(200px, 16.67vw, 320px);
    overflow: hidden;
    background-color: var(--gray-10);
}

.category-items__item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-items__item:hover .img-wrapper img {
    transform: scale(1.03);
}

.category-items__item-title {
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(18px, 1.25vw, 24px);
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0;
    color: var(--gray-100);
    flex-grow: 1;
}

.category-items__item .see-details {
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}

.wr {
    display: flex;
    justify-content: center;
    width: 100%;
}
.category-items__slider .partners-title{
    margin-bottom: clamp(24px, 3.33vw, 64px);;
}

.all-category-items {
    width: fit-content;
    margin: clamp(36px, 4.58vw, 88px) auto 0 auto;
    cursor: pointer;
    box-sizing: border-box;
}

.category-items__navigation {
    display: none;
}

@media (max-width: 1024px) {
    .category-items {
        margin-bottom: clamp(48px, 6vw, 80px);
    }

    .category-items__slider {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    .category-items__slider .category-items__wrapper {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        align-items: stretch;
        height: auto;
    }

    .category-items__wrapper:not(.swiper-wrapper) {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(24px, 3vw, 32px);
    }

    .category-items__slider:not(.swiper-initialized) .category-items__item,
    .category-items__slider:not(.swiper-initialized) .swiper-slide {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }

    .category-items__slider .category-items__item,
    .category-items__slider .swiper-slide {
        width: 100%;
        flex-shrink: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .category-items__slider.swiper-initialized .category-items__item,
    .category-items__slider.swiper-initialized .swiper-slide {
        min-width: 0;
        max-width: none;
        flex-shrink: 0;
    }

    .category-items__item .img-wrapper {
        height: clamp(200px, 24vw, 260px);
    }

    .category-items__item-title {
        font-size: clamp(16px, 2vw, 20px);
    }

    .all-category-items {
        margin-top: clamp(32px, 4vw, 48px);
    }

    .category-items__navigation {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        margin-top: clamp(24px, 4vw, 36px);
    }

    .category-items__arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0;
        color: #222222;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    .category-items__arrow:hover {
        opacity: 0.5;
    }

    .category-items__arrow.swiper-button-disabled {
        opacity: 0.25;
        cursor: default;
        pointer-events: none;
    }

    .category-items__arrow.swiper-button-lock {
        display: none !important;
    }

    .category-items__arrow svg {
        width: 32px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .category-items {
        margin-bottom: 48px;
    }

    .category-items__wrapper:not(.swiper-wrapper) {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-items__item {
        gap: 16px;
    }

    .category-items__item .img-wrapper {
        height: clamp(200px, 55vw, 260px);
    }

    .category-items__item-title {
        font-size: 18px;
    }

    .all-category-items {
        width: 100%;
        margin-top: 24px;
        text-align: center;
        justify-content: center;
    }

    .category-items__item .see-details {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (min-width: 1025px) {
    .category-items__slider {
        overflow: visible;
    }

    .category-items__wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: clamp(32px, 3.33vw, 64px) !important;
        transform: none !important;
        width: 100% !important;
    }

    .category-items__item {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    .category-items__navigation {
        display: none !important;
    }
}
