/* SmartQ v1.1.301 — PUBLIC MERCHANT QBIO ONLY.
 * Keep the existing shared logo/GPS/bell/account bar in the parent document.
 * Make it transparent and place it OVER the already-existing Hero iframe,
 * not in a separate 68/60px strip. Home, Business dashboard, Studio, POS
 * and Kiosk are deliberately out of scope. No JS or player changes.
 */
.qbio-page.sq115-shell {
  position:relative;
}
.qbio-page.sq115-shell > .qbio-topbar.sq-shared-topbar-v170 {
  position:absolute!important;
  top:0!important;left:0;right:0;
  width:100%;height:68px;
  flex:0 0 auto;
  z-index:150;
  background:transparent!important;
  border:0!important;border-bottom:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  pointer-events:none; /* let Hero swipes through empty header space */
}
.qbio-page.sq115-shell > .qbio-topbar.sq-shared-topbar-v170 .sq-brand,
.qbio-page.sq115-shell > .qbio-topbar.sq-shared-topbar-v170 .qbio-top-actions {
  pointer-events:auto;
}
.qbio-page.sq115-shell > .qbio-topbar.sq-shared-topbar-v170 .sq-wordmark-safe-img {
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.90));
}
.qbio-page.sq115-shell > .qbio-topbar.sq-shared-topbar-v170 .qbio-top-actions {
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.75));
}
/* Without a flex-row header the existing iframe extends behind the header
 * and fills the full viewport; Hero video remains controlled by v298. */
.qbio-page.sq115-shell > .sq115-viewport {
  flex:1 1 0;
  min-height:0;
  height:100%;
}
/* Move only overlay controls inside embedded Merchant Qbio BELOW the
 * shared topbar; video remains full-bleed from y=0, no crop/fit changes. */
.qbio-page.sq122-embedded .qbio-hero .sq196-hero-button {
  top:calc(83px + env(safe-area-inset-top, 0px))!important;
}
.qbio-page.sq122-embedded .qbio-hero .sq-live-pulse-v172 {
  top:calc(84px + env(safe-area-inset-top, 0px))!important;
}
/* Service/team/review/location tab content still begins below the header. */
.qbio-page.sq122-embedded .qbio-page-panel:not([data-qbio-panel="qbio"]) .qbio-tab-page-main {
  padding-top:96px;
}
/* Owner management drawer is not a Hero; restore normal header flow so
 * the drawer Back button cannot be covered. Keep transparency/borderless. */
.qbio-page.sq115-shell:has(> .sq130-drawer:not([hidden])) > .qbio-topbar.sq-shared-topbar-v170 {
  position:relative!important;
  top:auto!important;
  flex:0 0 68px;
}
@media (max-width:760px) {
  .qbio-page.sq115-shell > .qbio-topbar.sq-shared-topbar-v170{height:60px;}
  .qbio-page.sq122-embedded .qbio-hero .sq196-hero-button {
    top:calc(75px + env(safe-area-inset-top, 0px))!important;
  }
  .qbio-page.sq122-embedded .qbio-hero .sq-live-pulse-v172 {
    top:calc(72px + env(safe-area-inset-top, 0px))!important;
  }
  .qbio-page.sq122-embedded .qbio-page-panel:not([data-qbio-panel="qbio"]) .qbio-tab-page-main {
    padding-top:74px;
  }
  .qbio-page.sq115-shell:has(> .sq130-drawer:not([hidden])) > .qbio-topbar.sq-shared-topbar-v170 {
    flex-basis:60px;
  }
}
