/* NanoHub identity drawer, compatible with Woodmart — v2.5.0 */
body.nh-drawer-open{overflow:hidden!important}
#nh-ultimate-popup{position:fixed;inset:0;display:none;align-items:stretch;justify-content:flex-end;z-index:9999999;background:rgba(11,22,38,.67);padding:0;overflow:hidden;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
#nh-ultimate-popup *{box-sizing:border-box}
#nh-ultimate-popup .nh-popup-content{position:relative;width:min(100vw,460px);height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:83px 26px 32px;background:#fff;color:#1d2b41;border-radius:0;box-shadow:-14px 0 50px rgba(15,23,42,.19);font-family:inherit}
#nh-ultimate-popup .nh-drawer-heading{position:absolute;left:0;right:0;top:0;min-height:59px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 22px;border-bottom:1px solid #edf0f4;background:#fff;font-size:15px;font-weight:800;color:#192c46;letter-spacing:-.2px}
#nh-ultimate-popup .nh-popup-close{width:35px;height:35px;min-height:35px;border:1px solid #e2e8f0;border-radius:50%;background:#f8fafc;color:#334155;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;box-shadow:none}
#nh-ultimate-popup .nh-popup-close:hover{background:#eff3f7}
#nh-ultimate-popup .nh-popup-close:focus-visible,#nh-ultimate-popup button:focus-visible,#nh-ultimate-popup a:focus-visible{outline:3px solid rgba(238,127,30,.3);outline-offset:2px}
#nh-ultimate-popup .nh-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;margin:0 0 28px;border-radius:11px;background:#f0f3f8;border:1px solid #ecf1f5}
#nh-ultimate-popup .nh-tab{min-width:0;padding:11px 3px;border:0;border-radius:8px;background:transparent;color:#627184;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;box-shadow:none;line-height:1.1}
#nh-ultimate-popup .nh-tab.active{background:#fff;color:#1b2b43;box-shadow:0 2px 8px rgba(20,40,70,.08)}
#nh-ultimate-popup .nh-section{display:none}
#nh-ultimate-popup .nh-section.active{display:block}
#nh-ultimate-popup .nhi-page{display:block!important;min-height:0!important;height:auto!important;padding:0!important;background:transparent!important;margin:0!important}
#nh-ultimate-popup .nhi-panel{width:100%!important;max-width:100%!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;text-align:left!important}
#nh-ultimate-popup .nhi-panel .nhi-logo{max-height:54px!important;width:auto!important;max-width:54%!important;margin:0 auto 17px!important;object-fit:contain}
#nh-ultimate-popup .nhi-panel h1{font-size:26px!important;line-height:1.2!important;margin:9px 0 11px!important;text-align:center!important}
#nh-ultimate-popup .nhi-panel .nhi-sub{font-size:13px!important;line-height:1.65!important}
#nh-ultimate-popup .nhi-panel .nhi-fields,#nh-ultimate-popup .nhi-panel .nhi-otp{gap:10px!important}
#nh-ultimate-popup .nhi-panel label{font-size:12px!important;color:#40516a!important}
#nh-ultimate-popup .nhi-panel input:not([type=checkbox]):not([type=hidden]):not(.nhpl-otp-digit){height:44px!important;min-height:44px!important;border:1px solid #dce3ee!important;border-radius:9px!important;padding:9px 12px!important;font-size:14px!important;background:#fff!important;color:#14243d!important}
#nh-ultimate-popup .nhi-panel .nhpl-six-digits{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;margin:5px 0!important;width:100%!important}
#nh-ultimate-popup .nhi-panel .nhpl-six-digits input.nhpl-otp-digit{display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;height:51px!important;min-height:51px!important;border:1.5px solid #d1dae8!important;border-radius:9px!important;padding:0!important;text-align:center!important;font-size:22px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;background:#fff!important;box-shadow:none!important}
#nh-ultimate-popup .nhi-panel .nhpl-six-digits input.nhpl-otp-digit:focus{border-color:#e87916!important;box-shadow:0 0 0 3px rgba(238,127,30,.18)!important;outline:0!important}
#nh-ultimate-popup .nhi-panel .nhi-primary{min-height:45px!important;border-radius:9px!important;background:#ee7e1b!important;color:#fff!important;border:0!important;font-size:14px!important;font-weight:800!important;padding:11px!important;box-shadow:none!important}
#nh-ultimate-popup .nhi-panel .nhi-primary:hover{background:#cf6c14!important}
#nh-ultimate-popup .nhi-panel .nhi-text-button{min-height:30px!important;width:auto!important;background:transparent!important;color:#c36610!important;font-size:11px!important;border:0!important;padding:4px!important;text-decoration:underline!important}
#nh-ultimate-popup .nhi-panel .nhi-text-button:disabled{color:#94a3b8!important;text-decoration:none!important}
#nh-ultimate-popup .nhi-panel .nhi-steps{font-size:10px!important}
#nh-ultimate-popup .nhi-panel .nhi-two-col{gap:10px!important}
#nh-ultimate-popup .nhi-panel .nhi-check{font-size:11px!important;display:flex!important;align-items:flex-start!important}
#nh-ultimate-popup .nhi-panel .nhi-check input[type=checkbox]{min-height:17px!important;height:17px!important;width:17px!important;padding:0!important;flex:0 0 17px!important}
#nh-ultimate-popup .nhi-panel .nhi-foot{margin-top:20px!important;font-size:12px!important}
#nh-ultimate-popup .nhi-panel .nhi-otp-sent{font-size:12px!important}
#nh-ultimate-popup .nhi-panel .nhi-otp-actions{display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important}
#nh-ultimate-popup .nhi-panel a{color:#bf6715}
#nh-ultimate-popup .nh-section[data-section=password] h3{margin:10px 0 8px;font-size:23px;text-align:center;font-weight:800;color:#17263e}
#nh-ultimate-popup .nh-drawer-sub{font-size:13px;line-height:1.6;color:#65758b;text-align:center;margin:0 0 25px}
#nh-ultimate-popup #nh-password-login{display:flex;flex-direction:column;gap:9px}
#nh-ultimate-popup #nh-password-login label{font-size:12px;font-weight:700;color:#334155}
#nh-ultimate-popup .nh-input{display:block;width:100%;height:46px;padding:11px 12px;border:1px solid #dde5ee;border-radius:9px;background:white;color:#182a43;font-size:14px;box-shadow:none;margin:0 0 11px}
#nh-ultimate-popup .nh-input:focus{outline:none;border-color:#ea801e;box-shadow:0 0 0 3px rgba(238,127,30,.14)}
#nh-ultimate-popup .nh-btn{width:100%;height:47px;border:0;background:#ee7e1b;border-radius:9px;color:#fff;font-weight:800;font-size:14px;cursor:pointer;padding:10px}
#nh-ultimate-popup .nh-btn:hover{background:#cb650e}
#nh-ultimate-popup .nh-btn:disabled{opacity:.58;cursor:wait}
#nh-ultimate-popup .nh-password-wrap{position:relative}
#nh-ultimate-popup .nh-password-wrap input{padding-right:72px}
#nh-ultimate-popup .nh-password-toggle{position:absolute;right:6px;top:6px;width:auto;min-height:34px;padding:6px 9px;border:0;border-radius:7px;background:#f1f5f9;color:#4e5d75;font-size:12px;font-weight:700;cursor:pointer}
#nh-ultimate-popup .nh-error{color:#b42318;font-size:13px;line-height:1.45;min-height:0;text-align:center}
#nh-ultimate-popup .nh-drawer-foot{font-size:12px;text-align:center;color:#65758b;margin:17px 0 0}
#nh-ultimate-popup a{color:#c36c19}
@media(max-width:480px){#nh-ultimate-popup .nh-popup-content{width:100%;padding:77px 20px 25px}#nh-ultimate-popup .nh-tabs{margin-bottom:20px}#nh-ultimate-popup .nhi-panel .nhpl-six-digits{gap:5px!important}#nh-ultimate-popup .nhi-panel .nhpl-six-digits input.nhpl-otp-digit{min-height:48px!important;height:48px!important;font-size:20px!important}}
@media(prefers-reduced-motion:reduce){#nh-ultimate-popup *{transition:none!important;scroll-behavior:auto!important}}

/* v2.5.3: Clear account links in the Woodmart header for guest visitors. */
.whb-header .nh-header-auth-actions,header .nh-header-auth-actions{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:7px;margin-inline-end:9px;vertical-align:middle;white-space:nowrap}
.whb-header .nh-header-auth-link,header .nh-header-auth-link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:34px;padding:7px 12px;border-radius:8px;border:1px solid #ccd9e5;background:#fff;color:#194866!important;text-decoration:none!important;font-size:12px;font-weight:800;line-height:1.2;box-shadow:none;white-space:nowrap;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.whb-header .nh-header-auth-link:hover,header .nh-header-auth-link:hover{background:#f3f8fc;border-color:#8faec8}
.whb-header .nh-header-auth-signup,header .nh-header-auth-signup{background:#ed7b16!important;border-color:#ed7b16!important;color:#fff!important}
.whb-header .nh-header-auth-signup:hover,header .nh-header-auth-signup:hover{background:#cc6410!important;border-color:#cc6410!important}
.whb-header .nh-header-auth-link:focus-visible,header .nh-header-auth-link:focus-visible{outline:3px solid rgba(237,123,22,.4);outline-offset:2px}
@media(max-width:767px){.whb-header .nh-header-auth-actions,header .nh-header-auth-actions{gap:4px;margin-inline-end:5px}.whb-header .nh-header-auth-link,header .nh-header-auth-link{min-height:30px;padding:6px 7px;border-radius:6px;font-size:10px;letter-spacing:0}}
@media(max-width:375px){.whb-header .nh-header-auth-link,header .nh-header-auth-link{min-height:28px;padding:5px 5px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.whb-header .nh-header-auth-link,header .nh-header-auth-link{transition:none}}


/* v2.5.4: compact guest account header on WoodMart mobile/tablet header. Desktop retains both CTAs. */
@media (max-width:1024px) {
  .whb-header .nh-header-auth-actions,
  header .nh-header-auth-actions {
    display:inline-flex!important;
    align-items:center!important;
    gap:0!important;
    margin:0 3px 0 0!important;
    flex:0 0 auto!important;
  }
  .whb-header .nh-header-auth-actions .nh-header-auth-signup,
  header .nh-header-auth-actions .nh-header-auth-signup { display:none!important; }
  .whb-header .nh-header-auth-actions .nh-header-auth-login,
  header .nh-header-auth-actions .nh-header-auth-login {
    display:inline-flex!important;
    min-height:35px!important;
    padding:7px 11px!important;
    font-size:12px!important;
    font-weight:800!important;
    border-radius:9px!important;
    border-color:#ed7b16!important;
    background:#fff!important;
    color:#a94e08!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  /* Hide Woodmart's duplicate unlabeled icon only after our button was mounted. */
  .nh-auth-mounted > .wd-header-my-account,
  .nh-auth-mounted > .wd-header-account {display:none!important;}
  /* Prevent logo growth from squeezing the mobile menu and sign-in action. */
  .whb-mobile-header .wd-logo img {max-height:43px!important;width:auto!important;max-width:112px!important;object-fit:contain!important;}
}
@media (max-width:370px) {
  .whb-header .nh-header-auth-actions .nh-header-auth-login,
  header .nh-header-auth-actions .nh-header-auth-login { min-height:33px!important;padding:6px 8px!important;font-size:11px!important; }
  .whb-mobile-header .wd-logo img {max-width:100px!important;}
}
