/* BTW Mega Menu — consolidated stylesheet (2.0.2) */
.btw-wdm{position:relative;z-index:30;color:var(--btw-menu-text,#333);font-family:var(--btw-menu-font-family,inherit);font-size:var(--btw-font-size,15px)}
.btw-wdm *{box-sizing:border-box}
.btw-wdm-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:40px;padding:12px 18px;background:var(--btw-toggle-bg,#4f9b8e);color:var(--btw-toggle-color,#fff);font:inherit;font-weight:600;cursor:pointer;min-height:46px;line-height:1.2}
.btw-wdm-toggle-icon{font-size:20px;line-height:1}
.btw-wdm-panel{position:relative;background:var(--btw-menu-bg,#fff);color:var(--btw-menu-text,#333);border-radius:var(--btw-menu-radius,12px)}
.btw-wdm-vertical .btw-wdm-panel,.btw-wdm-sticky .btw-wdm-panel{width:var(--btw-panel-width,290px);padding:12px;box-shadow:0 8px 28px #00000018}
.btw-wdm-list{list-style:none!important;margin:0!important;padding:0!important}
.btw-wdm-item{position:relative;list-style:none!important;margin:0!important;padding:0!important}
.btw-wdm-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 11px;margin-block:calc(var(--btw-item-gap,4px)/2);text-decoration:none!important;color:inherit!important;border-radius:7px;transition:background .16s,color .16s;white-space:normal}
.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-link{background:var(--btw-main-item-bg,transparent)}
.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-link:hover,.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item:focus-within>.btw-wdm-link,.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item.is-submenu-open>.btw-wdm-link{background:var(--btw-main-item-hover-bg,var(--btw-menu-hover-bg,#edf4ff));color:var(--btw-menu-hover-text,#1e5bb8)!important}
.btw-wdm-icon{width:24px;min-width:24px;flex:0 0 24px;text-align:center;font-size:var(--btw-icon-size,20px);line-height:1.1}
.btw-wdm-icon img{width:100%;height:24px;object-fit:contain;display:block}
.btw-wdm-label{min-width:0}
.btw-wdm-arrow{margin-left:auto;font-size:20px;line-height:1}
.btw-wdm-submenu{display:none;position:absolute;left:100%;right:auto;top:0;min-width:230px;padding:10px;border-radius:9px;z-index:10020;box-shadow:0 8px 24px rgba(20,30,50,.16)}
.btw-wdm[data-trigger="hover"] .btw-wdm-item:hover>.btw-wdm-submenu,
.btw-wdm[data-trigger="hover"] .btw-wdm-item:focus-within>.btw-wdm-submenu,
.btw-wdm .btw-wdm-item.is-submenu-open>.btw-wdm-submenu{display:block}
.btw-wdm-submenu .btw-wdm-submenu{left:100%;top:0}
.btw-wdm-submenu.is-mega{width:min(var(--btw-mega-width,380px),calc(100vw - var(--btw-panel-width,290px) - 32px));min-height:0;padding:12px;background:var(--btw-mega-bg,#171923);color:var(--btw-mega-text,#f4f5f8);border-radius:var(--btw-mega-radius,10px);box-shadow:0 12px 30px rgba(0,0,0,.22)}

/* Independent colors for the intermediate submenu panel (Logo Templates / T Shirt Templates). */
.btw-wdm .btw-wdm-submenu.is-mega:not(.is-columns){background:var(--btw-submenu-panel-bg,#fff)!important;color:var(--btw-submenu-panel-text,#252a35)!important}
.btw-wdm .btw-wdm-submenu.is-mega:not(.is-columns)>.btw-wdm-mega-inner .btw-wdm-link{color:var(--btw-submenu-panel-text,#252a35)!important}
/* Important: no reserved empty banner column when no banner image is selected. */
.btw-wdm-mega-inner{display:block!important;width:100%;min-width:0}
.btw-wdm-mega-inner>.btw-wdm-list{min-width:0}
/* Level 2: short white list (e.g. Logo Templates / T-Shirt Templates). */
.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-submenu.is-mega{
 width:250px;min-width:250px;max-width:250px;min-height:0;padding:9px;
 background:var(--btw-menu-bg,#fff);color:var(--btw-menu-text,#252a35)
}
.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-submenu.is-mega .btw-wdm-link{
 min-height:34px;padding:7px 9px;margin:1px 0;color:var(--btw-menu-text,#252a35)!important;font-size:inherit;line-height:1.3
}
.btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-submenu.is-mega .btw-wdm-link:hover{
 background:var(--btw-menu-hover-bg,#edf4ff);color:var(--btw-menu-hover-text,#1e5bb8)!important
}
/* Level 3: compact white panel aligned with the level-2 submenu. */
.btw-wdm-submenu.is-columns{position:absolute!important;left:100%!important;right:auto!important;top:0!important;margin:0!important;transform:none!important;align-self:flex-start;width:min(var(--btw-mega-width,520px),calc(100vw - var(--btw-panel-width,290px) - 32px));min-width:300px;max-width:520px;min-height:0!important;height:auto!important;background:#fff!important;color:var(--btw-menu-text,#252a35)!important;padding:10px!important;border:1px solid rgba(20,30,45,.08);border-radius:var(--btw-mega-radius,10px);box-shadow:0 8px 24px rgba(20,30,45,.12)!important}
.btw-wdm-submenu.is-columns>.btw-wdm-mega-inner>.btw-wdm-mega-grid{
 display:grid!important;grid-template-columns:repeat(var(--btw-mega-columns,3),minmax(0,1fr))!important;gap:2px 8px!important;align-items:start;width:100%;margin:0!important;padding:0!important
}
.btw-wdm-submenu.is-columns .btw-wdm-item{min-width:0}
.btw-wdm-submenu.is-columns .btw-wdm-link{
 min-height:27px;padding:5px 7px;margin:0;background:var(--btw-subitem-bg,#ffffff)!important;color:var(--btw-menu-text,#252a35)!important;font-size:inherit;line-height:1.25;font-weight:500
}
.btw-wdm-submenu.is-columns .btw-wdm-link:hover,.btw-wdm-submenu.is-columns .btw-wdm-item.is-submenu-open>.btw-wdm-link{
 background:var(--btw-subitem-hover-bg,var(--btw-menu-hover-bg,#edf4ff))!important;color:var(--btw-menu-hover-text,#1e5bb8)!important
}
.btw-wdm-submenu.is-mega .btw-wdm-icon{display:none}
.btw-wdm-submenu.is-mega .btw-wdm-arrow{margin-left:auto}
.btw-wdm-banner{min-width:0;margin-top:12px}
.btw-wdm-banner-image{display:block;width:100%;height:auto;max-height:260px;object-fit:cover;border-radius:8px}
.btw-wdm-horizontal .btw-wdm-panel{background:transparent;box-shadow:none}
.btw-wdm-horizontal .btw-wdm-panel>.btw-wdm-list{display:flex;flex-wrap:wrap;align-items:center}
.btw-wdm-horizontal .btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-submenu{left:0;top:100%}
.btw-wdm-backdrop{display:none}
.btw-wdm-notice{padding:12px;border:1px dashed #aaa}

/* Desktop sticky icon rail */
.btw-wdm-sticky{position:fixed!important;left:var(--btw-sticky-offset,0px)!important;right:auto!important;top:var(--btw-sticky-top,28%)!important;width:var(--btw-rail-width,64px);z-index:var(--btw-sticky-z,9990);display:block;overflow:visible!important}
.btw-wdm-sticky.btw-wdm-sticky-right{left:auto!important;right:var(--btw-sticky-offset,0px)!important}
.btw-wdm-sticky .btw-wdm-toggle{display:flex;position:relative;z-index:1002;width:46px;height:46px;min-height:46px;padding:0;margin:0 0 8px 4px;border-radius:50%;align-items:center;justify-content:center}
.btw-wdm-sticky .btw-wdm-toggle-label{display:none}
.btw-wdm-sticky .btw-wdm-panel{position:relative!important;left:0!important;top:0!important;width:var(--btw-rail-width,64px);max-height:68vh;overflow:visible;padding:8px 7px;background:var(--btw-sticky-bg,#fff)!important;color:var(--btw-sticky-icon-color,#222)!important;border:1px solid rgba(0,0,0,.08);border-radius:13px;box-shadow:var(--btw-menu-shadow,0 8px 26px rgba(0,0,0,.14))}
.btw-wdm-sticky .btw-wdm-panel-heading{display:none}
.btw-wdm-sticky .btw-wdm-link{justify-content:center;padding:9px 4px;min-height:42px}
.btw-wdm-sticky .btw-wdm-label,.btw-wdm-sticky .btw-wdm-arrow{display:none}
.btw-wdm-sticky .btw-wdm-icon{color:var(--btw-sticky-icon-color,#222)}
.btw-wdm-sticky.is-expanded{width:var(--btw-panel-width,290px)!important}
.btw-wdm-sticky.is-expanded .btw-wdm-panel{width:var(--btw-panel-width,290px);max-height:68vh;overflow:visible;padding:12px;background:var(--btw-menu-bg,#fff)!important;color:var(--btw-menu-text,#333)!important}
.btw-wdm-sticky.is-expanded .btw-wdm-panel-heading{display:block}
.btw-wdm-sticky.is-expanded .btw-wdm-link{justify-content:flex-start;padding:8px 11px}
.btw-wdm-sticky.is-expanded .btw-wdm-label,.btw-wdm-sticky.is-expanded .btw-wdm-arrow{display:block}
.btw-wdm-sticky.is-expanded .btw-wdm-submenu{z-index:10020}
.btw-wdm-sticky.is-expanded .btw-wdm-submenu.is-mega{left:100%!important;top:0!important}

/* Mobile drawer and nested tap navigation */
@media(max-width:1024px){
 .btw-wdm-sticky{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:auto!important;min-width:0!important;max-width:100%;z-index:30}
 .btw-wdm-sticky .btw-wdm-toggle{display:flex!important;position:relative;width:46px;height:46px;min-width:46px;min-height:46px;padding:0;margin:0;border-radius:50%}
 .btw-wdm-sticky .btw-wdm-toggle-label{display:none}
 .btw-wdm-sticky .btw-wdm-panel{display:none!important;position:fixed!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;width:min(var(--btw-panel-width,290px),88vw)!important;height:100vh!important;height:100dvh!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;padding:18px!important;margin:0!important;background:#fff!important;color:var(--btw-menu-text,#333)!important;border:0!important;border-radius:0 12px 12px 0!important;box-shadow:0 8px 30px rgba(0,0,0,.18)!important;z-index:100001!important}
 .btw-wdm-sticky.is-open .btw-wdm-panel{display:block!important}
 .btw-wdm-sticky .btw-wdm-panel-heading,.btw-wdm-sticky .btw-wdm-label,.btw-wdm-sticky .btw-wdm-arrow{display:block!important}
 .btw-wdm-sticky .btw-wdm-link{justify-content:flex-start!important;padding:10px 12px!important}
 .btw-wdm-sticky .btw-wdm-submenu,.btw-wdm-sticky .btw-wdm-submenu .btw-wdm-submenu{position:static!important;left:auto!important;right:auto!important;top:auto!important;display:none!important;width:auto!important;max-width:100%!important;min-width:0!important;padding:7px 9px!important;margin:3px 0!important;box-shadow:none!important}
 .btw-wdm-sticky .btw-wdm-item.is-submenu-open>.btw-wdm-submenu{display:block!important}
 .btw-wdm-sticky .btw-wdm-panel>.btw-wdm-list>.btw-wdm-item>.btw-wdm-submenu.is-mega{background:#fff!important;color:var(--btw-menu-text,#252a35)!important}
 .btw-wdm-sticky .btw-wdm-submenu.is-columns{background:#fff!important;color:var(--btw-menu-text,#252a35)!important;min-width:0!important;width:auto!important;max-width:100%!important}
 .btw-wdm-sticky .btw-wdm-submenu.is-columns>.btw-wdm-mega-inner>.btw-wdm-mega-grid{grid-template-columns:1fr!important}
 .btw-wdm-sticky .btw-wdm-backdrop{display:none}
 .btw-wdm-sticky.is-open .btw-wdm-backdrop{display:block!important;position:fixed!important;inset:0!important;background:rgba(0,0,0,.48)!important;z-index:100000!important}
 .btw-wdm-vertical .btw-wdm-panel,.btw-wdm-horizontal .btw-wdm-panel{display:none;position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(var(--btw-panel-width,290px),88vw)!important;height:100dvh!important;overflow:auto!important;z-index:100001!important}
 .btw-wdm-vertical.is-open .btw-wdm-panel,.btw-wdm-horizontal.is-open .btw-wdm-panel{display:block!important}
 .btw-wdm-vertical.is-open .btw-wdm-backdrop,.btw-wdm-horizontal.is-open .btw-wdm-backdrop{display:block;position:fixed;inset:0;background:#0008;z-index:100000}
}


/* v2.0.5 — WoodMart-inspired unified white icon rail. */
.btw-wdm-sticky{
  width:var(--btw-rail-width,64px)!important;
  padding:0!important;
  background:var(--btw-sticky-bg,#fff)!important;
  border:1px solid rgba(25,35,50,.08)!important;
  border-radius:13px!important;
  box-shadow:var(--btw-menu-shadow,0 6px 20px rgba(20,30,45,.12))!important;
  overflow:visible!important;
}
.btw-wdm-sticky>.btw-wdm-toggle{
  display:flex!important;
  width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
  margin:7px auto 5px!important;padding:0!important;
  border:0!important;border-radius:50%!important;
  background:var(--btw-toggle-bg,#4f9b8e)!important;color:var(--btw-toggle-color,#fff)!important;
  box-shadow:none!important;
}
.btw-wdm-sticky>.btw-wdm-toggle .btw-wdm-toggle-icon{font-size:21px!important;color:var(--btw-toggle-color,#fff)!important;line-height:1!important}
.btw-wdm-sticky>.btw-wdm-panel{
  width:100%!important;max-height:68vh!important;
  margin:0!important;padding:5px 6px 8px!important;
  background:var(--btw-sticky-bg,#fff)!important;color:var(--btw-sticky-icon-color,#222)!important;
  border:0!important;border-radius:0 0 12px 12px!important;
  box-shadow:none!important;
}
.btw-wdm-sticky .btw-wdm-link{min-height:46px!important;padding:9px 4px!important;justify-content:center!important;background:transparent!important;color:var(--btw-sticky-icon-color,#222)!important}
.btw-wdm-sticky .btw-wdm-link:hover,.btw-wdm-sticky .btw-wdm-item.is-submenu-open>.btw-wdm-link{background:var(--btw-menu-hover-bg,#f2f5f7)!important;color:var(--btw-menu-hover-text,#263247)!important}
.btw-wdm-sticky .btw-wdm-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:25px!important;min-width:25px!important;height:25px!important;color:#34445a!important}
.btw-wdm-sticky .btw-wdm-icon svg{display:block!important;width:23px!important;height:23px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.btw-wdm-sticky .btw-wdm-icon img{width:23px!important;height:23px!important;object-fit:contain!important}
.btw-wdm-sticky.is-expanded{width:var(--btw-panel-width,290px)!important;background:var(--btw-sticky-bg,#fff)!important}
.btw-wdm-sticky.is-expanded>.btw-wdm-toggle{margin-left:8px!important;margin-right:auto!important}
.btw-wdm-sticky.is-expanded>.btw-wdm-panel{width:100%!important;padding:8px 10px 10px!important;background:var(--btw-sticky-bg,#fff)!important}
.btw-wdm-sticky.is-expanded .btw-wdm-link{justify-content:flex-start!important;padding:8px 10px!important;min-height:40px!important;color:var(--btw-menu-text,#333)!important}
.btw-wdm-sticky.is-expanded .btw-wdm-icon{margin-right:2px!important}
.btw-wdm-sticky.is-expanded .btw-wdm-label,.btw-wdm-sticky.is-expanded .btw-wdm-arrow{display:block!important}
.btw-wdm-sticky.is-expanded .btw-wdm-submenu.is-mega{left:100%!important;top:0!important}
@media(max-width:1024px){
 .btw-wdm-sticky{width:auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
 .btw-wdm-sticky>.btw-wdm-toggle{margin:0!important;background:var(--btw-toggle-bg,#4f9b8e)!important;color:var(--btw-toggle-color,#fff)!important}
}

/* v2.0.6 — Elementor Style controls must remain authoritative. */
.btw-wdm .btw-wdm-panel,.btw-wdm .btw-wdm-link,.btw-wdm .btw-wdm-label,.btw-wdm .btw-wdm-submenu{font-family:var(--btw-menu-font-family,inherit)!important}
.btw-wdm .btw-wdm-panel{font-size:var(--btw-font-size,15px)}
.btw-wdm-sticky>.btw-wdm-toggle{background:var(--btw-toggle-bg,#4f9b8e)!important;color:var(--btw-toggle-color,#fff)!important}
.btw-wdm-sticky>.btw-wdm-toggle .btw-wdm-toggle-icon{color:var(--btw-toggle-color,#fff)!important}
.btw-wdm-sticky>.btw-wdm-panel{background:var(--btw-sticky-bg,#fff)!important;color:var(--btw-sticky-icon-color,#222)!important}
.btw-wdm-sticky .btw-wdm-icon{color:var(--btw-sticky-icon-color,#222)!important}

/* v2.1.9 — WoodMart-style flyouts anchored to the hovered menu row.
   Each submenu starts beside its own parent row (not at the top of the
   entire menu), while the 1px divider keeps adjacent panels visually joined. */
@media (min-width:1025px){
  .btw-wdm .btw-wdm-panel{
    position:relative!important;
    overflow:visible!important;
  }
  /* Level 2: anchor to the hovered main-menu item. */
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item{
    position:relative!important;
  }
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item > .btw-wdm-submenu{
    position:absolute!important;
    left:calc(100% - 1px)!important;
    right:auto!important;
    top:0!important;
    margin:0!important;
    transform:none!important;
    border-left:1px solid #e3e8ef!important;
    border-radius:0 10px 10px 0!important;
    z-index:10020!important;
  }
  /* Level 3: anchor to the hovered level-2 row, not the whole submenu. */
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item > .btw-wdm-submenu.is-mega > .btw-wdm-mega-inner > .btw-wdm-list > .btw-wdm-item{
    position:relative!important;
  }
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item > .btw-wdm-submenu.is-mega .btw-wdm-item > .btw-wdm-submenu.is-columns{
    position:absolute!important;
    left:calc(100% - 1px)!important;
    right:auto!important;
    top:0!important;
    margin:0!important;
    transform:none!important;
    border:0!important;
    border-left:1px solid #e3e8ef!important;
    border-radius:0 10px 10px 0!important;
    background:#fff!important;
    color:var(--btw-menu-text,#252a35)!important;
    box-shadow:0 8px 24px rgba(20,30,45,.12)!important;
    z-index:10030!important;
  }
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item > .btw-wdm-submenu.is-mega .btw-wdm-item > .btw-wdm-submenu.is-columns::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:1px;
    background:#e3e8ef;pointer-events:none;z-index:3;
  }
}

/* Mobile keeps the existing stacked/tap navigation; no desktop flyouts. */
@media(max-width:1024px){
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item,
  .btw-wdm .btw-wdm-panel > .btw-wdm-list > .btw-wdm-item > .btw-wdm-submenu.is-mega > .btw-wdm-mega-inner > .btw-wdm-list > .btw-wdm-item{
    position:relative!important;
  }
}
