
.kr-slide-bg-image img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  z-index: 1;
}

.kr-slide-bg-image{
  height: 100%;
  width:100%;
  display:block;
  position: absolute;
  top:0;
  left:0;
}




.kr_nav_wrap {
    display: flex;
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    gap: 1rem;
    align-items: center;
}


/* Le contenu passe au-dessus */
.kr-slide-content {
  position: absolute;
  z-index: 2;
  color: #000;
  padding: 2rem;
  max-width: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.kr-slide-content h1{
  color:#000000;
  font-weight: 700;
}



.kr-slide-content p{
 color:#595959;
 margin-top:2rem;
 margin-bottom:2rem;
}


.kr-carousel-container {
  position: relative;
  margin: 0 auto;
  min-height: 615px;
  max-height:615px;
  height:615px;
  overflow: hidden;
}



/* Slide actif */
.kr-carousel-slide.kr-active-slide {
  opacity: 1;
  z-index: 0;
}





/* Pas de display:flex sur le track si on fait du fade */
.kr-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Chaque slide est en position absolue */
.kr-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* on part invisible */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  /*display: flex;
  align-items: center;
  justify-content: space-between;*/
  box-sizing: border-box;
}

/* Slide actif (visible) */
.kr-carousel-slide.kr-active-slide {
  opacity: 1; /* On le rend visible */
  z-index: 0; /* On le met au-dessus */
}

/* Contenu texte, visuel... */
.kr-slide-content {
  max-width: 50%;
}
.kr-slide-buttons .kr-btn {
  margin-right: 1rem;
}

/* Visuel produit */
.kr-slide-visual {
  position: relative;
  width: 100%;
  height: 100%;
}
.kr-slide-visual img {
  width: 100%;
  height: auto;
}
.kr-product-label {
  position: absolute;
  right: 0.5rem;
  top:50%;
  background-color: oklch(var(--p));
  border:2px solid #FFF;
  padding: 0.5rem 1rem;
  border-radius: 5rem;
  font-size: 1rem;
  font-weight:800;
  color:#000;
  Z-index:99;
}

/* Points (dots) */



.kr-carousel-dots {
    display: flex;
    justify-content: start;
    margin: 1rem 0;
    /*position: absolute;
    bottom: 2rem;*/
    z-index: 3;
    left: 4rem;
    /* right: 0; */
    margin: 0 auto;
    background: #AED6BD33;
    width: fit-content;
    height: 42px;
    gap: 10px;
    border-radius: 40px;
    /* padding-top: 16px; */
    padding-right: 19px;
    /* padding-bottom: 16px; */
    padding-left: 19px;
    align-items: center;
}
.kr-dot {
  width: 10px;
  height: 10px;
  background: #AED6BDB2;
  border-radius: 50%;
  margin: 1rem 0rem;
  cursor: pointer;
  border: none;
}
.kr-dot.kr-active {
  background: #8FCFAD;
  width:15px;
  height:15px;
}

/* Flèches */
.kr-carousel-arrow {
  /*position: absolute;
  top: 50%;
  transform: translateY(-50%);*/
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
}
.kr-carousel-arrow svg{
  width: auto;
}
.kr-prev {
  left: 0.5rem;
}
.kr-next {
  right: 0.5rem;
}



/* Responsive rules */

@media(max-width:490px){
  .kr-slide-buttons a{
    margin-bottom: 1rem;
    font-size: 1rem;
    padding:1rem 0.5rem;
  }
}

@media(max-width: 768px) {
  .kr-slide-content {
    max-width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }
  .kr_nav_wrap {
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .kr-carousel-arrow{
    display: none;
  }
  .kr-slide-visual {
    display: none;
  }
  .kr-slide-content h2 {
    font-size: 2rem;
  }
}

@media(min-width:768px){
  .kr-slide-content h1{
  font-size: 60px;
  line-height: 110.00000000000001%;
  }
  .kr-slide-content p{
    font-size:18px;
  }
}

@media(min-width:992px){
  .kr-carousel-slide {
    padding: 2rem;
  }
  .kr_nav_wrap {
    left: 4rem;
    bottom:2rem;
  }
}
