/*! Shop Pro 1.5.1 — mobile-only geometry and shared header control sizing. */
@media(max-width:767px){
 html body.shoppro-mobile-compact{--wp--style--root--padding-left:var(--sp-mobile-gutter,8px);--wp--style--root--padding-right:var(--sp-mobile-gutter,8px)}
 html body.shoppro-mobile-compact .wp-site-blocks{padding-inline:0!important}
 html body.shoppro-mobile-compact main{box-sizing:border-box;width:100%;max-width:100%;padding-inline:var(--sp-mobile-gutter,8px)!important;margin-top:16px!important}
 html body.shoppro-mobile-compact main > .wp-block-group.alignfull{margin-inline:0!important;padding-inline:0!important;padding-block:12px!important}
 html body.shoppro-mobile-compact main .wp-block-post-content{margin-inline:0!important;padding-inline:0!important;width:100%;max-width:100%;box-sizing:border-box}
 html body.shoppro-mobile-compact main :is(.wp-block-woocommerce-product-collection,.rivrun-products-premium-ui){max-width:100%!important;min-width:0;margin-inline:0!important;padding-inline:0!important}
 html body.shoppro-mobile-compact :is(.wc-block-product-template,.wp-block-woocommerce-product-template,ul.products):not(.rivrun-related-carousel-track){gap:var(--sp-mobile-gap,8px)!important}
 html body.shoppro-mobile-compact .wp-block-woocommerce-product-collection:not(.rivrun-related-carousel-ready) :is(.wc-block-product-template,.wp-block-woocommerce-product-template):not(.rivrun-related-carousel-track),
 html body.shoppro-mobile-compact ul.products:not(.rivrun-related-carousel-track){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-inline:0!important;padding:0!important}
 html body.shoppro-mobile-compact :is(.wc-block-product-template,.wp-block-woocommerce-product-template,ul.products) > li,
 html body.shoppro-mobile-compact .rivrun-ajax-product-card{box-sizing:border-box;min-width:0;float:none!important;width:auto!important;margin:0!important;padding:var(--sp-mobile-card-padding,4px)!important;--rr-pc-pad:var(--sp-mobile-card-padding,4px);border-radius:10px!important}
 html body.shoppro-mobile-compact :is(.wp-block-woocommerce-product-image,.wc-block-components-product-image){box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0 0 6px!important;padding:0!important;aspect-ratio:1!important;border-radius:7px!important}
 html body.shoppro-mobile-compact :is(.wp-block-woocommerce-product-image,.wc-block-components-product-image) img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important;display:block}
 html body.shoppro-mobile-compact :is(.wc-block-product-template,.wp-block-woocommerce-product-template,ul.products,.rivrun-ajax-product-card) :is(.wp-block-post-title,.woocommerce-loop-product__title){margin:6px 0!important;font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere}
 html body.shoppro-mobile-compact :is(.wc-block-product-template,.wp-block-woocommerce-product-template,ul.products,.rivrun-ajax-product-card) :is(.wp-block-woocommerce-product-price,.price){font-size:14px!important;line-height:1.45!important;margin:6px 0!important;white-space:normal!important}
 html body.shoppro-mobile-compact :is(.wc-block-product-template,.wp-block-woocommerce-product-template,ul.products,.rivrun-ajax-product-card) :is(.wp-block-woocommerce-product-button,.wc-block-components-product-button){margin:8px 0 4px!important;max-width:100%;min-height:0!important}
 html body.shoppro-mobile-compact :is(.wc-block-product-template,.wp-block-woocommerce-product-template,ul.products,.rivrun-ajax-product-card) :is(.wp-block-woocommerce-product-button,.wc-block-components-product-button,.button) :is(a,button),
 html body.shoppro-mobile-compact ul.products > li.product > a.button{box-sizing:border-box;padding:10px 8px!important;min-height:40px!important;font-size:13px!important;line-height:1.3!important;max-width:100%;white-space:normal}
 html body.shoppro-mobile-compact :is(.woocommerce-account,.woocommerce-cart,.woocommerce-checkout){max-width:100%}
 html body.shoppro-mobile-compact:is(.woocommerce-account,.woocommerce-cart,.woocommerce-checkout) main :is(.woocommerce,.rivrun-fast-checkout-wrap,.rivrun-fast-checkout-form,.wc-block-cart,.wc-block-checkout){box-sizing:border-box;width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;min-width:0}
 html body.shoppro-mobile-compact.woocommerce-checkout main :is(.ecartup-checkout-column,.entry-content,.wp-block-woocommerce-classic-shortcode){width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;min-width:0}
 html body.shoppro-mobile-compact.woocommerce-checkout main :is(#customer_details.rivrun-customer-details,.rivrun-payment-panel,.rivrun-inline-coupon,.rivrun-order-summary-card){box-sizing:border-box;width:100%!important;max-width:100%!important;padding:12px!important;margin-inline:0!important;border-radius:12px!important}
 html body.shoppro-mobile-compact.woocommerce-checkout .rivrun-checkout-reserve-timer{width:100%!important;max-width:100%!important;margin-inline:0!important}
 html body.shoppro-mobile-compact:is(.woocommerce-checkout,.woocommerce-account) main :is(input[type=text],input[type=tel],input[type=email],input[type=password],textarea,select){font-size:16px!important;box-sizing:border-box;max-width:100%}
 html body.shoppro-mobile-compact.woocommerce-account main :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword){padding:12px!important;margin-inline:0!important}
 html body.shoppro-mobile-compact.woocommerce-account main h1{font-size:28px!important;margin-block:12px!important}
 html body.shoppro-mobile-compact.woocommerce-account main h2{font-size:23px!important;margin-block:12px!important}
 html body.shoppro-mobile-compact .shoppro-bundle{margin-block:12px!important;--spb-gap:8px}
 html body.shoppro-checkout-main-header .wp-site-blocks > header.wp-block-template-part{position:sticky!important;top:var(--wp-admin--admin-bar--height,0px)!important;z-index:99990!important;transform:none!important;visibility:visible!important;opacity:1!important}
 /* Search dimensions must win over broad WooCommerce page button/input rules. */
 html body.ecartup-storefront header .ecup-v5-search.wp-block-search{min-width:0!important;width:100%!important;max-width:100%!important;margin:0!important}
 html body.ecartup-storefront header .ecup-v5-search.wp-block-search .wp-block-search__inside-wrapper{box-sizing:border-box;display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;width:100%!important;padding:3px!important;height:46px!important;overflow:hidden!important}
 html body.ecartup-storefront header .ecup-v5-search.wp-block-search .wp-block-search__input{box-sizing:border-box;flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;min-height:0!important;height:38px!important;margin:0!important;padding:0 9px!important;border:0!important;box-shadow:none!important;font-size:16px!important;line-height:normal!important}
 html body.ecartup-storefront header .ecup-v5-search.wp-block-search .wp-block-search__button{box-sizing:border-box;position:static!important;display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:0!important;transform:none!important;border-radius:8px!important;line-height:1!important}
 html body.ecartup-storefront header .ecup-v5-search.wp-block-search .wp-block-search__button svg{display:block!important;width:20px!important;height:20px!important;min-width:20px!important;flex:none!important}
 html body.ecartup-storefront .ecup-v5-header-wrap.ecup-v5-condensed .ecup-v5-search.wp-block-search .wp-block-search__inside-wrapper{height:40px!important}
 html body.ecartup-storefront .ecup-v5-header-wrap.ecup-v5-condensed .ecup-v5-search.wp-block-search :is(.wp-block-search__input,.wp-block-search__button){height:32px!important;min-height:32px!important;max-height:32px!important}
}

