.ec-product-inner:hover .ec-product-hover,
.ec-product-inner:hover .pro-hidden-block {
  visibility: hidden !important;
  opacity: 0 !important;
}

.ec-product-inner .ec-pro-content .ec-pro-rating {
  display: none !important;
  margin-bottom: 5px;
  overflow: hidden;
  height: 30px;
  line-height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ec-product-inner .ec-pro-content .ec-pro-rat-pri-inner {
  height: auto !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  transition: -webkit-transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.ec-product-inner .ec-product-hover,
.hover-image {
  pointer-events: none;
}

.ec-product-inner .ec-pro-content .ec-price span.new-price {
  font-size: 14px !important;
  color: var(--primary-color);
  font-weight: 700;
}

.ec-pro-actions svg {
  height: 19px !important;
}

.ec-product-inner .ec-pro-image .ec-pro-actions .wishlist,
.ec-product-inner .ec-pro-image .ec-pro-actions .add-to-cart {
  right: 0 !important;
}

.ec-product-inner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 0px !important;
  border: none;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
  box-shadow: 0px 0px 4px 5px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  position: relative;
  background-color: #fff;
  pointer-events: none;
  max-width: 97vw;
  margin: auto;
}

.ec-product-inner:hover .ec-pro-image .ec-pro-actions {
  -webkit-transform: none;
  transform: none;
}

.ec-product-inner .ec-pro-image a.quickview,
.ec-product-inner .ec-pro-image .ec-pro-actions {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.ec-product-inner .ec-pro-image {
  position: relative;
  overflow: hidden;
  object-fit: contain;
  margin: 0 auto;
}

.ec-product-inner .ec-pro-image .image {
  position: relative;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 220px;
}

.ec-product-inner .ec-pro-image .image.loaded {
  background-color: transparent !important;
}

.ec-product-inner .ec-pro-image .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(245, 245, 245, 0.1) 0%,
    rgba(230, 230, 230, 0.8) 50%,
    rgba(245, 245, 245, 0.1) 100%
  );
  animation: shimmer 2s infinite;
  z-index: 1;
}

.ec-product-inner .ec-pro-image .image.loaded::before {
  display: none;
}

.ec-product-inner .ec-pro-image .image img {
  z-index: 1;
  max-width: 100%;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  object-fit: contain;
  display: none;
  height: 95% !important;
}

.ec-product-inner .ec-pro-image .image.loaded img {
  display: inline-block;
}

.ec-product-inner .ec-pro-image .image img.hover-image {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  opacity: 0;
}

.ec-product-inner .ec-pro-image-outer {
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  flex: 0 0 32%;
  width: 100%;
}

.ec-product-inner .ec-product-hover {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  visibility: hidden;
  background-color: #fff;
  opacity: 0;
  border-radius: 9px;
  z-index: 9;
  border: 1px solid #d9d9d9;
}

.ec-product-inner .ec-pro-content {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  padding: 15px 0 0 0;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.ec-product-inner .pro-hidden-block {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
}

.ec-product-inner .ec-pro-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 11px auto 0;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}

.ec-product-inner .ec-pro-actions a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  text-decoration: none;
  color: #202020;
  margin: 0;
}

.ec-product-inner .ec-pro-content .ec-pro-title {
  margin: 0 0 3px;
  font-family: "Tajawal-Bold";
  font-size: 14px;
}

.ec-product-inner .ec-pro-content .ec-pro-title a {
  width: 100%;
  text-decoration: none;
  color: #202020;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  font-size: 13.3px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ec-product-inner .ec-pro-content .ec-pro-title a:hover {
  color: #0d4fcf;
}

.ec-product-inner .ec-pro-content .ec-pro-stitle {
  text-decoration: none;
  color: #202020;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 12px;
}

.ec-product-inner .ec-pro-content .ec-price {
  overflow: hidden;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #0d4fcf;
}

.ec-product-inner .ec-pro-content .ec-price span.old-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #202020;
  margin-left: 9px;
}

html[dir="ltr"] .ec-product-inner .ec-pro-content .ec-price span.old-price {
  margin-right: 9px;
  margin-left: 0;
}

.ec-product-inner .ec-pro-content .ec-pro-rat-price {
  overflow: hidden;
  height: 30px;
  line-height: 30px;
}

.ec-product-inner .ec-pro-content .ec-pro-desc {
  line-height: 22px;
  color: #999;
  letter-spacing: 0.2px;
  font-size: 12px;
}

.ec-product-inner .ec-pro-content .btn {
  margin: 0 auto;
  border-radius: 30px;
  height: 40px;
  line-height: 40px;
  font-size: 10px;
  padding: 0 10px;
}

.ec-product-inner .ec-pro-image.pro-loading:before {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  content: "";
  opacity: 0.5;
  z-index: 98;
}

.percentage {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  padding: 0 8px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 0 15px 15px 0;
  font-weight: 700;
}

html[dir="ltr"] .percentage {
  left: auto;
  right: 0;
  border-radius: 15px 0 0 15px;
}

/* Wishlist */

a.wishlist .svg_img.pro_svg {
  height: 19px;
}

.wishlist {
  pointer-events: all;
}

/* Product List View Start */

.list-view .dataAll {
  grid-template-columns: 1fr !important;
}

.list-view .ec-product-inner {
  align-items: center;
  flex-direction: row;
  column-gap: 5px;
  height: 100%;
}

.list-view .ec-product-inner .ec-pro-image .image {
  height: 110px !important;
}

.list-view .percentage {
  top: 8px;
  right: 8px;
  border-radius: 6px;
  padding: 4px 8px;
}

html[dir="ltr"] .list-view .percentage {
  right: auto;
  left: 8px;
  border-radius: 6px;
  padding: 4px 8px;
}
@media (min-width: 768px) {
  .list-view .wishlist {
    position: absolute;
    right: 28px;
    transform: translate(50%, 0);
  }
  html[dir="ltr"] .list-view .wishlist {
    left: 28px;
    right: initial;
    transform: translate(-50%, 0);
  }
}

.list-view .catProduct {
  height: 170px;
}

.list-view .ec-product-inner .ec-pro-content .ec-pro-title a,
.ec-product-inner.categProduct .ec-pro-content .ec-pro-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  max-height: 36px;
  overflow: hidden;
  line-height: 18px;
  /* min-height: 2.4em; */
}

.shop-pro-inner .dataAll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  margin-top: 0px !important;
}

.shop-pro-inner .dataAll > * {
  min-width: 0;
}

@media (min-width: 786px) {
  .shop-pro-inner .dataAll {
    grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
  }
}

/* Product List View End */

#daily_offers .ec-product-inner .ec-pro-content .ec-pro-title a {
  font-size: 15.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  min-height: 2.3em;
  max-height: 2.3em;
}

#daily_offers .ec-product-inner .ec-pro-content .ec-price span.new-price {
  font-size: 16px !important;
}
