input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0 12px;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  animate: 0.2s;
  background: #cccccc;
  border-radius: 25px;
  border: none;
}
input[type=range]::-webkit-slider-thumb {
  border: 1px solid #000000;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #000000;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
}
output {
  display: block;
  font-size: 24px;
  text-align: center;
  color: black;
  font-weight: 700;
  font-family: 'Halyard Display Book', sans-serif;
}

/* Add specific styling for three-letter currency codes */
[id^="price-"] {
  white-space: nowrap;
}

output:first-child,
[id^="price-"] {
  font-size: 24px;
}

/* Reduce font size for SGD and other three-letter currencies */
output:first-child:not([data-currency^="$"]):not([data-currency^="£"]):not([data-currency^="€"]),
[id^="price-"]:not([data-currency^="$"]):not([data-currency^="£"]):not([data-currency^="€"]) {
  font-size: 20px;
}

@media screen and (max-width: 480px) {
  output:first-child:not([data-currency^="$"]):not([data-currency^="£"]):not([data-currency^="€"]),
  [id^="price-"]:not([data-currency^="$"]):not([data-currency^="£"]):not([data-currency^="€"]) {
    font-size: 18px;
  }
}