@media screen and (max-width:767px){
.pps-desktop-home{display:none!important}
.pps-mobile-home{display:block!important;box-sizing:border-box;width:100%;max-width:100%;padding:12px 4px 20px;color:inherit}
.pps-search{display:flex;gap:6px;margin:0 0 12px;width:100%}
.pps-search input[type=search]{flex:1;min-width:0;width:100%;height:44px;border:1px solid #ccc;border-radius:8px;padding:8px 10px;font-size:16px;background:#fff;color:#222;box-sizing:border-box}
.pps-search button,.pps-all{background:#262626;color:#fff;border:0;border-radius:8px;padding:10px 13px;font-size:14px;text-decoration:none;min-height:44px;box-sizing:border-box}
.pps-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pps-cats{display:flex;gap:8px;overflow-x:auto;padding:0 0 8px;margin:0 0 8px;scrollbar-width:thin}
.pps-cats a{flex:0 0 auto;display:flex;align-items:center;min-height:40px;border:1px solid #ddd;border-radius:22px;padding:0 14px;color:#222;background:#fff;text-decoration:none;font-size:14px}
.pps-mobile-home h2{font-size:18px;line-height:1.3;margin:8px 0 12px}
.pps-mobile-home ul.products,body.post-type-archive-product .woocommerce ul.products,body.tax-product_cat .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important;list-style:none}
.pps-mobile-home ul.products::before,.pps-mobile-home ul.products::after,body.post-type-archive-product .woocommerce ul.products::before,body.post-type-archive-product .woocommerce ul.products::after,body.tax-product_cat .woocommerce ul.products::before,body.tax-product_cat .woocommerce ul.products::after{display:none!important}
.pps-mobile-home ul.products li.product,body.post-type-archive-product .woocommerce ul.products li.product,body.tax-product_cat .woocommerce ul.products li.product{float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box;overflow-wrap:anywhere}
.pps-mobile-home ul.products li.product{border:1px solid #e5e5e5;border-radius:9px;padding:8px;display:flex;flex-direction:column}
.pps-mobile-home ul.products li.product img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 0 8px}
.pps-mobile-home .woocommerce-loop-product__title{font-size:14px!important;line-height:1.3!important;padding:4px 0!important}
.pps-mobile-home ul.products li.product .price{font-size:15px!important;font-weight:700}
.pps-mobile-home ul.products li.product .button{display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;font-size:13px;line-height:1.2;min-height:44px;padding:8px 5px;margin-top:auto;width:100%;box-sizing:border-box}
.pps-all{display:flex;justify-content:center;align-items:center;margin:16px 0 0}
.pps-mobile-nav{position:fixed;z-index:9990;top:0;left:0;right:0;bottom:auto;background:#fff;color:#222;display:grid;grid-template-columns:repeat(var(--pps-cols,4),minmax(0,1fr));border-bottom:1px solid #ddd;box-shadow:0 2px 12px #0001;padding:calc(6px + env(safe-area-inset-top,0px)) 4px 6px;box-sizing:border-box}
.pps-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;color:#222;text-decoration:none;font-size:11px;line-height:1.2}
body:has(.pps-mobile-nav){padding-top:calc(60px + env(safe-area-inset-top,0px))!important}
body.admin-bar .pps-mobile-nav{top:46px}
#pps-shop-search{scroll-margin-top:120px}
body.post-type-archive-product ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.post-type-archive-product ul.products li.product{float:none!important;width:auto!important;min-width:0!important;margin:0!important}
body.post-type-archive-product ul.products li.product .button{white-space:normal;min-height:44px;box-sizing:border-box}

}

@media screen and (max-width:767px){
/* Hide site-level headers only, retaining product and checkout headings. */
body:has(.pps-mobile-nav) #masthead,
body:has(.pps-mobile-nav) #site-header,
body:has(.pps-mobile-nav) .site-header,
body:has(.pps-mobile-nav) .elementor-location-header,
body:has(.pps-mobile-nav) .wp-site-blocks > header,
body:has(.pps-mobile-nav) > header,
body:has(.pps-mobile-nav) #page > header,
body:has(.pps-mobile-nav) #header,
body:has(.pps-mobile-nav) .ast-mobile-header-wrap,
body:has(.pps-mobile-nav) .ast-desktop-header,
body:has(.pps-mobile-nav) #ast-mobile-header,
body:has(.pps-mobile-nav) .storefront-handheld-footer-bar {display:none!important}
.pps-mobile-nav a{min-width:0;font-size:10px;white-space:nowrap}
}
@media screen and (max-width:767px){
body:has(.pps-mobile-nav) .pps-hide-service-strip{display:none!important}
.pps-mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.pps-mobile-nav a{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0;padding:0 1px;font-size:10px!important}
.pps-mobile-nav a svg{display:block!important;flex-shrink:0;width:22px;height:22px}
.pps-mobile-nav a:last-child svg{color:#c13584}
}

@media screen and (max-width:767px){
.pps-mobile-nav .pps-cart-icon{position:relative;display:block;width:22px;height:22px;overflow:visible}
.pps-mobile-nav .pps-cart-count{position:absolute;top:-6px;right:-10px;min-width:17px;height:17px;padding:0 3px;box-sizing:border-box;border-radius:20px;background:#df2638;color:#fff;font-size:10px;font-weight:700;line-height:17px;text-align:center;white-space:nowrap;box-shadow:0 0 0 1px #fff}
.pps-mobile-nav .pps-cart-count[hidden]{display:none!important}
}

@media screen and (max-width:767px){
body.single-product div.product .woocommerce-product-gallery.pps-gallery-ready{width:100%!important;max-width:340px!important;float:none!important;margin:0 auto 12px!important;position:relative;box-sizing:border-box}
body.single-product .pps-gallery-ready .flex-viewport{height:clamp(180px,60vw,260px)!important;overflow:hidden!important}
body.single-product .pps-gallery-ready .woocommerce-product-gallery__image{height:clamp(180px,60vw,260px)!important;box-sizing:border-box}
body.single-product .pps-gallery-ready .woocommerce-product-gallery__image a{display:block;height:100%;width:100%}
body.single-product .pps-gallery-ready .woocommerce-product-gallery__image img:not(.zoomImg){width:100%!important;height:100%!important;max-height:260px!important;object-fit:contain!important;margin:0!important}
body.single-product .pps-gallery-ready .flex-control-nav,body.single-product .pps-gallery-ready .flex-direction-nav{display:none!important}
body.single-product .pps-gallery-ready:not(.pps-gallery-native):has(.pps-gallery-controls) .woocommerce-product-gallery__wrapper{display:block!important;transform:none!important;width:100%!important;margin:0!important}
body.single-product .pps-gallery-ready:not(.pps-gallery-native):has(.pps-gallery-controls) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{display:none!important;width:100%!important;float:none!important;margin:0!important}
body.single-product .pps-gallery-ready:not(.pps-gallery-native) .woocommerce-product-gallery__wrapper > .pps-gallery-active{display:block!important}
body.single-product .pps-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;position:absolute;top:calc(clamp(180px,60vw,260px) / 2);left:0;right:0;transform:translateY(-50%);pointer-events:none;z-index:4}
body.single-product .pps-gallery-controls button{pointer-events:auto;background:#fff;color:#222;border:1px solid #ddd;border-radius:50%;width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;font-size:20px;line-height:1;box-shadow:0 1px 5px #0002}
body.single-product .pps-gallery-controls button:disabled{opacity:.35}
body.single-product .pps-gallery-controls span{position:absolute;top:calc(clamp(180px,60vw,260px) / 2 - 12px);left:50%;transform:translate(-50%,-100%);background:#fff;color:#222;border-radius:12px;padding:3px 9px;font-size:12px;box-shadow:0 1px 4px #0002}
}
@media screen and (min-width:768px){.pps-gallery-controls{display:none!important}}

/* Compact product heading and purchase area, mobile only. */
@media screen and (max-width:767px){
body.single-product div.product .summary .product_title,
body.single-product h1.product_title{font-size:20px!important;line-height:1.25!important;margin:0 0 8px!important;overflow-wrap:anywhere}
body.single-product div.product .summary > .price{margin:0 0 10px!important;line-height:1.3}
body.single-product div.product .summary form.cart.pps-cart-promoted{margin-top:0!important;margin-bottom:14px!important}
body.single-product div.product .summary form.cart.pps-cart-promoted .single_add_to_cart_button{min-height:44px;white-space:normal}
body.single-product div.product .summary .woocommerce-product-details__short-description{margin-top:12px!important}
}
