/* PAGE PRODUCT CATEGORY */
.product-cat {
  background: linear-gradient(to bottom, #ffffff, #d7a4c6);
  min-height: 600px;
  display: block;
  margin-top: auto;
  padding-top: 60px;
}

/* Brand logo rata kiri */
.brand-logo {
  max-width: 200px;
  margin: 0;
  display: block;
  text-align: left;
  margin-bottom: 50px;
}

/* Item produk */
.item-product {
  background-color: #ffffff;
  border: 2px solid #7b2b7b;
  padding: 20px 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;

  position: relative;
}

.item-product:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Gambar produk */
.item-product img {
  max-width: 200px;
  margin: 0 auto;
  flex-shrink: 0;
  display: block;
  width: 100%;
  height: auto;
}

.item-product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.item-product:hover::before {
  background-color: rgba(145, 145, 145, 0.4);
}

.item-product:hover img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  z-index: -1;
}

/* Judul produk */
.item-product .product-title {
  background-color: #7b2b7b;
  width: 100%;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-top: auto;
  bottom: 0;
  margin-bottom: -20px;
  z-index: 8;
}

.product-title h3 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.product-title h3:hover {
  font-style: italic;
  color: #7b2b7b;
}

.item-product .product-title:hover {
  background-color: white;
  border-top: 2px solid #7b2b7b;
}

.item-product .product-title:hover h3 {
  font-style: italic;
  color: #7b2b7b;
}

/* Datasheet */
.product-cat .row:last-child {
  margin-top: -10px;
  text-align: center;
}

.product-cat .row:last-child i {
  font-size: 20px;
  color: #7b2b7b;
  margin-right: 5px;
  vertical-align: middle;
}

.product-cat .row:last-child p {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #7b2b7b;
  margin: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-cat .row:last-child p:hover {
  color: #5e1c5e;
}

/* Responsive grid untuk item produk */
@media (max-width: 768px) {
  .item-product {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Catalogue Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  /* padding-top: 0; */
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center; /* Vertical center */
  background-color: #d9a8c8;
  height: 50px;
  padding: 5px;
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: wheat;
  background: rgb(112, 2, 70);
}

.blog-pagination li.active {
  background: rgb(77, 253, 61);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}
