.nlsv2-root{position:relative;z-index:9990;background:#fff}
.nlsv2-preview-ribbon{padding:6px 12px;background:#fff7e6;border-bottom:1px solid #f4d7a1;color:#92400e;font:600 11px/1.3 system-ui,sans-serif;text-align:center}
.nlsv2-mobile-shell,.nlsv2-desktop-shell{background:#fff}
.nlsv2-mobile-shell .nls-nav-preview-head,
.nlsv2-desktop-shell .nlsn-panel-head{display:none!important}
.nlsv2-mobile-shell .nls-nav-preview-wrap,
.nlsv2-desktop-shell .nlsn-panel{position:static!important;top:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.nlsv2-mobile-shell #nls-phone-preview{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.nlsv2-desktop-shell .nls-desktop-shell{max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.nls-nav-v2-live .dgwt-wcas-suggestions-wrapp,
body.nls-nav-v2-live .dgwt-wcas-details-wrapp,
body.nls-nav-v2-live .dgwt-wcas-pre-suggestions-wrapp,
body.nls-nav-v2-live .dgwt-wcas-darkened-overlay{z-index:10040}
@media(max-width:1023px){
  body.nls-nav-v2-live .dgwt-wcas-suggestions-wrapp,
  body.nls-nav-v2-live .dgwt-wcas-details-wrapp,
  body.nls-nav-v2-live .dgwt-wcas-pre-suggestions-wrapp,
  body.nls-nav-v2-live .dgwt-wcas-darkened-overlay{display:none!important;visibility:hidden!important;pointer-events:none!important}

  .nlsv2-desktop-shell{display:none!important}
  .nlsv2-mobile-shell{display:block!important}
  .nlsv2-mobile-shell .nls-nav-preview-wrap{width:100%!important;max-width:none!important}
  .nlsv2-mobile-shell #nls-phone-preview{overflow:visible!important}
}
@media(min-width:1024px){
  .nlsv2-mobile-shell{display:none!important}
  .nlsv2-desktop-shell{display:block!important}
}
/* Live takeover geometry and stacking */
body.nls-nav-v2-live .nlsv2-root{position:sticky;top:0;z-index:1000000}
body.admin-bar.nls-nav-v2-live .nlsv2-root{top:32px}
body.admin-bar.nls-nav-v2-preview .nlsv2-root{position:relative!important;top:auto!important}
.nlsv2-desktop-shell .nls-desktop-shell{position:relative!important;overflow:visible!important}
.nlsv2-desktop-shell .nls-desktop-panels{position:absolute!important;left:0!important;right:0!important;top:100%!important;z-index:10010!important;background:#fff!important;box-shadow:0 22px 42px -30px rgba(25,23,19,.42)}
.nlsv2-desktop-shell .nls-desktop-panel{background:#fff!important}
body.nls-nav-v2-overlay-open #nls-sticky-atc{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:1023px){
  .nlsv2-mobile-shell #nls-phone-preview.is-menu-open,
  .nlsv2-mobile-shell #nls-phone-preview.is-search-open{
    position:fixed!important;
    inset:0!important;
    z-index:1000001!important;
    width:100vw!important;
    max-width:none!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .nlsv2-mobile-shell #nls-phone-preview.is-menu-open .nls-phone-viewport{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
  }
}
@media(max-width:782px){
  body.admin-bar.nls-nav-v2-live .nlsv2-root{top:46px}
  body.admin-bar.nls-nav-v2-live .nlsv2-mobile-shell #nls-phone-preview.is-menu-open,
  body.admin-bar.nls-nav-v2-live .nlsv2-mobile-shell #nls-phone-preview.is-search-open{
    top:46px!important;
    height:calc(100dvh - 46px)!important;
    min-height:calc(100dvh - 46px)!important;
  }
}

/* Keep the real Salient/WooCommerce minicart above the Builder header. */
body.nls-nav-v2-live .nectar-slide-in-cart{z-index:1000003!important}
body.nls-nav-v2-live .nectar-slide-in-cart-bg{z-index:1000002!important}
body.admin-bar.nls-nav-v2-live .nectar-slide-in-cart{top:32px!important;height:calc(100% - 32px)!important}
@media(max-width:782px){
  body.admin-bar.nls-nav-v2-live .nectar-slide-in-cart{top:46px!important;height:calc(100% - 46px)!important}
}

body.nls-nav-v2-cart-open{overscroll-behavior:none;touch-action:none}
body.nls-nav-v2-cart-open .nectar-slide-in-cart{touch-action:pan-y;overscroll-behavior:contain}

/* Header logo links */
.nlsv2-root .nls-phone-brand>a,
.nlsv2-root .nls-desktop-logo>a{display:flex;align-items:center;color:inherit;text-decoration:none}
