#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  display: none;
}

.bubble {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-width: 520px;
  width: 90%;
  padding: 28px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  z-index: 1000;
  display: none;
  font-family: "Segoe UI", sans-serif;
}

.bubble-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 22px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.bubble_title {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.bubble_article {
  margin-top: 0;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.bubble_product_prices {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 16px;
  gap: 12px;
  font-size: 15px;
  color: #444;
}

.price_left,
.price_right {
  flex: 1;
}

.price {
  font-size: 16px;
  font-weight: bold;
}

.slider-value {
  font-weight: bold;
  margin-left: 8px;
  color: #007bff;
}

.monthlyPayment {
  margin-top: 14px;
  font-size: 16px;
  color: #111;
}

/* Button trigger for bubble */
.bubble-trigger {
  margin-top: 16px;
}



/* ticks styles*/
    .slider-container {
      position: relative;
      width: 100%;
      margin: 10px auto;
      bottom: 10px;
    }

    .slider-wrapper {
      position: relative;
      width: 100%;
    }

    input[type="range"] {
      width: 100%;
      margin: 0;
      position: relative;
      z-index: 1002;
    }

    .tick-bar {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 28px;
      z-index: 1001;
      pointer-events: none;
    }

    .tick {
      position: absolute;
      top: 1;
      width: 2px;
      height: 20px;
      background-color: #333;
    }

    .tick-label {
      position: absolute;
      top: 20px;
      font-size: 1em;
      transform: translateX(-50%);
      white-space: nowrap;
    }









#numberSlider {
  -webkit-appearance: none; /* Remove default styling in Chrome/Safari */
  width: 100%;
  height: 8px;
  background: #ccc;
  border-radius: 4px;
  outline: none;
  margin: 7px 0;
  cursor: pointer;
}

/* Thumb for Webkit (Chrome, Safari, Edge) */
#numberSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #007bff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
  border: none;
}

/* Thumb for Firefox */
#numberSlider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #007bff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}

/* Track for Firefox */
#numberSlider::-moz-range-track {
  background: #ccc;
  height: 8px;
  border-radius: 4px;
}

#numberSlider::-moz-range-progress {
  background: #007bff;
  height: 8px;
  border-radius: 4px;
}

/* IE / Edge Legacy */
#numberSlider::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #007bff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Track for IE / Edge Legacy */
#numberSlider::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;
  height: 8px;
}

#numberSlider::-ms-fill-lower {
  background: #ccc;
  border-radius: 4px;
}

#numberSlider::-ms-fill-upper {
  background: #ccc;
  border-radius: 4px;
}