.bhoa-app-shell {
  --bhoa-shell-bg: var(--bhoa-bg, #080808);
  --bhoa-shell-panel: var(--bhoa-surface-2, rgba(255,255,255,.03));
  --bhoa-shell-stroke: var(--bhoa-border, rgba(255,255,255,.06));
  --bhoa-shell-text: var(--bhoa-text, #f0ede8);
  --bhoa-shell-muted: var(--bhoa-text-3, #666666);
  --bhoa-shell-accent: var(--bhoa-accent, #c0392b);
  --z-toolbar: 21;
  --z-panel: 60;
  color: var(--bhoa-shell-text);
  background: var(--bhoa-shell-bg);
  border: 0;
  border-radius: 0;
  overflow: visible;
  min-height: auto;
}

.bhoa-app-shell__header {
  display: none;
}

.bhoa-app-shell.is-scrolled .bhoa-app-shell__header {
  background: var(--bhoa-shell-bg);
  border-bottom-color: var(--bhoa-shell-stroke);
}

.bhoa-app-shell__brand-badge {
  display: none !important;
}

.bhoa-app-shell__brand-badge img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  border: 0;
  box-shadow: none;
}

.bhoa-app-shell__brand-badge strong {
  display: block;
  font-size: 11px;
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--bhoa-shell-text);
  font-family: "DM Sans", -apple-system, sans-serif;
}

.bhoa-app-shell__brand-badge small {
  display: block;
  margin-top: 1px;
  color: var(--bhoa-shell-muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bhoa-app-shell__tabs {
  display: none !important;
  gap: 0;
  padding: 0;
  border: none;
  border-bottom: 2px solid var(--bhoa-shell-stroke);
  border-radius: 0;
  background: transparent;
}

.bhoa-app-shell__tabs--hidden {
  display: none !important;
}

.bhoa-control-menu {
  position: relative;
  z-index: var(--z-toolbar);
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}

.bhoa-control-menu__toggle {
  min-height: 34px;
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 0;
  border: 2px solid var(--bhoa-shell-stroke);
  background: transparent;
  color: var(--bhoa-shell-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .15s, color .15s;
}

.bhoa-control-menu__toggle--logo {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
}

.bhoa-control-menu__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bhoa-control-menu__toggle--logo img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.bhoa-control-menu__brand-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.bhoa-control-menu__brand-copy strong {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bhoa-shell-text);
}

.bhoa-control-menu__brand-copy small {
  display: block;
  font-size: 10px;
  color: var(--bhoa-shell-muted);
  letter-spacing: .04em;
}

.bhoa-control-menu__toggle--logo .bhoa-control-menu__icon {
  display: none !important;
}
.bhoa-control-menu__toggle:hover {
  border-color: var(--bhoa-shell-accent);
  color: var(--bhoa-shell-accent);
}

.bhoa-control-menu__icon {
  width: 11px;
  height: 8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.bhoa-control-menu__icon i {
  width: 100%;
  height: 1px;
  display: block;
  border-radius: 999px;
  background: var(--bhoa-shell-text);
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}

.bhoa-control-menu__toggle[aria-expanded="true"] .bhoa-control-menu__icon i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bhoa-control-menu__toggle[aria-expanded="true"] .bhoa-control-menu__icon i:nth-child(2) {
  opacity: 0;
}

.bhoa-control-menu__toggle[aria-expanded="true"] .bhoa-control-menu__icon i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Control Menu Panel ───────────────────────────────────────────────────── */
.bhoa-control-menu__panel {
  position: fixed;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  top: 66px;
  width: min(320px, calc(100vw - 20px));
  max-height: min(80vh, 580px);
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  padding: 6px;
  border: 2px solid var(--bhoa-shell-stroke);
  border-radius: 0;
  background: var(--bhoa-surface, #0f0f0f);
  box-shadow: 4px 4px 0 rgba(192,57,43,.4);
  z-index: var(--z-panel);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  color: var(--bhoa-shell-text);
}

.bhoa-app-shell__body { padding: 0; }

.bhoa-control-menu__panel,
.bhoa-control-menu__panel * { box-sizing: border-box; }

.bhoa-control-menu__panel[hidden] { display: none !important; }

/* ── Nav items ──────────────────────────────────────────────────────────── */
.bhoa-cm__nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 2px 0;
}

.bhoa-cm__nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bhoa-shell-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: .04em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .12s;
}

.bhoa-cm__nav-item:hover,
.bhoa-cm__nav-item:focus-visible {
  background: transparent;
  color: var(--bhoa-shell-accent);
}

.bhoa-cm__nav-icon {
  flex-shrink: 0;
  color: var(--bhoa-shell-muted);
  transition: color .1s;
}

.bhoa-cm__nav-item:hover .bhoa-cm__nav-icon,
.bhoa-cm__nav-item:focus-visible .bhoa-cm__nav-icon {
  color: var(--bhoa-shell-accent);
}

/* ── Separator + section label ──────────────────────────────────────────── */
.bhoa-cm__sep {
  height: 1px;
  margin: 5px 4px;
  background: var(--bhoa-shell-stroke);
}

.bhoa-cm__section-label {
  padding: 6px 10px 3px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bhoa-shell-muted);
  font-weight: 600;
}

/* ── Account bar ────────────────────────────────────────────────────────── */
.bhoa-cm__account-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.bhoa-cm__account-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 0;
  border: 2px solid var(--bhoa-shell-accent);
  background: transparent;
  color: var(--bhoa-shell-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bhoa-cm__account-info {
  flex: 1;
  min-width: 0;
}

.bhoa-cm__account-empty-hint {
  display: block;
  font-size: 11.5px;
  color: var(--bhoa-shell-muted);
  font-style: italic;
}

/* JS shows summary and hides hint when profile is saved */
.bhoa-order-app__profile-summary:not([hidden]) ~ .bhoa-cm__account-empty-hint {
  display: none;
}

.bhoa-order-app__profile-summary {
  font-size: 11.5px;
  color: var(--bhoa-shell-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bhoa-cm__account-toggle {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--bhoa-shell-muted);
  font-size: 11px;
  font-family: inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 2px 0;
  transition: color .12s;
}

.bhoa-cm__account-toggle:hover { color: var(--bhoa-shell-accent); }

/* ── Profile form ───────────────────────────────────────────────────────── */
.bhoa-cm__profile-content {
  display: grid;
  gap: 8px;
  padding: 4px 10px 10px;
}

.bhoa-cm__field {
  display: grid;
  gap: 4px;
}

.bhoa-cm__field-label {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bhoa-shell-muted);
  font-weight: 600;
}

.bhoa-cm__input {
  width: 100%;
  min-height: 36px;
  border: none;
  border-bottom: 2px solid var(--bhoa-shell-stroke);
  border-radius: 0;
  background: transparent;
  color: var(--bhoa-shell-text);
  padding: 0 10px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color .14s;
  -webkit-appearance: none;
}

.bhoa-cm__input:focus {
  outline: none;
  border-bottom-color: var(--bhoa-shell-accent);
}

.bhoa-cm__input::placeholder { color: #bbbbbb; }

.bhoa-cm__input--otp {
  text-align: center;
  letter-spacing: .18em;
  font-size: 14px;
}

.bhoa-cm__fields-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.bhoa-cm__otp-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 5px;
  align-items: center;
}

.bhoa-cm__btn-ghost {
  min-height: 34px;
  padding: 0 10px;
  border: 2px solid var(--bhoa-shell-stroke);
  border-radius: 0;
  background: transparent;
  color: var(--bhoa-shell-muted);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}

.bhoa-cm__btn-ghost:hover {
  border-color: var(--bhoa-shell-accent);
  color: var(--bhoa-shell-accent);
}

.bhoa-cm__btn-primary {
  min-height: 36px;
  padding: 0 14px;
  border: 2px solid var(--bhoa-shell-accent);
  border-radius: 0;
  background: var(--bhoa-shell-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,.6);
  transition: transform .12s, box-shadow .12s;
}

.bhoa-cm__btn-primary:hover {
  filter: none;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(0,0,0,.6);
}

.bhoa-cm__btn-link {
  border: 0;
  background: transparent;
  color: var(--bhoa-shell-muted);
  font-size: 11.5px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .12s;
  padding: 0;
}

.bhoa-cm__btn-link:hover { color: var(--bhoa-shell-accent); }

.bhoa-cm__profile-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2px;
}

/* ── Staff auth ─────────────────────────────────────────────────────────── */
.bhoa-control-menu__auth {
  display: grid;
  gap: 6px;
  padding: 4px 10px 8px;
}

.bhoa-control-menu__auth[hidden] { display: none !important; }

.bhoa-control-menu__auth input {
  min-height: 36px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid var(--bhoa-shell-stroke);
  background: transparent;
  color: var(--bhoa-shell-text);
  padding: 0 10px;
  font-size: 16px;
  font-family: inherit;
}

.bhoa-control-menu__auth small {
  font-size: 11px;
  color: var(--bhoa-shell-muted);
  min-height: 14px;
}

.bhoa-control-menu__protected {
  display: grid;
  gap: 2px;
  padding: 0 0 4px;
}

.bhoa-control-menu__protected[hidden] { display: none !important; }

.bhoa-loyalty-menu,
#bhoa-loyalty-redeem,
#bhoa-loyalty-summary {
  display: none !important;
}

.bhoa-app-shell__tab {
  flex: 1;
  min-height: 40px;
  padding: 0 10px;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--bhoa-shell-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

.bhoa-app-shell__tab:hover {
  color: var(--bhoa-shell-text);
}

.bhoa-app-shell__tab.is-active {
  color: var(--bhoa-shell-text);
  border-bottom-color: var(--bhoa-shell-accent);
  font-weight: 900;
}

.bhoa-app-shell__body {
  padding: 8px;
  padding-top: 10px;
  padding-bottom: 152px;
}

.bhoa-app-shell__panel {
  min-height: 58vh;
}

.bhoa-app-shell__panel[hidden] {
  display: none !important;
}

.bhoa-app-shell .bh-beta-staff,
.bhoa-app-shell .bh-beta-display {
  margin: 0;
}

.bhoa-app-shell__social {
  display: none !important;
}

.bhoa-app-shell__social:hover {
  opacity: 1;
}

.bhoa-app-shell__social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 2px solid var(--bhoa-shell-stroke);
  background: transparent;
  color: var(--bhoa-shell-muted);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}

.bhoa-app-shell__social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.bhoa-app-shell__social-link--sos span{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.bhoa-app-shell__social-link:hover {
  border-color: var(--bhoa-shell-accent);
  color: var(--bhoa-shell-accent);
}

@media (min-width: 821px) {
  .bhoa-app-shell {
    border-radius: 0;
    min-height: 70vh;
  }

  .bhoa-app-shell__tab {
    flex: none;
    min-height: 34px;
    padding: 0 14px;
  }

  .bhoa-app-shell__body {
    padding: 12px;
    padding-top: 14px;
    padding-bottom: 148px;
  }

  .bhoa-app-shell__brand-badge img {
    width: 32px;
    height: 32px;
  }
  .bhoa-app-shell__brand-badge strong {
    font-size: 14px;
  }
  .bhoa-app-shell__brand-badge small {
    font-size: 10px;
  }

  .bhoa-control-menu__panel {
    width: min(300px, calc(100vw - 24px));
    right: 12px;
    left: auto;
    transform: none;
    top: 62px;
  }
  .bhoa-control-menu {
    left: auto;
    top: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhoa-control-menu__toggle {
    transition: none;
  }
}

.bh-global-menu {
  display: none !important;
}
