.products {
  background-color: #fff;
  padding-top: 50px;
}

.products .carousel-inner {
  padding: 1em;
}

.products .card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  padding: 10px;
}

.products .card .img-wrapper {
  max-width: 100%;
  height: 273px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.products .img-wrapper:hover img {
  transform: scale(1.05);
  z-index: 1;
}

.products img {
  max-height: 100%;
  transition: transform 0.3s ease;
}

.products .product-status {
  top: 10px;
  position: absolute;
  z-index: 2;
}

.products .product-status .arrow {
  width: 60px;
  height: 30px;
  background-color: var(--main-text-color);
  text-align: center;
  position: relative;
}

.products .product-status .arrow .label {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.products .product-status .arrow .top-triangle {
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-left: 30px solid var(--main-text-color);
  border-bottom: 15px solid transparent;
  top: 0;
  margin-left: 60px;
  position: absolute;
}

.products .product-status .arrow .bottom-triangle {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-left: 30px solid var(--main-text-color);
  border-bottom: 0px solid transparent;
  margin-left: 60px;
  position: absolute;
  bottom: 0;
}

.product-item .read-more {
  width: 100%;
  text-align: right;
  color: var(--main-text-color);
}

.category-title {
  color: var(--main-text-color);
  border-left: 3px solid var(--main-text-color);
  padding-left: 10px;
}

.category-list {
  list-style: none;
  padding-left: 15px;
  margin: 0;
}
.category-item {
  margin-top: 5px;
}

.category-item a {
  text-decoration: none;
  color: black;
}

.category-item.h-item {
  padding: 5px;
  background-color: #ebebeb;
  margin-right: 5px;
  border-radius: 20px;
}

.category-list.h-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  justify-content: space-between;
}

.product-img {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-height: 500px;
}

.bg-gray {
  background-color: #ebebeb;
}

.text-green {
  color: var(--main-text-color);
}

.detail {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #aaeecb;
}

.detail .product-detail {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.detail .product-detail h4 {
  color: var(--main-text-color);
  border-bottom: 2px solid var(--main-text-color);
  padding-bottom: 5px;
}

.product-relative-title {
  color: var(--main-text-color);
  border-left: 3px solid var(--main-text-color);
  padding-left: 10px;
}

.relative {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.relative-product {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 5px;
}

.category-item.h-item.active {
  background-color: var(--main-text-color);
  color: #fff;
}

.category-item.h-item.active a {
  color: #fff;
  text-decoration: none;
}

.category-item.active a {
  color: var(--main-text-color);
  text-decoration: none;
}

.carousel.carousel-thumbs-top .carousel-indicators {
  bottom: 0;
  height: 20%;
}

.carousel .carousel-indicators button {
  width: 100px !important;
}
