
.counter {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    background: #09ae99;
    border-radius: 8px;
    justify-content: space-between;
    padding: 5px 10px;
    box-sizing: border-box;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
.counter.active {
    display: flex !important;
  }
  
  .minus-btn,
  .plus-btn {
    display: block;
    width: 32px;
    height: 32px;
    color: #ffff;
    border-radius: 4px;
    padding: 0;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none !important;
    font-size: 25px;
  color: black;
  align-items: center;
  }
  
  .quantity-input {
    text-align: center;
    width: 40px;
    border-radius: 4px;
    padding: 5px 10px;
    width: 100%;
    background: none;
    border: none;
    color: white;
  }
  
  .counter .minus-btn,
  .plus-btn,
  .counter .quantity-input {
    display: none;
    /* Initially hide the minus button and quantity input */
  }
  
  .counter.active .minus-btn,
  .counter.active .plus-btn,
  .counter.active .quantity-input {
    display: flex !important;
    /* Show them when the counter is active */
  }