/** Shopify CDN: Minification failed

Line 47:1 Expected identifier but found "%"
Line 48:27 Unexpected bad string token
Line 48:51 Unterminated string token
Line 51:20 Expected ":"
Line 51:44 Unexpected "("
Line 52:25 Expected ":"
Line 52:102 Unexpected "("
Line 53:24 Expected ":"
Line 53:66 Unexpected "("
Line 56:3 Expected identifier but found "%"
... and 2 more hidden warnings

**/
Grok code 



.price {
  font-size: 80% !important;
  color: darkgreen !important;
  font-weight: bold !important;
  text-decoration: none !important; /* Remove underline from all prices by default */
}

/* Target the comparison price for strikethrough */
.price__compare, .price--compare, .price-item--regular.price-item--sale {
  text-decoration: line-through !important; /* Strikethrough for original price */
  color: gray !important; /* Optional: distinguish it from the sale price */
}

/* Ensure the sale/current price looks normal */
.price__sale, .price-item--sale {
  text-decoration: none !important; /* No strikethrough or underline for discounted price */
  color: darkgreen !important; /* Keep your preferred color */
  font-weight: bold !important;
}




New code 



{% comment %}
  Renders a list of product's price (regular, sale)

  Accepts:
  - product: {Object} Product Liquid object (optional)
  - use_variant: {Boolean} Renders selected or first variant price instead of overall product pricing (optional)
  - price_class: {String} Adds a price class to the price element (optional)

  Usage:
  {% render 'price', product: product %}
{% endcomment %}
.price {
  font-size: 80% !important;
  color: darkgreen !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.price__compare, .price--compare, .price-item--regular.price-item--sale {
  text-decoration: line-through !important;
  color: gray !important;
}

.price__sale, .price-item--sale {
  text-decoration: none !important;
  color: darkgreen !important;
  font-weight: bold !important;
}

/* Target review stars for golden yellow color */
.star, .rating-star, .spr-icon-star {
  color: #FEDA15 !important;
}
