/* Neutral skeleton shown while the session is restored on refresh: never flash the login form for a signed-in user. */
.auth-boot{max-width:1180px;margin:0 auto;padding:34px 20px 60px;display:grid;gap:18px}
.auth-boot .auth-sk{display:block;border-radius:14px;background:linear-gradient(100deg,#f1f2f7 20%,#e6e8f1 45%,#f1f2f7 70%);background-size:220% 100%;animation:auth-sk 1.3s ease-in-out infinite}
.auth-boot-head{display:grid;gap:12px}
.auth-boot-head .auth-sk{height:30px;width:46%}.auth-boot-head .auth-sk.short{height:14px;width:30%}
.auth-boot-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.auth-boot .auth-sk.tile{height:96px}
.auth-boot-panels{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.auth-boot .auth-sk.panel{height:260px}
@keyframes auth-sk{0%{background-position:120% 0}100%{background-position:-100% 0}}
@media(max-width:760px){.auth-boot{padding:22px 14px 40px}.auth-boot-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-boot-panels{grid-template-columns:1fr}.auth-boot .auth-sk.panel{height:180px}.auth-boot-head .auth-sk{width:70%}}
@media(prefers-reduced-motion:reduce){.auth-boot .auth-sk{animation:none}}

/* On protected routes the storefront must not flash before the app decides which page to show. */
html.route-protected #storePage,html.route-protected #categoryNav,html.route-protected #productDetailPage{display:none!important}

.route-boot-static{display:none}
html.route-protected .route-boot-static{display:grid}

/* /admin first paint: the storefront chrome (header with its icons, strip, footer, WhatsApp button, cart drawer) must not flash before the admin workspace replaces it. */
html.route-admin .flash-strip,html.route-admin .store-sticky-shell,html.route-admin .site-footer,html.route-admin .whatsapp-float,html.route-admin #cartDrawer{display:none!important}
