/* Section full-width */
.kl-block_products_highlight {
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
body#index .kl-block_products_highlight {
    width: 100vw;
    margin: 0 0 -15rem;
    padding: 0 0 20rem;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
.kl-block_products_highlight .wishlist-button-add {
    display: none;
}

/* Image de fond jaune full-width */
.kl-block_products_highlight--bg-yellow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Animation visible */
    animation: waveSoft 20s ease-in-out infinite;
    transform-origin: center bottom;
}
body#index .kl-block_products_highlight--bg-yellow {
    top: -180px;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Animation visible */
    animation: waveSoft 20s ease-in-out infinite;
    transform-origin: center bottom;
}
@keyframes waveSoft {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  15% {
    transform: translateY(-20px) rotate(4deg) scale(1.04);
  }

  35% {
    transform: translateY(15px) rotate(-3deg) scale(0.98);
  }

  55% {
    transform: translateY(20px) rotate(3deg) scale(0.97);
  }

  75% {
    transform: translateY(-10px) rotate(-2deg) scale(1.03);
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

/* Wrapper pour centrer le container */
.kl-block_products_highlight--wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}
.kl-block_products_highlight--overlay {
    background: rgba(13, 23, 69, 0.2);
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
}

/* Container avec fond image athlète */
.kl-block_products_highlight--container {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px;
    background-color: rgba(13, 23, 69, 0.2);
}

/* Block 1 - Contenu texte en haut à gauche */
.kl-block_products_highlight--content-block {
    max-width: 450px;
    align-self: flex-start;
    z-index: 3;
}

.kl-block_products_highlight--label {
    display: block;
    color: #364966;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.kl-block_products_highlight--title {
    color: #0D1745;
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.kl-block_products_highlight--description {
    color: #364966;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.kl-block_products_highlight--cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: #E1FF00;
    color: #364966;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: initial;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.kl-block_products_highlight--cta:hover {
    background-color: #c9e600;
    color: #364966;
    text-decoration: none;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* Block 2 - Produits en bas à droite */
.kl-block_products_highlight--products-block {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-self: flex-end;
    justify-content: flex-end;
}

.kl-block_products_highlight--product-item {
    width: 180px;
    z-index: 3;
}

.kl-block_products_highlight--product-item .product-description {
    padding: 1.5rem !important;
    background-color: #E7EDF4;
}
.kl-block_products_highlight--product-item .product-miniature .thumbnail-container {
    background-color: #E7EDF4;
}


/* Ajustements pour les miniatures PrestaShop */
.kl-block_products_highlight--product-item .product-miniature {
    background-color: #E7EDF4;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: -50%;
}

.kl-block_products_highlight--product-item .product-miniature:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .kl-block_products_highlight--container {
        min-height: 450px;
        padding: 30px;
    }
    
    .kl-block_products_highlight--title {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .kl-block_products_highlight--wrapper {
        padding: 40px 20px;
    }
    
    .kl-block_products_highlight--container {
        min-height: 400px;
        padding: 25px;
    }
    
    .kl-block_products_highlight--title {
        font-size: 34px;
    }
    
    .kl-block_products_highlight--products-block {
        justify-content: center;
        align-self: center;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {

    /* Image de fond jaune full-width */
    .kl-block_products_highlight--bg-yellow {
        background-position: bottom;
    }

    /* Container avec fond image athlète */
    .kl-block_products_highlight--container {
        background-size: initial !important;
        background-color: transparent;
        background-position: 45%;
    }
    .kl-block_products_highlight--overlay {
        /*height: 53%;
        top: 20%;*/
        height: 100%;
        top: 0;
    }
    /* Ajustements pour les miniatures PrestaShop */
    .kl-block_products_highlight--product-item .product-miniature {
        margin-bottom: 0;
    }
    .kl-block_products_highlight--wrapper {
        padding: 30px 15px;
    }
    
    .kl-block_products_highlight--container {
        min-height: 350px;
        padding: 20px;
        justify-content: flex-start;
        gap: 350px;
    }
    
    .kl-block_products_highlight--content-block {
        max-width: 100%;
    }
    
    .kl-block_products_highlight--title {
        font-size: 28px;
    }
    
    .kl-block_products_highlight--description {
        font-size: 14px;
    }
    
    .kl-block_products_highlight--products-block {
        align-self: center;
        justify-content: center;
    }
    
    .kl-block_products_highlight--product-item {
        width: 180px;
        max-width: 250px;
    }
    .product-miniature .thumbnail-container .product-thumbnail img
     {
        max-width: 60%;
    }
    .kl-block_products_highlight--product-item .product-description {
        padding: 0.2rem 1.5rem 1.5rem 1.5rem !important;
    }
}

@media (max-width: 575px) {
    .kl-block_products_highlight--title {
        font-size: 24px;
    }
    
    .kl-block_products_highlight--container {
        min-height: 300px;
    }
    
    .kl-block_products_highlight--products-block {
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: inherit;
        top: 120px;
    }
    
    .kl-block_products_highlight--product-item {
        width: 100%;
        max-width: 250px;
        /*margin-top: 15%;*/
    }
}
@media (max-width: 767px) {
    .kl-content-highlight-desktop {
        display: none;
    }
    .kl-content-highlight-mobile {
        padding: 5%;
    }
    .kl-block_products_highlight--bg-yellow {
        left: 0 !important;
    }
}
@media (min-width: 767px) {
    .kl-content-highlight-mobile {
        display: none;
    }
}