/* Layout for an existing WoodMart header that contains this navigation. No assignment rules. */
.whb-header:has(.tn51-shell-nav) .whb-row > .container{box-sizing:border-box;width:100%;max-width:calc(1380px + 2 * clamp(18px,4.4vw,76px));padding-inline:clamp(18px,4.4vw,76px);margin-inline:auto}
.whb-header:has(.tn51-shell-nav) .whb-general-header{background:#1d342c;color:white}
.whb-header:has(.tn51-shell-nav) .whb-general-header-inner{min-height:76px;height:auto;max-height:none;display:grid;grid-template-columns:auto minmax(120px,740px) auto;align-items:center;column-gap:clamp(20px,4vw,70px)}
.whb-header:has(.tn51-shell-nav) .whb-general-header-inner>.whb-visible-lg{display:flex;min-width:0;padding:0}
.whb-header:has(.tn51-shell-nav) .whb-general-header-inner>.whb-hidden-lg{display:none}
.whb-header:has(.tn51-shell-nav) .whb-column10{justify-self:end;gap:16px}
.whb-header:has(.tn51-shell-nav) .wd-header-search-form{width:100%;min-width:0;max-width:none}
.whb-header:has(.tn51-shell-nav) .wd-header-search-form form{display:flex;align-items:center;background:white;border-radius:3px;color:#202824;min-height:44px;padding:0 0 0 16px}
.whb-header:has(.tn51-shell-nav) .tn51-search-tag{font-size:13px;font-weight:700;white-space:nowrap;line-height:1.45;border-right:1px solid #bcc6bd;padding-right:12px;margin:0}
.whb-header:has(.tn51-shell-nav) .wd-header-search-form form input[name=s]{width:100%;min-width:0;height:44px;padding:0 52px 0 12px;border:0;background:transparent;color:#202824;font-size:14px;box-shadow:none}
.whb-header:has(.tn51-shell-nav) .wd-header-search-form form button[type=submit]{border:0;border-radius:0 3px 3px 0;width:48px;min-height:44px;background:#e0e6df;color:#1d342c}
.whb-header:has(.tn51-shell-nav) .wd-header-my-account>a,.whb-header:has(.tn51-shell-nav) .wd-header-cart>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;color:white}
.whb-header:has(.tn51-shell-nav) .tn51-action-caption{color:inherit;font-size:14px;font-weight:600;white-space:nowrap}
.whb-header:has(.tn51-shell-nav) .whb-header-bottom{background:#fff;border-bottom:1px solid #d4dad5;color:#202824}
.whb-header:has(.tn51-shell-nav) .whb-header-bottom-inner{height:auto;max-height:none;min-height:48px;display:block;padding:0}
.whb-header:has(.tn51-shell-nav) .whb-header-bottom-inner>.whb-column:not(.whb-column11){display:none}
.whb-header:has(.tn51-shell-nav) .whb-header-bottom-inner>.whb-column11{display:block;padding:0;width:100%}
.whb-header:has(.tn51-shell-nav) .tn51-nav-host{width:100%}
.whb-header:has(.tn51-shell-nav) .tn51-shell-nav{min-height:48px;width:100%;display:flex;gap:clamp(12px,2.35vw,38px);align-items:center;color:#202824}
.whb-header:has(.tn51-shell-nav) .tn51-shell-nav>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;line-height:1.4;color:inherit;font-size:14px;font-weight:650;white-space:nowrap;text-decoration:none}
.whb-header:has(.tn51-shell-nav) .tn51-shell-nav>a:hover{text-decoration:underline;text-underline-offset:3px}
.whb-header:has(.tn51-shell-nav) .tn51-shell-nav>.tn51-nav-aux{margin-inline-start:auto}
.whb-header:has(.tn51-shell-nav) .tn51-nav-all:before{content:"";display:inline-block;width:14px;height:14px;background:linear-gradient(90deg,transparent 42%,currentColor 42%,currentColor 54%,transparent 54%),linear-gradient(transparent 42%,currentColor 42%,currentColor 54%,transparent 54%);border:1.5px solid;border-radius:1px;box-sizing:border-box}
.whb-header:has(.tn51-shell-nav) .tn51-menu>nav{display:none}
.whb-header:has(.tn51-shell-nav) .tn51-menu summary{position:relative;list-style:none;display:grid;place-content:center;min-width:44px;min-height:44px;padding:0;cursor:pointer;color:white}
.whb-header:has(.tn51-shell-nav) .tn51-menu summary::-webkit-details-marker{display:none}
.whb-header:has(.tn51-shell-nav) .tn51-menu summary>b{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.whb-header:has(.tn51-shell-nav) .tn51-menu summary>span{width:18px;height:14px;border-block:2px solid;position:relative}
.whb-header:has(.tn51-shell-nav) .tn51-menu summary>span:after{content:"";display:block;position:absolute;top:4px;width:100%;height:2px;background:currentColor}
.whb-header:has(.tn51-shell-nav) .tn51-menu[open] summary>span{height:0;transform:rotate(45deg);border:0;border-top:2px solid}
.whb-header:has(.tn51-shell-nav) .tn51-menu[open] summary>span:after{top:-2px;transform:rotate(90deg)}
.whb-header:has(.tn51-shell-nav) :is(a,summary,button,input):focus-visible{outline:2px solid #d4f200;outline-offset:2px}
.whb-header:has(.tn51-shell-nav) .whb-header-bottom a:focus-visible{outline-color:#1d342c}
/* Phase 2 supplies generated labels. When the v02 DOM already has a label, render it once. */
.whb-header:has(.tn51-shell-nav) :is(.whb-tn710accountdesktop,.whb-tn710cartdesktop)>a:has(.tn51-action-caption,.wd-tools-text)::after{content:none}
@media(max-width:1100px){
 .whb-header:has(.tn51-shell-nav) .whb-column10{gap:0}
 .whb-header:has(.tn51-shell-nav) .tn51-action-caption{display:none}
 .whb-header:has(.tn51-shell-nav) .tn51-shell-nav{gap:16px}
 .whb-header:has(.tn51-shell-nav) .tn51-shell-nav>a{font-size:13px}
}
@media(min-width:851px) and (max-width:1024px){
 .whb-header:has(.tn51-shell-nav) .whb-header-bottom.whb-hidden-mobile{display:block}
}
@media(max-width:850px){
 .whb-header:has(.tn51-shell-nav) .whb-general-header-inner{min-height:72px;grid-template-columns:auto minmax(0,1fr) auto;column-gap:16px}
 .whb-header:has(.tn51-shell-nav) .whb-general-header-inner>.whb-visible-lg{display:none}
 .whb-header:has(.tn51-shell-nav) .whb-general-header-inner>.whb-hidden-lg{display:flex;padding:0;min-width:0}
 .whb-header:has(.tn51-shell-nav) .whb-column_mobile4{justify-content:flex-end;align-items:center;gap:0}
 .whb-header:has(.tn51-shell-nav) .whb-header-bottom{display:none}
 .whb-header:has(.tn51-shell-nav):has(.tn51-menu[open]) .whb-header-bottom{display:block}
 .whb-header:has(.tn51-shell-nav) .tn51-shell-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;padding-block:10px}
 .whb-header:has(.tn51-shell-nav) .tn51-shell-nav>.tn51-nav-aux{margin:0}
}
@media(max-width:620px){
 .whb-header:has(.tn51-shell-nav) .whb-general-header-inner{min-height:0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools" "search search";gap:0 12px;padding-block:5px 9px}
 .whb-header:has(.tn51-shell-nav) .whb-column_mobile2{grid-area:brand}
 .whb-header:has(.tn51-shell-nav) .whb-column_mobile3{grid-area:search}
 .whb-header:has(.tn51-shell-nav) .whb-column_mobile4{grid-area:tools}
 .whb-header:has(.tn51-shell-nav) .whb-tn710logomobile img{width:82px;height:43px;object-fit:contain}
 .whb-header:has(.tn51-shell-nav) .wd-header-search-form form{padding-inline-start:10px}
 .whb-header:has(.tn51-shell-nav) .tn51-search-tag{font-size:12px;padding-inline-end:8px}
 .whb-header:has(.tn51-shell-nav) .tn51-shell-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}
