.category-menu-all {
  color: inherit;
  text-decoration: none;
}

.catalog-page .catalog-section-heading .section-heading-copy h1,
.catalog-page .catalog-section-heading .catalog-filter-trigger {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.catalog-page .catalog-section-heading .catalog-filter-prefix {
  font: inherit;
  letter-spacing: 0;
}

.catalog-section-heading .catalog-filter-chevron {
  display: none;
}

.category-menu-page .catalog-main,
.category-menu-page .site-footer,
.category-menu-page .catalog-results-summary,
.category-menu-page #category-filter-trigger .catalog-filter-current,
.category-menu-page #category-filter-trigger .catalog-filter-chevron,
.brand-menu-page .catalog-main,
.brand-menu-page .site-footer,
.brand-menu-page .catalog-results-summary,
.brand-menu-page #brand-filter-trigger .catalog-filter-current,
.brand-menu-page #brand-filter-trigger .catalog-filter-chevron {
  display: none !important;
}

.category-menu-page .section-heading-copy::after,
.brand-menu-page .section-heading-copy::after {
  display: none;
}

.category-menu-page .section-heading-copy h1,
.brand-menu-page .section-heading-copy h1 {
  color: #57514f;
}

.category-menu-page #category-filter-trigger,
.brand-menu-page #brand-filter-trigger {
  position: relative;
  color: #c84b47;
}

.category-menu-page #category-filter-trigger::after,
.brand-menu-page #brand-filter-trigger::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: '';
}

.category-menu-page .site-frame,
.brand-menu-page .site-frame {
  min-height: 100vh;
  background: #f5f5f5;
}

.category-menu-main {
  padding: 12px 12px calc(76px + env(safe-area-inset-bottom, 0px));
  background: #f5f5f5;
}

.category-menu-group {
  margin: 0 0 12px;
  border-radius: 4px;
  background: #ffffff;
}

.category-menu-group h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
}

.category-menu-row {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 0;
  background: transparent;
  color: #242424;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.category-menu-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.category-menu-row.is-selected {
  color: #b83d39;
}

.category-menu-arrow {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-right: 3px;
  border-top: 1.5px solid #999999;
  border-right: 1.5px solid #999999;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.category-menu-row[aria-expanded='true'] .category-menu-arrow {
  transform: rotate(135deg) translate(-2px, 2px);
}

.category-menu-children {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 16px;
}

.category-menu-children[hidden] {
  display: none;
}

.category-menu-choice {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border: 1px solid #dedede;
  border-radius: 4px;
  background: #ffffff;
  color: #666666;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.category-menu-choice.is-selected {
  border-color: #c84b47;
  background: #fff5f4;
  color: #b83d39;
}

.category-menu-row:focus-visible,
.category-menu-choice:focus-visible,
.category-menu-all:focus-visible {
  outline: 2px solid #9a675f;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .category-menu-arrow { transition: none; }
}
