/* Next Big Domain 0.68.0
   Homepage blend correction + seller app/footer isolation.
   Presentation only: no billing, plan, credit, data or permission logic changes.
*/

/* --------------------------------------------------------------------------
   HOMEPAGE HERO — reference-style blend without letting live copy touch UI
   -------------------------------------------------------------------------- */
@media (min-width:1121px){
  .nbd-ref-hero{
    position:relative!important;
    min-height:665px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  .nbd-ref-hero-grid{
    position:relative!important;
    z-index:2!important;
    display:grid!important;
    grid-template-columns:minmax(0,41%) minmax(0,59%)!important;
    min-height:665px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:66px 0 50px clamp(48px,3.9vw,66px)!important;
    align-items:center!important;
    gap:0!important;
  }
  .nbd-ref-hero-copy{
    position:relative!important;
    z-index:5!important;
    width:100%!important;
    max-width:610px!important;
    padding:0!important;
  }
  .nbd-ref-hero h1{
    width:100%!important;
    max-width:600px!important;
    margin:0 0 24px!important;
    font-size:clamp(58px,4.2vw,72px)!important;
    line-height:1!important;
    letter-spacing:-.055em!important;
    text-wrap:balance!important;
  }
  .nbd-ref-hero-copy>p{
    width:100%!important;
    max-width:585px!important;
    margin:0!important;
    font-size:19px!important;
    line-height:1.66!important;
  }
  .nbd-ref-actions{margin-top:30px!important}
  .nbd-ref-assurance{margin-top:20px!important}

  /* The product visual is a separate layer. Its first few pixels fade into white,
     but the actual dark app rail is fully opaque. */
  .nbd-ref-dashboard-shot--reference{
    position:absolute!important;
    z-index:3!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(58vw,1088px)!important;
    max-width:none!important;
    height:665px!important;
    margin:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .nbd-ref-dashboard-shot--reference::before{
    display:none!important;
    content:none!important;
  }
  .nbd-ref-hero-product-image{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    margin:0!important;
    object-fit:cover!important;
    object-position:right top!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    filter:none!important;
    transform:none!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 3%,#000 9%,#000 100%)!important;
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.45) 3%,#000 9%,#000 100%)!important;
  }
  /* White safety veil guarantees that no baked image pixels can compete with live copy. */
  .nbd-ref-hero-bg{
    position:absolute!important;
    z-index:4!important;
    inset:0!important;
    pointer-events:none!important;
    background:linear-gradient(90deg,#fff 0%,#fff 38%,rgba(255,255,255,.985) 41%,rgba(255,255,255,.78) 44%,rgba(255,255,255,.18) 48%,rgba(255,255,255,0) 52%)!important;
    filter:none!important;
  }
}

@media (min-width:1121px) and (max-width:1500px){
  .nbd-ref-hero,.nbd-ref-hero-grid{min-height:620px!important}
  .nbd-ref-hero-grid{padding-top:50px!important;padding-left:clamp(34px,3.2vw,48px)!important}
  .nbd-ref-hero-copy{max-width:555px!important}
  .nbd-ref-hero h1{max-width:548px!important;font-size:clamp(52px,4.35vw,65px)!important}
  .nbd-ref-hero-copy>p{max-width:535px!important;font-size:18px!important}
  .nbd-ref-dashboard-shot--reference{width:min(58vw,960px)!important;height:620px!important}
  .nbd-ref-hero-bg{background:linear-gradient(90deg,#fff 0%,#fff 39%,rgba(255,255,255,.985) 42%,rgba(255,255,255,.74) 45%,rgba(255,255,255,.14) 49%,rgba(255,255,255,0) 53%)!important}
}

@media (max-width:1120px){
  .nbd-ref-hero-bg{background:linear-gradient(180deg,#fff 0%,#fff 58%,rgba(247,250,253,.95) 100%)!important}
  .nbd-ref-dashboard-shot--reference{position:relative!important;inset:auto!important;width:100%!important;max-width:940px!important;height:auto!important;margin:18px auto 0!important;overflow:hidden!important;border-radius:18px!important;background:#fff!important;box-shadow:0 24px 60px rgba(16,50,82,.10)!important}
  .nbd-ref-hero-product-image{width:100%!important;height:auto!important;max-width:940px!important;object-fit:contain!important;-webkit-mask-image:none!important;mask-image:none!important}
}

/* --------------------------------------------------------------------------
   SELLER WORKSPACE — application owns the page; marketing footer does not
   -------------------------------------------------------------------------- */
body.nbd-seller-dashboard-page .nbd-site-footer,
body.nbd-seller-dashboard-page footer.site-footer,
body.nbd-seller-dashboard-page #colophon,
body.nbd-seller-dashboard-page .site-footer-wrap{
  display:none!important;
}
body.nbd-seller-dashboard-page #inner-wrap,
body.nbd-seller-dashboard-page #primary,
body.nbd-seller-dashboard-page .content-area,
body.nbd-seller-dashboard-page main.site-main{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body.nbd-seller-dashboard-page{
  background:#f7f9fc!important;
}

@media (min-width:1121px){
  body.nbd-seller-dashboard-page .nbdm-dashboard.nbdm-workspace,
  body.nbd-seller-dashboard-page .nbdm-page.nbdm-workspace{
    min-height:calc(100dvh - var(--nbd-app-fixed-top,0px))!important;
  }
  body.nbd-seller-dashboard-page .nbdm-workspace .nbdm-workspace-layout{
    min-height:calc(100dvh - var(--nbd-app-fixed-top,0px))!important;
    background:linear-gradient(90deg,#061c33 0,var(--nbd-app-sidebar-width),#f7f9fc var(--nbd-app-sidebar-width),#f7f9fc 100%)!important;
  }
  body.nbd-seller-dashboard-page .nbdm-workspace .nbdm-workspace-content{
    min-height:calc(100dvh - var(--nbd-app-fixed-top,0px))!important;
  }
  body.nbd-seller-dashboard-page .nbdm-workspace .nbdm-overview-secondary{
    margin-bottom:42px!important;
  }
}
