.product-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-image {
  height: 200px;
  background-color: #d5e5ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info {
  background: linear-gradient(#0071c1, #0e3f8c);
  padding: 8px;
  text-align: center;
}

.product-info h5 {
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
}

.product-info p {
  font-size: 14px;
  font-weight: 400 !important;
  color: #ffffffb7 !important;
  text-align: left;
}

.category-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-header {
  background: linear-gradient(to top, #204289, #4a9cd5);
  padding: 10px;
  text-align: center;
}

.card-header strong {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.category-list .list-group-item {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.category-list .list-group-item:last-child {
  border-bottom: none;
}

.category-list .list-group-item:hover {
  background-color: #f5f5f5;
  color: #007bff;
}


.list-group-item {
  font-family: Poppins, sans-serif;
  color: #000000;
}


.menu {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f8f9fa;
  /* Warna latar lebih soft */
}

.menu h3 {
  font-family: Poppins, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 10px 15px;
  background: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  text-align: left;
  color: #000000;
  /* Warna teks lebih soft */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu h3.active {
  background-color: #0e3f8c;
  color: #ffffff;
}

.menu h3:hover {
  background-color: #0e3f8c;
  color: #ffffff;
}

.submenu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.submenu.visible {
  display: block;
  max-height: 500px;
  /* Atur batas sesuai kebutuhan */
}

.menu-link,
.submenu-link,
.sub-submenu-link {
  text-decoration: none;
  color: inherit;
}

.menu-link:hover,
.submenu-link:hover,
.sub-submenu-link:hover {
  text-decoration: none;
  color: #ffffff;
}


.submenu li {
  padding: 8px 15px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  text-align: left;
  color: #333333;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 5px;
  list-style-type: disc;
  /* Menambahkan titik hitam */
  list-style-position: inside;
  /* Titik berada di dalam padding elemen */
}


.submenu li:hover {
  background-color: #0e3f8c;
  color: #ffffff;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu li .sub-submenu {
  list-style-type: none;
  margin: 5px 0;
  padding-left: 20px;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.submenu-item.active>.sub-submenu {
  display: block;
  max-height: 500px;
  /* Atur batas sesuai kebutuhan */
}

.dropdown-icon {
  font-size: 12px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  margin-left: auto;
  color: #333333;
}

.dropdown-icon:hover {
  font-size: 12px;
  color: #ffffff !important;
}



.dropdown-icon.open {
  transform: rotate(180deg);
}

.submenu li:hover .dropdown-icon {
  color: #ffffff;
}

/* Sub-dropdown untuk sub-submenu */
.sub-dropdown-icon {
  font-size: 12px;
  margin-left: 10px;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  color: #333333;
}

.sub-dropdown-icon.open {
  transform: rotate(90deg);
}

/* Responsive styling */
@media (max-width: 768px) {
  .menu {
    border-radius: 0;
  }

  .menu h3 {
    font-size: 14px;
    padding: 8px 10px;
  }

  .submenu li {
    font-size: 14px;
    padding: 6px 10px;
  }
}


.product-container {
  text-align: center;
  margin-top: 20px;
  position: relative;
}

.productir-image {
  width: 450px;
  height: 400px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px;
}

.image-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.image-option {
  width: 65px;
  height: 65px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.image-option:hover {
  transform: scale(1.1);
}

.image-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.full-width-bar {
  width: 100%;
  background-color: #274051;
  padding: 10px 0;
}

.text-end {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 20px;
}

/* Tombol Default */
.btn-ir-product {
  background: linear-gradient(to top, #204289, #4a9cd5);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-ir-product:hover {
  background: linear-gradient(to top, #204289, #4a9cd5);
  color: #ffffff;
  transform: scale(1.05);
}

/* Responsif */
@media (max-width: 768px) {
  .btn-ir-product {
    font-size: 13px;
    padding: 5px 12px;
  }
}

@media (max-width: 576px) {
  .btn-ir-product {
    font-size: 12px;
    padding: 4px 10px;
  }
}


.product {
  margin-bottom: 20px;
}

.thumbnail-images img {
  cursor: pointer;
  width: 50px;
  margin-right: 5px;
}

.main-product-image {
  width: 200px;
  margin-bottom: 10px;
}



.image-item img {
  width: 100px;
  height: 100px;
  border: 1px solid #ddd;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s;
}

.image-item img:hover {
  transform: scale(1.1);
}

.modal-body img {
  height: auto;
  border-radius: 5px;
  max-width: 100%;
  /* Biar tidak lebih lebar dari kontainer */
}

/* Aturan khusus HP */
@media (max-width: 767.98px) {
  .modal-body img {
    width: 100%;
    /* Isi penuh layar HP */
    height: auto;
    /* Proporsional */
  }
}

/* Modal Styling */
.modal-ir {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.8); */
  justify-content: center;
  align-items: center;
}

.modal-ir-content {
  width: 300px;
  height: auto;
  padding: 10px;
  background: white;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-ir-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0e3f8c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-btn:hover {
  background: #000000;
  color: #f5f5f5;
}

.unique-image-slider-modal {
  position: fixed;
  z-index: 800;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

.unique-modal-content {
  position: relative;
  width: 60%;
  max-width: 500px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.unique-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.unique-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.unique-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.unique-slides img {
  width: 100%;
  display: none;
}

.unique-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
}

.unique-slider button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.unique-slider button:first-of-type {
  left: 8px;
}

.unique-slider button:last-of-type {
  right: 8px;
}



/* Styling untuk slider utama */
.main-slider .swiper-slide {
  display: flex;
  /* Penting untuk posisi isi slide */
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 450px;
  overflow: hidden;

  opacity: 0;
  /* Semua slide awalnya invisible */
  pointer-events: none;
}

.main-slider .swiper-slide-active {
  opacity: 1;
  pointer-events: auto;
  /* Aktifkan interaksi pada slide aktif */
}

.product-slider-image {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 8px;
}

/* Fix scroll horizontal */
body,
html {
  overflow-x: hidden;
}



/* Thumbnail Slider */
.thumbnail-slider {
  display: flex;
  flex-wrap: wrap;
  /*Agarelementurunkebarisberikutnya*/
  gap: 5px;
  /*Aturjarakantarelemendisini*/
  justify-content: center;
  /*Memusatkanelemen*/
  transform: translateY(-20px);
}

.thumbnail-item {
  width: 68px;
  /* Ukuran thumbnail */
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
}

.thumbnail-item img,
.thumbnail-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.thumbnail-item img:hover,
.thumbnail-item iframe:hover {
  transform: scale(1.1);
  /* Efek zoom saat hover */
}

/* Responsivitas */
@media (max-width: 768px) {
  .thumbnail-slider {
    gap: 8px;
    /* Jarak antar elemen lebih kecil */
  }

  .thumbnail-item {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .thumbnail-slider {
    gap: 4px;
  }

  .thumbnail-item {
    width: 40px;
    height: 40px;
  }
}





/* Kustomisasi tombol navigasi dengan kelas khusus */
.custom-swiper-nav .swiper-button-next,
.custom-swiper-nav .swiper-button-prev {
  width: 30px !important;
  /* Ukuran tombol */
  height: 30px !important;
  font-size: 14px !important;
  /* Ukuran ikon */
  background-color: rgba(255, 255, 255, 0.611);
  /* Warna latar semi-transparan */
  color: #000000 !important;
  /* Warna ikon */
  border-radius: 50%;
  /* Bentuk tombol menjadi bulat */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  top: 40%;
}

/* Default (Desktop) */
.custom-swiper-nav .swiper-button-next {
  right: 28px !important;
  /* Jarak default untuk layar besar */
}

.custom-swiper-nav .swiper-button-prev {
  left: 28px !important;
  /* Jarak default untuk layar besar */
}

/* Untuk layar menengah (tablet atau perangkat dengan lebar max 768px) */
@media (max-width: 768px) {
  .custom-swiper-nav .swiper-button-next {
    right: 20px !important;
    /* Sesuaikan jarak untuk layar lebih kecil */
  }

  .custom-swiper-nav .swiper-button-prev {
    left: 20px !important;
    /* Sesuaikan jarak untuk layar lebih kecil */
  }
}

/* Untuk layar kecil (ponsel atau perangkat dengan lebar max 576px) */
@media (max-width: 576px) {
  .custom-swiper-nav .swiper-button-next {
    right: 10px !important;
    /* Lebih dekat ke tepi untuk layar kecil */
  }

  .custom-swiper-nav .swiper-button-prev {
    left: 10px !important;
    /* Lebih dekat ke tepi untuk layar kecil */
  }
}

/* Pastikan ikon terlihat kecil tetapi proporsional */
.custom-swiper-nav .swiper-button-next::after,
.custom-swiper-nav .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 300;
  /* Ukuran ikon panah lebih kecil */
}




.custom-thumbnail-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  /* Jarak antar thumbnail */
  padding: 12px;
  background-color: #f9f9f9;
  /* Warna latar belakang untuk area slider */
  border-radius: 10px;
  /* Radius untuk area slider */
}

.custom-thumbnail-slider .custom-thumbnail-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 130px;
  /* Ukuran thumbnail */
  height: 90px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  /* Warna latar belakang setiap thumbnail */
}

.custom-thumbnail-slider .custom-thumbnail-slide:hover {
  transform: scale(1.08);
  /* Sedikit perbesar saat hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.custom-thumbnail-slider .custom-thumbnail-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.nebula-slider {
  margin: 20px 0;
}



.zoom-overlay {
  position: absolute;
  display: none;
  /* Awalnya disembunyikan */
  border: 2px solid #ddd;
  overflow: hidden;
  z-index: 1000;
  width: 200px;
  /* Lebih kecil */
  height: 200px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  /* Membuat sudut lebih halus */
}

/* .zoom-overlay img {
  position: absolute;
  transform-origin: top left;
}

.product-slider-image,
.thumbnail-image {
  transition: transform 0.5s ease-in-out, filter 0.3s ease-in-out;
  cursor: zoom-in;
}

.product-slider-image:hover,
.thumbnail-image:hover {
  filter: brightness(90%);
} */




/* Kustom tombol navigasi */
.custom-carousel-button {
  /* background-color: rgba(0, 0, 0, 0.5); */
  border: none;
  border-radius: 50%;
  width: 50px;
  /* Ukuran lebih kecil */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  /* Posisi absolut agar berada di samping gambar */
  top: 50%;
  /* Di tengah secara vertikal */
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  z-index: 10;
  /* Agar berada di atas gambar */
}


.carousel-control-prev {
  left: 25px;
  /* Default untuk layar besar */
}

.carousel-control-next {
  right: 25px;
  /* Default untuk layar besar */
}

/* Untuk layar menengah (tablet atau perangkat dengan lebar max 768px) */
@media (max-width: 768px) {
  .carousel-control-prev {
    left: 50px;
    /* Sesuaikan jarak untuk layar lebih kecil */
  }

  .carousel-control-next {
    right: 50px;
    /* Sesuaikan jarak untuk layar lebih kecil */
  }
}

/* Untuk layar kecil (ponsel atau perangkat dengan lebar max 576px) */
@media (max-width: 576px) {
  .carousel-control-prev {
    left: 2px;
    /* Lebih dekat ke gambar */
  }

  .carousel-control-next {
    right: 2px;
    /* Lebih dekat ke gambar */
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
  width: 18px;
  /* Ukuran ikon lebih kecil */
  height: 18px;
}

/* Modal tanpa latar belakang hitam */
.custom-modal .modal-content {
  background-color: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-modal .modal-body {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-modal .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

/* Responsif */
@media (max-width: 768px) {
  .custom-carousel-button {
    width: 25px;
    height: 25px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 12px;
    height: 12px;
  }
}




@font-face {
  font-family: 'BankGothic Md BT';
  src: url('path-to-your-font/BankGothic-Md-BT.ttf') format('truetype');
  /* Replace with actual font path */
}

.custom-heading {
  font-family: 'BankGothic Md BT', sans-serif;
  text-transform: uppercase;
  color: #ffffff;
}


/* CSS untuk Modal */
.custom-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;

  transition: opacity 0.2s;
  box-shadow: rgba(124, 133, 151, 0.4) 0px 1px 4px;
  pointer-events: all;
  max-height: 90%;
  /* Membatasi ketinggian agar tidak memanjang ke bawah */
  min-width: 100%;
  /* Lebar penuh */
  opacity: 1;
  text-align: left;
  margin: 0;
  /* Menghilangkan margin horizontal */
  padding: 20px;
  /* Memberikan ruang di dalam modal */
  overflow-x: auto;
  /* Menambahkan scroll horizontal jika diperlukan */
}

/* Media query untuk perangkat kecil */
@media (max-width: 768px) {
  .custom-modal-content {
    padding: 16px;
    /* Mengurangi padding */
  }
}

/* Media query untuk perangkat sangat kecil */
@media (max-width: 480px) {
  .custom-modal-content {
    padding: 12px;
    /* Mengurangi padding lebih jauh */
  }
}




/* Gambar Utama Carousel */
.custom-carousel-image {
  max-height: 360px;
  object-fit: contain;
}

/* Thumbnails Container */
.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* Menyesuaikan jarak antar thumbnails */
  justify-content: flex-start;
}

/* Thumbnail default (desktop) */
.thumbnail {
  width: 60px !important;
  height: 60px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .thumbnail {
    width: 50px !important;
    height: 50px !important;
  }
}

/* HP besar */
@media (max-width: 768px) {
  .thumbnail {
    width: 45px !important;
    height: 45px !important;
  }
}

/* HP kecil */
@media (max-width: 480px) {
  .thumbnail {
    width: 100px !important;
    height: 100px !important;
  }
}

/* Hover effect for thumbnails */
.thumbnail:hover {
  transform: scale(1.1);
}

/* Thumbnail Images */
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Carousel Controls (Next/Previous) */
.custom-carousel-control {
  background-color: rgba(0, 0, 0, 0.5);
  /* Sedikit lebih gelap agar lebih kontras */
  border-radius: 50%;
  padding: 15px;
  /* Menambah padding untuk tombol */
  transition: transform 0.3s ease;
}

/* Menambahkan efek hover pada tombol carousel */
.custom-carousel-control:hover {
  transform: scale(1.2);
}

/* Button Close for Modal */
.custom-close-btn {
  background-color: #fff;
  border: none;
  font-size: 1rem;
  position: absolute;
  top: 10px;
  right: 10px;

}

/* Responsif untuk perangkat kecil */
@media (max-width: 768px) {

  .col-md-8,
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Menyesuaikan gambar utama untuk layar lebih kecil */
  .custom-carousel-image {
    max-height: 400px;
    /* Mengurangi ukuran gambar untuk layar kecil */
  }
}

/* Mengatur z-index backdrop agar berada di belakang modal */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.666);
  /* Warna hitam semi transparan */
  z-index: 1040;
  /* Tetap di belakang modal */
  display: block !important;
  /* Tampilkan backdrop */
}

/* Mengatur z-index modal agar lebih tinggi dari backdrop */
.modal {
  z-index: 1050;
  /* Lebih tinggi dari backdrop */
}



.ir_custom_carousal-control {
  background-color: rgb(255, 255, 255);
  /* Warna latar belakang */
  border: none;
  /* Menghilangkan border */
  border-radius: 50%;
  /* Membuat tombol bulat */
  width: 40px;
  /* Lebar tombol */
  height: 40px;
  /* Tinggi tombol */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: absolute;
  /* Posisi absolute */
  top: 50%;
  /* Menempatkan di tengah vertikal */
  transform: translateY(-50%);
  /* Mengoreksi posisi untuk menempatkan tepat di tengah */
  z-index: 10;
  /* Menjaga tombol tetap di atas gambar */

  /* Efek gradasi dan bayangan */
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2), -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.ir_custom_carousal-control:hover {
  /* Efek saat tombol dihover */
  transform: translateY(-50%) scale(1.1);
  background: linear-gradient(145deg, #f0f0f0, #cfcfcf);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3), -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.ir_custom_carousal-control:active {
  /* Efek saat tombol ditekan */
  transform: translateY(-50%) scale(0.95);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.3), inset -3px -3px 6px rgba(255, 255, 255, 0.9);
}

.ir_custom_carousal-control .carousel-control-prev-icon,
.ir_custom_carousal-control .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.ir_custom_carousal-control.carousel-control-prev {
  left: 0px;
  /* Menempatkan tombol prev di kiri */
}

.ir_custom_carousal-control.carousel-control-next {
  right: 0px;
  /* Menempatkan tombol next di kanan */
}


.custom-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1051;
  color: #000;
  background-color: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.ir_custom_modal .modal-content {
  border-radius: 10px;
  padding: 20px;
}

.page-link.active,
.active>.page-link {
  z-index: 3;
  color: #ffff;
  background: linear-gradient(to top, #204289, #4a9cd5);
}

.custom-table-row {
  margin-left: 40px !important;
  /* Menggeser ke kanan */
}




.produk_heading {
  background: url('/assets/img/Banner head.jpg') no-repeat center center;
  background-size: cover;
  min-height: 350px;
}

/* Mobile Version */
@media (max-width: 768px) {
  .produk_heading {
    background: url('/assets/img/banner head mobaile.jpg') no-repeat center center;
    background-size: cover;
    min-height: auto;
  }
}


.indorack-carousel {
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.indorack-carousel-image {
  object-fit: cover;
  border-radius: 15px;
}

.indorack-carousel-video iframe {
  border-radius: 15px;
}

.indorack-carousel-control {
  filter: invert(1) brightness(0.8);
}

.indorack-btn-download {
  background-color: #fcbc40;
  color: #123458;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.indorack-btn-download {
  background-color: #123458;
  color: #fff;
}


.indorack-carousel {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.indorack-carousel-image {
  object-fit: cover;
  border-radius: 12px;
}

.indorack-carousel-video iframe {
  border-radius: 12px;
}

.indorack-carousel-thumbnails {
  margin-top: 10px;
}

.indorack-thumbnail {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  width: 80px;
  height: 60px;
  transition: border-color 0.3s ease;
}

.indorack-thumbnail:hover {
  border-color: #0e3f8c;
}

.indorack-thumbnail img,
.indorack-thumbnail iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Ubah posisi tombol ke pojok kiri-kanan atas */
.indorack-carousel .carousel-control-prev,
.indorack-carousel .carousel-control-next {

  /* Warna latar belakang */
  border: none;
  /* Menghilangkan border */
  border-radius: 50%;
  /* Membuat tombol bulat */
  width: 35px;
  /* Lebar tombol */
  height: 35px;
  /* Tinggi tombol */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: absolute;
  /* Posisi absolute */
  top: 50%;
  /* Menempatkan di tengah vertikal */
  transform: translateY(-50%);
  /* Mengoreksi posisi untuk menempatkan tepat di tengah */
  z-index: 10;
  /* Menjaga tombol tetap di atas gambar */

  /* Efek gradasi dan bayangan */
  background: linear-gradient(145deg, #000000, #000000d0);
}

/* Tombol kiri & kanan */
.indorack-carousel .carousel-control-prev {
  left: 5px;
  /* Jarak dari kiri */
}

.indorack-carousel .carousel-control-next {
  right: 5px;
  /* Jarak dari kanan */
}


/* Icon panah hitam */
.indorack-carousel .carousel-control-prev-icon,
.indorack-carousel .carousel-control-next-icon {
  width: 15px;
  height: 15px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: invert(0);
  /* Bikin icon jadi hitam */
}



.sticky-sidebar {
  position: sticky !important;
  top: 20px !important;
  /* Ganti ke nilai kecil dulu */
  z-index: 999 !important;
}

.container,
.row,
.card {
  overflow: visible !important;
}


.btn-view-detail {
  display: block;
  width: 100%;
  background: linear-gradient(to top, #204289, #4a9cd5);
  /* warna biru indorack */
  color: white;
  font-size: 0.85rem;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-view-detail:hover {
  background-color: #0a2f6d;
  /* warna saat hover */
  color: #fff;
}


.best-seller-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.best-seller-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.best-seller-card .card-title {
  font-size: 0.95rem;
  color: #0e3f8c;
}


.card-title-bs {
  bottom: 83px;
  left: 10px;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  z-index: 2;
  transition: transform 0.3s ease, color 0.3s ease;
  text-align: left;
  font-family: 'Calibre', Arial, Sans-Serif;
}



/* Grid tetap 4 kolom */
.thumbnail-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.thumbnail {
  width: 100%;
}

/* Untuk gambar biasa */
.thumb-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

/* Khusus thumbnail YouTube — rasio 16:9 */
.thumb-img.video-thumb {
  object-fit: contain;
  /* Tidak terpotong */
  aspect-ratio: 16 / 9;
  /* Menjaga proporsi asli */
  background-color: #000;
  /* Supaya ada background hitam di sisi kosong */
}

/* Placeholder video */
.video-placeholder {
  background: #000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 9;
  /* Sesuai rasio video */
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* Atur agar modal lebih lebar di desktop */
.modal-dialog.modal-lg {
  max-width: 900px;
  /* Boleh disesuaikan */
}

/* Responsif untuk layar kecil */
@media (max-width: 767.98px) {
  .modal-body .d-flex {
    flex-direction: column;
    /* Ubah jadi vertikal */
  }

  .modal-body .col-md-8,
  .modal-body .col-md-4 {
    width: 100% !important;
    max-width: 100%;
  }

  /* Biar thumbnail punya jarak di bawah carousel */
  .modal-body .col-md-4 {
    margin-top: 1rem;
  }

  /* Biar gambar carousel nggak terlalu tinggi di hp */
  .custom-carousel-image {
    max-height: 300px;
    object-fit: contain;
  }
}



/* Default desktop (sudah horizontal karena pakai flex-wrap) */

/* Selalu satu baris */
.row.text-center.py-2 .d-flex {
  flex-wrap: nowrap !important;
  /* Jangan pindah baris */
  gap: 8px !important;
  /* Jarak antar tombol */
}

/* Styling tombol default */
.indorack-btn-download {
  white-space: nowrap !important;
  /* Teks tetap di satu baris */
  flex-shrink: 1 !important;
  /* Boleh mengecil kalau sempit */
  font-size: 14px !important;
  /* Ukuran default */
  padding: 6px 12px !important;
  /* Padding default */
}

/* Mobile menengah */
@media (max-width: 768px) {
  .indorack-btn-download {
    font-size: 12px !important;
    /* Kecilkan font */
    padding: 5px 10px !important;
    /* Kecilkan padding */
  }
}

/* Mobile kecil banget */
@media (max-width: 480px) {
  .indorack-btn-download {
    font-size: 11px !important;
    padding: 5px 8px !important;
    margin-top: 20px !important;
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
  }
}

/* Sembunyikan thumbnail di layar mobile */
@media (max-width: 768px) {
  .indorack-carousel-thumbnails {
    display: none !important;
  }
}


/* Ukuran default (desktop/tablet) */
.indorack-product-title {
  font-size: 1.5rem;
  color: #0e3f8c;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

/* Versi mobile */
@media (max-width: 768px) {
  .indorack-product-title {
    font-size: 1.2rem !important;
    /* lebih kecil di HP */
  }
}


.product-description {
  line-height: 1.6;
  /* spasi antar baris */
  padding: 8px 12px;
  /* jarak dalam sel tabel */
}



.indorack-carousel-image {
  transition: transform 0.2s ease;
  cursor: zoom-in;
}



.extra-small {
  font-size: 0.7rem; /* lebih kecil di mobile */
}
@media (min-width: 768px) {
  .extra-small {
    font-size: 1rem; /* normal di desktop */
  }
}

