.dwmm-wrap{display:inline-flex;position:relative;font-family:inherit;direction:rtl;z-index:99990}
.dwmm-wrap > button.dwmm-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:var(--dwmm-trigger-gap,10px)!important;min-height:var(--dwmm-trigger-height,46px)!important;height:auto!important;padding:0 var(--dwmm-trigger-padding-x,18px)!important;border:var(--dwmm-trigger-border-width,1px) solid var(--dwmm-trigger-border,#ff9b50)!important;border-radius:var(--dwmm-trigger-radius,12px)!important;background:var(--dwmm-trigger-bg,#ff7a1a)!important;background-color:var(--dwmm-trigger-bg,#ff7a1a)!important;background-image:none!important;color:var(--dwmm-trigger-text,#fff)!important;font-family:inherit!important;font-size:var(--dwmm-trigger-font-size,15px)!important;font-weight:var(--dwmm-trigger-font-weight,700)!important;line-height:1.2!important;text-decoration:none!important;text-shadow:none!important;letter-spacing:normal!important;text-transform:none!important;cursor:pointer!important;box-shadow:var(--dwmm-trigger-shadow,none)!important;-webkit-appearance:none!important;appearance:none!important;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease!important}
.dwmm-wrap > button.dwmm-trigger:hover,.dwmm-wrap > button.dwmm-trigger:focus,.dwmm-wrap > button.dwmm-trigger:focus-visible{background:var(--dwmm-trigger-hover-bg,#f06f12)!important;background-color:var(--dwmm-trigger-hover-bg,#f06f12)!important;background-image:none!important;color:var(--dwmm-trigger-hover-text,#fff)!important;border-color:var(--dwmm-trigger-hover-border,#ff7a1a)!important;box-shadow:var(--dwmm-trigger-hover-shadow,none)!important;transform:translateY(-1px)!important;outline:none!important}
.dwmm-wrap > .dwmm-trigger .dwmm-trigger-icon{display:inline-flex!important;width:var(--dwmm-trigger-icon-size,22px)!important;height:var(--dwmm-trigger-icon-size,22px)!important;min-width:var(--dwmm-trigger-icon-size,22px)!important;align-items:center!important;justify-content:center!important;color:var(--dwmm-trigger-icon-color,#fff)!important}
.dwmm-wrap > .dwmm-trigger .dwmm-trigger-icon-mask .dwmm-trigger-icon-shape{display:block!important;width:100%!important;height:100%!important;background:var(--dwmm-trigger-icon-color,#fff)!important;background-color:var(--dwmm-trigger-icon-color,#fff)!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;-webkit-mask-position:center!important;mask-position:center!important;-webkit-mask-size:contain!important;mask-size:contain!important}
.dwmm-trigger-icon-custom img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.dwmm-trigger-caret{width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg) translateY(-2px);transition:transform .2s ease}
.dwmm-wrap.is-open .dwmm-trigger-caret{transform:rotate(135deg) translateY(-1px)}
.dwmm-panel{position:fixed;top:var(--dwmm-top,80px);left:50%;transform:translateX(-50%) translateY(-8px);z-index:99999;background:var(--dwmm-bg,#fff);color:var(--dwmm-text,#25272b);border-radius:var(--dwmm-radius,16px);box-shadow:0 20px 70px rgba(0,0,0,.16);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease;overflow:hidden;max-height:calc(100vh - var(--dwmm-top,80px) - 16px)}
.dwmm-panel.dwmm-width-content{width:min(var(--dwmm-content-width,1280px),calc(100vw - 32px))}
.dwmm-panel.dwmm-width-custom{width:min(var(--dwmm-custom-width,1180px),calc(100vw - 32px))}
.dwmm-panel.dwmm-width-full{width:100vw;border-radius:0}
.dwmm-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.dwmm-overlay{position:fixed;top:var(--dwmm-top,80px);right:0;bottom:0;left:0;z-index:99980;background:rgba(0,0,0,var(--dwmm-overlay-opacity,.32));opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease}
.dwmm-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.dwmm-desktop{grid-template-columns:minmax(250px,300px) 1fr;min-height:var(--dwmm-min-height,420px)}
.dwmm-roots{padding:16px;background:#fff;border-left:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;gap:7px;overflow:auto}
.dwmm-root-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:8px;border-right:2px solid transparent;color:var(--dwmm-text);text-decoration:none!important;transition:.15s ease}
.dwmm-root-item:hover,.dwmm-root-item.is-active{background:var(--dwmm-accent-soft);border-right-color:var(--dwmm-accent);color:var(--dwmm-accent)}
.dwmm-root-main{display:flex;align-items:center;gap:10px;min-width:0}
.dwmm-root-main>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dwmm-root-thumb{width:26px;height:26px;border-radius:6px;object-fit:contain;background:#fff}
.dwmm-root-arrow{font-size:22px;line-height:1;opacity:.75}
.dwmm-content{position:relative;overflow:hidden;background:var(--dwmm-bg,#fff)}
.dwmm-pane{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1fr) var(--dwmm-promo-width,34%);gap:22px;padding:26px 28px;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-8px);transition:.16s ease;overflow:auto}
.dwmm-pane.is-active{position:relative;min-height:var(--dwmm-min-height,420px);opacity:1;visibility:visible;pointer-events:auto;transform:none}
.dwmm-pane.has-promo{grid-template-columns:minmax(0,1fr) var(--dwmm-promo-width,34%)}
.dwmm-pane.no-promo{grid-template-columns:1fr}
.dwmm-pane-links{display:grid;grid-template-columns:repeat(var(--dwmm-columns,3),minmax(0,1fr));column-gap:32px;align-items:start;align-content:start}.dwmm-column{display:flex;flex-direction:column;gap:24px;min-width:0}
.dwmm-group{min-width:0}
.dwmm-group-title{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding-right:10px;border-right:3px solid var(--dwmm-accent);color:var(--dwmm-text);font-weight:800;text-decoration:none!important;line-height:1.6}
.dwmm-group-title:hover{color:var(--dwmm-accent)}
.dwmm-group-list,.dwmm-sub-list{list-style:none;margin:0;padding:0}
.dwmm-group-list>li{margin:0 0 7px}
.dwmm-group-list a,.dwmm-sub-list a{color:var(--dwmm-muted);text-decoration:none!important;line-height:1.8;font-size:.94em;transition:.15s ease}
.dwmm-group-list a:hover,.dwmm-sub-list a:hover{color:var(--dwmm-accent);padding-right:3px}
.dwmm-sub-list{padding-right:10px;margin-top:5px;border-right:1px dashed rgba(0,0,0,.08)}
.dwmm-sub-list li{margin-bottom:4px}
.dwmm-promo{display:flex;align-items:flex-end;justify-content:center;align-self:stretch;overflow:hidden;border-radius:12px;text-decoration:none!important;min-width:0;background:linear-gradient(145deg,rgba(0,0,0,.02),rgba(0,0,0,.04))}
.dwmm-promo img{display:block;width:100%;height:100%;max-height:var(--dwmm-min-height,420px);object-fit:contain;object-position:center bottom;transition:transform .25s ease}
.dwmm-promo:hover img{transform:scale(1.025)}
.dwmm-empty-pane{display:flex;align-items:center;justify-content:center;min-height:180px}
.dwmm-empty-pane a{color:var(--dwmm-accent);font-weight:700}
.dwmm-mobile{display:none;background:var(--dwmm-bg);max-height:calc(100vh - var(--dwmm-top,80px));overflow:auto}
.dwmm-mobile-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(0,0,0,.07);background:var(--dwmm-bg)}
.dwmm-mobile-close{width:36px;height:36px;border:0;border-radius:8px;background:#f5f5f5;color:var(--dwmm-text);font-size:24px;cursor:pointer}
.dwmm-mobile-list{padding:8px 14px 20px}
.dwmm-mobile-branch{border-bottom:1px solid rgba(0,0,0,.06)}
.dwmm-mobile-branch summary{list-style:none;cursor:pointer;padding:13px 2px;font-weight:700;position:relative}
.dwmm-mobile-branch summary::-webkit-details-marker{display:none}
.dwmm-mobile-branch summary:after{content:'+';position:absolute;left:4px;color:var(--dwmm-accent);font-size:20px;font-weight:400}
.dwmm-mobile-branch[open]>summary:after{content:'−'}
.dwmm-mobile-children{padding:0 12px 10px 0}
.dwmm-mobile-leaf,.dwmm-mobile-view-all{display:block;padding:9px 0;color:var(--dwmm-muted);text-decoration:none!important}
.dwmm-mobile-view-all{color:var(--dwmm-accent);font-weight:700}
.dwmm-notice{padding:10px 12px;background:#fff7d6;border:1px solid #f1d56b;border-radius:8px;color:#6e5a00;font-size:13px}

.dwmm-wrap > .dwmm-trigger:hover .dwmm-trigger-icon-mask .dwmm-trigger-icon-shape,.dwmm-wrap > .dwmm-trigger:focus .dwmm-trigger-icon-mask .dwmm-trigger-icon-shape,.dwmm-wrap > .dwmm-trigger:focus-visible .dwmm-trigger-icon-mask .dwmm-trigger-icon-shape{background:var(--dwmm-trigger-hover-icon-color,#fff)!important;background-color:var(--dwmm-trigger-hover-icon-color,#fff)!important}

/* Optional brands/product-tags sections. Category columns above remain unchanged. */
.dwmm-pane-main{display:flex;flex-direction:column;gap:22px;min-width:0}.dwmm-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:18px;border-top:1px solid rgba(0,0,0,.07)}.dwmm-extra-section{min-width:0}.dwmm-extra-title{display:inline-flex;align-items:center;margin-bottom:10px;padding-right:10px;border-right:3px solid var(--dwmm-accent);color:var(--dwmm-text);font-weight:800;line-height:1.6}.dwmm-extra-items{display:flex;flex-wrap:wrap;gap:7px 12px}.dwmm-extra-items a{color:var(--dwmm-muted);text-decoration:none!important;font-size:.92em;line-height:1.8;transition:.15s ease}.dwmm-extra-items a:hover{color:var(--dwmm-accent)}.dwmm-mobile-extras{margin-top:14px;padding-top:14px;border-top:1px solid rgba(0,0,0,.08)}.dwmm-mobile-extra-section+.dwmm-mobile-extra-section{margin-top:16px}.dwmm-mobile-extra-title{font-weight:800;color:var(--dwmm-text);margin-bottom:8px}.dwmm-mobile-extra-items{display:flex;flex-wrap:wrap;gap:8px}.dwmm-mobile-extra-items a{display:inline-flex;padding:6px 9px;border-radius:7px;background:var(--dwmm-accent-soft);color:var(--dwmm-accent);text-decoration:none!important;font-size:.9em}@media(max-width:760px){.dwmm-extras{grid-template-columns:1fr}}


/* =========================================================
   v1.3.0 — stable Elementor hover + right-side Brands/Tags
   ========================================================= */

/* The trigger must never move on hover. A translateY on a hover-driven
   trigger can repeatedly lose/regain :hover when placed in Elementor menus. */
.dwmm-wrap{
  vertical-align:middle;
  flex:0 0 auto;
  transform:none!important;
}
.dwmm-wrap > button.dwmm-trigger{
  transform:none!important;
  position:relative;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.dwmm-wrap > button.dwmm-trigger:hover,
.dwmm-wrap > button.dwmm-trigger:focus,
.dwmm-wrap > button.dwmm-trigger:focus-visible{
  transform:none!important;
}

/* Category roots + supplementary roots share exactly one navigation rail. */
.dwmm-root-item{
  width:100%;
  box-sizing:border-box;
  font-family:inherit;
  font-size:inherit;
  text-align:right;
}
button.dwmm-root-item{
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
  border-top:0;
  border-left:0;
  border-bottom:0;
  cursor:pointer;
}
.dwmm-roots-separator{
  height:1px;
  flex:0 0 1px;
  margin:8px 4px;
  background:rgba(0,0,0,.08);
}
.dwmm-root-special{
  color:var(--dwmm-text);
}

/* Brands and selected product tags open in their own pane, not under categories. */
.dwmm-pane-extra{
  align-content:start;
}
.dwmm-extra-pane-main{
  width:100%;
}
.dwmm-flat-grid{
  display:grid;
  grid-template-columns:repeat(var(--dwmm-columns,3),minmax(0,1fr));
  gap:12px 28px;
  align-content:start;
}
.dwmm-flat-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:42px;
  padding:8px 10px 8px 6px;
  border-right:3px solid var(--dwmm-accent);
  border-radius:4px;
  color:var(--dwmm-text);
  font-weight:700;
  line-height:1.65;
  text-decoration:none!important;
  transition:background-color .15s ease,color .15s ease,padding .15s ease;
}
.dwmm-flat-link:hover{
  color:var(--dwmm-accent);
  background:var(--dwmm-accent-soft);
  padding-right:13px;
}
.dwmm-flat-arrow{
  flex:0 0 auto;
  color:var(--dwmm-accent);
  font-size:20px;
  line-height:1;
  opacity:.75;
}
.dwmm-mobile-extras{
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid rgba(0,0,0,.08);
}
.dwmm-mobile-extra-branch .dwmm-mobile-leaf{
  padding-right:8px;
}

@media(max-width:760px){
  .dwmm-flat-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   v1.3.1 — WoodMart Header Builder hover stability + exact rail alignment
   ========================================================= */

/* Keep overlay below the header/trigger. If a full-screen overlay covers the
   hover trigger, the browser fires mouseleave and the menu starts flickering. */
.dwmm-overlay{
  top:var(--dwmm-top,80px)!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
}

/* Categories, Brands and Product Tags now use the same <a> element and the
   same box model. Theme button styles can no longer shift special rows. */
.dwmm-roots .dwmm-root-item{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  border-top:0!important;
  border-left:0!important;
  border-bottom:0!important;
  border-right:2px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:normal!important;
  text-align:right!important;
  text-decoration:none!important;
  white-space:normal!important;
}
.dwmm-roots .dwmm-root-item:hover,
.dwmm-roots .dwmm-root-item.is-active{
  background:var(--dwmm-accent-soft)!important;
  border-right-color:var(--dwmm-accent)!important;
  color:var(--dwmm-accent)!important;
}
.dwmm-roots .dwmm-root-main{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:1 1 auto!important;
  min-width:0!important;
  gap:10px!important;
}
.dwmm-roots .dwmm-root-arrow{
  flex:0 0 auto!important;
  margin:0!important;
}

/* Trigger geometry must stay byte-for-byte stable between normal/hover/focus. */
.dwmm-wrap > button.dwmm-trigger,
.dwmm-wrap > button.dwmm-trigger:hover,
.dwmm-wrap > button.dwmm-trigger:focus,
.dwmm-wrap > button.dwmm-trigger:focus-visible{
  top:auto!important;
  bottom:auto!important;
  margin-top:0!important;
  margin-bottom:0!important;
  transform:none!important;
}

/* v1.5.0 adaptive desktop overflow */
.dwmm-panel{--dwmm-viewport-height:calc(100vh - var(--dwmm-top,80px) - 16px)}
.dwmm-desktop{max-height:var(--dwmm-viewport-height);min-height:min(var(--dwmm-min-height,420px),var(--dwmm-viewport-height));overflow:hidden}
.dwmm-roots{max-height:var(--dwmm-viewport-height);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--dwmm-accent) #eef0f2}
.dwmm-content{max-height:var(--dwmm-viewport-height);min-height:min(var(--dwmm-min-height,420px),var(--dwmm-viewport-height));overflow:hidden}
.dwmm-pane.is-active{max-height:var(--dwmm-viewport-height);min-height:min(var(--dwmm-min-height,420px),var(--dwmm-viewport-height));overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--dwmm-accent) #eef0f2}
.dwmm-roots::-webkit-scrollbar,.dwmm-pane.is-active::-webkit-scrollbar{width:9px}
.dwmm-roots::-webkit-scrollbar-track,.dwmm-pane.is-active::-webkit-scrollbar-track{background:#eef0f2;border-radius:999px}
.dwmm-roots::-webkit-scrollbar-thumb,.dwmm-pane.is-active::-webkit-scrollbar-thumb{background:var(--dwmm-accent);border:2px solid #eef0f2;border-radius:999px}
.dwmm-pane-main{position:relative}
.dwmm-scroll-hint{position:sticky;bottom:-1px;z-index:4;display:none;align-items:center;justify-content:center;gap:7px;width:max-content;max-width:100%;margin:12px auto -4px;padding:7px 12px;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(0,0,0,.08);color:var(--dwmm-muted);font-size:12px;font-weight:700;pointer-events:none;backdrop-filter:blur(6px)}
.dwmm-pane.dwmm-has-overflow:not(.dwmm-scroll-end) .dwmm-scroll-hint{display:flex}
.dwmm-scroll-hint-arrow{color:var(--dwmm-accent);font-size:16px;line-height:1}
/* v1.7.x nested custom links */
.dwmm-flat-group{min-width:0}.dwmm-flat-group>.dwmm-group-list,.dwmm-flat-group>.dwmm-sub-list{margin-top:6px;padding-right:12px}.dwmm-pane-custom .dwmm-group-title{color:var(--dwmm-text)}.dwmm-mobile .dwmm-mobile-branch .dwmm-mobile-branch{margin-right:8px}

/* Keep manually-created level 3+ items visually identical to normal category children. */
.dwmm-nested-level-3>li>a.dwmm-custom-link,
.dwmm-nested-level-4>li>a.dwmm-custom-link,
.dwmm-nested-level-5>li>a.dwmm-custom-link,
.dwmm-nested-level-6>li>a.dwmm-custom-link,
.dwmm-nested-level-7>li>a.dwmm-custom-link,
.dwmm-nested-level-8>li>a.dwmm-custom-link{
  color:var(--dwmm-muted);
  font-family:inherit;
  font-size:.94em;
  font-weight:400;
  line-height:1.8;
  text-decoration:none!important;
}
.dwmm-nested-level-3>li>a.dwmm-custom-link:hover,
.dwmm-nested-level-4>li>a.dwmm-custom-link:hover,
.dwmm-nested-level-5>li>a.dwmm-custom-link:hover,
.dwmm-nested-level-6>li>a.dwmm-custom-link:hover,
.dwmm-nested-level-7>li>a.dwmm-custom-link:hover,
.dwmm-nested-level-8>li>a.dwmm-custom-link:hover{
  color:var(--dwmm-accent);
  padding-right:3px;
}

/* =========================================================
   v1.8.0 — dedicated lightweight mobile drilldown shortcode
   ========================================================= */
html.dwmm-mobile-menu-open,
html.dwmm-mobile-menu-open body{
  overflow:hidden!important;
  overscroll-behavior:none;
}
.dwmm-mobile-shortcode{
  direction:rtl;
}
.dwmm-mobile-shortcode.dwmm-mobile-icon-only > .dwmm-mobile-trigger{
  width:var(--dwmm-trigger-height,46px)!important;
  min-width:var(--dwmm-trigger-height,46px)!important;
  padding:0!important;
}
.dwmm-mobile-shortcode.dwmm-mobile-icon-only > .dwmm-mobile-trigger .dwmm-trigger-icon{
  margin:0!important;
}
.dwmm-mobile-drill-overlay{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  z-index:100000!important;
  background:rgba(0,0,0,var(--dwmm-overlay-opacity,.32))!important;
}
.dwmm-mobile-drill-panel{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  z-index:100010!important;
  width:min(88vw,390px)!important;
  height:100vh!important;
  height:100dvh!important;
  max-height:100vh!important;
  max-height:100dvh!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:var(--dwmm-bg,#fff)!important;
  box-shadow:-18px 0 50px rgba(0,0,0,.16)!important;
  overflow:hidden!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(105%,0,0)!important;
  transition:transform .26s cubic-bezier(.22,.61,.36,1),opacity .18s ease!important;
  will-change:transform;
  direction:rtl;
}
.dwmm-mobile-drill-panel.is-open{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translate3d(0,0,0)!important;
}
.dwmm-mobile-drill{
  position:relative;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:var(--dwmm-bg,#fff);
  color:var(--dwmm-text,#25272b);
  font-family:inherit;
}
.dwmm-drill-screen{
  position:absolute;
  inset:0;
  display:none;
  flex-direction:column;
  min-width:0;
  min-height:0;
  background:var(--dwmm-bg,#fff);
}
.dwmm-drill-screen.is-active{
  display:flex;
  animation:dwmmDrillForward .22s cubic-bezier(.22,.61,.36,1) both;
}
.dwmm-drill-screen.is-active.is-back-entry{
  animation-name:dwmmDrillBack;
}
@keyframes dwmmDrillForward{
  from{opacity:.72;transform:translate3d(-22px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes dwmmDrillBack{
  from{opacity:.72;transform:translate3d(22px,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
.dwmm-drill-head{
  flex:0 0 auto;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  min-height:62px;
  padding:8px 10px;
  border-bottom:1px solid rgba(0,0,0,.07);
  background:var(--dwmm-bg,#fff);
}
.dwmm-drill-title{
  min-width:0;
  padding:0 6px;
  overflow:hidden;
  color:var(--dwmm-text,#25272b);
  font-size:15px;
  font-weight:800;
  line-height:1.5;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dwmm-drill-back,
.dwmm-drill-close{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(0,0,0,.07)!important;
  border-radius:10px!important;
  background:#f6f7f8!important;
  background-image:none!important;
  color:var(--dwmm-text,#25272b)!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:24px!important;
  font-weight:400!important;
  line-height:1!important;
  cursor:pointer!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.dwmm-drill-back:hover,
.dwmm-drill-close:hover{
  background:var(--dwmm-accent-soft,#fff0e4)!important;
  color:var(--dwmm-accent,#ff7a1a)!important;
}
.dwmm-drill-head-spacer{
  display:block;
  width:38px;
  height:38px;
}
.dwmm-drill-back-icon,
.dwmm-drill-next-icon{
  display:block;
  width:9px;
  height:9px;
  border:solid currentColor;
  border-width:0 2px 2px 0;
}
.dwmm-drill-back-icon{
  transform:rotate(-45deg);
}
.dwmm-drill-next-icon{
  transform:rotate(135deg);
}
.dwmm-drill-body{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding:10px 12px max(20px,env(safe-area-inset-bottom));
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--dwmm-accent,#ff7a1a) transparent;
}
.dwmm-drill-body::-webkit-scrollbar{width:5px}
.dwmm-drill-body::-webkit-scrollbar-thumb{background:var(--dwmm-accent,#ff7a1a);border-radius:999px}
.dwmm-drill-view-all{
  display:flex!important;
  align-items:center!important;
  min-height:44px;
  margin:2px 2px 9px;
  padding:9px 12px!important;
  border:1px solid color-mix(in srgb,var(--dwmm-accent,#ff7a1a) 22%,transparent);
  border-radius:10px;
  background:var(--dwmm-accent-soft,#fff0e4);
  color:var(--dwmm-accent,#ff7a1a)!important;
  font-size:13px;
  font-weight:800;
  line-height:1.55;
  text-decoration:none!important;
}
.dwmm-drill-list{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.dwmm-drill-row{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:center;
  min-height:50px;
  border-bottom:1px solid rgba(0,0,0,.065);
}
.dwmm-drill-row.has-children{
  grid-template-columns:minmax(0,1fr) 44px;
}
.dwmm-drill-link{
  display:flex!important;
  align-items:center!important;
  min-width:0;
  min-height:50px;
  margin:0!important;
  padding:10px 4px 10px 10px!important;
  color:var(--dwmm-text,#25272b)!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.6!important;
  text-align:right!important;
  text-decoration:none!important;
  word-break:break-word;
}
.dwmm-drill-link:hover{
  color:var(--dwmm-accent,#ff7a1a)!important;
}
.dwmm-drill-link-static{
  cursor:default;
}
.dwmm-drill-next{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  justify-self:end;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  background-image:none!important;
  color:var(--dwmm-accent,#ff7a1a)!important;
  box-shadow:none!important;
  cursor:pointer!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.dwmm-drill-next:hover,
.dwmm-drill-next:focus-visible{
  background:var(--dwmm-accent-soft,#fff0e4)!important;
  outline:none!important;
}
.dwmm-drill-depth-4 .dwmm-drill-title,
.dwmm-drill-depth-5 .dwmm-drill-title,
.dwmm-drill-depth-6 .dwmm-drill-title,
.dwmm-drill-depth-7 .dwmm-drill-title,
.dwmm-drill-depth-8 .dwmm-drill-title{
  position:relative;
}
.dwmm-drill-depth-4 .dwmm-drill-title:after,
.dwmm-drill-depth-5 .dwmm-drill-title:after,
.dwmm-drill-depth-6 .dwmm-drill-title:after,
.dwmm-drill-depth-7 .dwmm-drill-title:after,
.dwmm-drill-depth-8 .dwmm-drill-title:after{
  content:'';
  display:inline-block;
  width:3px;
  height:18px;
  margin-right:8px;
  border-radius:999px;
  background:var(--dwmm-accent,#ff7a1a);
  vertical-align:middle;
}
@media (prefers-reduced-motion:reduce){
  .dwmm-mobile-drill-panel,
  .dwmm-drill-screen.is-active{
    transition:none!important;
    animation:none!important;
  }
}

/* =========================================================
   v1.9.0 — typography controls + compact mobile drawer polish
   ========================================================= */

/* Subcategory typography is controlled from the plugin panel. */
.dwmm-group-title,
.dwmm-group-list a,
.dwmm-sub-list a,
.dwmm-nested-level-3>li>a.dwmm-custom-link,
.dwmm-nested-level-4>li>a.dwmm-custom-link,
.dwmm-nested-level-5>li>a.dwmm-custom-link,
.dwmm-nested-level-6>li>a.dwmm-custom-link,
.dwmm-nested-level-7>li>a.dwmm-custom-link,
.dwmm-nested-level-8>li>a.dwmm-custom-link{
  font-size:var(--dwmm-submenu-font-size,15px)!important;
  font-weight:var(--dwmm-submenu-font-weight,400)!important;
}
.dwmm-mobile-leaf.dwmm-mobile-level-2,
.dwmm-mobile-leaf.dwmm-mobile-level-3,
.dwmm-mobile-leaf.dwmm-mobile-level-4,
.dwmm-mobile-leaf.dwmm-mobile-level-5,
.dwmm-mobile-leaf.dwmm-mobile-level-6,
.dwmm-mobile-leaf.dwmm-mobile-level-7,
.dwmm-mobile-leaf.dwmm-mobile-level-8,
.dwmm-mobile-branch.dwmm-mobile-level-2 > summary,
.dwmm-mobile-branch.dwmm-mobile-level-3 > summary,
.dwmm-mobile-branch.dwmm-mobile-level-4 > summary,
.dwmm-mobile-branch.dwmm-mobile-level-5 > summary,
.dwmm-mobile-branch.dwmm-mobile-level-6 > summary,
.dwmm-mobile-branch.dwmm-mobile-level-7 > summary,
.dwmm-mobile-branch.dwmm-mobile-level-8 > summary,
.dwmm-drill-screen:not(.dwmm-drill-depth-1) .dwmm-drill-link{
  font-size:var(--dwmm-submenu-font-size,15px)!important;
  font-weight:var(--dwmm-submenu-font-weight,400)!important;
}

/* A clean CSS-drawn X avoids font/glyph inconsistencies across mobile browsers. */
.dwmm-mobile-close,
.dwmm-drill-close{
  position:relative!important;
  overflow:hidden!important;
}
.dwmm-close-glyph{
  position:relative;
  display:block;
  width:16px;
  height:16px;
  flex:0 0 16px;
}
.dwmm-close-glyph:before,
.dwmm-close-glyph:after{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:16px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transform-origin:center;
}
.dwmm-close-glyph:before{transform:translate(-50%,-50%) rotate(45deg)}
.dwmm-close-glyph:after{transform:translate(-50%,-50%) rotate(-45deg)}
.dwmm-mobile-close,
.dwmm-drill-close{
  border:1px solid color-mix(in srgb,var(--dwmm-accent,#ff7a1a) 45%,#d9dde2)!important;
  background:#fff!important;
  color:var(--dwmm-accent,#ff7a1a)!important;
  border-radius:8px!important;
  font-size:0!important;
}
.dwmm-mobile-close:hover,
.dwmm-mobile-close:focus-visible,
.dwmm-drill-close:hover,
.dwmm-drill-close:focus-visible{
  background:var(--dwmm-accent-soft,#fff0e4)!important;
  color:var(--dwmm-accent,#ff7a1a)!important;
  outline:none!important;
}

/* Dedicated mobile drawer: full-page dimming (header included). */
.dwmm-mobile-drill-overlay{
  z-index:2147483000!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
}
.dwmm-mobile-drill-panel{
  z-index:2147483001!important;
  top:0!important;
  right:0!important;
  bottom:auto!important;
  left:auto!important;
  height:auto!important;
  max-height:100vh!important;
  max-height:100dvh!important;
}

/* Let short screens (e.g. Brands with only a few rows) shrink to their content.
   Long screens still stop at the viewport edge and scroll internally. */
.dwmm-mobile-drill{
  height:auto!important;
  max-height:100vh!important;
  max-height:100dvh!important;
}
.dwmm-drill-screen.is-active{
  position:relative!important;
  inset:auto!important;
  height:auto!important;
  max-height:100vh!important;
  max-height:100dvh!important;
}
.dwmm-drill-body{
  flex:0 1 auto!important;
  min-height:0!important;
  max-height:calc(100vh - 62px)!important;
  max-height:calc(100dvh - 62px)!important;
}

/* The mobile "view all" row is intentionally removed in v1.9.0. */
.dwmm-drill-view-all,
.dwmm-mobile-view-all{display:none!important}

