/* v29: same storefront shell on the account page + compact profile shortcut. */
.bb-account-shortcut {
  display: inline-flex!important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  vertical-align: middle;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 9px;
  border: 1px solid #e6e5e3;
  border-radius: 13px;
  background: #fff;
  color: #222;
  text-decoration: none;
  line-height: 1;
}
.bb-account-shortcut:hover { background: #f3f3f2; }
.bb-account-shortcut:focus-visible { outline: 2px solid #202122; outline-offset: 3px; }
.bb-account-shortcut svg { display:block; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.header-actions:has(.bb-account-shortcut) { display: flex; align-items: center; gap: 8px; }
/* Existing header-cart is given its own cart stylesheet; this is for our account icon only. */
@media(max-width:820px){
 .header-actions:has(.bb-account-shortcut){ gap:6px; }
 .bb-account-shortcut { width:40px; height:40px; min-width:40px; border-radius:12px; padding:8px; }
 .bb-account-shortcut svg { width:19px; height:19px; }
}
/* Account page keeps site-wide header and footer but does not inherit home hero layout. */
body.bb-account { min-height:100vh; background:#f7f7f8; color:#202122; }
body.bb-account .bb-account-site-header { width:100%; z-index:100; position:relative; }
body.bb-account .bb-account-site-header .site-header { margin: 0 auto; }
body.bb-account .bb-account-main { max-width:1160px; margin:0 auto; padding:48px 24px 90px; min-height:48vh; }
body.bb-account .bb-account-site-footer .footer { margin-top:0; }
body.bb-account .bb-account-site-footer .footer__nav a,
body.bb-account .bb-account-site-footer .footer__contacts a { text-decoration:none; }
/* Guard against generic account rules overriding actual storefront nav/button styles. */
body.bb-account .bb-account-site-header .brand,
body.bb-account .bb-account-site-header .nav a,
body.bb-account .bb-account-site-header .header-actions a { text-decoration:none; }
body.bb-account .bb-account-site-header .nav-index { vertical-align:super; }
@media(max-width:820px){
 body.bb-account .bb-account-main { padding:28px 16px 64px; }
 body.bb-account .bb-account-site-header .site-header { width:calc(100% - 16px); }
}
/* In case an older storefront stylesheet is unavailable, keep a usable shell. */
body.bb-account .bb-account-site-header .site-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
body.bb-account .bb-account-site-header .brand { white-space:nowrap; }
body.bb-account .bb-account-site-header .nav { display:flex; align-items:center; }
@media(max-width:820px){
 body.bb-account .bb-account-site-header .nav { display:none; }
}
