/* Reserved for global layout primitives and shell structure. */

/* NavMenu migrated from CSS isolation. */
.top-row {
    min-height: 3.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.top-row .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.navbar-brand {
    font-size: 1.1rem;
}

.brand-shell {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 0.5rem;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    font-size: 0.8rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.brand-subtitle {
    font-size: 0.72rem;
    opacity: 0.72;
    color: #64748b;
}

.sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.98);
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1;
}

.sidebar-nav {
    display: grid;
    gap: 1rem;
    padding: 1rem 0.75rem 1.1rem;
}

.sidebar-hero {
    display: grid;
    gap: 0.9rem;
    padding: 0.25rem 0.25rem 0.75rem;
}

.sidebar-hero-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sidebar-hero-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.sidebar-hero-app {
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem;
}

.sidebar-hero-bot,
.sidebar-hero-note {
    color: #475569;
    font-size: 0.82rem;
}

.sidebar-new-chat {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.95rem;
    padding: 0.8rem 1rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.95), rgba(var(--brand-accent-rgb), 0.75));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.sidebar-new-chat:hover {
    color: white;
}

.sidebar-new-chat-icon {
    display: inline-grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.sidebar-section {
    display: grid;
    gap: 0.25rem;
}

.sidebar-link {
    gap: 0.75rem;
}

.sidebar-link-icon {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    border-radius: 0.65rem;
    display: inline-grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
}

.sidebar-link-icon-accent {
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.14), rgba(var(--brand-accent-rgb), 0.18));
    color: var(--brand-primary);
}

.sidebar-link-muted {
    background: rgba(248, 250, 252, 0.9) !important;
}

.sidebar-footer {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.nav-section {
    margin: 0.5rem 0 0.25rem;
    padding: 0 0.25rem;
}

.nav-section-header {
    padding: 0.5rem 1rem 0.35rem;
}

.nav-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.35rem;
}

.nav-item:first-of-type {
    padding-top: 0;
}

.nav-item:last-of-type {
    padding-bottom: 0;
}

.nav-item .nav-link {
    color: #334155;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 0.85rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    line-height: 1.2;
    width: 100%;
    padding: 0.8rem 0.9rem;
    transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease, color 120ms ease;
}

.nav-item a.active {
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12), rgba(var(--brand-accent-rgb), 0.1));
    border-color: rgba(var(--brand-primary-rgb), 0.18);
    color: #0f172a;
}

.nav-item .nav-link:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(var(--brand-primary-rgb), 0.16);
    color: #0f172a;
    transform: translateX(1px);
}

.nav-link-muted {
    background: rgba(248, 250, 252, 0.92) !important;
}

.nav-section-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.nav-scrollable {
    display: block;
}

/* MainLayout migrated from CSS isolation. */
.app-layout {
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.98));
}

.app-layout--backoffice {
    height: 100dvh;
    max-height: 100dvh;
}

.app-layout--home {
    min-height: 100dvh;
    height: auto;
    overflow: visible;
}

.app-layout--chat-fixed {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.app-layout--scrollable-public {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
}

.app-layout--scrollable-public .app-layout__body {
    overflow: visible;
}

.app-layout--scrollable-public .app-shell__content {
    height: auto;
    min-height: 0;
    overflow: visible;
    overscroll-behavior: auto;
}

.app-layout--chat-fixed .app-layout__body {
    overflow: hidden;
}

.app-layout--public-flow {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
}

.app-layout--public-flow .app-layout__body {
    flex: 0 0 auto;
    height: auto;
    overflow: visible;
}

.app-layout--public-flow .app-shell__content {
    flex: 0 0 auto;
    overflow: visible;
    height: auto;
    min-height: 0;
}

.app-layout--home .app-layout__body {
    flex: 0 0 auto;
    height: auto;
    overflow: visible;
}

.app-layout--home .app-shell__content {
    flex: 0 0 auto;
    overflow: visible;
    height: auto;
    min-height: 0;
}

.app-layout:not(.app-layout--backoffice) {
    --app-bottom-nav-height: 2.9rem;
}

.app-layout--chat .public-home__footer {
    display: none;
}

.app-shell__content--chat-fixed {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    padding: 0;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--brand-primary-rgb), 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.app-header__brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.app-header__menu-button {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.24);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.app-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: #0f172a;
    text-decoration: none;
}

