/* Woodmart desktop sticky header: responsive navigation without overflow.
   Scoped to .whb-sticked so the normal two-row header is untouched. */
@media (min-width:1025px){
	.whb-sticked .whb-flex-row,
	.whb-sticked .whb-column{
		flex-wrap:nowrap !important;
		min-width:0;
	}
	.whb-sticked .wd-header-main-nav,
	.whb-sticked .wd-header-nav{
		flex:1 1 auto;
		min-width:0;
	}
	.whb-sticked .wd-header-main-nav .wd-nav,
	.whb-sticked .wd-header-main-nav .wd-nav-main,
	.whb-sticked .wd-nav-main,
	.whb-sticked .woodmart-navigation{
		flex-wrap:nowrap !important;
		white-space:nowrap;
	}
	.whb-sticked .wd-nav-main>li,
	.whb-sticked .wd-header-main-nav .wd-nav>li,
	.whb-sticked .woodmart-navigation .item-level-0{
		flex:0 0 auto;
	}
	.whb-sticked .wd-nav-main>li>a,
	.whb-sticked .wd-header-main-nav .wd-nav>li>a,
	.whb-sticked .woodmart-navigation .item-level-0>a{
		padding-left:8px !important;
		padding-right:8px !important;
		font-size:clamp(13px,.82vw,15px) !important;
		white-space:nowrap !important;
	}
	.whb-sticked .site-logo{
		flex:0 1 160px;
		max-width:160px;
		min-width:105px;
	}
	.whb-sticked .site-logo img{
		max-width:100%;
		max-height:52px;
		width:auto;
		height:auto;
	}
	.whb-sticked .wd-header-my-account .wd-tools-text{
		display:none;
	}
}
@media (min-width:1025px) and (max-width:1366px){
	.whb-sticked .site-logo{
		flex-basis:125px;
		max-width:125px;
	}
	.whb-sticked .wd-nav-main>li>a,
	.whb-sticked .wd-header-main-nav .wd-nav>li>a,
	.whb-sticked .woodmart-navigation .item-level-0>a{
		padding-left:6px !important;
		padding-right:6px !important;
		font-size:13px !important;
	}
}

/* A full-width navigation row avoids squeezing seven labels between logo/cart.
   Native Woodmart mobile header (<=1024px) remains in charge on mobile. */
@media (min-width:1025px){
 .whb-sticked .wd-header-main-nav .wd-nav-main {column-gap:12px;}
}
@media (min-width:1025px) and (max-width:1366px){
 .whb-sticked .whb-general-header {height:auto !important;}
 .whb-sticked .whb-general-header-inner {
  flex-wrap:wrap !important;height:auto !important;max-height:none !important;
 }
 .whb-sticked .whb-general-header-inner > .whb-col-left.whb-visible-lg {
  order:1;flex:1 1 auto;height:48px;
 }
 .whb-sticked .whb-general-header-inner > .whb-col-right.whb-visible-lg {
  order:2;flex:0 0 auto;height:48px;
 }
 .whb-sticked .whb-general-header-inner > .whb-col-center.whb-visible-lg {
  order:3;flex:0 0 100%;width:100%;height:auto;min-height:42px;
 }
 .whb-sticked .whb-col-center .wd-header-main-nav {width:100%;}
 .whb-sticked .wd-header-main-nav .wd-nav-main {
  justify-content:center;column-gap:12px;row-gap:0;
  flex-wrap:wrap !important;
 }
 .whb-sticked .wd-header-main-nav .wd-nav-main > li > a {min-height:42px;}
}
/* The contact widget's desktop 200px offset obstructs narrow mobile navigation. */
@media(max-width:1024px){
 #arcontactus.arcu-widget{right:16px !important;left:auto !important;bottom:calc(74px + env(safe-area-inset-bottom,0px)) !important;max-width:calc(100vw - 32px)}
 body:has(.mobile-nav.wd-opened) #arcontactus,
 body:has(.cart-widget-side.wd-opened) #arcontactus{visibility:hidden !important;pointer-events:none !important}
}
