html,
body {
  height: 100%;
}

.owl-carousel {
  position: relative;
  padding-top: 40px;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
  z-index: 3;
}

.owl-nav button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
}

.owl-dots {
  position: absolute;
  top: 5px;
  width: 100%;
  z-index: 2;
  text-align: center;
}

.owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.owl-dot span {
  width: 10px;
  height: 10px;
  background: #ccc;
  display: block;
  border-radius: 50%;
}

.owl-dot.active span {
  background: #000;
  /* warna active dot */
}

.product-page {
  display: flex;
  gap: 20px;
  margin: 20px;
}

.filter-sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
  flex: 1 1 250px;
  max-width: 250px;
  background: #f9f9f9;
  /* padding: 15px; */
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-top: 45px;
}

.filter-sidebar h4 {
  margin-top: 15px;
  font-size: 16px;
}

.filter-sidebar input {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-filter {
  background: #84c441;
  color: white;
  border: none;
  padding: 11px;
  width: 100%;
  margin: 10px 0;
  border-radius: 6px;
  cursor: pointer;
}
.decreased-size-cart {
  font-size: 1.6rem;
  padding: 4px 8px;
}
.decreased-size-detail {
  font-size: 0.9rem;
  padding: 4px 8px;
}
.btn-cart-add {
  background: #84c441;
  color: white;
}
.filter-divider {
  padding: 15px;
  min-width: 250px;
}

.products {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr;
  gap: 10px;
  width: calc(100% - 15px);
  max-width: 1200px;
  margin: 40px auto 40px auto;
}

.list-product {
  padding: 15px;
  width: 235px;
  border-radius: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08) !important;
  font-family: "Krub";
  color: #000000;
  height: 440px;
  transition: all 0.3s ease-in-out;
}

.list-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.list-product img {
  border-radius: 10px;
  width: 100%;
  height: 210px !important;
  object-fit: cover;
  object-position: center;
}

.product-title {
  font-size: 20px;
  font-weight: 500;
  min-height: 60px;
  margin: 0;
  margin-top: 15px;
}

.product-price {
  font-weight: 700;
  margin: 0;
  font-size: 24px;
  margin-bottom: 8px;
  margin-top: 5px;
}

.rating-and-sold {
  display: flex;
  margin: 0 7px 3px 7px;
  justify-content: space-between;
}

.rating {
  display: flex;
  width: auto;
  align-items: center;
}

.rating i {
  color: #ffc74a;
}

.rating p {
  margin: 0;
  margin-left: 10px;
  font-size: 20px;
  font-weight: 500;
}

.sold p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.discount-price p {
  min-height: 20px;
  max-height: 20px;
  color: #868e96ee;
  font-size: 16px;
  margin: 0;
  text-decoration: line-through;
  font-weight: 600;
}

.container-lg {
  /* max-width: 2100px !important; */
}

.roww {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  align-items: center;
}

.roww .btn-filter {
  height: 42px;
}

@media (max-width: 430px) {
  .roww {
    display: flex;
    gap: 5px;
    justify-content: space-around;
    align-items: center;
  }

  .roww .btn-filter {
    padding: 0 10px;
    height: 30px !important;
  }

  /* .roww .col-md-8 .btn-filter {
    width: 120px !important;
  } */

  .filter-mobile {
    font-family: "Krub" !important;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 10px;
    background: #f8f9fa;
    border-radius: 10px;
  }

  .filter-mobile p {
    font-size: 12px;
    color: black;
    margin: 0;
    font-weight: 500;
  }

  .filter-mobile span {
    font-size: 24px;
  }

  .product-page {
    display: block;
    margin: 0 !important;
  }

  .products {
    grid-template-columns: 2fr 2fr;
    gap: 5px;
    width: calc(100% - 5px);
  }

  .list-product {
    width: 160px;
    height: auto;
    padding: 5px;
    box-shadow: none;
  }

  .list-product img {
    width: 100% !important;
    height: 175px !important;
  }

  .product-title {
    font-size: 14px;
    margin-top: 10px;
    margin-left: 7px;
  }

  .product-price {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
  }

  .rating-and-sold {
    display: none;
  }

  .discount-price p {
    min-height: 15px;
    max-height: 15px;
    font-size: 13px;
    margin-left: 7px;
  }

  .cart-icon {
    padding: 3px;
    /* padding-bottom: 0; */
    background: rgb(226, 224, 224);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    border-radius: 7px;
  }

  .cart-icon span {
    font-size: 16px;
  }

  .price-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    margin-left: 7px;
    margin-top: 8px;
  }

  .stock-in {
    display: none;
    color: #62ebb2;
    margin-left: 7px;
  }

  .stock-in span {
    font-size: 14px;
  }

  .stock-in p {
    font-size: 12px;
    margin: 0;
  }

  .btn-lihat-produk {
    font-size: 12px;
    font-weight: 700;
  }

  .pop-up-filter {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    color: rgb(34, 95, 110);
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: "Krub";
    color: black;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;

    transition: bottom 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .pop-up-filter.show {
    bottom: 0;
    opacity: 1;
    z-index: 9999999999 !important;
  }

  .pop-up-filter .urutkan {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 700;
  }

  .pop-up-filter .tentukan-akimu {
    margin-top: 0;
    color: #95cb53;
    /* font-weight:700; */
    font-size: 14px;
  }

  .pop-up-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    bottom: 40px;
    left: 20px;
    margin-bottom: 40px;
  }

  .pop-up-filter ul li {
    font-size: 20px;
    font-weight: 600;
    min-height: 45px;
    /* max-height: 45px; */
    margin: 0 5px;
  }

  .pop-up-filter ul li .form-control {
    height: 45px;
  }

  .pop-up-filter ul li .form-control::placeholder {
    font-size: 16px;
  }

  .pop-up-filter ul li .btn-filter {
    font-size: 20px;
    height: 55px;
    font-weight: 700;
  }

  .pop-up-filter ul li div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .pop-up-filter ul li div input::placeholder {
    font-size: 14px;
  }

  .pop-up-filter ul li div:last-child {
    padding: 10px;
    border-radius: 5px;
    background: rgba(82, 82, 82, 0.09);
  }

  .footer {
    margin-top: 50px;
  }

  .btn-cart-mobile {
    display: flex;
    height: 34px !important;
    justify-content: center;
    align-items: center;
  }
}
