/*body {
  font: 16px sans-serif;
  padding: 3em;
}*/

[data-quantity] {
  position: relative;
  width: 100%;
  /*max-width: 11rem;*/
  padding: 0;
  margin: 0;
  border: 0;
}

[data-quantity] legend {
  display: none;
}

[data-quantity] input {
  font-size: 18px;
  height: 4rem;
  padding: 0 4rem;
  border-radius: 2rem;
  border: 0;
  background: #fff;
  color: #222;
  box-shadow: 0 10px 65px -10px rgba(0, 0, 0, 0.25);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  font-weight: lighter;
}

[data-quantity] input:focus {
  outline: none;
  box-shadow: 0 5px 55px -10px rgba(0, 0, 0, 0.2), 0 0 4px #3fb0ff; /* Allows border radius on focus */
}

[data-quantity] input[type=number]::-webkit-inner-spin-button,
[data-quantity] input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

[data-quantity] input[type=number] {
  -moz-appearance: textfield;
}

[data-quantity] button {
  position: absolute;
  width: 2.8rem;
  height: 2.8rem;
  top: 0.6rem;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: #fff
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="50"><path d="M17 25h16M67 25h16M75 17v16" fill="none" stroke="rgb(59,69,66)" stroke-width="1.5px" stroke-linecap="round" stroke-linejoin="round" /></svg>')
    no-repeat 0 0;
  background-size: 5.6rem 2.8rem;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  border-radius: 1.4rem;
  cursor: pointer;
  transition: opacity 0.15s;
  opacity: 0.5;
}

[data-quantity] button:active {
  background-position-y: 1px;
  box-shadow: inset 0 2px 12px -4px #c5d1d9;
}

[data-quantity] button:focus {
  outline: none;
}

[data-quantity] button:hover {
  opacity: 1;
}

[data-quantity] button.sub {
  left: 0.6rem;
}

[data-quantity] button.add {
  right: 0.6rem;
  background-position-x: -2.8rem;
}


/*=========== new ============*/

[data-quantity] input {
    font-size: 20px!important;
    height: 47px!important;
    padding: 0 4rem;
    border-radius: 5px!important;
    background: #f5f5f5!important;
    color: #888!important;
    box-shadow: unset!important; 
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-weight: lighter;
    border: 1px solid #e6e4e4!important;
}
  [data-quantity] input:focus {  box-shadow: unset!important;  }
    
  [data-quantity] button {
    position: absolute;
    width: 30px!important;
    height: 45px!important;
    top: 1px!important;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;   
    background-size: 5.6rem 2.8rem;
    background-position: 0% 45%!important;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
    border-radius: 5px 0 0 5px!important;
    cursor: pointer;
    transition: opacity 0.15s;
    border-right: 1px solid #dddddd!important;
    opacity: 1;
}
  [data-quantity] button.sub {    left: 1px!important;}
  [data-quantity] button.add {
      right: 1px!important;
      background-position-x: -27px!important;
      border-radius: 0 5px 5px 0!important;
      border-left: 1px solid #dddddd!important;
      border-right: 0!important;
  }
    [data-quantity] button:hover {    opacity: 1!important;}
    [data-quantity] button:active {
        background-position-y: 45%!important;
        box-shadow: unset!important;
    }

  @media (max-width: 420px) {
    [data-quantity] {   max-width: unset;}
   
  }
