.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  padding: 11px;
  text-align: center;
  -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100%;
}
.link-a{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.product-card h2{
  /* white-space: nowrap;  */
  overflow: hidden; 
  text-overflow: ellipsis; 
  text-overflow: ellipsis; 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: box;
  
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  max-width: 100%;
  direction: rtl;
  text-align: right;
  line-height: 1.5em;
  margin: 5px 0;
  /* font-size: 15px; */
  padding: 0 5px;
}
.product-card h3{
  text-overflow: ellipsis; 
  text-overflow: ellipsis; 
  overflow: hidden; 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: box;
  
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  max-width: 100%;
  direction: rtl;
  text-align: right;
  /* line-height: 1.5em; */
  margin: 5px 0;
  /* font-size: 15px; */
  padding: 0 5px;
}
.product-card:hover {
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.product-image {
  width: 100%;
  max-height: 300px;
  -o-object-fit: contain;
  object-fit: contain;
  /* margin-bottom: 12px; */
  display: block;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  height: 20vw;
}

.product-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.product-energy,
.product-price {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
  text-align: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}
.product-model{
  font-size: 12px;
  color: #7f7f7f;
  margin: 4px 0;
  text-align: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: normal;
}
.energy-label {
  color: #70e20dd8;
  font-weight: bold;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  width: 20%;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.product-price {
  color: #000;
  font-weight: bold;
  font-size: 15px;
}

.product-button {
  background-color: #8e44ad;
  color: #fff;
  border: none;
  padding: 8px 16px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  width: 124px;
  height: 26px;
  font-size: 15px;
  font-family: 'dana';
  text-align: center;
  color: #FFFFFF;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  -webkit-border-radius: 0 5px;
  -moz-border-radius: 0 5px;
  border-radius: 0 5px;
}

.product-button:hover {
  background-color: #732d91;
}
.container-pr{
  /* width: 98%; */
  margin: 20px;
 
  display: -ms-grid;
  display: -webkit-grid;
  display: grid;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 30px 20px;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;

  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background-color: #ECECEC;
  gap: 15px;
  row-gap: 25px;
  justify-items: stretch;
}
.img-product{
  /* width: 240px;
  height: 210px; */
  width: 100%;
  min-width: 160px;
  -webkit-box-shadow: 0 2px 9px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 2px 9px rgba(0,0,0,0.1);
  box-shadow: 0 2px 9px rgba(0,0,0,0.1);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  position: relative;
}
.logo-konj{
  position: absolute;
  right:  10px;
  bottom: 10px;
width: 40px;
z-index: 2;

}
.energy{
  width: 143px;
  height: 30px;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  background-color: #F0F0F0;
  direction: rtl;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  gap: 8px;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.energy img{
  margin-left: 5px;
  margin-right: 5px;
}
.product-title,
.product-model,
.product-price,
.energy,
.product-button {
  margin-top: 12px;
  margin-bottom: 0;
}
.product-price{
  color: #70e20dd8;
}
.text2 {
  max-width: 98%;
  margin: 40px 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background-color: #ECECEC;
  font-size: 26px;
  text-align: justify;
  padding: 30px 40px 60px;
  line-height: 2;
  position: relative;
  font-family: 'dana-small', sans-serif;
}

.paragraph {
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  margin-top: 10px;
}
.des{
  font-size: 20px;
}
.title{
  font-size: 35px;
  margin-top: 10px;
  color: black;
  -webkit-transform: scaleX(1.3);
  -moz-transform: scaleX(1.3);
  -ms-transform: scaleX(1.3);
  -o-transform: scaleX(1.3);
  transform: scaleX(1.3);
  -webkit-transform-origin: right;
  -moz-transform-origin: right;
  -ms-transform-origin: right;
  -o-transform-origin: right;
  transform-origin: right;
  display: inline-block;
  font-weight: 500;
}
@media (max-width: 1310px) {
  /* .img-product {
    width: 180px;
  } */
  /* .container-pr{
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
  } */
}
@media (max-width: 768px) {
  .container-pr {
  width: 94%;
  margin: 20px auto;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding:20px ;
    row-gap: 10px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    width: 94%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 20px;
  justify-items: center;

  }

  .product-card {
    width: 100%;
    max-width: 300px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 453px;
  }
  .product-card h3{
    font-size: 10px;
  }
  .product-card h2{
    margin-top: 10px;
    font-size: 12px;
    
  }
  .img-product {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .logo-konj{
    width: 30px;
  }
  .product-image{
    height: 52vw;
  }
  .des{
    font-size: 16px;
  }
  .text2 {
    max-width: 94%;
    margin: 20px auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #ECECEC;
    font-size: 26px;
    text-align: justify;
    padding: 20px;
    line-height: 2;
    position: relative;
    font-family: 'dana-small', sans-serif;
  }
  .title{
    font-size: 25px;
  }
  .product-box img {
    width: 100%;
    height: 142px;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 1px solid var(--gray-300);
    margin-bottom: var(--space-2);
    -webkit-box-shadow: 1px 1px 1px var(--gray-300);
    -moz-box-shadow: 1px 1px 1px var(--gray-300);
    box-shadow: 1px 1px 1px var(--gray-300);
  }
  .product-box h2 {
    font-size: 12px;
    text-align: center;
    height:auto;
    margin-bottom: var(--space-3);
  }
  .product-box small {
    font-size: 10px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 0px;
  }
  .bgr-product{
    padding-top:11px;
    padding-bottom: 11px;
    margin-bottom:0
  }
  .product-box {
    background: var(--white);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 13px;
    -ms-flex-negative: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch;
  }
  #takhfif {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: bold;
  }
  .banners .item{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 47%;
    flex: 1 1 47%
  }
  .product-box-off{
    font-size: 10px;
    position: relative;
    display: inline-block;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-3);
    padding: 0 10px;
  }
  .product-box-off::before {
    width: 60%;
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    right: 30px;
    height: 1px;
    background-color: rgb(224, 63, 63);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}
@media (max-width: 370px) {
  .menu-item {
    font-size: 9px;
    padding: 4px;
  }
}