﻿/* Chomps category tree: only applies after JS enhancement. */
.chomps-cat-tree,
.chomps-cat-tree ul.children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chomps-cat-tree li.cat-item {
  position: relative;
  padding: 5px 0;
  line-height: 1.4;
}
.chomps-cat-tree li.cat-item > a {
  display: inline-block;
  padding-right: 30px;
  color: inherit;
  text-decoration: none;
}
.chomps-cat-tree li.cat-item > a:hover,
.chomps-cat-tree li.cat-item.current-cat > a {
  text-decoration: underline;
}
.chomps-cat-tree ul.children {
  margin: 4px 0 2px 14px;
  padding-left: 8px;
  border-left: 1px solid rgba(0, 0, 0, .14);
}
.chomps-cat-tree li.chomps-collapsed > ul.children {
  display: none !important;
}
.chomps-cat-toggle {
  position: absolute;
  top: 3px;
  right: 0;
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.chomps-cat-toggle:hover,
.chomps-cat-toggle:focus-visible {
  background: rgba(0, 0, 0, .08);
  outline: 2px solid currentColor;
  outline-offset: 1px;
}
.chomps-cat-toggle span {
  display: block;
  width: 10px;
  height: 10px;
  position: relative;
}
.chomps-cat-toggle span::before,
.chomps-cat-toggle span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform .18s ease;
}
.chomps-cat-toggle span::after {
  transform: rotate(90deg);
}
.chomps-cat-toggle[aria-expanded="true"] span::after {
  transform: rotate(0deg);
}
.chomps-cat-tree .cat-parent > a::after {
  content: none !important;
}
.chomps-footer-shop p {
  margin: 0 0 6px;
}
.chomps-footer-shop-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px !important;
}
.chomps-footer-shop a {
  color: inherit;
  text-decoration: none;
}
.chomps-footer-shop a:hover {
  text-decoration: underline;
}

/* Theme category widgets hide nested lists by default; make the open state explicit. */
.chomps-cat-tree li:not(.chomps-collapsed) > ul.children {
  display: block !important;
}
.chomps-cat-tree ul.children[hidden] {
  display: none !important;
}

/* Mobile navigation accordion. */
.chomps-mobile-menu li.menu-item-has-children {
  position: relative;
}
.chomps-mobile-menu li.menu-item-has-children > a {
  padding-right: 42px;
}
.chomps-mobile-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.chomps-mobile-toggle span {
  display: block;
  width: 11px;
  height: 11px;
  position: relative;
}
.chomps-mobile-toggle span::before,
.chomps-mobile-toggle span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform .18s ease;
}
.chomps-mobile-toggle span::after { transform: rotate(90deg); }
.chomps-mobile-toggle[aria-expanded="true"] span::after { transform: rotate(0deg); }
.chomps-mobile-menu li.chomps-mobile-collapsed > ul.sub-menu { display: none !important; }
.chomps-mobile-menu ul.sub-menu[hidden] { display: none !important; }
.chomps-mobile-menu ul.sub-menu { margin-left: 12px; padding-left: 8px; border-left: 1px solid rgba(0,0,0,.14); }
.chomps-footer-shop a {
  text-transform: uppercase;
}

/* Keyboard-visible Flatsome desktop dropdowns. */
ul.header-bottom-nav > li.htw-menu-open > ul.sub-menu {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
ul.header-bottom-nav > li.htw-menu-open > a {
  color: var(--primary-color, #d02c2f) !important;
}
