/* Scoped to the product branch and grouped catalog browser only. */
#menu-item-1888 .ubermenu-row-id-2379 {
  align-items: flex-start !important;
}
#menu-item-1888 .erl-square-category-column {
  width: 33.333333% !important;
  min-width: 0;
  padding: 12px 20px !important;
}
#menu-item-1888 .erl-square-category-column > .ubermenu-submenu {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
}
#menu-item-1888 .erl-square-category-column > .ubermenu-submenu > li {
  float: none !important;
  width: 100% !important;
  clear: both;
}
#menu-item-1888 .erl-square-category-heading {
  margin-bottom: 8px;
  font-weight: 700;
}
#menu-item-1888 .erl-square-category-column .ubermenu-target {
  white-space: normal;
  overflow-wrap: anywhere;
}
#menu-item-1888 .erl-square-category-link > .ubermenu-submenu {
  padding-left: 14px;
}
#menu-item-1888 .erl-square-view-all h3 { font-size: 1rem; }
#menu-item-1888 .erl-square-view-all .bttn { white-space: normal; }
.erl-square-browse {
  margin: 20px 0 28px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
}
.erl-square-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.erl-square-browse section { min-width: 0; scroll-margin-top: 140px; }
.erl-square-browse h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; }
.erl-square-browse ul { list-style: none; margin: 0; padding: 0; }
.erl-square-browse li { margin: 0 0 7px; line-height: 1.4; }
.erl-square-browse li ul { padding: 7px 0 0 14px; }
.erl-square-browse a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.erl-square-browse a:hover { text-decoration: underline; }
.erl-square-browse a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.erl-square-all-products { margin: 14px 0 0; font-weight: 700; }
/* TapTap does not render UberMenu's layout-only objects. Flatten only the
   product row/columns visually; the root product accordion remains native. */
.taptap-by-bonfire #menu-item-1888 #menu-item-2379 > a,
.taptap-by-bonfire #menu-item-1888 #menu-item-2379 > .taptap-sub-arrow,
.taptap-by-bonfire #menu-item-1888 .erl-square-category-column > a,
.taptap-by-bonfire #menu-item-1888 .erl-square-category-column > .taptap-sub-arrow,
.taptap-by-bonfire #menu-item-1888 .erl-square-view-all {
  display: none !important;
}
.taptap-by-bonfire #menu-item-1888 #menu-item-2379 > .sub-menu,
.taptap-by-bonfire #menu-item-1888 .erl-square-category-column > .sub-menu {
  display: block !important;
  height: auto !important;
  padding-left: 0 !important;
}
.taptap-by-bonfire #menu-item-1888 .erl-square-category-column {
  width: 100% !important;
  padding: 10px 0 !important;
}
.taptap-by-bonfire #menu-item-1888 .erl-square-category-heading a {
  pointer-events: none;
  font-weight: 700;
}
@media (max-width: 767px) {
  #menu-item-1888 .erl-square-category-column { width: 100% !important; }
  .erl-square-browse-grid { grid-template-columns: 1fr; gap: 18px; }
  .erl-square-browse { padding: 15px; }
}

.taptap-by-bonfire #menu-item-1888 .erl-square-category-heading {
  display: block !important;
  visibility: visible !important;
  margin: 6px 0 !important;
}
.taptap-by-bonfire #menu-item-1888 .erl-square-category-heading > a {
  display: block !important;
  visibility: visible !important;
  font-size: 16px;
  color: #f47700;
}

/* Native details/summary dropdowns inside TapTap's existing Our Products menu. */
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-group {
  display: block;
  width: 100%;
  margin: 0;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  margin: 0;
  color: #f47700;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-toggle::-webkit-details-marker {
  display: none;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-toggle::after {
  content: '';
  width: 9px;
  height: 9px;
  margin: 0 5px 5px 18px;
  flex: 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-group[open] > .erl-side-shop-toggle::after {
  transform: rotate(225deg);
  margin-bottom: -4px;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-group:not([open]) > .erl-side-shop-panel {
  display: none !important;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-group[open] > .erl-side-shop-panel {
  display: block !important;
}
.taptap-by-bonfire #menu-item-1888 .erl-side-shop-panel > .sub-menu {
  display: block !important;
  height: auto !important;
  padding-left: 8px !important;
}

/* Compact native shopping dropdowns within the archive browsing box. */
.erl-square-browse .erl-browse-dropdown {
  min-width: 0;
  margin: 0;
}
.erl-square-browse .erl-browse-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 8px 0;
  list-style: none;
  cursor: pointer;
  color: #f47700;
}
.erl-square-browse .erl-browse-toggle::-webkit-details-marker { display: none; }
.erl-square-browse .erl-browse-toggle h2 {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: inherit;
}
.erl-square-browse .erl-browse-toggle::after {
  content: '';
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin: 0 4px 5px 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.erl-square-browse .erl-browse-dropdown[open] > .erl-browse-toggle::after {
  transform: rotate(225deg);
  margin-bottom: -4px;
}
.erl-square-browse .erl-browse-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.erl-square-browse .erl-browse-panel { padding: 8px 0 4px; }
.erl-square-browse .erl-browse-dropdown:not([open]) > .erl-browse-panel { display: none; }
@media (max-width: 767px) {
  .erl-square-browse .erl-square-browse-grid { gap: 2px; }
}
