/*--------------------------------------------------------------
# Search Products
--------------------------------------------------------------*/
#search-icon {
  height: 100%;
}

.result-box {
  background-color: white;
  border-radius: 10px;
  box-shadow: 5px 5px 5px #999;
  position: absolute;
  z-index: 3;
}

.result-box ul {
  padding: 0;
}

.result-box ul li {
  list-style: none;
  border-radius: 3px;
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 1px solid #999;
}

.result-box ul li:hover {
  background-color: #dddddd91;
  color: #db242d;
}

/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/
.products .icon-box {
  text-align: center;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 60px 35px;
  transition: all ease-in-out 0.4s;
  background: #fff;
}

.products .icon-box img {
  margin: auto;
  display: block;
  object-fit: cover;
}

.products .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.products .icon-box:hover {
  transform: translateY(-10px);
}

.products .icon-box:hover h4 a {
  color: #db242d;
}

.products .icon-box .btn-detail {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.3s;
  line-height: 1;
  color: #db242d;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin: 6px auto;
  border: 2px solid #db242d;
  width: fit-content;
  align-self: center;
}

.products .icon-box .btn-detail:hover {
  background: #db242d;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Products slide
--------------------------------------------------------------*/
.sub-products {
  padding: 12px 0;
  text-align: center;
  justify-content: center;
}

.sub-products img {
  max-width: 100%;
  opacity: 0.5;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

@media (max-width: 768px) {
  .sub-products img {
    max-width: 40%;
  }
}

.sub-products .swiper-slide img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
  color: #db242d;
}

.sub-products .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.sub-products .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: #ddd;
}

.sub-products .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #b42121;
}

/*--------------------------------------------------------------
# View Product
--------------------------------------------------------------*/
.view-product .content h3 {
  font-weight: 700;
  font-size: 32px;
  color: #b42121;
  font-family: "Poppins", sans-serif;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.view-product .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
}

.view-product .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #b42121;
}

.view-product .info i {
  font-size: 20px;
  color: #db242d;
  float: left;
  width: 44px;
  height: 44px;
  background: #e7f5fb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.view-product .info .phone:hover i {
  background: #db242d;
  color: #fff;
}

/*--------------------------------------------------------------
# Product List
--------------------------------------------------------------*/
.product #product-flters {
  list-style-type: none;
  margin-bottom: 20px;
}

.product #product-flters li {
  cursor: pointer;
  display: inline-block;
  margin: 10px 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  transition: all 0.3s;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
}

@media only screen and (max-width: 414px) {
  .product #product-flters {
    padding: 0;
  }
  .product #product-flters li {
    margin: 10px 0;
    padding: 8px 14px;
  }
}

.product #product-flters li:hover,
.product #product-flters li.filter-active {
  background: #db242d;
  color: #fff;
}

.product .product-item {
  margin-bottom: 30px;
  position: relative;
}

.product .product-item .product-img {
  overflow: hidden;
}

.product .product-item .product-img img {
  transition: all 0.6s;
}

.product .product-item .product-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 3;
  right: 15px;
  transition: all 0.3s;
  background: rgba(126, 55, 55, 0.8);
  padding: 10px 15px;
}

.product .product-item .product-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0px;
}

.product .product-item .product-info p {
  color: #f9fcfe;
  font-size: 14px;
  margin-bottom: 0;
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 18px;
}

.product .product-item .product-info .preview-link,
.product .product-item .product-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #fff;
  transition: 0.3s;
}

.product .product-item .product-info .preview-link:hover,
.product .product-item .product-info .details-link:hover {
  color: #db242d;
}

.product .product-item .product-info .details-link {
  right: 10px;
}

.product .product-item:hover .product-img img {
  transform: scale(1.15);
}

.product .product-item:hover .product-info {
  opacity: 1;
}

#copy {
  color: #e65050;
}

#copy:hover {
  cursor: pointer;
  color: #e97373;
}

.related-product .section-title {
  color: #b42121;
  border-bottom: 2px solid #b42121;
}

.related-product .related-product-list {
  float: right;
  margin: 20px 1% 30px;
  box-shadow: 0 0 8px 1px gray;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.related-product .related-product-list:hover .related-product-info {
  top: 0;
}

.related-product .related-product-list img {
  width: 100%;
  height: 100%;
}

.related-product .related-product-list .related-product-info {
  width: 100%;
  height: 100%;
  background-color: rgba(130, 0, 0, 0.5);
  z-index: 2;
  position: absolute;
  top: 100%;
  color: white;
  transition: top 0.4s;
}

.related-product-info h5 {
  font-size: 16px;
  font-weight: bolder;
  margin: 5px 15px;
}

.related-product-info p {
  font-size: 12px;
  line-height: 20px;
  margin: 10px 10px 0;
  padding-bottom: 10px;
  font-family: "Khmer OS Content";
}

.related-product-info h4 {
  font-size: 18px;
  padding-top: 20px;
  margin: 5px 15px;
  border-top: 1px dashed white;
  font-family: "Khmer OS Content";
}