
#index #content-wrapper {
    padding-left: 0;
    padding-right: 0;
    float: none;
}

#index #wrapper {
    padding: 0;
}

.hero--banner {
    min-height: 581px;
}

.hero__banner--background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__banner--background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ✨ NOUVEAU : Cacher toutes les images par défaut */
.hero__banner--background .hero-image {
    display: none;
}

/* Desktop (PC) - Plus de 1200px */
@media (min-width: 1200px) {
    .hero__banner--background .hero-image--desktop {
        display: block;
    }
        .hero__banner--wrapper {
        padding-bottom: 0;
        margin-bottom: -6rem;
    }
}

/* Tablette - Entre 768px et 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero__banner--background .hero-image--tablet {
        display: block;
    }
        .hero__banner--wrapper {
        padding-bottom: 0;
        margin-bottom: -6rem;
    }
}

/* Mobile - Entre 480px et 767px */
@media (min-width: 480px) and (max-width: 767px) {
    .hero__banner--background .hero-image--mobile {
        display: block;
    }
        .hero__banner--wrapper {
        padding-bottom: 0;
        }
}

/* Petit Mobile - Moins de 480px */
@media (max-width: 479px) {
    .hero__banner--background .hero-image--small-mobile {
        display: block;
    }
        .hero__banner--wrapper {
        padding-bottom: 0;
    }
}

/* Style des images responsives dans le background */
.hero__banner--background .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__banner--background .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--links {
    gap: 16px 32px;
    /* margin-top: 330px; sans banner image*/
    margin-top: 36px;
}

.hero--links a {
    display: inline-flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    border-radius: 50px;
    padding: 8px 16px 8px 16px;
    border: 2px solid #fff;
    transition: 0.3s all ease;
}

.hero--links a:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.box__category--carousel {
    margin-top: 16px;
    margin-bottom: 0;
    text-align: center;
}

.e-heading {
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
}

.box__category--carousel .e-heading {
    color: #c0060d;
    margin-bottom: 16px;
}

.box__category--carousel .item {
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.box__category--carousel .item-description {
    padding: 8px 16px;
    border-radius: 50px;
    color: #02184b;
    background-color: #fff;
    border: 2px solid #fff;
    font-size: 16px;
    line-height: 1.5;
    transition: 0.15s all ease-in-out;
    position: absolute;
    left: 16px;
    bottom: 16px;
}

.box__category--carousel .item img {
    width: 100%;
}

.box__category--carousel .item-description:hover {
    background-color: transparent;
    color: #fff;
}

.box__category--carousel .swiper-navigation svg, .box__sport .swiper-navigation svg {
    display: none;
}



.box__sport .swiper-navigation > div {
    transform: translateY(-50%) !important; 
}

.box__category--carousel .swiper-navigation > div {
    transform: translateY(-0%) !important; /* Nouvelle valeur */
}



@media (min-width: 1025px) {
.home-categories-swiper {
    width: 88%;
    margin: 0 auto;
}
}

@media (min-width: 1200px) {
    .home-categories-swiper {
        width: 88%;
        margin: 0 auto;
    }
    .home-categories-swiper.categories-3 .swiper-wrapper {
        justify-content: center;
    }
}

.box__product--special {
    --heading-color: var(--special-product-heading);
    --description-color: var(--special-product-description);
    --background-color: var(--special-product-background);
    --button-color: var(--special-product-button-color);
    --button-bg-color: var(--special-product-button-bg);
    --button-border-color: var(--special-product-button-border);
    --button-color-hover: var(--special-product-button-color-hover);
    --button-bg-color-hover: var(--special-product-button-bg-hover);
    --button-border-color-hover: var(--special-product-button-border-hover);
}
.box__product--new {
    --heading-color: var(--new-product-heading);
    --description-color: var(--new-product-description);
    --background-color: var(--new-product-background);
    --button-color: var(--new-product-button-color);
    --button-bg-color: var(--new-product-button-bg);
    --button-border-color: var(--new-product-button-border);
    --button-color-hover: var(--new-product-button-color-hover);
    --button-bg-color-hover: var(--new-product-button-bg-hover);
    --button-border-color-hover: var(--new-product-button-border-hover);
}
.box__product--bloc3 {
    --heading-color: var(--bloc3-product-heading);
    --description-color: var(--bloc3-product-description);
    --background-color: var(--bloc3-product-background);
    --button-color: var(--bloc3-product-button-color);
    --button-bg-color: var(--bloc3-product-button-bg);
    --button-border-color: var(--bloc3-product-button-border);
    --button-color-hover: var(--bloc3-product-button-color-hover);
    --button-bg-color-hover: var(--bloc3-product-button-bg-hover);
    --button-border-color-hover: var(--bloc3-product-button-border-hover);
}

.home-product-1 {
    background: var(--background-color);
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
}

@media (min-width: 1025px) {
.home-product-1 .box__product--image {
    width: 470px;
}
}

.home-product-1 .box__product--list {
    text-align: center;
    padding: 16px 50px;
    width: calc(100% - 470px);
}

.home-product-1 .e-heading {
    color: var(--heading-color);
    margin-bottom: 0;
    padding-left: 0rem;
    padding-right: 1rem;
}

.e-description {
    font-size: 16px;
    line-height: 1.5;
}

.home-product-1 .e-description {
    color: var(--description-color);
    margin-bottom: 24px;
    padding-left: 0rem;
    padding-right: 1rem;
}

.box__brand--grid {
    /* padding: 32px 0; */
    text-align: center;
    padding-top: 29px;
}

.box__brand--grid .e-heading {
    margin-bottom: 16px;
}

.box__brand--grid .homepage-block-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.rounded-4 {
    border-radius: 1rem;
}

.box__brand--grid .homepage-block-wrapper .card {
    margin-bottom: 0;
}

.box__brand--grid .homepage-block-wrapper .card img {
    max-width: 100%;
}

.box__brand--grid .homepage-block-wrapper .btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: #02184b;
    background-color: #ffffff;
    border-radius: 50px 50px 50px 50px;
    padding: 8px 16px 8px 16px;
    border: 2px solid #fff;
    transition: 0.3s all ease;
}

