.elementor-1505 .elementor-element.elementor-element-7c01b318{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for pls-custom-categories, class: .elementor-element-4e3884a4 *//* ============================================= */
/* IMAGES (taille actuelle)                     */
/* ============================================= */
.product-category .category-image {
    height: 135px !important;
    width: 135px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    position: relative !important;
    overflow: hidden;
    margin: 0 auto !important;
}

.product-category .category-image img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ============================================= */
/* ESPACEMENT PRESQUE COLLÉ                     */
/* ============================================= */
.product-category.swiper-slide,
.products .swiper-slide,
.swiper-slide {
    margin-right: 0px !important;
    margin-left: 0px !important;
    padding: 0 !important;
}

/* ============================================= */
/* CENTRAGE + TITRES                            */
/* ============================================= */
.product-category .pls-product-inner {
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
    padding: 0 0 30px 0 !important;
    text-align: center !important;
}

.product-category .woocommerce-loop-category__title,
.product-category .category-title,
h3.woocommerce-loop-category__title {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    z-index: 10;
    display: block !important;
    width: fit-content !important;
    max-width: 95% !important;
    padding: 4px 10px !important;
    font-size: 13px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
}

/* ============================================= */
/* MOBILE : 3,5 CATÉGORIES + TITRES LONGS NON COUPÉS */
/* ============================================= */
@media (max-width: 767px) {
    .product-category.swiper-slide,
    .swiper-slide.product-category {
        width: 28.5% !important;
        flex: 0 0 28.5% !important;
        max-width: 28.5% !important;
    }
    
    .product-category .category-image {
        height: 130px !important;
        width: 130px !important;
    }

    /* ← ICI LA CORRECTION POUR LES TITRES LONGS SUR MOBILE */
    .product-category .woocommerce-loop-category__title,
    .product-category .category-title,
    h3.woocommerce-loop-category__title {
        font-size: 12px !important;           /* un peu plus petit pour gagner de la place */
        white-space: normal !important;
        word-break: break-word !important;
        overflow: visible !important;
        text-overflow: unset !important;
        line-height: 1.25 !important;
    }
}/* End custom CSS */