/**************************************************************************** start css bangdika */
.logo {
  width: 157px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: yellow;
}

.owl-carousel .owl-item img {
  margin: 0 1rem;
  width: calc(100% - 2rem) !important;
}

.custom-category {
  height: 327px;
  overflow-y: auto;
  padding-right: 2px;
}

@supports (-moz-appearance: none) {
  .custom-category {
    scrollbar-color: #e4e4e7 #f1f1f1;
    scrollbar-width: thin;
  }
}

/* width */
.custom-category::-webkit-scrollbar {
  width: 6px !important;
}

/* Track */
.custom-category::-webkit-scrollbar-track {
  box-shadow: 0 0 6px transparent !important;
  border-radius: 1px !important;
}

/* Handle */
.custom-category::-webkit-scrollbar-thumb {
  background: #e4e4e7 !important;
  border-radius: 50px !important;
}

/* Handle on hover */
.custom-category::-webkit-scrollbar-thumb:hover {
  background: #e4e4e7 !important;
}

.custom-category .list-group-item {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 0.5rem;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  text-decoration: none;
  color: black;
  position: relative;
}

.custom-category .list-group-item::before {
  content: "";
  /* Default tanpa icon */
  width: 18px;
  height: 18px;
  border: 2px solid #49454f;
  border-radius: 3px;
  display: inline-block;
  transition: 0.3s;
}

.brand-img {
  border-radius: 0.5rem;
  border: none;
}

.product-item {
  border: 1px solid #f0f0f0;
  box-shadow: 0 3px 7px #ddd;
  border-radius: 5px;
  height: 100%;
  position: relative;
  transition-duration: 0.3s;
  overflow: hidden;
}

.product-item:hover {
  border-color: #394196;
}

.product-item .product-name {
  /* font-size: 1.125rem; */
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-item .product-variant {
  color: #71717a;
  font-weight: 500;
  font-size: 16px;
}

.product-item .product-price {
  color: #dc2626;
  font-weight: 600;
  /* font-size: 16px; */
  font-size: 14px;
}

.product-item .product-promo del {
  font-size: 16px;
  font-weight: 400;
  color: #71717a;
  margin-right: 0.5rem;
}

.product-item .product-promo span {
  border-radius: 0.25rem;
  font-weight: 700;
}

.btn-shop {
  color: #0072ce;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #0072ce;
  border-radius: 8px;
  margin: 1rem 0.5rem 0 0;
  padding: 4px 8px;
  display: block;
  margin-bottom: 0.5rem;
  text-align: center;
  transition-duration: 0.3s;
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  width: calc(100% - 1rem);
}

.product-item:hover .btn-shop,
.btn-shop:hover {
  color: #fff;
  background: #394196;
  border-color: #394196;
}

/* Jika item aktif, munculkan centang */
.custom-category .list-group-item.active::before {
  content: "\2713";
  color: white;
  background: #f15b2a;
  border-color: #f15b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.col-md-3.col-5pcs {
  flex: 0 0 25%;
  max-width: 20%;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}
.gap-5 {
  gap: 3rem;
}

.footer-contact-single {
  gap: 0 3rem;
}

/* ======================================== SIDEBAR KATEGORI */
body.sidebar-open {
  overflow: hidden;
}

/* SIDEBAR */
#sidebar {
  height: 100%;
  width: 75%;
  position: fixed;
  top: 0;
  left: -75%;
  background-color: #fff;
  transition: left 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  /*      justify-content: center;*/
  padding: 2rem 1.5rem;
}

#sidebar.active {
  left: 0;
}

#sidebar .nav-link {
  color: #26294d;
  font-size: 24px;
  margin: 10px 0;
}

#sidebar .sidebar-title.text-dark {
  font-size: 1.25rem !important;
}

#sidebar .list-group-item {
  background: transparent;
  border: none;
}

#sidebar .list-group-item:before {
}

#sidebar .list-group.custom-category {
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* CHECKBOX SIDEBAR  */

/* Style dasar checkbox */
.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  outline: none;
}

/* Saat dicentang */
.checkbox-group input[type="checkbox"]:checked {
  background-color: #f15b2a;
  border-color: #f15b2a;
}

/* Tambahkan checkmark manual */
.checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* END CHECKBOX SIDEBAR */

/* CLOSE BUTTON (X) */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 36px;
  color: #333;
  text-decoration: none;
  z-index: 1001;
}

#sidebar .btn-container {
  display: flex;
  justify-content: space-between;
}

.close-btn:hover,
.close-btn:active {
  color: #ccc;
}

/* TRIGGER LINK (FILTER) */

/* .filter-trigger i {
    transform: rotate(-90deg);
} */

/* CONTENT */
#content {
  padding: 20px;
}

/* ======================= end sidebar kategori */

.owl-carousel.thumb-gallery-thumbs img {
  margin: 0;
  width: 100% !important;
}

@media (max-width: 991px) {
  .header-wrapper,
  .mobile-navbar {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-navbar {
    top: 8rem;
  }

  .header-wrapper > .container-fluid > .row {
    align-items: center;
  }

  .logo {
    width: 120px;
  }

  .mobile-brand,
  .mobile-category {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 479px) {
  .footer-contact-single {
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-deion,
  .footer-title {
    text-align: center;
  }

  .footer-contact {
    display: table;
    margin: 0 auto;
  }

  .footer-deion p {
    margin-bottom: 0;
  }

  .footer-deion {
    line-height: 2rem;
  }

  .footer-title {
    font-size: 22px;
  }

  footer .footer-bank {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}

/******************************************************************************** end css bangdika */
