.flex {
  display: flex;
}

.rgg-competition-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.3rem;
  margin-bottom: 1rem;
}

.rgg-competition-qty-minus,
.rgg-competition-qty-plus {
  flex: 0 0 auto;
  cursor: pointer;
  border-color: #a6a6a6;
}
.single-product .rgg-competition-qty .rgg-competition-qty-minus:not(:hover),
.single-product .rgg-competition-qty .rgg-competition-qty-plus:not(:hover) {
  background-color: #0e1215;
  color: #ffffff;
}

.comp-range-slider {
  flex: 1;
  margin: 0 10px; /* Adjust as needed */
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}
.rgg-competition-qty + div.quantity {
  display: none !important;
}

.comp-range-slider .comp-range-wrap {
  position: relative;
}
.comp-range-slider .comp-range-amount {
  margin-bottom: 1rem;
  color: white;
  font-size: 12px;
  padding: 5px 9px;
  border: 1px solid;
  border-radius: 12px;
  font-weight: normal;
  display: none;
}

.range-number-display {
  display: flex;
  justify-content: space-between;
  color: #a6a6a6;
  font-weight: normal;
  font-size: 12px;
  position: absolute;
  width: 100%;
  z-index: 2;
}
span.range-number-display {
  padding: 0.3rem;
}

.rangeslider {
  position: relative;
  height: 14px;
  border-radius: 44px;
  width: 100%;
  /*background: linear-gradient(to right, rgb(15, 86, 153), rgb(38, 27, 196) 0%, rgb(38, 27, 196) 0%, rgb(222, 225, 226) 100%);*/
}
.rangeslider__handle {
  transition: background-color 0.2s;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background-color: #7f025d;
  touch-action: pan-y;
  cursor: pointer;
  display: inline-block;
  position: absolute;
  z-index: 3;
  top: -5px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #ffffff;
}
.rangeslider__handle__value {
  transition: background-color 0.2s, box-shadow 0.1s, transform 0.1s;
  box-sizing: border-box;
  width: 100px;
  text-align: center;
  padding: 10px;
  border-radius: 9px;
  color: #fff;
  left: -40px;
  top: -55px;
  position: absolute;
  white-space: nowrap;
  /*border-top: 1px solid #1f49b0; */
  box-shadow: 0 -4px 1px rgba(0, 0, 0, 0.07), 0 -5px 20px rgba(0, 0, 0, 0.3);
  font-size: 0.8rem;
}
.rangeslider__handle__value:before {
  transition: border-top-color 0.2s;
  position: absolute;
  bottom: -10px;
  left: calc(50% - 10px);
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid;
  /*border-top-color: #7f025d;*/
}
.rangeslider__fill {
  position: absolute;
  top: 0;
  z-index: 1;
  height: 100%;
  border-radius: 44px;
}
.rangeslider__labels {
  position: absolute;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.rangeslider__labels__label {
  font-size: 0.8em;
  position: relative;
  padding-top: 15px;
  color: gray;
}
.rangeslider__labels__label:before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 1px;
  height: 17px;
  border-radius: 1px;
  background-color: rgba(128, 128, 128, 0.5);
}
.rangeslider__labels__label:first-child:before,
.rangeslider__labels__label:last-child:before {
  height: 20px;
  width: 2px;
  display: none;
}
.rangeslider__labels__label:first-child:before {
  background-color: gray;
}
.rangeslider__labels__label:last-child:before {
  background-color: gray;
}
.rangeslider__labels__label:first-child {
  transform: translateX(-48%);
}
.rangeslider__labels__label:last-child {
  transform: translateX(48%);
}

.rangeslider.rangeslider--active .rangeslider__handle__value {
  transform: translateY(-5px);
  box-shadow: 0 -3px 2px rgba(0, 0, 0, 0.04), 0 -9px 25px rgba(0, 0, 0, 0.15);
}

/* Minimal Style */

.rgg-competition-qty[data-type="min"] .rangeslider__handle__value {
  width: unset; 
 padding: 2px 12px;
 border-radius: 4px;
 left:0;
 top: -30px;
 font-size: 0.7rem;
 transform: translate(-25%, -20%);
}

.rgg-competition-qty[data-type="min"] .rangeslider__handle__value:before {
  bottom: -6px;
}

.rgg-competition-qty[data-type="min"] .rangeslider {
 height: 6px;
}
.rgg-competition-qty[data-type="min"] .rangeslider__handle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  
}