.product-subunit-selector{
    margin-bottom: 20px;
}

.select_subunit_styling_div label {
    width: 100%;
    max-width: fit-content;
    font-size: 18px;
}
.select_subunit_styling_div {
    display: flex;
    width: 100%;
    align-items: center;
}
.select_subunit_styling_div input[type="text"] {
    font-size: 16px ! IMPORTANT;
}

.summary.entry-summary.force-contained-rows input.pass_quantity {
    max-width: fit-content;
    margin-left: 6px;
    background-color: transparent;
    border: 1px solid;
}

.summary.entry-summary.force-contained-rows .price-display {
    margin-top: 15px;
}
.summary.entry-summary.force-contained-rows .select_subunit_styling_div {
    margin-bottom: 5px;
}

#product-subunit {
    margin-bottom: 10px;
    background: transparent;
    border: 1px solid;
}


#product-subunit {
    margin-left: 6px;
    width: max-content;
    height: 30px;
    padding: 0;
}
 

/* Chrome, Safari, Edge */
#pass_quantity {
  -moz-appearance: textfield; /* Hide default Firefox styling */
}

#pass_quantity::-webkit-inner-spin-button, 
#pass_quantity::-webkit-outer-spin-button {
  appearance: auto;   /* Always show arrows in Chrome */
  opacity: 1;         /* Fully visible */
  transform: scale(1.2); /* Slightly larger arrows */
  cursor: pointer;
}

/* Firefox */
#pass_quantity[type="number"] {
  appearance: auto;  
  height: 30px;     /* Ensures Firefox uses default arrows */
  max-width:13%;
}

#pass_quantity::-moz-number-spin-box {
  display: flex;          /* Ensure arrows are displayed */
  flex-direction: column; 
  opacity: 1;             /* Make arrows fully visible */
}

#pass_quantity::-moz-number-spin-up,
#pass_quantity::-moz-number-spin-down {
  display: block;         /* Always show arrows */
  font-size: 16px;        /* Adjust arrow size */
  height: 25px;
  cursor: pointer;
}


/* Hide arrows when the special class is added */
#pass_quantity.hide_arrow_to_this_pass_qty {
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;      /* Chrome, Safari, Edge */
  height: 30px;
  max-width:10%;
}

/* Hide arrows for WebKit browsers */
#pass_quantity.hide_arrow_to_this_pass_qty::-webkit-inner-spin-button, 
#pass_quantity.hide_arrow_to_this_pass_qty::-webkit-outer-spin-button {
  appearance: none;
  display: none;
  margin: 0;
}

/* Hide arrows for Firefox */
#pass_quantity.hide_arrow_to_this_pass_qty::-moz-number-spin-box {
  display: none;
}


input.unittypetoshow { max-width: 50%;
    display: inline-block;
}

@media only screen and (max-width: 575px) {
    #pass_quantity[type="number"] {
        max-width: 15%;
        -moz-appearance: number-input;
    }

    #pass_quantity::-webkit-outer-spin-button,
    #pass_quantity::-webkit-inner-spin-button {
        -webkit-appearance: auto;
        margin: 0;
    }
}



/* ADD-CSS 24-april-25 START */
@media only screen and (max-width: 767px) {
input.unittypetoshow {
    max-width: 20%;
}
}

#pass_quantity.hide_arrow_to_this_pass_qty {
  margin-left: 0;
}

.number-input-wrapper .decrement {
  border: 1px solid #000 !important;
  background-color: transparent;
  font-size: 14px;
  height: 30px;
  width: 30px;
  text-align: center !important;
  color:#000 !important;
  align-content: center !important;
  padding: 0 !important;
}
.number-input-wrapper .increment {
  border: 1px solid #000 !important;
  background-color: transparent;
  font-size: 14px;
  height: 30px;
  width: 30px;
  text-align: center !important;
  color:#000 !important;
  align-content: center !important;
  padding: 0 !important;
}

@media only screen and (max-width: 575px) {
  .number-input-wrapper button.decrement {
    height: 29px;
    width: 29px;
  }
  .number-input-wrapper button.increment {
    height: 29px;
    width: 29px;
  }

  #product-subunit {
      width: 60px;
      padding: 0 4px;
  }
}