.nb-bottom-nav { display: none; }
.nb-mobile-profile { border: 1px solid #e0e6ee; border-radius: 8px; padding: 18px; background: #fff; box-shadow: 0 5px 18px #17223808; }
.nb-mobile-profile * { box-sizing: border-box; letter-spacing: 0; }
.nb-mobile-profile__head { display: grid; grid-template-columns: 42px minmax(0, 1fr) 36px; gap: 12px; align-items: center; }
.nb-mobile-profile__avatar { width: 42px; height: 42px; border-radius: 8px; }
.nb-mobile-profile__identity { min-width: 0; }
.nb-mobile-profile__identity strong { display: block; color: #202c41; font-size: 14px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.nb-mobile-profile__identity span { display: block; margin-top: 4px; font-size: 11px; color: #6a788d; line-height: 1.5; overflow-wrap: anywhere; }
.nb-mobile-profile__settings { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e2e7ef; border-radius: 8px; background: #f8fafc; }
.nb-mobile-profile__settings img { width: 18px; height: 18px; }
.nb-mobile-profile__balances { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding-top: 18px; margin-top: 18px; border-top: 1px solid #e9edf2; }
.nb-mobile-profile__balances a { display: flex; flex-direction: column; gap: 6px; min-width: 0; text-decoration: none; }
.nb-mobile-profile__balances span { color: #748196; font-size: 11px; line-height: 1.4; }
.nb-mobile-profile__balances strong { color: #253449; font-size: 20px; font-weight: 750; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.nb-mobile-profile__balances .nb-mobile-profile__bonus strong { color: #258060; }
#nbMobileMenu .nb-mobile-profile__cart { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding-top: 14px; margin-top: 16px; border-top: 1px solid #e9edf2; color: #536982; font-size: 12px; text-decoration: none; background: none; box-shadow: none; }
.nb-mobile-profile__cart > span:first-child { display: flex; gap: 8px; align-items: center; }
.nb-mobile-profile__cart svg { width: 16px; height: 16px; }
.nb-mobile-profile__cart .header-cart-button__sum { font-weight: 700; }
.nb-logout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#mobileLogoutModal .nb-logout-cancel { background: #f1f4f8 !important; color: #3b4b63 !important; box-shadow: none !important; }

@media (max-width: 1199px) {
    body.has-mobile-account-nav { --mobile-nav-height: 68px; --mobile-nav-space: calc(var(--mobile-nav-height) + 1px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--mobile-nav-space); }
    body.has-mobile-account-nav .mobile-cta-button { display: none !important; }
    body.has-mobile-account-nav #siteHeader nav,
    body.has-mobile-account-nav #siteHeader .header-cart-button,
    body.has-mobile-account-nav #siteHeader > .flex.items-center.gap-3 > a:not(.nb-mobile-toggle) { display: none !important; }
    body.has-mobile-account-nav .nb-mobile-toggle { display: inline-flex; }
    body.has-mobile-account-nav #nbMobileMenu { bottom: var(--mobile-nav-space); }
    #nbMobileMenu .nb-mobile-menu__panel { overflow-y: auto; overscroll-behavior: contain; }
    body.has-mobile-account-nav .nb-cookie-consent { bottom: var(--mobile-nav-space); }
    .nb-bottom-nav { display: block; position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); border-top: 1px solid #e1e6ee; background: #ffffffed; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 -5px 24px #1a293b08; }
    .nb-bottom-nav * { box-sizing: border-box; letter-spacing: 0; }
    .nb-bottom-nav__items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 640px; height: var(--mobile-nav-height); margin: 0 auto; padding: 0 6px; }
    .nb-bottom-nav__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; width: 100%; height: 100%; padding: 6px 2px; border: 0; background: transparent; box-shadow: none; color: #6b778a; text-decoration: none; font: inherit; font-size: 10px; font-weight: 600; line-height: 1.3; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .nb-bottom-nav__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 30px; border-radius: 8px; transition: background .15s; }
    .nb-bottom-nav__icon > svg { width: 22px; height: 22px; stroke-width: 1.7; }
    .nb-bottom-nav__item.is-active { color: #263d60; }
    .nb-bottom-nav__item.is-active .nb-bottom-nav__icon { background: #eaf0f8; }
    .nb-bottom-nav__item.is-active::before { content: ''; position: absolute; top: 0; left: calc(50% - 10px); width: 20px; height: 2px; border-radius: 0 0 2px 2px; background: #354f77; }
    .nb-bottom-nav__item:hover, .nb-bottom-nav__item:active { color: #223c60; }
    .nb-bottom-nav__item:focus-visible { outline: 2px solid #638add; outline-offset: -4px; border-radius: 8px; }
    .nb-bottom-nav__badge { position: absolute; top: 0; right: -3px; padding: 1px 4px; min-width: 14px; border: 2px solid #fff; border-radius: 10px; background: #d45463; color: #fff; font-size: 8px; line-height: 12px; text-align: center; }
    body.modal-open .nb-bottom-nav, body.no-scroll .nb-bottom-nav, body.nb-keyboard-open .nb-bottom-nav { visibility: hidden; pointer-events: none; }
    body.nb-keyboard-open .nb-cookie-consent { bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nb-bottom-nav__icon { transition: none; }
}
