#customerContent #categoryStrip.category-strip {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  padding: 4px !important;
  position: relative !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  isolation: isolate;
}

#customerContent #categoryStrip::before,
#customerContent #categoryStrip button[data-category]::after {
  content: none !important;
  display: none !important;
}

#customerContent #categoryStrip :is(button[data-category], #customerCategoryMore, .category-more-measure) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
  min-height: 36px !important;
  padding: 0 8px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  color: #424245 !important;
  -webkit-text-fill-color: currentColor !important;
  cursor: pointer;
}

#customerContent #categoryStrip :is(#customerCategoryMore, .category-more-measure) {
  display: inline-grid !important;
  grid-template-columns: minmax(0, auto) auto;
  gap: 4px;
}

#customerContent #categoryStrip :is(#customerCategoryMore, .category-more-measure) > span {
  grid-area: 1 / 1;
  min-width: 0;
}

#categoryStrip .category-more-size {
  visibility: hidden;
}

#categoryStrip .category-more-label {
  width: 0;
  min-width: 100% !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

#customerContent #categoryStrip button:is(.active, [aria-expanded="true"]) {
  background: #fff2e9 !important;
  color: #ad4300 !important;
  box-shadow: inset 0 1px 2px #a85c2526 !important;
}

@media (hover: hover) {
  #customerContent #categoryStrip button:hover {
    background: #fff2e9 !important;
    color: #ad4300 !important;
  }
}

#customerContent #categoryStrip button:focus-visible {
  outline: 2px solid #c85100 !important;
  outline-offset: -2px;
}

#customerContent #categoryStrip:has(#customerCategoryMore[aria-expanded="true"]) {
  z-index: 60 !important;
}

#customerContent #categoryStrip #customerCategoryMorePanel {
  position: absolute;
  z-index: 5;
  inset-block-start: calc(100% + 4px);
  inset-inline-end: 0;
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: min(164px, 100%);
  max-width: 100%;
  max-height: min(320px, 55dvh);
  padding: 6px;
  box-sizing: border-box;
  overflow-y: auto;
  border: 1px solid #ece6e0;
  border-radius: 12px;
  background: #fffcf9;
  box-shadow: 0 12px 26px #3d2a2026;
}

#customerContent #categoryStrip #customerCategoryMorePanel button {
  justify-content: flex-start !important;
  gap: 10px;
  min-height: 44px !important;
  padding-inline: 10px !important;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}

#customerContent #categoryStrip :is(#customerCategoryMore, #customerCategoryMorePanel)[hidden] {
  display: none !important;
}

#categoryStrip .category-sizing {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: flex;
  width: max-content;
  visibility: hidden;
  pointer-events: none;
}

#categoryStrip button svg {
  display: block !important;
  flex: none;
}

#categoryStrip button .category-option-icon {
  display: none !important;
}

#categoryStrip #customerCategoryMorePanel .category-option-icon {
  display: block !important;
}

@media (min-width: 781px) {
  #customerContent.customer-content {
    grid-template-columns: minmax(0, 1.45fr) minmax(170px, min(32vw, 410px)) minmax(0, .9fr) !important;
  }
}

@media (max-width: 780px) {
  #customerContent #categoryStrip :is(button[data-category], #customerCategoryMore, .category-more-measure) {
    font-size: 12px !important;
    padding-inline: 3px !important;
  }

  #customerContent #categoryStrip > :is(button[data-category], #customerCategoryMore) {
    flex-grow: 1 !important;
    border-radius: 8px !important;
  }

  #customerContent #categoryStrip :is(#customerCategoryMore, .category-more-measure) {
    gap: 3px;
  }

  #customerContent #categoryStrip :is(#customerCategoryMore, .category-more-measure) > svg {
    width: 10px;
    height: 10px;
  }

  html body #customerContent #gallery :is(#galleryModeBtn, #openCartBtn) {
    border-radius: 8px !important;
  }
}

@media (max-width: 360px) {
  #customerContent #categoryStrip :is(button[data-category], #customerCategoryMore, .category-more-measure) {
    font-size: 11px !important;
    padding-inline: 1px !important;
  }
}
