/* Han Mobil 3.0.6 — working quantity selector + equal purchase controls. */

/* Keep the three primary controls exactly equal in the row. */
body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp,
body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
}

/* Quantity remains one equal-width grid item; only its internal layout changes. */
body.hanspot-theme .hanspot-single-actions .quantity,
body.hanspot-theme .hanspot-variation-cart-row .quantity{
  position:relative!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 30px!important;
  align-items:center!important;
  overflow:hidden!important;
  padding:0!important;
  cursor:text!important;
  pointer-events:auto!important;
  isolation:isolate!important;
}

body.hanspot-theme .hanspot-single-actions .quantity:before,
body.hanspot-theme .hanspot-variation-cart-row .quantity:before{
  content:none!important;
  display:none!important;
}

body.hanspot-theme .hanspot-single-actions .quantity .qty,
body.hanspot-theme .hanspot-variation-cart-row .quantity .qty{
  position:relative!important;
  z-index:2!important;
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  margin:0!important;
  padding:0 2px!important;
  border:0!important;
  outline:0!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#172019!important;
  text-align:center!important;
  line-height:42px!important;
  pointer-events:auto!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  touch-action:manipulation!important;
  caret-color:#172019!important;
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}

body.hanspot-theme .hanspot-single-actions .quantity .qty::-webkit-inner-spin-button,
body.hanspot-theme .hanspot-single-actions .quantity .qty::-webkit-outer-spin-button,
body.hanspot-theme .hanspot-variation-cart-row .quantity .qty::-webkit-inner-spin-button,
body.hanspot-theme .hanspot-variation-cart-row .quantity .qty::-webkit-outer-spin-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  margin:0!important;
}

body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-btn,
body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-btn{
  position:relative!important;
  z-index:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#6f9279!important;
  box-shadow:none!important;
  font:500 15px/1 Arial,sans-serif!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-minus,
body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-minus{
  grid-column:1!important;
  border-right:1px solid #edf3ef!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-plus,
body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-plus{
  grid-column:3!important;
  border-left:1px solid #edf3ef!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-btn:hover,
body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-btn:hover{
  background:#f5f9f6!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-btn:focus-visible,
body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-btn:focus-visible,
body.hanspot-theme .hanspot-single-actions .quantity .qty:focus-visible,
body.hanspot-theme .hanspot-variation-cart-row .quantity .qty:focus-visible{
  outline:2px solid rgba(111,146,121,.35)!important;
  outline-offset:-2px!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-btn:disabled,
body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-btn:disabled{
  opacity:.35!important;
  cursor:not-allowed!important;
}

@media(max-width:767px){
  body.hanspot-theme .hanspot-single-actions .quantity,
  body.hanspot-theme .hanspot-variation-cart-row .quantity{
    grid-template-columns:27px minmax(0,1fr) 27px!important;
  }
  body.hanspot-theme .hanspot-single-actions .quantity .qty,
  body.hanspot-theme .hanspot-variation-cart-row .quantity .qty{
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    line-height:38px!important;
    font-size:10px!important;
  }
  body.hanspot-theme .hanspot-single-actions .quantity .hanmob-qty-btn,
  body.hanspot-theme .hanspot-variation-cart-row .quantity .hanmob-qty-btn{
    width:27px!important;
    min-width:27px!important;
    max-width:27px!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:14px!important;
  }
}
