.gmpwa-bottom{display:none!important}
@media(display-mode:standalone){body.gmpwa-standalone.gmpwa-nav-enabled{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}body.gmpwa-standalone.gmpwa-nav-enabled .gmpwa-bottom{display:flex!important}}
body.gmpwa-ios-standalone.gmpwa-nav-enabled{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}body.gmpwa-ios-standalone.gmpwa-nav-enabled .gmpwa-bottom{display:flex!important}
.gmpwa-bottom{position:fixed;bottom:0;left:0;right:0;z-index:99999;justify-content:space-around;align-items:stretch;background:#fff;border-top:1px solid #e2e7ec;box-shadow:0 -3px 14px #182c4012;padding:7px 3px calc(8px + env(safe-area-inset-bottom,0px));box-sizing:border-box;min-height:68px}
.gmpwa-bottom .gmpwa-item{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;text-decoration:none!important;color:#667787!important;font:500 10px/1.2 system-ui,sans-serif!important;white-space:nowrap}
.gmpwa-bottom .gmpwa-item svg{width:23px;height:23px;flex-shrink:0}.gmpwa-bottom .gmpwa-item.is-active{color:var(--gmpwa-accent,#1766a4)!important;font-weight:700!important}
@media(min-width:900px){.gmpwa-bottom{max-width:540px;left:50%;transform:translateX(-50%);border:1px solid #e2e7ec;border-radius:18px 18px 0 0}}

/* Full-height WooCommerce category drawer, visible only in installed PWA. */
.gmpwa-catalog-overlay[hidden]{display:none!important}
.gmpwa-catalog-overlay{position:fixed;inset:0;z-index:99998;background:rgba(14,31,48,.5);display:none;box-sizing:border-box}
body.gmpwa-nav-enabled .gmpwa-catalog-overlay:not([hidden]){display:flex}
body.gmpwa-catalog-open{overflow:hidden!important}
.gmpwa-catalog-panel{background:#fff;width:100%;max-width:600px;height:calc(100% - 75px - env(safe-area-inset-bottom,0px));margin:0 auto;display:flex;flex-direction:column;box-shadow:0 0 25px #0002}
.gmpwa-catalog-header{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #e6ebef;min-height:64px;box-sizing:border-box}
.gmpwa-catalog-title{font:700 19px/1.3 system-ui,sans-serif;color:#243747;flex:1}
.gmpwa-catalog-header button{border:0;background:transparent;color:var(--gmpwa-accent,#1766a4);font-size:28px;cursor:pointer;min-width:36px;min-height:40px}
.gmpwa-catalog-content{overflow-y:auto;overscroll-behavior:contain;padding:8px 16px 24px;flex:1}
.gmpwa-catalog-category{appearance:none;display:flex;align-items:center;width:100%;min-height:60px;padding:10px 6px;border:0;border-bottom:1px solid #e7edf2;background:#fff;color:#263b4d;text-decoration:none!important;text-align:left;font:500 15px/1.4 system-ui,sans-serif;gap:14px;cursor:pointer;box-sizing:border-box}
.gmpwa-catalog-category img{width:42px;height:42px;object-fit:contain;flex-shrink:0}
.gmpwa-catalog-category span:nth-last-child(2){flex:1}
.gmpwa-catalog-arrow{margin-left:auto;color:var(--gmpwa-accent,#1766a4);font-size:26px}
.gmpwa-catalog-all{display:block;padding:16px 6px;color:var(--gmpwa-accent,#1766a4);font:600 14px system-ui,sans-serif;text-decoration:none}
@media(min-width:900px){.gmpwa-catalog-panel{margin:auto;max-height:calc(100vh - 110px);border-radius:18px 18px 0 0}}

/* 1.2.0: stable app viewport, even when the desktop PWA window is resized. */
body.gmpwa-nav-enabled .gmpwa-bottom,
body.gmpwa-standalone.gmpwa-nav-enabled .gmpwa-bottom,
body.gmpwa-ios-standalone.gmpwa-nav-enabled .gmpwa-bottom{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 position:fixed!important;inset:auto 0 0 0!important;
 width:100%!important;max-width:none!important;transform:none!important;
 margin:0!important;min-width:0!important;min-height:62px!important;
 padding:5px max(3px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(3px,env(safe-area-inset-left,0px))!important;
 border-radius:0!important;z-index:2147483646!important;visibility:visible!important;
}
body.gmpwa-nav-enabled .gmpwa-bottom .gmpwa-item{display:flex!important;min-width:0!important;width:auto!important;padding:3px 0!important;gap:3px!important;overflow:hidden!important}
body.gmpwa-nav-enabled .gmpwa-bottom .gmpwa-item span{display:block!important;font-size:clamp(8px,2.5vw,10px)!important;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.gmpwa-nav-enabled .gmpwa-bottom .gmpwa-item svg{width:21px!important;height:21px!important}
body.gmpwa-nav-enabled .gmpwa-catalog-overlay:not([hidden]){display:flex!important;position:fixed!important;inset:0!important;z-index:2147483645!important;align-items:stretch!important;justify-content:center!important}
body.gmpwa-nav-enabled .gmpwa-catalog-panel{width:100%!important;max-width:720px!important;height:calc(100dvh - 66px - env(safe-area-inset-bottom,0px))!important;max-height:none!important;margin:0 auto!important;border-radius:0!important;min-height:0!important}
body.gmpwa-nav-enabled .gmpwa-catalog-content{min-height:0!important;overflow:auto!important;flex:1!important;padding:12px 14px 26px!important}
.gmpwa-catalog-content.gmpwa-root-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px}
.gmpwa-root-grid .gmpwa-catalog-category{border:1px solid #e2e8ee!important;border-radius:12px!important;min-width:0!important;min-height:112px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:12px 7px!important;text-align:center!important;background:#fff!important}
.gmpwa-root-grid .gmpwa-catalog-category img{width:48px!important;height:48px!important;object-fit:contain!important}
.gmpwa-catalog-placeholder{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#eaf2f9;color:var(--gmpwa-accent,#1766a4);font-size:27px;flex-shrink:0}
.gmpwa-catalog-name{min-width:0;flex:1;overflow-wrap:anywhere}
.gmpwa-root-grid .gmpwa-catalog-name{flex:none;font-size:13px;line-height:1.3}
.gmpwa-root-grid .gmpwa-catalog-arrow{display:none}
@media(min-width:540px){.gmpwa-catalog-content.gmpwa-root-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.gmpwa-catalog-header{padding:9px 12px!important;min-height:54px!important}.gmpwa-catalog-title{font-size:16px!important}.gmpwa-catalog-content.gmpwa-root-grid{gap:7px}.gmpwa-root-grid .gmpwa-catalog-category{min-height:96px!important}}
/* 1.3.0: two-column mega catalog inspired by the existing Gidromarket menu */
body.gmpwa-nav-enabled .gmpwa-catalog-panel{max-width:980px!important}
body.gmpwa-nav-enabled .gmpwa-catalog-content{padding:0!important;overflow:hidden!important}
.gmpwa-mega{display:grid;grid-template-columns:minmax(112px,29%) minmax(0,1fr);height:100%;min-height:0;font-family:Arial,system-ui,sans-serif}
.gmpwa-mega-sidebar{background:#f4f5f7;overflow-y:auto;overscroll-behavior:contain;border-right:1px solid #e4e7eb;min-width:0}
.gmpwa-mega-category{display:block;width:100%;border:0;border-bottom:1px solid #e2e5e9;background:transparent;color:#152b3c;text-align:left;padding:14px 12px;font-size:13px;line-height:1.45;cursor:pointer;overflow-wrap:anywhere}
.gmpwa-mega-category:hover,.gmpwa-mega-category.is-selected{background:#fff;color:var(--gmpwa-accent,#1766a4);font-weight:700;border-left:3px solid var(--gmpwa-accent,#1766a4);padding-left:9px}
.gmpwa-mega-detail{overflow-y:auto;overscroll-behavior:contain;min-width:0;padding:16px 15px 28px;background:#fff}
.gmpwa-mega-heading{font-size:19px!important;line-height:1.3!important;margin:0 0 14px!important;color:#172f43!important}
.gmpwa-mega-all{display:inline-block;color:var(--gmpwa-accent,#1766a4)!important;text-decoration:none!important;font-weight:700;font-size:13px;margin-bottom:20px}
.gmpwa-mega-section{font-size:14px!important;margin:12px 0!important;color:#172f43!important}
.gmpwa-mega-subcategories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.gmpwa-mega-subcategory{display:inline-block;border:1px solid #e0e7ef;border-radius:6px;padding:8px;font-size:12px;color:#1766a4!important;text-decoration:none!important}
.gmpwa-mega-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gmpwa-mega-product{display:flex;flex-direction:column;align-items:center;min-width:0;border:1px solid #e6e9ee;border-radius:7px;padding:10px 7px;gap:8px;color:#172b3a!important;text-decoration:none!important;text-align:center;background:#fff}
.gmpwa-mega-product img{width:100%;height:112px;object-fit:contain}
.gmpwa-mega-product-name{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.gmpwa-mega-product-price{font-size:12px;font-weight:700;margin-top:auto}
.gmpwa-mega-loading,.gmpwa-mega-empty{grid-column:1/-1;font-size:13px;color:#657584}
@media(max-width:390px){.gmpwa-mega{grid-template-columns:minmax(104px,34%) minmax(0,1fr)}.gmpwa-mega-detail{padding:12px 8px}.gmpwa-mega-category{padding:12px 8px;font-size:12px}.gmpwa-mega-product img{height:85px}.gmpwa-mega-products{gap:6px}.gmpwa-mega-product{padding:7px 4px}}
@media(min-width:650px){.gmpwa-mega-products{grid-template-columns:repeat(3,minmax(0,1fr))}.gmpwa-mega-product img{height:140px}}

/* 1.3.1: isolate PWA product tiles from theme/WooCommerce global rules. */
body.gmpwa-nav-enabled .gmpwa-mega-products{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
body.gmpwa-nav-enabled .gmpwa-mega-products .gmpwa-mega-product{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:9px!important;gap:7px!important;overflow:hidden!important;line-height:1.35!important;text-align:center!important;box-shadow:none!important}
body.gmpwa-nav-enabled .gmpwa-mega-product-image{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:120px!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;flex:0 0 auto!important;background:#f7f9fb;border-radius:5px;color:#7a8792;font:400 11px/1.3 system-ui,sans-serif!important}
body.gmpwa-nav-enabled .gmpwa-mega-product-image img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;margin:0!important;padding:0!important;object-fit:contain!important;position:static!important;transform:none!important}
body.gmpwa-nav-enabled .gmpwa-mega-product-name{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2;overflow:hidden!important;overflow-wrap:anywhere!important;word-break:normal!important;max-height:2.8em!important;min-height:0!important;margin:0!important;padding:0!important;font:500 12px/1.4 system-ui,sans-serif!important;color:#172b3a!important;text-transform:none!important;letter-spacing:normal!important}
body.gmpwa-nav-enabled .gmpwa-mega-product-price{display:block!important;overflow-wrap:anywhere!important;margin:0!important;font:700 12px/1.4 system-ui,sans-serif!important;color:#1766a4!important}
@media(max-width:540px){body.gmpwa-nav-enabled .gmpwa-mega{grid-template-columns:minmax(108px,34%) minmax(0,1fr)!important}body.gmpwa-nav-enabled .gmpwa-mega-products{grid-template-columns:minmax(0,1fr)!important}body.gmpwa-nav-enabled .gmpwa-mega-product-image{height:130px!important}body.gmpwa-nav-enabled .gmpwa-mega-detail{padding:12px 9px 24px!important}body.gmpwa-nav-enabled .gmpwa-mega-heading{font-size:17px!important}}
@media(min-width:541px) and (max-width:649px){body.gmpwa-nav-enabled .gmpwa-mega-product-image{height:105px!important}}
@media(min-width:650px){body.gmpwa-nav-enabled .gmpwa-mega-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