.app-header a,
.app-header a:link,
.app-header a:visited,
.app-header a:hover,
.app-header a:focus,
.app-header a:focus-visible,
.app-header button,
.app-header button:hover,
.app-header button:focus,
.app-header button:focus-visible {
    color: #0f172a;
    text-decoration: none;
}

.app-header a.app-header__action,
.app-header a.app-header__action:link,
.app-header a.app-header__action:visited,
.app-header a.app-header__action:hover,
.app-header a.app-header__action:focus,
.app-header a.app-header__action:focus-visible {
    color: #0f172a;
    text-decoration: none;
}

.app-header a.app-header__action:hover,
.app-header a.app-header__action:focus {
    border-color: rgba(var(--brand-primary-rgb), 0.28);
    background: rgba(var(--brand-primary-rgb), 0.08);
}

.app-header a.app-header__action:focus-visible,
.app-header button:focus-visible {
    outline: 3px solid rgba(var(--brand-primary-rgb), 0.28);
    outline-offset: 3px;
}

.app-header__brand-logo,
.app-header__brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.app-header__brand-mark {
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary), #7c83ff);
    box-shadow: 0 10px 24px rgba(var(--brand-primary-rgb), 0.18);
    font-weight: 900;
}

.app-header__brand-text {
    display: grid;
    gap: 0.06rem;
    min-width: 0;
}

.app-header__brand-name {
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.app-header__brand-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.1;
}

.app-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: wrap;
    min-width: 0;
}

.app-header__actions--panel {
    flex: 1 1 auto;
}

.app-header__user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.6rem;
    padding: 0.32rem 0.7rem 0.32rem 0.38rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.app-header__user-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.app-header__user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--text-1);
    text-transform: capitalize;
}

.nav-menu__game-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.app-header__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.65rem;
    padding: 0.55rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    white-space: nowrap;
}

.app-header__action i {
    font-size: 0.95rem;
    line-height: 1;
}

