/* PRODUCTS */


/* Styling for section headers within category list */
.category-section {
  margin: 1rem 0 0.5rem;
  padding-bottom: 0.0rem;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  text-transform1: uppercase;
  border-bottom: 0px solid #ebebeb;

}


section {
  padding: 3rem 0;
}

.product-item {
  padding: 1px;
  border: 1px solid #ebebeb;
  text-align: center;
  color: #000000;
  transition: 0.3s ease;
}

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

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-item0 i {
  font-size: 1.25rem;
}

.product-category {
  position: relative;
  font-size: 0.9rem;
      word-wrap: break-word;
}

.product-body {
  margin-top: 0px;
}

.product-body h3 {
  margin-top: 0.25rem;
}

.text-right {
  position: absolute;
  text-align: right;
}

.products {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.products .product-item {
  width: calc(100% / 3 - 0.667rem);
}

.category-title {
  font-size: 1.5rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.category-title::before {
  content: "";
  position: absolute;
  width: 3rem;
  height: 2px;
  background-color: #CC0000;
  bottom: -0.2rem;
}

.category-list {
  padding: 0;
  list-style: none;
  padding-left: 3rem;
}

.category-item {
  border-bottom: 1px solid #dfdfdf;
  padding: 3px 0;
  cursor: pointer;
  transition: 0.2s ease;
}

.category-item:hover,
.category-item.active {
  color: #CC0000;
  border-color: #CC0000;
}

.no-item {
  display: none;
}

.open-category-list {
  display: none;
}

.category-group {
  position: relative;
}

@media screen and (max-width: 1200px) {
  /* PRODUCTS */
  .products .product-item {
    width: calc(100% / 2 - 0.5rem);
  }
}
@media screen and (max-width: 992px) {
  /* PRODUCTS */
  .products .product-item img {
    height: 190px;
  }

  .category-list {
    padding: 0;
  }
}

@media screen and (min-width: 768px) {
  /* PRODUCTS */
  .category-list {
    display: block !important;
  }
}
@media screen and (max-width: 768px) {
  /* PRODUCTS */
  .products-row {
    gap: 1rem;
  }

  .open-category-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dfdfdf;
    padding: 0.5rem;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .category-list {
    position: absolute;
    background: white;
    width: 100%;
    border: 1px solid #dfdfdf;
    border-top: 0;
    border-radius: 0 0 0.75rem 0.75rem;
    overflow: auto;
    max-height: 260px;
    z-index: 2;
    display: none;
  }

  .category-item:last-child {
    border: none;
  }

  .category-group.active .open-category-list {
    border-radius1: 0.75rem 0.75rem 0 0;
  }

  .category-section {
    padding: 0.75rem 0.5rem;
  }
  
  .category-item {
    padding: 0.75rem 0.5rem;
  }

  .open-category-list i {
    transition: 0.3s ease;
  }
  .category-group.active .open-category-list i {
    transform: rotate(180deg);
  }
}

@media screen and (max-width: 576px) {
  /* PRODUCTS */
  .products .product-item img {
    height: 100%;
  }
.product-body .product-info {
  bottom: 80px;
  right: 10px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  }
.product-body .product-chat {
  bottom: 65px;
  right: 10px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  }
.product-body name {
    font-size: 10px;
    line-height: 14px;
}
.product-body p {
    font-size: 8px;
    line-height: 10px;
  }
}

.product-zoom-in {
  position: absolute;
  top: 5px;
  left: 10px;
  color: #FFFFFF;
  font-size: 24px;
}
.product-zoom-in:hover {
  color: #FFFFFF; /* Change text/icon color to white */
  transform: scale(1.1); /* Slightly enlarge the icon */
}

.product-chat {
  position: absolute;
  bottom: 65px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0px;
  color: #25D366;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}
.product-chat:hover {
  background-color: #25D366; /* Change background to WhatsApp green */
  color: #fff; /* Change text/icon color to white */
  transform: scale(1.1); /* Slightly enlarge the icon */
  
}

.product-info {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0px;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}
.product-info:hover {
  background-color: #CC0000; /* Change background to WhatsApp green */
  color: #fff; /* Change text/icon color to white */
  transform: scale(1.1); /* Slightly enlarge the icon */
}

figure {
    margin: 0 0 0rem;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}
figure > img {
    width: 100%;
}
figure > figcaption {

    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
}
figure > figcaption > name {
    display: block;
    padding: 5px 5px 5px 0px;
    width: 90%;
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-align: right;
    text-transform: capitalize;
    word-wrap: break-word;
}
figure > figcaption > p {
    display: block;
    height: 25px;
    padding: 0px 0px 0px 5px;
    color: #ffffff;
    font-size: 11px;
    line-height: 15px;
    text-align: left;
    text-transform: uppercase;
    word-wrap: break-word;
}