.product-substitutes-wrap a.ref-btn.ref-btn2 {
  background: transparent !important;
}

a.ref-btn.ref-btn2 svg {
  width: 14px;
}

a.ref-btn.ref-btn2 svg .cls-1 {
  color: #4b2da5;
}

.product-substitute-single .add_to_cart_button svg {
  width: 20px;
}
.productsub-img {
    max-width: 260px;
	width: 100%;
	height: auto;
}
.productsub-img,
.productsub-details {
    flex: 1 1 50%; /* Each takes 50% width */
    max-width: 50%; /* Restrict to 50% width */
}
.productsub-cart{
	width: 100%;
}
.product-substitutes span.woocommerce-Price-amount.amount {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-xs);
    font-weight: var(--font-weight-400);
    color: var(--grey-400);
}
.product-substitutes-wrap .quantity-cart {
  display: flex;
  column-gap: 8px;
  align-items: end;
  height: 40px;
  margin-top: 10px;
}

.product-substitutes-wrap a.added_to_cart.wc-forward {
  display: none;
}
.productsub-cart input.input-text.qty.text{
	width: 3.631em !important;
}
@media only screen and (max-width: 768px) {

  .product-substitutes-wrap {
    padding: 16px;
    row-gap: 20px;
  }

  .product-substitutes-2 {
    margin-top: 0px !important;
  }
  .productsub-details{
      max-width:100% !important;
  }
}
