/* v1.0.94 — quantity visible even when max is 1; purchase row proportional. */
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart:not(.variations_form),
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .woocommerce-variation-add-to-cart,
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart:not(.variations_form){
  display:grid!important;grid-template-columns:125px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;
}
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart .quantity:has(input.qty[type="number"]),
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart .quantity:has(input.qty[type="number"]){
  display:flex!important;grid-column:1!important;grid-row:1!important;align-items:center!important;justify-content:space-between!important;
  width:125px!important;min-width:0!important;max-width:125px!important;height:41px!important;
  margin:0!important;padding:0!important;border:1px solid #d7dde2!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important;
}
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .quantity input.qty[type="number"],
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box .quantity input.qty[type="number"]{
  display:block!important;position:static!important;visibility:visible!important;opacity:1!important;
  flex:1 1 0!important;width:35px!important;min-width:0!important;max-width:none!important;
  height:39px!important;margin:0!important;padding:0 2px!important;border:0!important;
  text-align:center!important;font-size:13px!important;appearance:textfield!important;-moz-appearance:textfield!important;
}
body.single-product .ncas-cart-wrap .quantity input.qty::-webkit-inner-spin-button,
body.single-product .ncas-cart-wrap .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .quantity .ncsm-qty-control,
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box .quantity .ncsm-qty-control{
  display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 39px!important;
  width:39px!important;height:39px!important;margin:0!important;padding:0!important;
  border:0!important;background:#fff!important;color:#33434d!important;font-size:20px!important;
  line-height:1!important;cursor:pointer!important;box-shadow:none!important;
}
body.single-product .quantity .ncsm-qty-control:disabled{opacity:.35!important;cursor:not-allowed!important}
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart button.single_add_to_cart_button,
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart button.single_add_to_cart_button{
  display:inline-flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:100%!important;min-height:41px!important;height:41px!important;margin:0!important;
}
/* Only a genuinely absent numeric quantity field allows the buy button to take the entire row. */
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity input.qty[type="number"])),
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart:not(.variations_form):not(:has(.quantity input.qty[type="number"])),
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity input.qty[type="number"])){grid-template-columns:minmax(0,1fr)!important}
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity input.qty[type="number"])) button.single_add_to_cart_button,
body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart:not(.variations_form):not(:has(.quantity input.qty[type="number"])) button.single_add_to_cart_button,
body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity input.qty[type="number"])) button.single_add_to_cart_button{grid-column:1!important}
@media(max-width:560px){
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart .quantity:has(input.qty[type="number"]),
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart .quantity:has(input.qty[type="number"]){width:110px!important;max-width:110px!important;height:41px!important}
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap form.cart:not(.variations_form),
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .woocommerce-variation-add-to-cart,
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box form.cart:not(.variations_form){grid-template-columns:110px minmax(0,1fr)!important}
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncas-cart-wrap .quantity .ncsm-qty-control,
 body.single-product.ncsm-theme .ncsm-single-product-shell .ncss-purchase-box .quantity .ncsm-qty-control{flex-basis:34px!important;width:34px!important}
}
