/* SpeedX / 2027 product PDP polish — inactive child theme only.
   Keeps native WooCommerce variants, totals and checkout functionality. */
body.sx-modern.single-product .sx-product-page{padding-top:0;padding-bottom:76px;background:#fff}
body.sx-modern.single-product .elementor-1643{
 --sx-pdp-text:#18242b;--sx-pdp-muted:#657078;
}
body.sx-modern.single-product .elementor-1643 .elementor-element-280e391a>.elementor-container{
 display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)!important;
 gap:clamp(24px,3.5vw,58px)!important;align-items:start!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-element-3f8b9609,
body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308{float:none!important;width:100%!important;max-width:none!important;min-width:0!important}
body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308 > .elementor-widget-wrap > .elementor-element{
 margin-bottom:13px!important;
}
body.sx-modern.single-product :is(.product_title,.elementor-1643 .product_title){
 font:800 clamp(33px,3.15vw,49px)/1.06 var(--sx-display)!important;
 letter-spacing:-.017em!important;color:#1c252b!important;
 margin:0 0 10px!important;max-width:23ch;
}
body.sx-modern.single-product :is(.summary .price,.elementor-1643 .woocommerce-product-details__short-description){
 margin-top:0!important;
}
body.sx-modern.single-product .woocommerce div.product :is(p.price,span.price),
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price .price{
 color:#1b262d!important;font:800 clamp(24px,2.3vw,29px)/1.28 var(--sx-body)!important;
 margin:0 0 10px!important;
}
body.sx-modern.single-product .woocommerce-product-gallery:not(.swiper-slide),
body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery:not(.swiper-slide){
 border-radius:4px;overflow:visible;margin:0 0 16px!important;
}
body.sx-modern.single-product .woocommerce-product-gallery__wrapper,
body.sx-modern.single-product .woocommerce-product-gallery__image{
 background:#f2f3f1!important;
}
body.sx-modern.single-product .woocommerce-product-gallery__image img{
 margin:0 auto!important;object-fit:contain!important;object-position:center!important;
 background:#f2f3f1!important;
}
body.sx-modern.single-product .woocommerce-product-gallery .flex-control-thumbs,
body.sx-modern.single-product .woocommerce-product-gallery .flex-control-nav{
 margin:10px 0 0!important;padding:0!important;
}
body.sx-modern.single-product .woocommerce-product-gallery .flex-control-thumbs li,
body.sx-modern.single-product .woocommerce-product-gallery .flex-control-nav li{
 overflow:hidden;border:1px solid #dce1df;border-radius:3px;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-details__short-description,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description{
 color:#5a6670!important;font:500 13px/1.65 var(--sx-body)!important;margin:0 0 13px!important;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-details__short-description p{
 margin-bottom:8px!important;
}
body.sx-modern.single-product .woocommerce div.product form.cart,
body.sx-modern.single-product .elementor-1643 form.cart.sx-premium-purchase{
 margin:9px 0 10px!important;min-width:0!important;max-width:100%!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations{
 margin:0 0 10px!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations td,
body.sx-modern.single-product .elementor-1643 form.cart .variations th{
 padding:5px 0!important;
}
body.sx-modern.single-product .elementor-1643 form.cart .variations select{
 min-height:48px!important;border:1px solid #ccd5d3!important;border-radius:4px!important;
 color:#27313a!important;padding:9px 13px!important;
 font:600 14px var(--sx-body)!important;
}
body.sx-modern.single-product .elementor-1643 .sx-funnel-size-shortcut{margin:0 0 9px!important}
body.sx-modern.single-product .elementor-1643 .sx-funnel-size-shortcut a{font-size:12px!important}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart{
 display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;
 gap:9px!important;width:100%!important;margin:0!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .quantity{
 flex:0 0 108px!important;max-width:108px!important;min-width:0!important;
 min-height:50px!important;margin:0!important;align-self:stretch!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .single_add_to_cart_button{
 flex:1 1 180px!important;width:auto!important;max-width:none!important;
 min-height:52px!important;margin:0!important;
 background:#1d2931!important;border-radius:4px!important;
 color:#fff!important;font:800 12px/1.3 var(--sx-body)!important;
 letter-spacing:.055em!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .sx-buy-now{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:none!important;flex:0 0 100%!important;
 min-height:52px!important;margin:0!important;
 background:#d32c34!important;border-color:#d32c34!important;border-radius:4px!important;
 font:800 12px/1.3 var(--sx-body)!important;letter-spacing:.055em!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .sx-buy-now:hover{
 background:#b62028!important;border-color:#b62028!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .sx-buy-now:disabled,
body.sx-modern.single-product form.cart.sx-premium-purchase .single_add_to_cart_button:disabled{
 opacity:.52!important;cursor:not-allowed!important;
}
/* The customer sees only a concise, collapsible guide after the buy controls. */
body.sx-modern.single-product .sx-funnel{
 margin:18px 0 28px!important;background:#f9faf9!important;
 border:1px solid #e2e7e4!important;box-shadow:none!important;
}
body.sx-modern.single-product .sx-funnel-heading{
 padding:15px 18px 14px!important;
}
body.sx-modern.single-product .sx-funnel-heading>span{font:800 10px var(--sx-body)!important;letter-spacing:.11em!important}
body.sx-modern.single-product .sx-funnel-heading h3{
 font:800 17px/1.3 var(--sx-body)!important;letter-spacing:-.02em!important;
}
body.sx-modern.single-product .sx-funnel-detail>summary{
 padding:13px 17px!important;min-height:48px!important;
 font:750 13px/1.4 var(--sx-body)!important;
}
body.sx-modern.single-product .sx-funnel-detail-label{display:none!important}
body.sx-modern.single-product .sx-funnel-detail-body{padding:0 17px 14px!important}
body.sx-modern.single-product .sx-funnel-support{padding:13px 17px!important}
/* Clean related-products shelf: photograph, product title, price — no taxonomy,
   category directory, secondary controls or legacy quick actions. */
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related){
 margin-top:39px!important;min-width:0!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.product-categories,.product-category,.product-cat,.product-cats,.product-category-list,.categories-list,.category-list,.product-categories-list,.product-taxonomies,.product-terms,.products-cats,.products-categories,.et_product-category,.product-category-label,.product-category-title){
 display:none!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) .product-details > :is(a.button,.button,.btn,.sx-catalogue-choose),
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.footer-product,.product-quick-view,.quick-view,.show-quickly,.add_to_cart_button,.button.product_type_variable,.product-details .product-brand){
 display:none!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.product-title,.woocommerce-loop-product__title,.product-details h2,.product-details h3){
 display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;
 overflow:hidden!important;min-height:0!important;height:auto!important;
 color:#212b32!important;font:700 13px/1.44 var(--sx-body)!important;
 text-align:left!important;text-transform:none!important;letter-spacing:-.01em!important;
 margin:11px 0 9px!important;padding:0!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.price,.price .amount,.price bdi){
 color:#1a252d!important;font:800 15px/1.38 var(--sx-body)!important;
 text-align:left!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.product-image-wrapper,.product-content-image){
 background:#f1f3f2!important;overflow:hidden!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) .product-image-wrapper img{
 display:block!important;width:100%!important;max-height:310px!important;
 object-fit:contain!important;background:#f1f3f2!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.content-product,.product-details){
 background:#fff!important;box-shadow:none!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) .product-details{
 padding:10px 0 10px!important;text-align:left!important;
 display:flex!important;flex-direction:column!important;min-height:0!important;
}
body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.products-grid .product,.products .product){
 min-height:0!important;height:auto!important;border:0!important;
}
/* If XStore's related shelf uses taxonomy text in a plain product categories
   span, hide only those category anchors, leaving the linked product title. */
body.sx-modern.single-product .related-products .product-details > :is(.categories,.category,.product-meta,.products-page-cats){
 display:none!important;
}
@media(max-width:900px){
 body.sx-modern.single-product .elementor-1643 .elementor-element-280e391a>.elementor-container{
  grid-template-columns:minmax(0,1fr)!important;gap:11px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308 > .elementor-widget-wrap{
  padding:0!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308 > .elementor-widget-wrap > .elementor-element{
  margin-bottom:10px!important;
 }
 body.sx-modern.single-product :is(.product_title,.elementor-1643 .product_title){
  font-size:clamp(30px,7.2vw,39px)!important;line-height:1.08!important;
  max-width:30ch;
 }
 body.sx-modern.single-product .woocommerce-product-gallery__image img{
  max-height:500px!important;
 }
 body.sx-modern.single-product .sx-funnel-heading{padding:13px 15px!important}
 body.sx-modern.single-product .sx-funnel-detail>summary{padding:12px 15px!important}
 body.sx-modern.single-product .sx-funnel-detail-body{padding:0 15px 13px!important}
 body.sx-modern.single-product .sx-funnel-support{padding:12px 15px!important}
}
@media(max-width:520px){
 body.sx-modern.single-product .elementor-1643 .elementor-element-280e391a>.elementor-container{
  gap:9px!important;
 }
 body.sx-modern.single-product :is(.product_title,.elementor-1643 .product_title){font-size:clamp(29px,7.25vw,35px)!important}
 body.sx-modern.single-product .woocommerce-product-gallery__image img{max-height:430px!important}
 body.sx-modern.single-product .sx-product-page .sx-container{width:calc(100% - 32px)!important}
 body.sx-modern.single-product form.cart.sx-premium-purchase .quantity{flex:0 0 100px!important;max-width:100px!important}
 body.sx-modern.single-product form.cart.sx-premium-purchase .single_add_to_cart_button{flex:1 1 150px!important}
 body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) :is(.product-title,.woocommerce-loop-product__title,.product-details h2,.product-details h3){
  font-size:12px!important;line-height:1.4!important;
 }
 body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) .product-details{padding:8px 2px 10px!important}
 body.sx-modern.single-product :is(.related-products,.related.products,.elementor-widget-woocommerce-product-etheme_related) .product-image-wrapper img{max-height:240px!important}
}


/* FINAL V4 OVERRIDES: last-loaded only in the inactive theme draft.
   Prefer a Shopify-like clear product title, not the oversized condensed version. */
body.sx-modern.single-product .elementor-1643 :is(.product_title,h1.product_title),
body.sx-modern.single-product .woocommerce div.product .product_title{
 font:750 clamp(30px,3.1vw,44px)/1.12 var(--sx-body)!important;
 letter-spacing:-.035em!important;text-wrap:balance!important;
 color:#18252d!important;max-width:26ch!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description{
 margin:0 0 10px!important;
}
body.sx-modern.single-product .woocommerce-variation.single_variation{
 min-height:0!important;margin:0 0 8px!important;padding:0!important;
}
body.sx-modern.single-product .woocommerce-variation.single_variation:empty{display:none!important}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart{
 margin-top:5px!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase button.sx-buy-now{
 flex-basis:100%!important;width:100%!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase button.sx-buy-now :is(svg,i,span[aria-hidden="true"]){display:none!important}
/* Undo a conflicting older draft rule that hid XStore related items without
   rendering an alternative. The 2027 minimal-card treatment is applied below. */
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_related,
body.sx-modern.single-product .woocommerce .related.products:not(.sx-related-clean),
body.sx-modern.single-product .related-products:not(.sx-related-clean){
 display:block!important;visibility:visible!important;
}
body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) :is(
 .products-page-cats,.products-page-cats *,
 .product-categories,.product-categories *,
 .product-category,.product-category *,
 .product-cats,.product-cats *,
 .product-brand,.product-brand *,
 .product-excerpt,.product-excerpt *,
 .product-meta,.product-meta *,
 .categories-list,.categories-list *,
 .category-list,.category-list *,
 .product-taxonomies,.product-taxonomies *,
 .footer-product,.footer-product *,
 .add_to_cart_button,.added_to_cart,.button.product_type_variable,
 .product-details .button,.product-details .btn,
 .star-rating,.rating-count,.sku_wrapper,.show-quickly,.xstore-wishlist
){display:none!important;}
body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) .product-details{
 min-height:0!important;height:auto!important;
 display:flex!important;flex-direction:column!important;
 align-items:stretch!important;text-align:left!important;
 padding:10px 5px 13px!important;
}
body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) :is(
 .product-title,.woocommerce-loop-product__title,.product-details h2,.product-details h3
){
 display:-webkit-box!important;-webkit-line-clamp:3!important;
 -webkit-box-orient:vertical!important;overflow:hidden!important;
 font:700 13px/1.44 var(--sx-body)!important;
 margin:0 0 8px!important;min-height:0!important;height:auto!important;
 letter-spacing:-.01em!important;text-transform:none!important;text-align:left!important;
 color:#212c33!important;
}
body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) .price,
body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) .price :is(bdi,.amount){
 font:800 15px/1.36 var(--sx-body)!important;
 color:#16242c!important;text-align:left!important;
}
body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) .product-image-wrapper img{
 width:100%!important;height:auto!important;max-height:285px!important;
 object-fit:contain!important;object-position:center!important;
}
@media(max-width:767px){
 body.sx-modern.single-product .elementor-1643 :is(.product_title,h1.product_title),
 body.sx-modern.single-product .woocommerce div.product .product_title{
  font-size:clamp(28px,6.8vw,36px)!important;
  line-height:1.15!important;max-width:none!important;
 }
 body.sx-modern.single-product .woocommerce-product-gallery__image img{max-height:465px!important}
 body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308 > .elementor-widget-wrap > .elementor-element{
  margin-bottom:10px!important;
 }
 body.sx-modern.single-product :is(.elementor-widget-woocommerce-product-etheme_related,.related-products,.related.products) :is(
 .product-title,.woocommerce-loop-product__title,.product-details h2,.product-details h3
 ){font-size:12px!important}
}
/* END FINAL V4 OVERRIDES */

/* SX 2027 PDP / GALLERY ALIGNMENT V6 — restored native XStore Swiper geometry
   XStore renders *each slide itself* as .swiper-slide.woocommerce-product-gallery
   .woocommerce-product-gallery__wrapper. Do NOT set width, max-width,
   flex-basis, margin-inline, or transform on these slide elements. Swiper
   computes their width and translateX when the image or thumbnail changes. */
body.sx-modern.single-product .elementor-1643 .swiper-entry.swipers-couple-wrapper.images-wrapper{
 background:#fff!important;border-radius:4px!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-top .swiper-slide.woocommerce-product-gallery,
body.sx-modern.single-product .elementor-1643 .swiper-control-top .swiper-slide.woocommerce-product-gallery__wrapper{
 background:#fff!important;border:0!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-top .swiper-slide .woocommerce-product-gallery__image{
 display:block!important;position:relative!important;
 width:100%!important;max-width:100%!important;
 background:#fff!important;border-radius:4px!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-top .swiper-slide .woocommerce-product-gallery__image > a{
 display:block!important;width:100%!important;
 margin:0!important;padding:0!important;background:#fff!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-top .swiper-slide .woocommerce-product-gallery__image img:not(.zoomImg){
 display:block!important;width:100%!important;max-width:100%!important;
 height:auto!important;max-height:none!important;
 padding:0!important;margin:0 auto!important;
 object-fit:contain!important;object-position:center center!important;
 background:#fff!important;border:0!important;
}
/* Subdued neutral thumbnail row; its slides retain Swiper-calculated widths. */
body.sx-modern.single-product .elementor-1643 .swiper-control-bottom{
 margin-top:9px!important;background:#fff!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-bottom .thumbnail-item img{
 display:block!important;max-width:100%!important;height:auto!important;
 object-fit:contain!important;background:#fff!important;
 opacity:1!important;filter:none!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-bottom .thumbnail-item{
 border:1px solid #e0e5e2!important;border-radius:3px!important;
 background:#fff!important;overflow:hidden!important;
}
body.sx-modern.single-product .elementor-1643 .swiper-control-bottom .thumbnail-item.swiper-slide-thumb-active,
body.sx-modern.single-product .elementor-1643 .swiper-control-bottom .thumbnail-item.active{
 border:2px solid #c82d35!important;
}
@media(max-width:600px){
 body.sx-modern.single-product .elementor-1643 .swiper-entry.swipers-couple-wrapper.images-wrapper{
  background:#fff!important;
 }
 body.sx-modern.single-product .elementor-1643 .swiper-control-top .swiper-slide .woocommerce-product-gallery__image img:not(.zoomImg){
  width:100%!important;height:auto!important;max-height:none!important;
 }
}
/* Purchase controls: one intentional row for quantity + Add to Cart,
   with Buy Now spanning the row beneath. Do not touch event handlers. */
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart {
 display:grid!important;
 grid-template-columns:142px minmax(0,1fr)!important;
 column-gap:12px!important;row-gap:10px!important;
 align-items:stretch!important;justify-content:stretch!important;
 width:100%!important;max-width:100%!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity {
 position:relative!important;grid-column:1!important;grid-row:1!important;
 display:flex!important;flex:initial!important;flex-shrink:0!important;
 align-items:stretch!important;justify-content:space-between!important;
 width:142px!important;min-width:142px!important;max-width:142px!important;
 height:52px!important;min-height:52px!important;
 margin:0!important;padding:0!important;
 border:1px solid #cad3cf!important;border-radius:4px!important;
 overflow:hidden!important;background:#fff!important;
 box-sizing:border-box!important;float:none!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(.minus,.plus) {
 position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:40px!important;min-width:40px!important;max-width:40px!important;
 height:50px!important;min-height:50px!important;
 margin:0!important;padding:0!important;line-height:1!important;
 background:#f2f5f3!important;border:0!important;border-radius:0!important;
 font:700 18px/1 var(--sx-body)!important;color:#27343b!important;
 opacity:1!important;visibility:visible!important;
 transform:none!important;box-shadow:none!important;float:none!important;
 cursor:pointer!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(.minus,.plus):hover {
 background:#e7ece9!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(input.qty,input[type="number"]) {
 position:static!important;flex:1 1 60px!important;
 display:block!important;width:60px!important;min-width:0!important;max-width:none!important;
 height:50px!important;min-height:50px!important;
 margin:0!important;padding:0 3px!important;line-height:50px!important;
 border:0!important;border-left:1px solid #e0e6e1!important;
 border-right:1px solid #e0e6e1!important;border-radius:0!important;
 background:#fff!important;color:#1d2930!important;text-align:center!important;
 font:700 15px/50px var(--sx-body)!important;
 box-shadow:none!important;outline-offset:-2px!important;float:none!important;
 appearance:textfield!important;-moz-appearance:textfield!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .quantity input.qty::-webkit-inner-spin-button,
body.sx-modern.single-product form.cart.sx-premium-purchase .quantity input.qty::-webkit-outer-spin-button {
 -webkit-appearance:none!important;margin:0!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > button.single_add_to_cart_button {
 grid-column:2!important;grid-row:1!important;align-self:stretch!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 min-height:52px!important;height:52px!important;
 padding:9px 15px!important;margin:0!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 font:800 12px/1.25 var(--sx-body)!important;
 background:#1a262e!important;border-radius:4px!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > button.sx-buy-now {
 grid-column:1 / -1!important;grid-row:2!important;
 display:flex!important;justify-content:center!important;align-items:center!important;
 width:100%!important;max-width:none!important;min-height:52px!important;
 height:52px!important;margin:0!important;padding:11px 15px!important;
}
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > :is(.wcpay-express-checkout-wrapper,.wc-stripe-payment-request-wrapper) {
 grid-column:1 / -1!important;
}
/* Match the style for simple products too, where Woo may not output a
   variation-add-to-cart wrapper. */
body.sx-modern.single-product form.cart.sx-premium-purchase:not(.variations_form) > .quantity{
 display:inline-flex!important;align-items:center!important;
 min-height:52px!important;width:142px!important;max-width:142px!important;
 margin:0 10px 0 0!important;
}
/* Mobile: do not squeeze the plus/minus glyphs or overlap the CTA. */
@media(max-width:600px) {
 body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery__image img {
  width:100%!important;max-width:100%!important;
  height:auto!important;max-height:none!important;
 }
 body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery:not(.swiper-slide) {
  margin:0 0 15px!important;
 }
 body.sx-modern.single-product .elementor-1643 .flex-control-thumbs > li,
 body.sx-modern.single-product .elementor-1643 .flex-control-nav.flex-control-thumbs > li {
  flex-basis:63px!important;width:63px!important;height:63px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart {
  grid-template-columns:126px minmax(0,1fr)!important;
  column-gap:9px!important;row-gap:9px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity {
  width:126px!important;min-width:126px!important;max-width:126px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(.minus,.plus) {
  min-width:33px!important;max-width:33px!important;width:33px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(input.qty,input[type="number"]) {
  min-width:0!important;width:58px!important;flex:1 1 58px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > button.single_add_to_cart_button{
  min-width:0!important;font-size:11px!important;padding:9px 5px!important;
 }
}
@media(max-width:350px) {
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart {
  grid-template-columns:112px minmax(0,1fr)!important;column-gap:7px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity {
  width:112px!important;min-width:112px!important;max-width:112px!important;
 }
 body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(.minus,.plus){width:29px!important;min-width:29px!important;max-width:29px!important}
}
/* Keep quantity limits clear: the minus button can be unavailable at 1. */
body.sx-modern.single-product form.cart.sx-premium-purchase .woocommerce-variation-add-to-cart > .quantity :is(.minus,.plus):disabled{
 opacity:.36!important;cursor:not-allowed!important;
}
/* Expanded image stays responsive on small screens, without clipping edges. */
body.sx-modern.single-product .elementor-1643 .woocommerce-product-gallery img:not(.zoomImg){
 max-width:100%!important;object-fit:contain!important;
}

/* Compact SpeedX-Crafts-style order information hierarchy. XStore Elementor
   widgets sometimes carry large default spacing that separated title, price
   and description by an entire screen on mobile. */
body.sx-modern.single-product .elementor-1643 .elementor-element-1c329308 > .elementor-widget-wrap {
 align-content:flex-start!important;align-items:stretch!important;
 justify-content:flex-start!important;
 gap:0!important;row-gap:0!important;
 padding:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_title,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_add_to_cart{
 height:auto!important;min-height:0!important;
 flex:0 0 auto!important;align-self:stretch!important;
 padding:0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_title{
 margin:0 0 15px!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price{
 margin:0 0 15px!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description{
 margin:0 0 16px!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_add_to_cart{
 margin:4px 0 0!important;
}
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_title .elementor-widget-container,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price .elementor-widget-container,
body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description .elementor-widget-container{
 margin:0!important;padding:0!important;min-height:0!important;height:auto!important;
}
body.sx-modern.single-product .elementor-1643 .woocommerce-product-details__short-description :is(p,ul) {
 margin-top:0!important;margin-bottom:9px!important;
}
@media(max-width:767px){
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_title{
  margin-bottom:12px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_price{
  margin-bottom:13px!important;
 }
 body.sx-modern.single-product .elementor-1643 .elementor-widget-woocommerce-product-etheme_short_description{
  margin-bottom:13px!important;
 }
}
/* END SX 2027 PDP MOBILE PHOTO AND QUANTITY ALIGNMENT */

/* Keep related-product images free of XStore hover controls. */
body.single-product .related-products .images-slider-wrapper > .sm-arrow {
    display: none !important;
}
