:root {
  --main-color1: #eb4d4b;
  --text-color: #042077;
}
.product-grid {
  text-align: center;
}
.product-grid .product-image {
  position: relative;
}
.product-grid .product-image a.image {
  display: block;
}
.product-grid .product-image img {
  width: 100%;
  height: auto;
}
.product-image .pic-1 {
  opacity: 1;
  backface-visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.product-grid:hover .product-image .pic-1 {
  opacity: 0;
}
.product-image .pic-2 {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease-in-out;
}
.product-grid:hover .product-image .pic-2 {
  opacity: 1;
}
.product-grid .product-sale-label,
.product-grid .product-freedown-label {
  color: #fff;
  background: #da5555;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 14px;
  padding: 5px 11px;
  border-radius: 12px;
  position: absolute;
  top: 10px;
  right: 10px;
  transition: all 0.4s ease;
}
.product-grid .product-sale-label {
  background: #2ba968;
  text-transform: uppercase;
  left: 10px;
  right: auto;
}
.product-grid .product-content {
  padding: 10px;
}
.product-grid .rating {
  padding: 0;
  margin: 0 0 7px;
  list-style: none;
}
.product-grid .rating li {
  color: var(--text-color);
  font-size: 12px;
  display: inline-block;
}
.product-grid .rating li.disable {
  color: rgba(0, 0, 0, 0.2);
}
.product-grid .title {
  color: var(--text-color);
  font-size: 20px;
  text-transform: capitalize;
  margin: 0 0 7px;
}
.product-grid .title a {
  color: var(--text-color);
  transition: all 500ms;
}
.product-grid .title a:hover {
  color: var(--main-color1);
}
.product-grid .price {
  /* color: var(--text-color); */
  /* font-size: 18px;
  letter-spacing: 0.005em;
  margin-bottom: 10px; */
    color: #fff;
    background: #b71540;
    font-size: 13px;
    padding: 2px 6px 2px 18px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1px 3px 3px 1px;
    position: absolute;
    bottom: 1px;
    right: 0px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
    z-index: 2;
}
.product-grid .price span {
  /* color: #a7a7a7;
  font-size: 14px;
  font-weight: 400;
  text-decoration: line-through; */
  font-size: 80%;
  font-weight: 400;
    text-decoration: line-through;
    opacity: 0.5;
}
.product-grid .price:before{
    content: "";
    background: #fff;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 7px;
}
.product-grid .price.fixed{
    background: #042077;
    bottom: 1px;
}
.product-grid .product-name {
    color: #000;
    background: #f8f6f68f;
    font-size: 95%;
    text-align: start;
    padding: 2px 6px 2px 5px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1px 3px 3px 1px;
    width: 90%;
    position: absolute;
    bottom: 1px;
    left: 0px;
    word-wrap: break-word;
    /* clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 100%); */
    z-index: 1;
}
.product-grid .year,
.product-grid .gas,
.product-grid .gear,
.product-grid .installment {
    background: #f8f6f68f;
    color: #000;
    font-size: 70%;
    letter-spacing: 1px;
    line-height: 14px;
    padding: 5px 11px;
    border-radius: 12px;
    position: absolute;
    transition: all 0.4s ease;
}
.product-grid .year {
    bottom: 65px;
    left: 3px;
  }
.product-grid .gas {
  bottom: 35px;
  left: 3px;
}
.product-grid .gear {
  bottom: 35px;
  left: 80px;
}
.product-grid .installment {
    bottom: 35px;
    right: 3px;
  }
.product-grid .product-detail {
    font-size: 80%;
  }
.product-grid .product-button-group {
  position: relative;
  top: 10px;
  z-index: 1;
}
.product-grid .go-to-product {
  color: #000;
  background: #aba9a9;
  font-size: 14px;
  width: calc(100% - 75px);
  padding: 10px 3px;
  margin: 0 auto;
  display: inline-block;
  transition: all 0.25s ease 0s;
}
.product-grid .go-to-product i {
  margin-right: 8px;
  display: none;
  visibility: hidden;
  transition: all 0.25s ease 0s;
}
.product-grid:hover .go-to-product {
  color: #fff;
  background: var(--text-color);
}
.product-grid:hover .go-to-product i {
  display: inline-block;
  visibility: visible;
}
.product-grid .product-like-icon,
.product-grid .product-compare-icon {
  color: var(--text-color);
  background: #f4f4f4;
  line-height: 34px;
  width: 34px;
  height: 34px;
  opacity: 0;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: 50px;
  z-index: -1;
  transition: all 0.25s ease 0s;
}
.product-grid .product-compare-icon {
  left: auto;
  right: 50px;
}
.product-grid:hover .product-like-icon {
  opacity: 1;
  left: 0;
}
.product-grid:hover .product-compare-icon {
  opacity: 1;
  right: 0;
}
@media only screen and (max-width: 990px) {
  .product-grid {
    margin-bottom: 30px;
  }
}
