/* Scoped Custom Slider Pricing — Yogalap brand gold CTA, prominent track */

.yl-price-slider {
  --yl-ps-teal: #004750;
  --yl-ps-gold: #D8AB18;
  --yl-ps-gold-hover: #F3D66C;
  --yl-ps-track: #e6ebe8;
  --yl-ps-pct: 0%;

  margin: 0 0 24px;
  padding: 18px 18px 20px;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid rgba(0, 71, 80, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 24px -16px rgba(0, 71, 80, 0.2);
}

.yl-price-slider__title {
  display: block;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--yl-ps-teal);
  cursor: default;
}

.yl-price-slider__track-wrap {
  margin: 0 0 10px;
}

.yl-price-slider__range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 14px;
  margin: 0 0 10px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--yl-ps-gold) 0%,
    var(--yl-ps-gold) var(--yl-ps-pct),
    var(--yl-ps-track) var(--yl-ps-pct),
    var(--yl-ps-track) 100%
  );
  outline: none;
  cursor: pointer;
  accent-color: var(--yl-ps-gold);
}

.yl-price-slider__range::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 999px;
  background: transparent;
}

.yl-price-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -7px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--yl-ps-gold);
  box-shadow: 0 2px 10px rgba(216, 171, 24, 0.55), 0 0 0 1px rgba(0, 71, 80, 0.12);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yl-price-slider__range:active::-webkit-slider-thumb,
.yl-price-slider__range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(216, 171, 24, 0.65), 0 0 0 1px rgba(0, 71, 80, 0.14);
}

.yl-price-slider__range::-moz-range-track {
  height: 14px;
  border-radius: 999px;
  background: var(--yl-ps-track);
  border: 0;
}

.yl-price-slider__range::-moz-range-progress {
  height: 14px;
  border-radius: 999px;
  background: var(--yl-ps-gold);
}

.yl-price-slider__range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--yl-ps-gold);
  box-shadow: 0 2px 10px rgba(216, 171, 24, 0.55);
  cursor: grab;
}

.yl-price-slider__bounds {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--yl-ps-teal);
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.yl-price-slider__bound--max {
  text-align: right;
}

.yl-price-slider__selected {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--yl-ps-teal);
  line-height: 1.4;
}

.yl-price-slider__selected > span:first-of-type {
  color: var(--yl-ps-gold);
  font-weight: 800;
  font-size: 1.15em;
}

.yl-price-slider__status {
  display: inline-block;
  margin-left: 8px;
  min-width: 1em;
  font-size: 14px;
  font-weight: 500;
  color: var(--yl-ps-teal);
  opacity: 0.55;
}

.yl-price-slider.is-updating {
  opacity: 0.92;
}

.yl-price-slider.is-updating .yl-price-slider__range {
  cursor: wait;
}

/* Pay Now removed in v2.2 — keep legacy override harmlessly unused */
.yl-price-slider__pay {
  display: none !important;
}
