/*
 * Hero storefront product-card quantity stepper.
 * Scoped to product cards; does not change checkout, side cart, or product forms.
 */
.ec-product-inner .ec-pro-content .hero-card-quantity{
  --hero-stepper-blue:#075ab2;
  --hero-stepper-ink:#183a62;
  box-sizing:border-box!important;
  position:relative!important;
  float:none!important;
  width:max-content!important;
  max-width:100%!important;
  margin:14px 0 3px!important;
  padding:3px!important;
  display:grid!important;
  grid-template-columns:44px minmax(43px,48px) 44px!important;
  align-items:center!important;
  justify-items:stretch!important;
  gap:0!important;
  overflow:hidden!important;
  height:52px!important;
  min-height:52px!important;
  border:1px solid #cbddef!important;
  border-radius:14px!important;
  background:#f5f9ff!important;
  box-shadow:0 2px 8px rgba(14,72,131,.07)!important;
  vertical-align:middle!important;
  direction:ltr!important;
  isolation:isolate;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button{
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  float:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:750!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--hero-stepper-blue)!important;
  cursor:pointer!important;
  touch-action:manipulation;
  appearance:none;
  -webkit-appearance:none;
  transition:background .16s ease,transform .16s ease,color .16s ease!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button i{
  display:inline-block!important;
  font-size:13px!important;
  line-height:1!important;
  color:inherit!important;
  pointer-events:none!important;
  margin:0!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__minus{
  background:#e7f0fc!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__plus{
  color:#fff!important;
  background:linear-gradient(135deg,#0758a8,#1379d5)!important;
  box-shadow:0 2px 5px rgba(11,86,171,.18)!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__value{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  place-items:center!important;
  height:44px!important;
  padding:0 3px!important;
  background:transparent!important;
  color:var(--hero-stepper-ink)!important;
  font-size:16px!important;
  font-weight:850!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums;
  text-align:center!important;
  border:0!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button:disabled{
  background:#eef1f6!important;
  color:#9cacc1!important;
  cursor:not-allowed!important;
  opacity:.72!important;
  box-shadow:none!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity:not([aria-busy="true"]) .hero-card-quantity__button:not(:disabled):hover{
  background:#d4e9ff!important;
  color:#064b8f!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity:not([aria-busy="true"]) .hero-card-quantity__plus:not(:disabled):hover{
  background:#034580!important;
  color:#fff!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button:focus-visible{
  outline:3px solid #f1b449!important;
  outline-offset:-3px!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity[aria-busy="true"]{
  border-color:#94bce5!important;
  box-shadow:0 0 0 3px rgba(17,99,189,.12)!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity[aria-busy="true"] .hero-card-quantity__value{
  opacity:.45!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity[aria-busy="true"]::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:17px;
  height:17px;
  margin:-8.5px;
  border:2px solid #b9d4f3;
  border-top-color:#075ab2;
  border-radius:50%;
  animation:hero-stepper-spin .75s linear infinite;
  pointer-events:none;
}
@keyframes hero-stepper-spin{to{transform:rotate(360deg)}}
@media(max-width:575px){
  .ec-product-inner .ec-pro-content .hero-card-quantity{
    margin-top:10px!important;
    height:50px!important;
    min-height:50px!important;
    grid-template-columns:42px minmax(38px,44px) 42px!important;
  }
  .ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button{
    height:42px!important;
    min-height:42px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .ec-product-inner .ec-pro-content .hero-card-quantity *,
  .ec-product-inner .ec-pro-content .hero-card-quantity::after{
    animation:none!important;
    transition:none!important;
  }
}

/*
 * Final visual alignment layer. Theme icon-font baselines varied between
 * browsers, making +/- appear off-centre even inside a flex-centred button.
 * Draw both strokes geometrically from the centre of the actual hit target.
 */
.ec-product-inner .ec-pro-content .hero-card-quantity{
  grid-template-columns:42px 42px 42px!important;
  gap:4px!important;
  padding:4px!important;
  height:52px!important;
  min-height:52px!important;
  border-radius:16px!important;
  border-color:#c8ddf4!important;
  background:#f5f8fd!important;
  box-shadow:0 3px 12px rgba(14,72,131,.09)!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  position:relative!important;
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  border-radius:12px!important;
  flex:0 0 42px!important;
  line-height:0!important;
  overflow:hidden!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button i{
  display:none!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button::before,
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__plus::after{
  content:""!important;
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  display:block!important;
  box-sizing:border-box!important;
  width:16px!important;
  height:2.5px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:3px!important;
  background:currentColor!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:none!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__plus::after{
  transform:translate(-50%,-50%) rotate(90deg)!important;
}
.ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__value{
  display:grid!important;
  place-items:center!important;
  height:42px!important;
  min-height:42px!important;
  width:42px!important;
  padding:0!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1!important;
}
@media(max-width:575px){
  .ec-product-inner .ec-pro-content .hero-card-quantity{
    grid-template-columns:40px 40px 40px!important;
    height:50px!important;
    min-height:50px!important;
  }
  .ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__button,
  .ec-product-inner .ec-pro-content .hero-card-quantity .hero-card-quantity__value{
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
  }
}
