.toman-icon {
  width: 14px;
  height: auto;
  vertical-align: middle;
  margin-left: 2px;
}
.product-meta-row {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-between;
}
span.meta-item span {
  color: #212121;
  font-size: 12px;
}
span.star-rate {
  font-size: 13px;
  font-weight: 700;
}
a.button.add_to_cart_button.ajax_add_to_cart {
  background: #207845;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
  min-height: 40px;
  min-width: 108px;
  transition: all 0.4s;
}
a.button.add_to_cart_button.ajax_add_to_cart:hover {
  background: #207845c7;
}
.product-card-title {
  margin: 12px 0 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #212121;
  height: 42px;
  max-height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  white-space: normal;
}
span.discount-lable-new {
  background: #E11D48;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 4px 0px 4px;
}
.meta-right {
  display: flex;
  gap: 16px;
}
#add-to-cart-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.add-to-cart-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #2e7d32;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 9999;
}

.add-to-cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.trash-icon {
  width: 14px;
  height: 14px;
}
.qty-btn {
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #e4e9fe;
  min-height: auto;
  transition: all 0.4s;
}
.qty-btn:hover .trash-main {
  fill: #ffffff;
}
.qty-btn:hover {
  background: #207845;
  color: white;
  border: 1px solid #207845;
}
.qty-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

.cart-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s ease;
  z-index: 9999;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast.success {
  background: #16a34a;
}

.cart-toast.error {
  background: #dc2626;
}

.cart-area.loading a,
.cart-area.loading button {
  opacity: 0.6;
  pointer-events: none;
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.product-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.price-top {
  font-size: 12px;
  color: #999;
  display: flex;
  gap: 6px;
  align-items: center;
}
.price-bottom .price-amount {
  color: #212121;
  font-weight: 700;
  font-size: 16px;
}
.toman-icon {
  width: 18px;
  height: auto;
  display: inline-block;
}

.price-bottom {
  font-size: 15px;
  font-weight: bold;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.incredible-offer-icon {
  position: absolute;
  top: -233px;
  right: 5px;
  z-index: 10;
  width: 110px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.incredible-offer-icon img {
  width: 110px;
  height: auto;
}
/* Product Links */
.product-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-title-link:hover {
  opacity: 0.8;
}
@media (max-width: 767px) {
.meta-left {
    display: none;
}
  span.meta-item img {
      width: 14px;
      height: auto;
  }

  .meta-right {
      gap: 12px;
  }

  span.meta-item span {
      font-size: 11px;
  }

  p.product-card-title {
      font-size: 12px;
  }

  .product-card-title {
      margin: 8px 0 12px;
      font-size: 12px;
  }

  a.button.add_to_cart_button.ajax_add_to_cart {
      min-width: 65px;
      font-size: 11px;
      min-height: 33px;
  }

  .price-top {
      font-size: 11px;
      gap: 3px;
  }

  span.discount-lable-new {
      font-size: 11px;
      font-weight: 500;
  }

  .price-bottom .price-amount {
      font-size: 13px;
  }

  img.toman-icon {
      width: 14px;
  }

  .qty-btn {
      width: 24px;
      height: 24px;
  }

  .qty-box {
      gap: 8px;
  }

  span.qty-value {
      font-size: 11px;
  }
  .incredible-offer-icon {
    top: -170px;
    width: 85px;
  }
}