@media (max-width: 900px) {
   .box__brand--grid .homepage-block-wrapper .btn {
    font-size: 14px;
    line-height: 1.5em;
    padding: 4px 16px
}
}

.box__brand--grid .homepage-block-wrapper .btn:hover {
    background: transparent;
    color: #fff;
}

.box__sport {
    text-align: center;
    margin-top: 30px;
}

.box__sport .e-heading {
    margin-bottom: 30px;
}

.box__sport .drag-scroll .item {
    flex: 0 0 245px;
    width: 245px;
}

.box__sport .item-description {
    display: block;
    font-size: 18px;
    font-weight: 400;
    line-height: 1rem;
    padding: 16px 0px 0px 0px;
    color: var(--text-color);
}

@media (max-width: 900px) {
    .box__sport .item-description {
        font-size: 16px;
    }
}



.box-text {
    text-align: left;
}


#custom-text {
    margin-top: 70px;
}

#custom-text .box-text h2 {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 8px;
    margin-top: 16px;
    color: #02184b;
    text-transform: none;
}

#custom-text .box-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--text-color);

    transition: 0.3s all ease;
}

#custom-text .box-text:not(.show) {
    -webkit-text-fill-color: transparent;
    background: -webkit-linear-gradient(#02184b, #fff 95%);
    -webkit-background-clip: text;
    height: 12rem;
    overflow: hidden;
}

#custom-text .box-text.show {
    height: auto;
}

#custom-text .box-text p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    margin-bottom: 0;
    color: var(--text-color);
}

#custom-text .btn__collapse {
    font-size: 12px;
    line-height: 1.5;
    text-decoration: underline;
    color: #02184b;
    margin-top: 8px;
    cursor: pointer;
    text-align: left;
}

.btn__collapse .text_hide {
    display: inline;
}

.btn__collapse .text_close {
    display: none;
}

.btn__collapse.show .text_hide {
    display: none;
}

.btn__collapse.show .text_close {
    display: inline;
}

