/* EZCatalog v0.9.8 — scoped application shell; does not affect public storefront or EZAccounting. */
body.ezcat-workspace-app-shell #masthead,
body.ezcat-workspace-app-shell #colophon,
body.ezcat-workspace-app-shell .elementor-location-header,
body.ezcat-workspace-app-shell .elementor-location-footer,
body.ezcat-workspace-app-shell .site-header:not(.ezcat-ws-header),
body.ezcat-workspace-app-shell .site-footer{display:none!important}
body.ezcat-workspace-app-shell .entry-header{display:none!important}
body.ezcat-workspace-app-shell .ezcat-marketplace-menu-toggle,
body.ezcat-workspace-app-shell #ezcat-marketplace-direct-nav{display:none!important}
.ezcat-hub.ezcat-ws-modern{--ezws-primary:#2563eb;--ezws-ink:#192b40;--ezws-muted:#64748b;--ezws-border:#e3eaf3;--ezws-paper:#fff;max-width:1260px!important;width:100%;margin:0 auto 32px!important;padding:0 22px 34px!important;background:#f6f8fc!important;box-shadow:none!important;border:0!important;border-radius:20px!important;color:var(--ezws-ink);font-family:inherit;isolation:isolate;overflow:visible!important;min-width:0}
.ezcat-ws-modern,.ezcat-ws-modern *{box-sizing:border-box}
.ezcat-ws-modern .ezcat-ws-icon{width:19px!important;height:19px!important;max-width:none!important;min-width:19px!important;flex:none;display:block!important;stroke:currentColor!important;fill:none!important}
.ezcat-ws-modern a{text-decoration:none}
.ezcat-ws-modern button,.ezcat-ws-modern .ezcat-ws-icon-button{cursor:pointer}
.ezcat-ws-modern :is(a,button):focus-visible{outline:3px solid #93c5fd!important;outline-offset:2px!important}
.ezcat-ws-modern [hidden]{display:none!important}
.ezcat-ws-skip{position:absolute!important;top:-100px!important;left:10px!important;z-index:9999;background:#fff;padding:10px}
.ezcat-ws-skip:focus{top:10px!important}
.ezcat-ws-modern .ezcat-ws-top{position:sticky;top:0;z-index:55;background:#fff;border:1px solid var(--ezws-border);border-top:0;border-radius:0 0 15px 15px;box-shadow:0 4px 18px rgba(15,35,60,.045);margin-bottom:22px}
body.admin-bar .ezcat-ws-modern .ezcat-ws-top{top:32px}
.ezcat-ws-modern .ezcat-ws-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;padding:12px 18px;margin:0!important;flex-wrap:nowrap;background:#fff}
.ezcat-ws-brand{display:flex;gap:11px;align-items:center;min-width:0;flex:1}
.ezcat-ws-logo{width:43px;height:43px;display:flex;flex:0 0 43px;align-items:center;justify-content:center;border:1px solid #dae5f6;background:#eff5ff;color:var(--ezws-primary);border-radius:12px;overflow:hidden}
.ezcat-ws-logo .ezcat-ws-icon{width:24px!important;height:24px!important}
.ezcat-ws-logo img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
.ezcat-ws-brand-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
.ezcat-ws-brand-copy strong{display:block;max-width:min(42vw,400px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:var(--ezws-ink)}
.ezcat-ws-brand-copy span{font-size:11px;letter-spacing:.065em;text-transform:uppercase;color:#64748b;font-weight:700}
.ezcat-ws-modern .ezcat-ws-header-actions{display:flex;align-items:center;gap:9px;flex:none}
.ezcat-ws-modern .ezcat-ws-view-store,.ezcat-ws-modern .ezcat-ws-icon-button,.ezcat-ws-modern .ezcat-ws-user-trigger{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:40px;padding:8px 12px;background:#fff;border:1px solid var(--ezws-border);color:#34445a;border-radius:11px;font-family:inherit;font-size:13px;font-weight:650;line-height:1.25;white-space:nowrap;text-decoration:none;box-shadow:none}
.ezcat-ws-modern .ezcat-ws-view-store{background:var(--ezws-primary);border-color:var(--ezws-primary);color:#fff;font-weight:750}
.ezcat-ws-modern .ezcat-ws-view-store:hover{background:#1d4ed8;color:#fff}
.ezcat-ws-modern .ezcat-ws-user-trigger{padding:5px 9px 5px 5px}
.ezcat-ws-modern .ezcat-ws-user-trigger .ezcat-ws-icon:last-child{width:14px!important;height:14px!important;min-width:14px!important}
.ezcat-ws-avatar-initial{border-radius:50%;width:30px;height:30px;min-width:30px;display:inline-flex;align-items:center;justify-content:center;background:#eaf1ff;color:#1d4ed8;font-size:13px;font-weight:800;line-height:1}
.ezcat-ws-user-name{max-width:140px;overflow:hidden;text-overflow:ellipsis}
.ezcat-ws-modern .ezcat-ws-hamburger{display:none}
.ezcat-ws-modern .ezcat-ws-desktop-nav{display:flex!important;align-items:center;gap:4px;border-top:1px solid #eff2f6;padding:7px 16px!important;margin:0!important;overflow-x:auto;scrollbar-width:thin}
.ezcat-ws-modern .ezcat-ws-nav-link{display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 13px;color:#576980;font-weight:650;font-size:13px;border:0;background:transparent;text-decoration:none!important;border-radius:10px;white-space:nowrap;line-height:1.25}
.ezcat-ws-modern .ezcat-ws-nav-link:hover{color:#1d4ed8;background:#eff5ff}
.ezcat-ws-modern .ezcat-ws-desktop-nav .is-current{background:#eaf1ff;color:#1d4ed8;font-weight:800}
.ezcat-ws-content{min-width:0;max-width:100%;padding:0 4px}
.ezcat-ws-page-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 23px}
.ezcat-ws-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.075em;color:#64748b}
.ezcat-ws-modern .ezcat-ws-page-heading h2{font-size:clamp(24px,3vw,30px);font-weight:800;line-height:1.25;margin:4px 0 5px;letter-spacing:-.025em;color:var(--ezws-ink)}
.ezcat-ws-page-heading p{margin:0;color:var(--ezws-muted);font-size:13px}
.ezcat-ws-modern .ezcat-hub-card{border-radius:15px;min-width:0}
.ezcat-ws-modern .ezcat-hub-actions a{display:inline-flex;align-items:center;gap:8px;min-width:0}
.ezcat-ws-modern .ezcat-hub-actions a .ezcat-ws-icon{height:16px!important;width:16px!important;min-width:16px!important}
.ezcat-ws-modern .ezcat-hub-main>h3{font-size:18px}
.ezcat-ws-modern .ezcat-ws-backdrop{position:fixed;inset:0;background:rgba(10,23,41,.44);z-index:9997}
.ezcat-ws-popup,.ezcat-ws-drawer{background:#fff;color:#172b46;border:1px solid var(--ezws-border);box-shadow:0 22px 60px rgba(18,36,61,.18);z-index:9998}
.ezcat-ws-popup{position:fixed;right:clamp(12px,calc((100vw - 1200px)/2),15vw);top:92px;width:min(340px,calc(100vw - 24px));border-radius:16px;padding:14px;max-height:calc(100dvh - 105px);overflow-y:auto}
body.admin-bar .ezcat-ws-popup{top:124px}
.ezcat-ws-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.ezcat-ws-panel-head strong{font-size:14px;font-weight:800}
.ezcat-ws-panel-head small{display:block;font-size:11px;color:#66768a;margin-top:3px}
.ezcat-ws-modern .ezcat-ws-panel-head .ezcat-ws-icon-button{width:34px;min-width:34px;height:34px;min-height:34px;padding:6px}
.ezcat-ws-modern .ezcat-ws-user-panel .ezcat-ws-nav-link{margin:4px 0}
.ezcat-ws-modern .ezcat-ws-user-panel .ezcat-ws-logout{border-top:1px solid #e8edf5;margin-top:9px;border-radius:0;color:#a22634}
.ezcat-ws-modern .ezcat-ws-apps-panel .ezcat-connected-app-link,.ezcat-ws-modern .ezcat-ws-drawer-app .ezcat-connected-app-link{width:100%}
.ezcat-ws-drawer{position:fixed;top:0;bottom:0;left:0;width:min(340px,88vw);padding:20px 16px 25px;overflow-y:auto;overscroll-behavior:contain}
.ezcat-ws-drawer-nav .ezcat-ws-nav-link{margin:2px 0;min-height:44px}
.ezcat-ws-drawer-nav .ezcat-ws-nav-link.is-current{background:#eaf1ff;color:#1d4ed8}
.ezcat-ws-drawer-app{border-top:1px solid var(--ezws-border);margin-top:12px;padding-top:16px}
.ezcat-ws-drawer-app>strong{display:block;font-size:11px;letter-spacing:.08em;color:#64748b;margin-bottom:8px}
.ezcat-ws-drawer-foot{border-top:1px solid var(--ezws-border);display:grid;gap:3px;margin-top:15px;padding-top:15px}
.ezcat-ws-drawer-foot a{display:flex;align-items:center;gap:10px;color:#44546b;font-size:13px;font-weight:700;padding:12px;border-radius:9px}
.ezcat-ws-drawer-foot a:hover{background:#edf4ff}
.ezcat-ws-drawer-foot a:last-child{color:#a22634}
.ezcat-ws-bottom-nav{display:none}
body.ezcat-ws-modal-open{overflow:hidden}
@media(max-width:767px){
 .ezcat-hub.ezcat-ws-modern{margin:0 auto!important;padding:0 12px calc(99px + env(safe-area-inset-bottom))!important;border-radius:0!important;min-height:100vh!important}
 .ezcat-ws-modern .ezcat-ws-top{border-radius:0 0 12px 12px;margin-bottom:18px;border-top:0}
 .ezcat-ws-modern .ezcat-ws-header{min-height:60px;padding:9px 7px;gap:7px}
 .ezcat-ws-modern .ezcat-ws-hamburger{display:inline-flex;width:38px;min-width:38px;height:38px;min-height:38px;padding:8px}
 .ezcat-ws-logo{width:36px;height:36px;flex-basis:36px;border-radius:9px}
 .ezcat-ws-brand{gap:7px}
 .ezcat-ws-brand-copy strong{font-size:13px;max-width:min(40vw,180px)}
 .ezcat-ws-brand-copy span{font-size:9px;letter-spacing:.025em}
 .ezcat-ws-modern .ezcat-ws-header-actions{gap:5px}
 .ezcat-ws-modern .ezcat-ws-view-store,.ezcat-ws-modern .ezcat-ws-user-trigger{padding:7px;width:38px;min-width:38px;height:38px;min-height:38px;border-radius:9px}
 .ezcat-ws-modern .ezcat-ws-view-store>span,.ezcat-ws-modern .ezcat-ws-user-name,.ezcat-ws-modern .ezcat-ws-user-trigger>.ezcat-ws-icon{display:none!important}
 .ezcat-ws-modern .ezcat-ws-apps-trigger{display:none!important}
 .ezcat-ws-modern .ezcat-ws-desktop-nav{display:none!important}
 .ezcat-ws-modern .ezcat-ws-content{padding:0}
 .ezcat-ws-modern .ezcat-ws-page-heading{margin-bottom:16px}
 .ezcat-ws-modern .ezcat-ws-page-heading h2{font-size:23px}
 .ezcat-ws-page-heading p{font-size:12px}
 .ezcat-ws-modern .ezcat-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ezcat-ws-modern .ezcat-hub-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ezcat-ws-modern .ezcat-hub-actions a{min-width:0;overflow-wrap:anywhere}
 .ezcat-ws-modern .ezcat-ws-bottom-nav{position:fixed;display:flex;align-items:stretch;justify-content:space-around;gap:3px;bottom:0;left:0;right:0;z-index:60;min-height:64px;padding:7px max(7px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-right));background:#fff;box-shadow:0 -3px 16px rgba(15,37,60,.09);border-top:1px solid var(--ezws-border)}
 .ezcat-ws-modern .ezcat-ws-bottom-nav .ezcat-ws-nav-link{display:flex!important;flex:1 1 0;min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;padding:5px 1px!important;border:0;background:transparent;color:#64748b;font-size:10px!important;font-weight:750!important;border-radius:9px;line-height:1.1}
 .ezcat-ws-modern .ezcat-ws-bottom-nav .ezcat-ws-nav-link.is-current{color:#1d4ed8;background:#eef4ff}
 .ezcat-ws-modern .ezcat-ws-bottom-nav .ezcat-ws-icon{width:21px!important;height:21px!important}
 .ezcat-ws-modern .ezcat-ws-popup{position:fixed;top:auto!important;right:0;bottom:0;left:0;width:100%;max-height:min(75dvh,600px);border-radius:20px 20px 0 0;padding:17px 17px calc(20px + env(safe-area-inset-bottom))}
 .ezcat-ws-modern .ezcat-ws-drawer{padding-top:calc(20px + env(safe-area-inset-top))}
 body.admin-bar .ezcat-ws-modern .ezcat-ws-top{top:46px}
 .ezcat-ws-modern .ezcat-ws-bottom-nav .ezcat-ws-nav-link:focus-visible{outline-offset:-2px!important}
}
@media(max-width:355px){
 .ezcat-ws-modern .ezcat-ws-header{gap:5px;padding:8px 5px}
 .ezcat-ws-modern .ezcat-ws-hamburger{width:36px;min-width:36px;height:36px;min-height:36px}
 .ezcat-ws-logo{width:32px;height:32px;flex-basis:32px}
 .ezcat-ws-brand-copy strong{font-size:12px;max-width:116px}
 .ezcat-ws-modern .ezcat-ws-view-store,.ezcat-ws-modern .ezcat-ws-user-trigger{width:36px;min-width:36px;height:36px;min-height:36px}
}
@media(prefers-reduced-motion:no-preference){
 .ezcat-ws-modern .ezcat-ws-nav-link,.ezcat-ws-modern .ezcat-ws-view-store,.ezcat-ws-modern .ezcat-ws-icon-button{transition:background-color .16s,color .16s,border-color .16s}
}
