/* Willowfabrics Mega Menu */
.wf-megamenu,
.wf-megamenu * {
  box-sizing: border-box;
}

.wf-megamenu {
  --wf-red: #e8394a;
  --wf-red-dark: #cf2436;
  --wf-pink-bg: #fdeef0;
  --wf-border: #eadfe1;
  --wf-text: #2b2b2b;
  --wf-text-muted: #555;
  --wf-sidebar-width: 300px;
  --wf-sidebar-bg: #fafafa;
  --wf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  font-family: var(--wf-font);
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}

.wf-menu-body {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--wf-border);
  border-radius: 4px;
  overflow: hidden;
}

.wf-sidebar {
  list-style: none;
  margin: 0;
  padding: 0;
  width: var(--wf-sidebar-width);
  flex-shrink: 0;
  background: var(--wf-sidebar-bg);
  border-right: 1px solid var(--wf-border);
}

.wf-sidebar-item {
  border-bottom: 1px solid var(--wf-border);
  margin: 0;
}

.wf-sidebar-item:last-child {
  border-bottom: none;
}

.wf-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  text-decoration: none;
  color: var(--wf-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
  margin: 0;
}

.wf-megamenu [class*="fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.wf-megamenu .fa-solid,
.wf-megamenu .fas {
  font-weight: 900;
}

.wf-icon {
  width: 20px;
  text-align: center;
  color: var(--wf-red);
  font-size: 16px;
  flex-shrink: 0;
}

.wf-sidebar-link span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf-arrow {
  font-size: 11px;
  color: #b9b0b2;
  flex-shrink: 0;
  transform: none !important;
}

/* Hover / active state on sidebar row */
.wf-sidebar-item:hover > .wf-sidebar-link,
.wf-sidebar-item.is-active > .wf-sidebar-link,
.wf-sidebar-item.is-open > .wf-sidebar-link {
  background-color: var(--wf-pink-bg);
  color: var(--wf-red);
}

.wf-sidebar-item:hover > .wf-sidebar-link .wf-icon,
.wf-sidebar-item.is-active > .wf-sidebar-link .wf-icon,
.wf-sidebar-item.is-open > .wf-sidebar-link .wf-icon,
.wf-sidebar-item:hover > .wf-sidebar-link .wf-arrow,
.wf-sidebar-item.is-active > .wf-sidebar-link .wf-arrow,
.wf-sidebar-item.is-open > .wf-sidebar-link .wf-arrow {
  color: var(--wf-red);
}

/* Panel area: holds every category's panel stacked; only the active one
   shows. It's a column flexbox so the active panel stretches to fill the
   available height (matching the sidebar) and the USP bar is pushed to
   the bottom instead of hugging short panel content. */
.wf-panels {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.wf-flyout {
  display: none;
  padding: 20px 24px;
}

.wf-flyout.is-active {
  display: block;
  flex: 1;
}

/* Modern multi-column flow: each sub-category group (.wf-col) flows down
   the available columns and wraps to the next only when a column fills,
   so uneven-length groups (some with many items, some with none) balance
   naturally with no jagged grid rows and no scrollbar. The promo tile (if
   present) sits outside the column flow as a fixed-width flex sibling. */
.wf-flyout-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.wf-flyout-columns {
  flex: 1;
  min-width: 0;
  column-width: 190px;
  column-gap: 28px;
  column-rule: 1px solid var(--wf-border);
}

.wf-col {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 16px;
}

.wf-promo {
  flex: 0 0 240px;
  width: 240px;
}

.wf-col-title--hidden {
  visibility: hidden;
}

.wf-col-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.wf-col-title a {
  color: var(--wf-red);
  text-decoration: none;
}

.wf-col-title a:hover {
  text-decoration: underline;
}

.wf-col-title--spaced {
  margin-top: 14px;
}

.wf-sub-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.wf-sub-title a {
  color: var(--wf-red);
  text-decoration: none;
}

.wf-sub-title a:hover {
  text-decoration: underline;
}

.wf-list {
  list-style: none;
  margin: 0 0 2px;
  padding: 0 0 0 8px;
}

.wf-list li {
  margin: 0;
}

.wf-list--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.wf-list a {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 3px 0;
  color: var(--wf-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.3;
}

.wf-list a i {
  font-size: 10px;
  color: var(--wf-red);
  margin-top: 4px;
  flex-shrink: 0;
}

.wf-list a:hover {
  color: var(--wf-red);
  text-decoration: underline;
}

.wf-view-all {
  display: inline-block;
  margin-top: 4px;
  color: var(--wf-red);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
}

.wf-view-all:hover {
  text-decoration: underline;
}

.wf-empty-note {
  color: var(--wf-text-muted);
  font-size: 13.5px;
  margin: 0;
}

/* Promo panel */
.wf-promo {
  background: var(--wf-pink-bg);
  border-radius: 6px;
  padding: 20px;
  text-align: left;
}

.wf-promo-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 16px;
  display: block;
}

.wf-promo-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--wf-text);
}