/* Compact account shell and related cards; portable across domains. */
html body.woocommerce-account .wp-site-blocks > main{box-sizing:border-box;width:100%;max-width:100%;margin-top:24px!important;padding-inline:clamp(12px,2.5vw,40px)!important;padding-top:0!important}
html body.woocommerce-account main > .wp-block-group.alignfull{margin-inline:0!important;padding-inline:0!important;padding-top:0!important;padding-bottom:24px!important}
html body.woocommerce-account main .wp-block-post-content{max-width:1440px!important;width:100%;margin-inline:auto!important;padding-inline:0!important;box-sizing:border-box}
html body.woocommerce-account main > .wp-block-group > .wp-block-post-title{max-width:1440px!important;margin:0 auto 20px!important}
html body.single-product :is(.wp-block-woocommerce-related-products,.related,[data-collection="woocommerce/product-collection/related"]) :is(.wp-block-post-title,.woocommerce-loop-product__title){min-height:0!important;height:auto!important;flex-grow:0!important;margin-block:6px 4px!important}
html body.single-product :is(.wp-block-woocommerce-related-products,.related,[data-collection="woocommerce/product-collection/related"]) .wp-block-shop-pro-product-stats{margin-block:0 6px!important;padding:0!important;flex-grow:0!important}
html body.single-product :is(.wp-block-woocommerce-related-products,.related,[data-collection="woocommerce/product-collection/related"]) .shoppro-product-stats{margin:0!important}
html body.single-product :is(.wp-block-woocommerce-related-products,.related,[data-collection="woocommerce/product-collection/related"]) .wp-block-woocommerce-product-price{margin-block:0 8px!important}
html body.single-product :is(.wp-block-woocommerce-related-products,.related,[data-collection="woocommerce/product-collection/related"]) [data-text-align="center"] .wc-block-components-product-price{display:block!important;text-align:center!important;margin:0!important}
@media(max-width:767px){html body.woocommerce-account .wp-site-blocks > main{margin-top:12px!important;padding-inline:8px!important}html body.woocommerce-account main > .wp-block-group.alignfull{padding-block:0 16px!important}html body.woocommerce-account main > .wp-block-group > .wp-block-post-title{margin-block:0 12px!important}}

html body.woocommerce-account main .wp-block-post-content > .woocommerce{max-width:1440px!important;width:100%!important;margin-inline:auto!important}
