.categories-swiper.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.categories-swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.categories-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    transition-property: transform;
    box-sizing: border-box;
}

.categories-section {
    background-color: #F1EFEA;
    padding: 3.75rem 0;
}

.categories-section__title {
    text-transform: uppercase;
    color: var(--black);
    margin: 0;
}

.categories-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.categories-nav__label {
    font-size: 1.375rem;
    color: var(--black);
}

.categories-nav__buttons {
    display: flex;
    gap: 0.75rem;
}

.categories-btn {
    width: 5.25rem;
    height: 5.25rem;
    background: #ffffff;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    transition: background-color 0.2s ease;
}

.categories-slider-wrapper {
    position: relative;
    margin-top: 2.5rem;
}

.category-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.category-card__title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--black);
    margin: 0 0 0.625rem 0;
}

.category-card__desc {
    font-size: 1.375rem;
    color: var(--grey-text);
    margin: 0;
    max-width: 260px; 
}

.category-card__image-wrapper {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
}

.category-card__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.categories-btn-mobile {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    background-color: #f2a900;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.categories-btn-mobile--prev {
    left: -10px;
    fill: var(--black);
}

.categories-btn-mobile--next {
    right: -10px;
    fill: var(--black);
}

@media screen and (max-width: 959px) {
    .hide-mobile { display: none !important; }
    
    .categories-section__title {
        text-align: center;
        width: 100%;
        font-size: 26px;
    }

    .category-card {
        padding: 24px 16px;
    }
    .categories-btn-mobile--prev {
        fill: var(--white);
    }

    .categories-btn-mobile--next {
        fill: var(--white);
    }
}

@media screen and (min-width: 960px) {
    .hide-desktop { display: none !important; }
}