/* v2.4.9: targeted mobile single product + mobile header search only */
@media (max-width:760px){
 body.single-product .ncsm-single-product-shell div.product .summary .product_title,
 body.single-product .ncsm-single-product-shell div.product .summary h1.product_title{
  font-size:19px!important;line-height:1.31!important;font-weight:520!important;
  letter-spacing:-.019em!important;
 }
 .ncsm-mobile-market-search .ncsm-header-search{
  height:39px!important;min-height:39px!important;
  padding:0 41px 0 12px!important;
 }
 .ncsm-mobile-market-search .ncsm-search-icon{display:none!important}
 .ncsm-mobile-market-search .ncsm-header-search input[type=search]{height:38px!important;line-height:38px!important;font-size:12.5px!important;padding:0!important}
 .ncsm-mobile-market-search .ncsm-search-submit{height:39px!important;width:40px!important;min-height:39px!important}
 .ncsm-mobile-market-search{padding-top:5px!important;padding-bottom:7px!important}
}
@media (max-width:560px){
 body.ncsm-theme.single-product .ncas-cart-wrap form.cart:not(.variations_form),
 body.ncsm-theme.single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart,
 body.ncsm-theme.single-product .ncss-purchase-box form.cart:not(.variations_form){
   display:grid!important;grid-template-columns:124px minmax(0,1fr)!important;
   gap:9px!important;align-items:center!important;width:100%!important;
 }
 body.ncsm-theme.single-product .ncas-cart-wrap form.cart:not(.variations_form) .quantity,
 body.ncsm-theme.single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .quantity,
 body.ncsm-theme.single-product .ncss-purchase-box form.cart:not(.variations_form) .quantity,
 body.ncsm-theme.single-product .ncas-cart-wrap .quantity:has(input.qty[type="number"]){
  grid-column:1!important;grid-row:1!important;
  display:flex!important;align-items:center!important;
  width:124px!important;min-width:124px!important;max-width:124px!important;
  flex:0 0 124px!important;height:43px!important;min-height:43px!important;
  padding:0!important;margin:0!important;box-sizing:border-box!important;
 }
 body.ncsm-theme.single-product .ncas-cart-wrap .quantity .nch-qty-step,
 body.ncsm-theme.single-product .ncss-purchase-box .quantity .nch-qty-step{
  width:35px!important;min-width:35px!important;flex:0 0 35px!important;
  height:41px!important;line-height:41px!important;
 }
 body.ncsm-theme.single-product .ncas-cart-wrap .quantity input.qty,
 body.ncsm-theme.single-product .ncss-purchase-box .quantity input.qty{
  display:block!important;visibility:visible!important;opacity:1!important;
  flex:1 1 52px!important;width:52px!important;min-width:38px!important;max-width:none!important;
  height:41px!important;min-height:41px!important;padding:0!important;margin:0!important;
  background:transparent!important;color:#182332!important;-webkit-text-fill-color:#182332!important;
  font-size:15px!important;font-weight:650!important;text-align:center!important;
 }
 body.ncsm-theme.single-product .ncas-cart-wrap form.cart .single_add_to_cart_button,
 body.ncsm-theme.single-product .ncss-purchase-box form.cart .single_add_to_cart_button,
 body.ncsm-theme.single-product .summary form.cart .single_add_to_cart_button{
  grid-column:2!important;grid-row:1!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;
  max-width:100%!important;height:43px!important;min-height:43px!important;max-height:43px!important;
  margin:0!important;padding:0 10px!important;
  border:2px solid var(--ncsm-primary,#c1121f)!important;border-radius:9px!important;background:#fff!important;
  color:var(--ncsm-primary,#c1121f)!important;-webkit-text-fill-color:var(--ncsm-primary,#c1121f)!important;
  font-size:13.5px!important;font-weight:600!important;white-space:nowrap!important;
 }
 body.ncsm-theme.single-product .ncas-cart-wrap form.cart .single_add_to_cart_button::before,
 body.ncsm-theme.single-product .ncss-purchase-box form.cart .single_add_to_cart_button::before,
 body.ncsm-theme.single-product .summary form.cart .single_add_to_cart_button::before{
  content:""!important;display:inline-block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;
  background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.6 13.4a2 2 0 002 1.6h9.7a2 2 0 002-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.6 13.4a2 2 0 002 1.6h9.7a2 2 0 002-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat!important;
 }
 body.ncsm-theme.single-product .ncas-cart-wrap form.cart .single_add_to_cart_button:hover,
 body.ncsm-theme.single-product .ncss-purchase-box form.cart .single_add_to_cart_button:hover{background:#fff5f5!important;color:var(--ncsm-primary,#c1121f)!important;-webkit-text-fill-color:var(--ncsm-primary,#c1121f)!important}
}

/* v2.5.0: single-product mobile purchase row only. Quantity unchanged. */
@media(max-width:560px){
 body.ncsm-theme.single-product .ncsm-single-product-shell .ncas-cart-wrap form.cart:not(.variations_form),
 body.ncsm-theme.single-product .ncsm-single-product-shell .ncas-cart-wrap .woocommerce-variation-add-to-cart,
 body.ncsm-theme.single-product .ncsm-single-product-shell .ncss-purchase-box form.cart:not(.variations_form){
   display:grid!important;
   grid-template-columns:124px minmax(0,1fr)!important;
   column-gap:14px!important;
   row-gap:10px!important;
   width:100%!important;
   align-items:center!important;
 }
 body.ncsm-theme.single-product .ncsm-single-product-shell .ncas-cart-wrap form.cart .single_add_to_cart_button,
 body.ncsm-theme.single-product .ncsm-single-product-shell .ncas-cart-wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button,
 body.ncsm-theme.single-product .ncsm-single-product-shell .ncss-purchase-box form.cart .single_add_to_cart_button,
 body.ncsm-theme.single-product .ncsm-single-product-shell .summary form.cart button.single_add_to_cart_button{
   grid-column:2!important;grid-row:1!important;
   justify-self:stretch!important;align-self:center!important;
   display:inline-flex!important;align-items:center!important;justify-content:center!important;
   flex:1 1 auto!important;
   width:100%!important;min-width:0!important;max-width:none!important;
   height:43px!important;min-height:43px!important;max-height:43px!important;
   margin:0!important;padding:0 12px!important;box-sizing:border-box!important;
   background:#fff!important;border:2px solid var(--ncsm-primary,#c1121f)!important;border-radius:9px!important;
   color:var(--ncsm-primary,#c1121f)!important;-webkit-text-fill-color:var(--ncsm-primary,#c1121f)!important;
 }
}


/* v2.5.2: mobile single-product card polish — title inside card, lighter price rhythm */
@media (max-width:760px){
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .product_title,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .product_title{
  display:block!important;
  font-size:18px!important;
  line-height:1.26!important;
  font-weight:520!important;
  letter-spacing:-.018em!important;
  margin:0 0 12px!important;
  color:#1f2f3e!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box{
  padding-top:15px!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .price,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .price{
  display:block!important;
  font-size:17px!important;
  line-height:1.1!important;
  margin:0 0 10px!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .price .amount,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .price .amount{
  font-size:17px!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .ncas-short-description,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .ncas-short-description,
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .woocommerce-product-details__short-description,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .woocommerce-product-details__short-description{
  margin:10px 0 14px!important;
  padding:0!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .stock,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .stock{
  margin:0 0 10px!important;
 }
}

/* v2.5.3 — polished mobile purchase card, without changing purchase controls. */
@media(max-width:760px){
 body.single-product .ncsm-single-product-shell .ncas-purchase-box,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box{
   padding:18px 17px 17px!important;
   border-radius:17px!important;
   border-color:#e5e9ed!important;
   background:#f9fafb!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .product_title,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .product_title{
   font-size:18px!important;line-height:1.32!important;font-weight:500!important;
   margin:0 0 17px!important;padding:0 0 14px!important;
   border-bottom:1px solid #e6e9ec!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-price-row{
   margin:0 0 12px!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-price-row .price,
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .price,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .price{
   margin:0 0 10px!important;line-height:1.25!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .ncas-short-description,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .ncas-short-description{
   margin:12px 0 16px!important;line-height:1.65!important;
   color:#687583!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .ncas-short-description p,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .ncas-short-description p{
   margin:0!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-box .stock,
 body.single-product .ncsm-single-product-shell .ncss-purchase-box .stock{
   margin:0 0 13px!important;
 }
 body.single-product .ncsm-single-product-shell .ncas-purchase-benefits{
   margin-top:16px!important;padding-top:13px!important;
   border-top:1px solid #e6e9ec!important;
   line-height:1.7!important;
 }
}