.wf-promo-title {
  margin: 4px 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--wf-red);
}

.wf-promo-text {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--wf-text-muted);
}

.wf-promo-btn {
  display: inline-block;
  background: var(--wf-red);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 10px 22px;
  border-radius: 3px;
  transition: background-color .15s ease;
}

.wf-promo-btn:hover {
  background: var(--wf-red-dark);
}

/* USP bar: sits at the bottom of the panel area only, not under the sidebar */
.wf-usp-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 24px 0;
  padding: 20px 0 24px;
  border-top: 1px solid var(--wf-border);
  background: #fff;
}

.wf-usp {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.wf-usp-icon {
  font-size: 24px;
  color: var(--wf-red);
  flex-shrink: 0;
}

.wf-usp-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wf-usp-text strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--wf-text);
  white-space: nowrap;
}

.wf-usp-text span {
  font-size: 12px;
  color: var(--wf-text-muted);
  white-space: nowrap;
}

/* ===================== Responsive ===================== */

/* Tablet: narrower sidebar, fewer flow columns, promo drops below the text */
@media (max-width: 1200px) {
  .wf-megamenu {
    --wf-sidebar-width: 260px;
  }

  .wf-flyout-columns {
    column-width: 160px;
  }

  .wf-flyout-inner {
    flex-wrap: wrap;
  }

  .wf-promo {
    flex: 1 1 100%;
    width: auto;
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .wf-promo-img {
    width: 160px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* Mobile accordion: tapping a level-2 row expands its panel inline,
   directly beneath that row, in normal document flow. No overlays, no
   fixed positioning, no DOM movement - just a simple show/hide toggle. */
@media (max-width: 900px) {
  .wf-megamenu {
    --wf-sidebar-width: 100%;
  }

  .wf-menu-body {
    flex-direction: column;
  }

  .wf-usp-bar {
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .wf-usp {
    flex: 1 1 45%;
  }

  .wf-sidebar {
    width: 100%;
    border-right: none;
  }

  .wf-sidebar-item {
    border-bottom: 1px solid var(--wf-border);
  }

  .wf-sidebar-link {
    padding: 12px 14px;
    font-size: 14.5px;
  }

  /* Rotate the arrow to point down when a row's panel is open. */
  .wf-sidebar-item.is-open > .wf-sidebar-link .wf-arrow {
    transform: rotate(90deg) !important;
  }

  .wf-panels {
    display: none;
  }

  .wf-flyout,
  .wf-flyout.is-active {
    flex: none;
  }

  .wf-flyout {
    padding: 14px 16px 18px;
    background: #fdfafa;
    border-top: 1px solid var(--wf-border);
  }

  .wf-flyout-inner {
    flex-direction: column;
  }

  /* Single column, full width: each level-3 group stacks top to bottom. */
  .wf-flyout-columns {
    column-width: unset;
    column-count: 1;
    column-rule: none;
  }

  .wf-col {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--wf-border);
  }

  .wf-list--two-col {
    grid-template-columns: 1fr 1fr;
  }

  .wf-promo {
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px;
    margin-top: 8px;
  }

  .wf-promo-img {
    width: 96px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .wf-promo-title {
    font-size: 17px;
  }

  .wf-usp-bar {
    margin: 8px 16px 0;
    padding: 14px 0 18px;
  }
}

@media (max-width: 560px) {
  .wf-sidebar-link {
    padding: 12px 14px;
    font-size: 14px;
  }
}

.wf-sidebar-link span::before{display: none !important;}
.level0.horizontal-root>li.mega .child-content.cols1 {
    padding: 0;
}
.level0.horizontal-root>li.mega .child-content{height: fit-content;}