:root{--bo-primary:#0b3d5e;--bo-teal:#0ea5a0;--bo-bg:#f7f9fb;--bo-border:#e5e9ef;--bo-text:#102235;--bo-muted:#718096}

/* Belt-and-suspenders horizontal-scroll lockdown, applied on every
   page using this shell. Individual pages already set overflow-x on
   body themselves, but a header/footer element that's even a few
   pixels too wide on a narrow phone can still force the viewport to
   become horizontally scrollable ("the page slides a little") unless
   BOTH html and body are constrained — some mobile browsers only
   fully respect this when it's set on both. */
html{overflow-x:hidden;max-width:100vw}
body.bo-customer-shell{overflow-x:hidden;max-width:100vw}

/* ══════════ LAYOUT SPACING ══════════ */
body.bo-customer-shell{padding-top:68px!important;padding-bottom:78px!important;min-width:0!important}
@media(min-width:900px){body.bo-customer-shell{padding-bottom:0!important}}

/* ══════════ TOP HEADER (all breakpoints) ══════════ */
.bo-global-header{position:fixed;top:0;left:0;right:0;height:68px;background:rgba(7,30,52,.98);backdrop-filter:blur(14px);z-index:10000;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 4px 20px rgba(0,0,0,.12);max-width:100vw}
.bo-header-inner{height:100%;max-width:1440px;margin:auto;padding:0 16px;display:flex;align-items:center;gap:10px;min-width:0}
@media(max-width:420px){.bo-header-inner{padding:0 12px;gap:6px}}

/* Logo + brand name — always visible, every breakpoint */
.bo-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#fff;min-width:0;overflow:hidden}
.bo-brand img{width:36px;height:36px;border-radius:10px;object-fit:cover;flex-shrink:0}
.bo-brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#0ea5a0,#14c4be);display:grid;place-items:center;font-weight:800;font-size:14px;flex-shrink:0}
.bo-brand-text{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.bo-brand-name{font:700 16px 'Playfair Display',Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bo-brand-sub{font-size:9px;color:rgba(255,255,255,.55);letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:380px){.bo-brand-sub{display:none}}

/* Desktop nav links — hidden on mobile, shown >=900px */
.bo-desktop-menu{display:none;align-items:center;gap:2px;flex:1;justify-content:center}
.bo-desktop-menu a{color:rgba(255,255,255,.7);text-decoration:none;padding:9px 16px;border-radius:9px;font:600 13.5px Arial,sans-serif;transition:.2s;white-space:nowrap}
.bo-desktop-menu a:hover{color:#fff;background:rgba(255,255,255,.08)}
.bo-desktop-menu a.active{color:#fff;background:rgba(14,165,160,.22)}

.bo-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}
.bo-head-icon{width:36px;height:36px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;display:grid;place-items:center;text-decoration:none;font-size:16px;flex-shrink:0;position:relative}
.bo-head-icon .dot{position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;background:#ef4444;border:1.5px solid #0a2540}

/* Install App slot — sits in the CENTER of the header (between nav
   links and the right-side actions), never floating/overlapping. */
.bo-install-slot{flex:1;display:none;justify-content:center;min-width:0}
@media(min-width:900px){.bo-install-slot{display:flex}}
.bo-install-slot:empty{display:none!important}

.bo-install-icon-mobile{display:grid;width:36px;height:36px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.07);place-items:center;color:#fff;font-size:16px;flex-shrink:0;cursor:pointer}
@media(min-width:900px){.bo-install-icon-mobile{display:none}}

/* Refer & Earn — always-visible gold badge, distinct from the
   account dropdown copy of the same link, so it stays promoted. */
.bo-refer-badge{display:none;align-items:center;gap:6px;background:rgba(201,168,76,.16);border:1px solid rgba(201,168,76,.35);border-radius:50px;padding:6px 12px;text-decoration:none;color:#e8c96a;font-size:11.5px;font-weight:700;flex-shrink:0;white-space:nowrap}
@media(min-width:900px){.bo-refer-badge{display:flex}}

.bo-account-wrap{position:relative;flex-shrink:0}
.bo-account{display:flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.07);border-radius:10px;padding:5px 10px 5px 5px;color:#fff;cursor:pointer;font:inherit}
.bo-avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0ea5a0,#14c4be);font-size:11px;font-weight:800;flex-shrink:0}
.bo-account-label{font-size:12px;font-weight:700;max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bo-caret{font-size:9px;color:rgba(255,255,255,.6)}
@media(max-width:640px){.bo-account-label{display:none}.bo-account{padding:5px}.bo-caret{display:none}}

.bo-account-dropdown{position:absolute;top:44px;right:0;width:190px;background:#fff;border:1px solid var(--bo-border);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.18);padding:8px;z-index:10001;display:none;opacity:0;transform:translateY(-6px);transition:opacity .15s,transform .15s}
.bo-account-dropdown.open{display:block;opacity:1;transform:translateY(0)}
.bo-account-dropdown a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;text-decoration:none;color:var(--bo-text);font-size:13px;font-weight:600}
.bo-account-dropdown a:hover{background:var(--bo-bg)}
.bo-account-dropdown .di{font-size:16px;width:18px;text-align:center;flex-shrink:0}
.bo-dropdown-divider{height:1px;background:var(--bo-border);margin:6px 2px}
.bo-logout-item{color:#e53e3e!important}

/* Hamburger — mobile only, opens the side drawer */
.bo-hamburger{display:grid;width:36px;height:36px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.07);place-items:center;cursor:pointer;flex-shrink:0}
.bo-hamburger span{display:block;width:16px;height:2px;background:#fff;border-radius:2px;position:relative}
.bo-hamburger span::before,.bo-hamburger span::after{content:'';position:absolute;left:0;width:16px;height:2px;background:#fff;border-radius:2px;transition:.2s}
.bo-hamburger span::before{top:-5px}.bo-hamburger span::after{top:5px}
@media(min-width:900px){.bo-hamburger{display:none}.bo-desktop-menu{display:flex}}

/* ══════════ SIDE DRAWER (mobile) ══════════ */
.bo-drawer-overlay{position:fixed;inset:0;background:rgba(7,20,35,.55);z-index:10099;opacity:0;pointer-events:none;transition:opacity .25s}
.bo-drawer-overlay.open{opacity:1;pointer-events:auto}
.bo-drawer{position:fixed;top:0;bottom:0;left:0;width:280px;max-width:82vw;background:#fff;z-index:10100;transform:translateX(-100%);transition:transform .28s cubic-bezier(.4,0,.2,1);box-shadow:8px 0 30px rgba(0,0,0,.2);display:flex;flex-direction:column;overflow-y:auto}
.bo-drawer.open{transform:translateX(0)}
.bo-drawer-head{background:linear-gradient(135deg,var(--bo-primary),#0d5a80);padding:26px 20px 20px;color:#fff;flex-shrink:0;position:relative}
.bo-drawer-user{display:flex;align-items:center;gap:12px}
.bo-drawer-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#0ea5a0,#14c4be);display:grid;place-items:center;font-size:19px;font-weight:800;flex-shrink:0}
.bo-drawer-name{font-weight:700;font-size:15px}
.bo-drawer-sub{font-size:11.5px;color:rgba(255,255,255,.65);margin-top:2px}
.bo-drawer-close{position:absolute;top:16px;right:14px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;border:none;font-size:15px;cursor:pointer}
.bo-drawer-nav{padding:10px 10px 20px;flex:1}
.bo-drawer-nav a{display:flex;align-items:center;gap:14px;padding:12px 12px;border-radius:10px;text-decoration:none;color:var(--bo-text);font-weight:600;font-size:14px;margin-bottom:2px}
.bo-drawer-nav a:active,.bo-drawer-nav a.active{background:var(--bo-bg);color:var(--bo-teal)}
.bo-drawer-nav .di{font-size:19px;width:22px;text-align:center;flex-shrink:0}
.bo-drawer-divider{height:1px;background:var(--bo-border);margin:10px 4px}
.bo-drawer-section-label{font-size:10.5px;font-weight:700;color:var(--bo-muted);text-transform:uppercase;letter-spacing:.06em;padding:8px 12px 4px}
.bo-drawer-foot{padding:16px 20px;border-top:1px solid var(--bo-border);font-size:11px;color:var(--bo-muted);flex-shrink:0}

/* ══════════ MOBILE BOTTOM NAV ══════════ */
.bo-mobile-bottom{display:none;position:fixed;left:0;right:0;bottom:0;height:68px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--bo-border);z-index:10000;box-shadow:0 -5px 20px rgba(15,35,55,.08)}
.bo-mobile-bottom a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#718096;font-size:10px;font-weight:700}
.bo-mobile-bottom a .i{font-size:19px;line-height:1}
.bo-mobile-bottom a.active{color:#0ea5a0}
.bo-mobile-bottom a.center{position:relative;color:#0a2540;}
.bo-mobile-bottom a.center .i{font-size:26px;width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#0ea5a0,#0e3a5e);color:#fff;box-shadow:0 6px 16px rgba(14,165,160,.4),0 0 0 4px #fff;transform:translateY(-14px);margin-bottom:-8px;}
.bo-mobile-bottom a.center.active .i{background:linear-gradient(135deg,#14c4be,#0ea5a0);}
.bo-mobile-bottom a.center span:last-child{font-size:9.5px;}
@media(max-width:899px){.bo-mobile-bottom{display:flex}}

/* Remove legacy page-specific navigation; page content remains intact. */
body.bo-customer-shell .nav,body.bo-customer-shell .mob-nav,body.bo-customer-shell .navbar,body.bo-customer-shell .topbar,body.bo-customer-shell .site-navbar{display:none!important}
