/* Guest shell: storefront colours with accessible, responsive controls. */
.fl-guest-app { display: flex; flex-direction: column; }
.fl-guest-main { flex: 1; min-height: 50vh; padding-top: 0; }
.fl-guest-body .sf-store-screen { padding-bottom: 24px; }
.guest-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid #dce5ef; }
.guest-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; }
.guest-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: #0b2858; }
.guest-brand-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; border: 1px solid #cad8ee; border-radius: 14px; background: #eef4ff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
.guest-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.guest-brand-copy { min-width: 0; }
.guest-brand-copy strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.guest-brand-copy small { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: #64748b; font-size: 11px; }
.guest-brand-dot { width: 6px; height: 6px; border-radius: 50%; background: #0fa958; }
.guest-login { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 44px; padding: 0 13px; border: 1px solid #dce5ef; border-radius: 12px; color: #0b2858; font-size: 12px; font-weight: 700; }
.guest-header-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 24px; border-top: 1px solid #edf2f7; background: #f8fafc; }
.guest-header-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 700; }
.guest-browse { color: #0b2858; }
.guest-register { color: #08734b; }
.guest-header a:hover { color: #08734b; }
.guest-login:hover { background: #eef4ff; }
.guest-header a:focus-visible { outline: 3px solid #315f9f; outline-offset: 4px; border-radius: 6px; }
@media (max-width: 420px) {
    .guest-header-inner { padding: 18px 15px 14px; gap: 10px; }
    .guest-brand { gap: 8px; }
    .guest-brand-copy strong { font-size: 13px; }
    .guest-login { padding: 0 10px; font-size: 11px; }
    .guest-login i { display: none; }
    .guest-header-links { padding-inline: 15px; }
    .guest-header-links a { font-size: 11px; }
}

/* The same floating storefront footer on desktop and mobile. */
.fl-guest-main {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
}
.guest-footer-nav .sf-bottom-item:focus-visible {
    outline: 3px solid #315f9f;
    outline-offset: -3px;
}
.guest-footer-nav .sf-bottom-label {
    font-size: 11px;
}
.guest-footer-nav .sf-bottom-icon {
    font-size: 17px;
}

.guest-header-links { flex-wrap: wrap; }

/* Keep mobile navigation on its own fixed layer during Safari scrolling. */
@media (max-width: 768px) {
    .guest-footer-nav {
        position: fixed;
        top: auto;
        bottom: max(7px, env(safe-area-inset-bottom, 0px));
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}
