.featured-categories-container {
    margin-top: 81px;
    padding: 2rem 0;
    overflow: visible; /* NEW */
}

.featured-categories-container .swiper { /* NEW */
    overflow: visible !important;
}

.featured-categories-slider--wrapper {
    position: relative;
}

.featured-category-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease-in-out;
    position: relative; /* NEW */
    padding-bottom: 55px; /* NEW */
    overflow: visible; /* NEW */
}

/*.featured-category-item a:hover {
    transform: translateY(-10px);
}*/

.featured-category-image-wrapper {
    width: 255.67274475097656px;
    height: 384.09283447265625px;
    margin: 0 auto;
    border: 13px;
    border-radius: 133px / 130px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.featured-category-image-wrapper img {
    width: 255.77685546875px;
    height: 450.982177734375px;
}

/* MODIFIED — ancien style remplacé */
.curved-text-svg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 160px;
    bottom: -45px;
    pointer-events: none;
    overflow: visible;
    z-index: 10;
    display: block;
    margin: 0;
    max-width: none;
}


/* MODIFIED — plus utilisé directement mais gardé pour compatibilité */
.curved-text {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    fill: #b87a3d;
    font-style: italic;
    letter-spacing: 3px;
}

.featured-categories-slider--wrapper .swiper-button-custom {
    width: auto;
    height: auto;
    margin: 0;
    color: #151F35;
    position: absolute;
    top: 50%;
    transform: translateY(-72px);
    z-index: 10;
    cursor: pointer;
}

.featured-categories-slider--wrapper .swiper-button-custom::after {
    display: none;
}

.featured-categories-slider--wrapper .swiper-button-prev {
    left: -40px;
}

.featured-categories-slider--wrapper .swiper-button-next {
    right: -40px;
}

.featured-categories-slider--wrapper .swiper-button-custom.swiper-button-disabled {
    opacity: 0.1;
}

@media (min-width: 768px) {
    .featured-categories-container .swiper-wrapper:not(:has(>.swiper-slide:nth-child(3))){
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .featured-categories-container{
        margin-inline: -10px;
        width: auto;
    }
    .featured-categories-slider--wrapper .swiper-button-prev {
        left: 68px;
    }
    .featured-categories-slider--wrapper .swiper-button-next {
        right: 68px;
    }

    .featured-categories-slider--wrapper .swiper-button-custom {
        transform: translateY(-36px);
    }

    .featured-categories-slider--wrapper .swiper{
        width: 50%;
        margin-inline: auto;
        overflow: visible;
    }

    .featured-category-image-wrapper img, .featured-category-image-wrapper {
        width: 219px;
        height: 329px;
    }

    /* MODIFIED — responsive pour le SVG */
    .curved-text-svg {
        width: 291px;
        height: 137px;
        bottom: -56px;
    }

    .featured-category-item a { /* NEW */
        padding-bottom: 50px;
    }
}