/* ── Owl Carousel Integration ─────────────────────────────────────── */

.product-carousel-wrapper {
  width: 100%;
  padding: 0px 0px 40px 0px;
  background: #ffffff;
  overflow: hidden;
}

.product-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
}

.km-hero-carousel-wrapper{
  margin-bottom: 40px;}
}

.product-carousel-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 30px 0;
  letter-spacing: 0.05em;
}

/* ── Owl Carousel Customization ─────────────────────────────────── */

.owl-carousel {
  margin: 0;
  padding: 0;
}

.owl-carousel .owl-stage-outer {
  overflow: visible;
}

.owl-carousel .owl-item {
  padding: 0;
}

.product-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.product-item > div:first-child {
  position: relative;
}

.product-item > div:first-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 30px;
  background: #000000;
  z-index: 1;
}

.product-item img {
  width: 100%;
  aspect-ratio: 1;
  background: #f5f5f5;
  transition: transform 0.3s ease-out;
}

.product-item:hover img {
  transform: scale(1.02);
}

.product-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── Owl Navigation Arrows ──────────────────────────────────────── */

.owl-carousel .owl-nav {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex !important;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.owl-carousel .owl-nav.disabled {
  display: flex !important;
}

.owl-carousel .owl-nav button {
  position: absolute;
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  background: #ffffffcc !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s;
  color: #333 !important;
  padding: 0 !important;
  outline: transparent;
  appearance: none;
  font-size: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

@media (min-width: 769px) {
  .owl-carousel .owl-nav button {
    opacity: 0;
    pointer-events: none;
  }

  .product-carousel-wrapper:hover .owl-carousel .owl-nav button {
    opacity: 1;
    pointer-events: auto;
  }
}

.owl-carousel .owl-nav button svg{

}

.owl-carousel .owl-nav button:hover {
  background: #FFFFFF !important;
  color: #000000 !important;
}


.owl-carousel .owl-prev {
  left: -35px;
  justify-content: flex-end;

 
}
.owl-carousel .owl-prev  svg{
  margin-right: 12px;
  fill: #000;
  
}


.owl-carousel .owl-next {
  right: -35px;
  justify-content: start !important;
  fill: #000;
}

.owl-carousel .owl-next  svg{
  margin-left: 12px;
  fill: #000;

}

/* ── Owl Dots ──────────────────────────────────────────────────── */

.owl-carousel .owl-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.owl-carousel .owl-dots.disabled {
  display: flex !important;
}

.owl-carousel .owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000 !important;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease-out;
}

.owl-carousel .owl-dot span {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.owl-carousel .owl-dot:hover {
  background: #999;
}

.owl-carousel .owl-dot.active {
  background: #333;
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive: Mobile ────────────────────────────────────────── */

@media (max-width: 768px) {
  .product-carousel-wrapper {
    padding: 20px 0;
  }

  .product-carousel-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

}

/* ── Hero Carousel ──────────────────────────────────────────────── */

.km-hero-carousel .owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.km-hero-carousel .owl-nav button {
  pointer-events: all;
  background: #ffffff !important;
  color: #0000 !important;
  border: none !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  font-size: 0;
  cursor: pointer;
  transition: all 0.2s;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  padding: 0 !important;
  outline: transparent;
  appearance: none;
}


.km-hero-carousel-wrapper .owl-prev {
  margin-left: -45px !important;
  justify-content: flex-end !important;
}
.km-hero-carousel-wrapper .owl-prev  svg{
  margin-right: 20px !important;
  fill: #000;
}

.km-hero-carousel-wrapper .owl-next {
  margin-right: -45px !important;
  justify-content: start !important;
}
.km-hero-carousel-wrapper .owl-next  svg{
  margin-left: 20px !important;
  fill: #000;
}



.km-hero-carousel .owl-nav button:hover {
  background: #FFFFFF !important;
}

.km-hero-carousel .owl-nav button {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

/*.km-hero-carousel .owl-nav button.fade-out {
  opacity: 0;
  pointer-events: none;
}*/

@media (max-width: 768px) {


  .km-hero-carousel .owl-nav  button.owl-next{
    width: 60px !important;
    height: 60px !important;
    margin-right: -30px !important;
  }

  .km-hero-carousel-wrapper .owl-next svg{
        margin-left: 15px !important;
  }

  .km-hero-carousel .owl-nav  button.owl-prev{
    width: 60px !important;
    height: 60px !important;
    margin-left: -30px !important;
  }

  .km-hero-carousel-wrapper .owl-prev svg{
        margin-right: 15px !important;
  }

}


@media (min-width: 769px) {





  .km-hero-carousel-wrapper:hover .owl-nav button {
    opacity: 1;
    pointer-events: auto;
  }
}

.km-hero-carousel .owl-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.km-hero-carousel .owl-dot {
  background: rgba(255, 255, 255, 0.6) !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 !important;
}

.km-hero-carousel .owl-dot span {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.km-hero-carousel .owl-dot.active {
  background: white !important;
  width: 24px !important;
  height: 8px !important;
  border-radius: 4px;
}

@media (max-width: 768px) {

  .km-hero-carousel-wrapper {
    height: 70vh;
  }
}