.app-header__action--primary {
    background: linear-gradient(135deg, var(--brand-primary), #6f77f7);
    color: #fff;
    box-shadow: 0 12px 24px rgba(var(--brand-primary-rgb), 0.2);
}

.app-header a.app-header__action--primary,
.app-header a.app-header__action--primary:link,
.app-header a.app-header__action--primary:visited,
.app-header a.app-header__action--primary:hover,
.app-header a.app-header__action--primary:focus,
.app-header a.app-header__action--primary:focus-visible {
    background: linear-gradient(135deg, var(--brand-primary), #6f77f7);
    color: #fff;
}

.app-header__action--ghost {
    background: #fff;
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.app-layout__body {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
    background: #fff;
}

.app-layout--backoffice .app-layout__body {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

.app-shell__content {
    position: relative;
    z-index: auto;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.25rem 1.5rem 1.5rem;
    scrollbar-gutter: stable;
}

.app-layout--backoffice .app-shell__content {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.app-layout--public .app-shell__content {
    overflow: hidden;
}

/* Public app shell migrated from Home visual master. */
.public-home,
.public-home__footer-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-inline: clamp(0.85rem, 2.5vw, 2.25rem);
}

.public-home {
    --public-primary: var(--brand-primary, #4d00dc);
    --public-primary-2: var(--brand-accent, #7900ff);
    --public-secondary: var(--brand-secondary, #17006a);
    --public-ink: var(--brand-secondary, #17006a);
    --public-muted: #453b7d;
    --public-line: rgba(37, 16, 103, 0.12);
    min-height: 0;
    padding-block: 0 1.1rem;
    color: var(--public-ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-home a {
    text-decoration: none;
}

.public-home__header a,
.public-home__header a:link,
.public-home__header a:visited,
.public-home__header a:hover,
.public-home__header a:focus,
.public-home__footer a,
.public-home__footer a:link,
.public-home__footer a:visited,
.public-home__footer a:hover,
.public-home__footer a:focus,
.app-bottom-nav a,
.app-bottom-nav a:link,
.app-bottom-nav a:visited,
.app-bottom-nav a:hover,
.app-bottom-nav a:focus,
.public-chat-fab,
.public-chat-fab:link,
.public-chat-fab:visited,
.public-chat-fab:hover,
.public-chat-fab:focus {
    text-decoration: none;
}

.public-home__header {
    width: min(100%, 1320px);
    min-height: 4.25rem;
    margin-inline: auto;
    padding: 0.35rem clamp(0.75rem, 1.8vw, 1.25rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.8rem);
}

.public-home__brand,
.public-home__footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.public-home__brand-logo {
    width: auto;
    height: 3.2rem;
    object-fit: contain;
}

.public-home__footer-brand img {
    width: 10rem;
    max-width: 75%;
}

.public-chat-fab {
    display: none;
}

.public-home__footer-brand span {
    display: grid;
    gap: 0.1rem;
    line-height: 1.1;
}

.public-home__footer-brand strong {
    font-size: clamp(1.18rem, 1.55vw, 1.55rem);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.public-home__footer-brand small {
    color: var(--public-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.public-home__nav,
.public-home__header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.9rem, 2.2vw, 2.1rem);
    font-weight: 850;
    font-size: 0.9rem;
    color: #100060;
    min-width: 0;
}

.public-home__nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 150ms ease, transform 150ms ease;
}

.public-home__nav a i {
    font-size: 0.95em;
    line-height: 1;
}

.public-home__cart-link,
.public-home__user-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    border-radius: 999px;
    font-weight: 950;
}

.public-home__cart-link {
    position: relative;
    width: 2.85rem;
    color: var(--public-primary);
    font-size: 2rem;
}

.public-home__cart-link i {
    font-size: 1.05rem;
    line-height: 1;
}

.public-home__cart-count,
.app-bottom-nav__cart-count {
    position: absolute;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: #ef4444;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.public-home__cart-count {
    right: 0.08rem;
    top: 0.15rem;
}

.app-bottom-nav__cart-count {
    top: -0.15rem;
    left: calc(50% + .15rem);
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.28);
}

.public-home__user-pill {
    gap: 0.65rem;
    padding: 0.35rem 0.85rem 0.35rem 0.4rem;
    color: var(--public-ink);
    background: linear-gradient(135deg, #ffffff, #f2f0ff);
    border: 1px solid rgba(77, 0, 220, 0.12);
    box-shadow: 0 10px 24px rgba(23, 0, 106, 0.08);
}

.public-home__avatar,
.public-home__member-avatar {
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #22223a, #6b35ff);
    font-weight: 950;
}

.public-home__avatar {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 0.85rem;
}

.public-home__nav a:hover {
    color: var(--public-primary-2);
    transform: translateY(-1px);
}

.public-home__header-actions {
    justify-content: flex-end;
    gap: 0.85rem;
}

.public-home__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.6rem 1.15rem;
    border-radius: 0.75rem;
    font-weight: 900;
    border: 1px solid transparent;
}

.public-home__login {
    color: #fff;
    background: linear-gradient(135deg, var(--public-primary), #8a16ff);
    box-shadow: 0 14px 26px rgba(77, 0, 220, 0.2);
}

.public-home__footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0.7rem 0 0;
    box-sizing: border-box;
    padding: 0.85rem 1.5rem 0.15rem;
    border-top: 1px solid rgba(37, 16, 103, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 252, 0.96));
    color: var(--public-muted);
}

.public-home__footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.public-home__main,
.public-home__footer-inner {
    width: 100%;
    max-width: 1320px;
    min-width: 0;
    box-sizing: border-box;
    margin-inline: auto;
}

.public-home__footer-brand {
    display: grid;
    gap: 0.25rem;
    align-content: start;
}

.public-home__footer-brand strong {
    color: var(--public-ink);
    font-size: 0.9rem;
}

.public-home__footer-brand small {
    color: var(--public-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.public-home__footer-nav {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.25rem;
}

.public-home__footer-title {
    margin: 0 0 0.75rem;
    color: var(--public-ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.public-home__footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.public-home__footer-links a {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
    text-decoration: none;
    width: fit-content;
    transition: color 0.16s ease;
}

.public-home__footer-links a:hover {
    color: var(--public-primary);
}

.public-home__footer-links a:focus-visible {
    outline: 2px solid var(--public-primary);
    outline-offset: 2px;
    border-radius: 0.35rem;
}

.app-bottom-nav {
    display: none;
}

.app-bottom-nav__item {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.public-home__badges {
    display: grid;
    gap: 0.7rem;
}
.public-home__badges-row {
    display: flex;
    gap: 20%;
    width: 100%;
}
.public-home__badge {
    text-decoration: none;
}
.public-home__badge--wide {
    width: 100%;
    font-size: 1.65rem;
}
.public-home__badge--square {
    font-size: 2.25rem;
}
.public-home__badge .nexusfont {
    
}

@media (max-width: 1179.98px) {
    .public-home__header {
        grid-template-columns: 1fr auto;
    }

    .public-home__nav {
        order: 3;
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }
}

@media (min-width: 668px) and (max-width: 1179.98px) {
    .public-home__footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .public-home__footer-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .public-home,
    .public-home__footer-shell {
        padding-inline: 0.8rem;
    }
    .public-home__badges {
        width: min(100%, 16rem);
    }
}

@media (max-width: 575.98px) {
    .public-home,
    .public-home__footer-shell {
        padding-inline: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .app-shell__content--chat-fixed {
        padding: 0;
    }

    .public-home__header {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.5rem 0.75rem;
    }

    .public-home__brand,
    .public-home__header-actions {
        min-width: 0;
    }

    .public-home__header > * {
        min-width: 0;
    }

    .public-home__nav {
        display: none;
    }

    .public-home__brand {
        justify-self: start;
    }

    .public-home__header-actions {
        justify-self: end;
        justify-content: flex-end;
        width: 100%;
        gap: 0;
    }

    .public-home__header-actions > :not(.public-home__login) {
        display: none;
    }

    .public-home__login {
        width: auto;
        max-width: 100%;
        padding-inline: 0.85rem;
        white-space: normal;
        min-width: 0;
    }

    .public-home__brand-logo {
        width: auto;
        height: 2.65rem;
    }

    .public-home__badges {
        justify-content: flex-start;
    }

}

@media (min-width: 768px), (orientation: landscape) {
    .public-chat-fab {
        display: inline-flex;
        position: fixed;
        left: 1rem;
        bottom: 1rem;
        z-index: 1010;
        align-items: center;
        gap: 0.7rem;
        min-height: 3.75rem;
        padding: 0.5rem 0.9rem 0.5rem 0.5rem;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.18), rgba(255, 255, 255, 0.96));
        color: #0f172a;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
        backdrop-filter: blur(16px);
    }

    .public-chat-fab__avatar {
        --avatar-size: 2.9rem;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 10px 22px rgba(15, 23, 42, 0.12);
    }

    .public-chat-fab__label {
        font-size: 0.9rem;
        font-weight: 900;
        line-height: 1;
    }

    .public-chat-fab:focus-visible {
        outline: 2px solid rgba(var(--brand-primary-rgb), 0.45);
        outline-offset: 2px;
    }
}

.app-panel-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 1480px;
    margin: 1.75rem auto 1.25rem;
    padding: 1.1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(var(--brand-primary-rgb), .14);
    background: linear-gradient(180deg, rgba(var(--brand-primary-rgb), .045), rgba(255, 255, 255, .72));
    color: var(--text-2);
    text-align: center;
    font-size: .82rem;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .app-header__menu-button {
        display: inline-flex !important;
    }
    .app-header {
        padding: 0.8rem 1rem;
    }
    .app-header__actions {
        gap: 0.45rem;
    }
    .app-header__action {
        min-height: 2.5rem;
    }
    .app-shell__content {
        padding: 1rem;
    }

    .app-layout--backoffice .app-layout__body {
        height: auto;
    }
    .app-layout--backoffice .app-shell__content {
        min-height: 0;
        max-height: 100%;
    }
    .app-panel-footer {
        margin-top: 1.25rem;
        margin-bottom: 1rem;
        padding: .95rem .85rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context {
        position: fixed;
        left: 0.25rem;
        right: 0.25rem;
        bottom: calc(0.25rem + env(safe-area-inset-bottom));
        z-index: 1015;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.15rem;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 1.35rem;
        background: rgba(226, 232, 240, 0.96);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(16px);
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__item {
        position: relative;
        display: grid;
        place-items: center;
        gap: 0.18rem;
        padding: 0.45rem 0 0.3rem;
        border-radius: 1rem;
        color: #334155;
        text-decoration: none;
        text-align: center;
        line-height: 1.1;
        font-size: 0.68rem;
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__item:focus-visible {
        outline: 2px solid rgba(var(--brand-primary-rgb), 0.45);
        outline-offset: 2px;
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__icon {
        font-size: 1rem;
        line-height: 1;
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__label {
        position: relative;
        display: block;
        font-size: 0.6rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__chat .app-bottom-nav__label {
        text-shadow: 0 0 2px rgba(226, 232, 240, 0.96), 0 0 2px rgba(226, 232, 240, 0.96), 0 0 2px rgba(226, 232, 240, 0.96), 0 0 3px rgba(226, 232, 240, 0.96), 0 0 4px rgba(226, 232, 240, 0.96);
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__chat-avatar {
        --avatar-size: 1rem;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.96), 0 2px 22px rgba(15, 23, 42, 0.12);
        transform: scale(3);
    }

    .app-layout--chat .app-bottom-nav.app-bottom-nav--chat-context .app-bottom-nav__cart-count {
        position: absolute;
        top: -0.15rem;
        left: calc(50% + .15rem);
        min-width: 1.15rem;
        height: 1.15rem;
        padding: 0 0.28rem;
        display: inline-grid;
        place-items: center;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        font-size: 0.68rem;
        font-weight: 800;
        line-height: 1;
        box-shadow: 0 6px 14px rgba(239, 68, 68, 0.28);
    }
}

@media (max-width: 767.98px) {
    .app-header {
        padding: 0.75rem 1rem;
        gap: 0.65rem;
    }

    .app-header__brand-text {
        display: none;
    }

    .app-header__action {
        min-height: 2.5rem;
        padding: 0.5rem 0.85rem;
        font-size: 0.94rem;
    }

    .app-header__action i {
        font-size: 0.95rem;
    }

    .app-shell__content {
        padding: 0;
    }

    .app-bottom-nav {
        position: fixed;
        left: 0.25rem;
        right: 0.25rem;
        bottom: calc(0.25rem + env(safe-area-inset-bottom));
        z-index: 1015;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.15rem;
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 1.35rem;
        background: rgba(226, 232, 240, 0.96);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(16px);
    }

    .app-bottom-nav__item {
        position: relative;
        display: grid;
        place-items: center;
        gap: 0.18rem;
        padding: 0.45rem 0 0.3rem;
        border-radius: 1rem;
        color: #334155;
        text-decoration: none;
        text-align: center;
        line-height: 1.1;
        font-size: 0.68rem;

    }

    .app-bottom-nav__item:focus-visible {
        outline: 2px solid rgba(var(--brand-primary-rgb), 0.45);
        outline-offset: 2px;
    }

    .app-bottom-nav__icon {
        font-size: 1rem;
        line-height: 1;
    }

    .app-bottom-nav__label {
        position: relative;
        display: block;
        font-size: 0.6rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    .app-bottom-nav__chat {
        
    }

    .app-bottom-nav__chat .app-bottom-nav__label {
        text-shadow: 0 0 2px rgba(226, 232, 240, 0.96), 0 0 2px rgba(226, 232, 240, 0.96), 0 0 2px rgba(226, 232, 240, 0.96), 0 0 3px rgba(226, 232, 240, 0.96), 0 0 4px rgba(226, 232, 240, 0.96);
    }

    .app-bottom-nav__chat-avatar {
        --avatar-size: 1rem;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.96), 0 2px 22px rgba(15, 23, 42, 0.12);
        transform: scale(3);
    }

    .app-layout:not(.app-layout--backoffice) .global-chat-host {
        bottom: calc(0.5rem + env(safe-area-inset-bottom) + var(--app-bottom-nav-height));
    }
    .public-home__footer {
        padding-bottom: 4rem;
    }
}

@media (min-width: 641px) {
    .nav-scrollable {
        display: block;
        height: calc(100dvh - 3.5rem);
        overflow-y: auto;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 252, 0.96));
    }

    .sidebar-close {
        display: none;
    }
}

@media (max-width: 640.98px) {
    .sidebar-close:focus-visible {
        outline: 3px solid rgba(var(--brand-primary-rgb), 0.28);
        outline-offset: 2px;
    }
}