.e-link {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}
.e-link a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--button-color);
    background-color: var(--button-bg-color);
    border-radius: 50px 50px 50px 50px;
    padding: 8px 16px 8px 16px;
    border: 2px solid var(--button-border-color);
    transition: 0.3s all ease;
}



.e-link a:hover {
    background-color: var(--button-bg-color-hover);
    color: var(--button-color-hover);
    border-color: var(--button-border-color-hover);
}


.home-categories-swiper .item {
    width: 320px;
    min-width: 320px;
}

.home-categories-swiper.categories-3 .item {
    width: 350px;
    min-width: 350px;
}

@media (max-width: 900px) {
    .home-categories-swiper.categories-3 .item {
        width: 300px;
        min-width: 300px;
    }
}

.product-carousel .swiper-slide {
    width: 236px
}

@media (max-width: 900px) {
    .product-carousel .swiper-slid {
        width: 231px
    }
}  



.home-product-2::before {
     content: "";
     position: absolute;
     top: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 85%; /* Ajustez la largeur souhaitée */
     border-top: 1px solid #f0f0f0;
}

/* Mobile */
@media (max-width: 768px) {
    .home-product-2::before {
        width: 95%; /* Largeur pour mobile */
    }
}



.hero--image img {
    max-width: 100%;
    height: auto;
     object-fit: cover; /* ou 'contain' selon l'effet désiré */

}

@media (min-width: 1025px) {
    .product-carousel .swiper {
        width: 88%;
        margin: 0 auto;
    }

    .box__sport .swiper  {
        max-width: 88%;
        margin: 0 auto;
    }
    .box__sport .swiper-slide {
    width: 248px;
}
}


@media (max-width: 1024px) {
    .box__category--carousel .swiper-navigation, .box__product--list .swiper-button-next, .box__product--list .swiper-button-prev, .box__sport .swiper-navigation {
        display: none;
    }
    .home-categories-swiper .item {
        width: 300px;
        min-width: 300px;
    }

    .home-product-1 .box__product--list {
        width: 100%;
        padding: 16px 0px 16px 16px;
    }
    .box__brand--grid .homepage-block-wrapper {
        gap: 8px;
    }
    .box__sport .swiper-slide img {
        width: 100%;
    }
    
    .hero--banner {
        min-height: 471px;
    }
    
}

@media (max-width: 767px) {
    .box__sport .swiper-slide img {
        width: 96%;
    }
}    

@media (max-width: 900px) {
.box__sport .swiper-slide {
        width: 157px;
    }

    .hero--links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero--links li {
        flex: 1;
        text-align: center;
    }
    .hero--banner {
        align-items: flex-end;
    }
    .hero__banner--wrapper {
       /*padding-bottom: 50px;  sans banner image*/
       padding-bottom: 58px;
    }
    .e-heading {
        font-size: 30px;
    }
    .box__brand--grid .homepage-block-wrapper {
        grid-template-columns: 1fr;
    }
   
    #customer-care .icon {
        font-size: 40px;
    }
    #customer-care .text-uppercase {
        font-size: 12px;
    }
}

/* start block new product */

/* end block new product */



.home-product-9 {
    background: var(--background-color);
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
}
@media (min-width: 1025px) {
.home-product-9 .box__product--image {
    width: 470px;
}
}
.home-product-9 .box__product--list {
    text-align: center;
    padding: 16px 50px;
    width: calc(100% - 470px);
}
.home-product-9 .e-heading {
    color: var(--heading-color);
    margin-bottom: 0;
    padding-left: 0rem;
    padding-right: 1rem;
}
.home-product-9 .e-description {
    color: var(--description-color);
    padding-left: 0;
    padding-right: 1rem;
}
.home-product-9 .e-link a {
    color: var(--button-color);
    background: var(--button-bg-color);
    border-color: var(--button-border-color);
}
.home-product-9 .e-link a:hover {
    color: var(--button-color-hover);
    background: var(--button-bg-color-hover);
    border-color: var(--button-border-color-hover);
}

@media (max-width: 1024px) {
    .home-product-9 .box__product--list {
        width: 100%;
        padding: 16px 0px 16px 16px;
    }
}
