/* Loaded only on WooCommerce single-product pages. No homepage or shop selectors. */
body.single-product .spacr-pd-customer-frame{width:250px;max-width:100%;height:320px;aspect-ratio:25/32;margin:0 auto 20px;overflow:hidden}
body.single-product .spacr-pd-customer-frame a{display:block;width:100%;height:100%}
body.single-product .spacr-pd-customer-frame img{display:block;width:100%;height:100%;object-fit:cover}
body.single-product .spacr-pd-shipping-info{margin:16px 0 0;padding:12px 0;border-top:1px solid #eee;line-height:1.8;font-size:14px;clear:both}
body.single-product .spacr-pd-buy-now{margin-left:8px}
body.single-product .spacr-pd-gallery{clear:both;width:100%;margin:28px 0 34px}
body.single-product .spacr-pd-gallery-viewport{overflow:hidden;width:100%}
body.single-product .spacr-pd-gallery-track{display:flex;gap:14px;transition:transform .35s ease;will-change:transform}
body.single-product .spacr-pd-gallery-item{flex:0 0 calc(50% - 7px);min-width:0}
body.single-product .spacr-pd-gallery-item img{display:block;width:100%;aspect-ratio:5/3;object-fit:cover}
body.single-product .spacr-pd-gallery-controls{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}
body.single-product .spacr-pd-gallery-controls button{width:38px;height:38px;border:1px solid #ddd;background:#fff;color:#222;cursor:pointer;font-size:20px;line-height:1}
body.single-product .spacr-pd-gallery-controls button:hover{background:#222;color:#fff}
body.single-product .spacr-pd-return-policy{line-height:1.7}
@media(max-width:767px){body.single-product .spacr-pd-customer-frame{width:min(250px,100%);height:auto;aspect-ratio:25/32;margin:0 auto 16px}body.single-product .spacr-pd-shipping-info{font-size:13px}body.single-product .spacr-pd-gallery-item{flex-basis:calc(50% - 7px)}}


/* Product-page purchase controls: quantity, Buy It Now, then native Add to Cart. */
body.single-product .summary form.cart .spacr-pd-purchase-stack{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px;width:100%;clear:both}
body.single-product .summary form.cart .spacr-pd-purchase-stack .quantity{display:inline-flex;align-items:center;align-self:flex-start;float:none!important;margin:0!important;vertical-align:middle}
body.single-product .spacr-pd-qty-control{display:inline-flex;align-items:center;gap:0;border:1px solid #ddd;height:40px}
body.single-product .spacr-pd-qty-control .spacr-pd-qty-btn{width:32px;height:38px;padding:0;border:0;background:#f7f7f7;color:#222;font-size:19px;line-height:1;cursor:pointer}
body.single-product .spacr-pd-qty-control input.qty{width:48px!important;height:38px!important;min-height:38px;padding:0 4px!important;margin:0!important;border:0!important;border-left:1px solid #eee!important;border-right:1px solid #eee!important;text-align:center;box-shadow:none}
body.single-product .spacr-pd-qty-control input.qty::-webkit-inner-spin-button,
body.single-product .spacr-pd-qty-control input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.single-product .spacr-pd-qty-control input.qty{appearance:textfield;-moz-appearance:textfield}
body.single-product .summary form.cart .spacr-pd-purchase-stack .spacr-pd-buy-now,
body.single-product .summary form.cart .spacr-pd-purchase-stack button.single_add_to_cart_button{display:block!important;position:static!important;float:none!important;clear:both;width:100%;max-width:100%;margin:0!important;order:initial!important}
body.single-product .summary form.cart .spacr-pd-purchase-stack .quantity{order:0!important}
/* Remove wishlist controls from the single-product content only. Do not affect header wishlist or other pages. */
body.single-product div.product .summary .yith-wcwl-add-to-wishlist,
body.single-product div.product .summary .yith-wcwl-add-button,
body.single-product div.product .summary a.add_to_wishlist,
body.single-product div.product .summary .tinv-wraper,
body.single-product div.product .summary .woosw-btn,
body.single-product div.product .summary .add-to-wishlist,
body.single-product div.product .summary .wishlist-button,
body.single-product div.product .summary .yith-wcwl-add-to-wishlist-button,
body.single-product div.product .summary .tinvwl_add_to_wishlist_button,
body.single-product div.product .summary .woosw-btn-add{display:none!important}
/* The actual Envo/Entr sidebar is aside#sidebar. Remove only the YITH Compare widget; preserve Cart, Search and Products widgets. */
body.single-product aside#sidebar #yith-woocompare-widget-1,
body.single-product aside#sidebar .yith-woocompare-widget,
body.single-product aside#sidebar .widget_yith-woocompare-widget,
body.single-product aside#sidebar .yith-woocompare-widget-wrapper,
body.single-product aside#sidebar .compare-widget,
body.single-product aside#sidebar .widget_compare{display:none!important}
