.product-image-slider .swiper-slide img {
  width: 100%; /* Menjaga lebar gambar mengikuti lebar kontainer */
  height: 400px; /* Atur tinggi yang sama untuk semua gambar */
  object-fit: cover; /* Memastikan gambar tidak terdistorsi dan di-crop jika perlu */
}

.product-image-thumb .swiper-slide img {
  width: 100%; /* Menjaga lebar gambar mengikuti lebar kontainer */
  height: 80px; /* Atur tinggi yang sama untuk semua thumbnail */
  object-fit: cover; /* Memastikan gambar tidak terdistorsi dan di-crop jika perlu */
}

/* Welcome Text */
.custom-border {
  position: relative;
  margin-bottom: 20px;
  /* Tambah jarak antara kontainer dan elemen lainnya */
}

.custom-border::before {
  content: '';
  position: absolute;
  bottom: -10px;
  /* Jarak dari bawah */
  left: -10px;
  /* Jarak dari kiri */
  width: calc(100% + 10px);
  /* Menambah lebar agar border sesuai kontainer */
  height: calc(100% + 10px);
  /* Menambah tinggi agar border sesuai kontainer */
  border-left: 5px solid #333;
  /* Border kiri */
  border-bottom: 5px solid #333;
  /* Border bawah */
  border-radius: 8px;
  /* Mengikuti radius border gambar */
}


/* CKE Editor*/
.description-list a{
  color: var(--main-color); 
}
.description-list ul li{
  list-style:initial;
}

.description-list p strong{
  color: var(--black); 
}

/* Artikel */
.truncate-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-text p {
    line-height: 1.6;
}

/* Background Image */
.background-1 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../../images/lain-lain/bg-1.jpg');
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url('../../../images/lain-lain/bg-1.jpg'); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity:0.3;
}

.background-2 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../../images/lain-lain/bg-2.jpg');
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url('../../../images/lain-lain/bg-1.jpg'); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity:0.04;
}

.background-3 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../../images/lain-lain/bg-3.png');
  /* background-repeat: no-repeat;
  background-size: cover; */
  background-position: center;
  z-index: -1;
  opacity:0.1;
}

.background-4 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../../images/lain-lain/bg-4.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity:0.9;
}

.background-5 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../../images/lain-lain/bg-2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity:0.1;
}


/*------back-to-top------------*/
.prgoress_indicator {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgb(0 0 0 / 10%);
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transform: translateY(15px) !important;
  transition: all 200ms linear !important;
}

.prgoress_indicator.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) !important;
}

.prgoress_indicator::after {
  position: absolute;
  content: "\f106";
  font-family: "Font Awesome 5 Free";
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: var(--base-color);;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  font-weight: 900;
  z-index: 1;
  transition: all 200ms linear !important;
}

.prgoress_indicator::before {
  position: absolute;
  content: "\f106";
  font-family: "Font Awesome 5 Free";
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  font-weight: 900;
  opacity: 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 2;
  transition: all 200ms linear !important;
}

.prgoress_indicator:hover ::after {
  color: var(--base-color);;
}

.prgoress_indicator:hover ::before {
  opacity: 1;
}

.prgoress_indicator svg path {
  fill: none;
}

.prgoress_indicator svg.progress-circle path {
  stroke: var(--base-color);;
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear !important;
}

/* Floating action Buttton */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  cursor: pointer;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.float:hover {
  color: #FFF;
}

.my-float {
  margin-top: 16px;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  25%,
  50%,
  75%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-12px);
  }
}

/* welcome text */
.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 80%;
  height: 80%;
  border-radius: 10px;
  background-color: var(--base-color);
  z-index: -1; 
}

/* .about-image::after {
  content: '';
  position: absolute;
  top: -35px;
  left: -35px;
  width: 130px; 
  height: 130px;
  background: url('../../../images/lain-lain/ornamen.webp') no-repeat center center;
  background-size: contain;  
  z-index: -1; 
} */


/* Style untuk pop-up container */
.popup-container {
  position: fixed;
  /* max-width: 300px; */
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  /* padding: 15px; */
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
}

/* Gambar profil */
.profile-pic {
  /* width: 50px;
  height: 50px; */
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* Teks notifikasi */
.popup-text {
  /* font-size: 14px; */
  line-height: 1.5;
  color: #333;
}

.popup-text strong {
  color: #000;
}

.time {
  /* font-size: 12px; */
  color: #888;
}

/* Animasi muncul */
.popup-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* .tokopediaa {
  filter: sepia(1) saturate(0%) hue-rotate(0deg) brightness(500%);
  transition: filter 0.3s ease;
} */

/* .btn:hover .tokopediaa {
  filter: none;
} */

.icon-keunggulan {
  filter: sepia(1) saturate(0%) hue-rotate(0deg) brightness(500%);
  transition: filter 0.3s ease;
}

.keunggulan-item:hover .icon-keunggulan {
  filter: none;
}
