/* PT3 Apex category and PLP CRO layer */

body.apex-theme :where(.apex-plp-intro, .apex-parent-intro) {
  border-bottom: 1px solid var(--ax-border);
  background: var(--ax-elevated);
}

body.apex-theme :where(.apex-plp-intro__breadcrumb, .apex-parent-intro__breadcrumb) {
  padding-block: 0.6rem 0.25rem;
  color: var(--ax-muted);
  font-size: 0.78rem;
}

body.apex-theme :where(.apex-plp-intro__body, .apex-parent-intro__body) {
  display: flex;
  padding-block: clamp(0.4rem, 1vw, 0.7rem) clamp(0.65rem, 1.25vw, 0.9rem);
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

body.apex-theme :where(.apex-plp-intro__copy, .apex-parent-intro__copy) {
  max-width: 72ch;
}

body.apex-theme :where(.apex-plp-intro, .apex-parent-intro) h1 {
  max-width: 22ch;
  margin: 0;
  color: var(--ax-text);
  font-size: clamp(1.8rem, 2.45vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

body.apex-theme :where(.apex-plp-intro__copy, .apex-parent-intro__copy) > p {
  display: -webkit-box;
  max-width: 68ch;
  margin: 0.45rem 0 0;
  overflow: hidden;
  color: var(--ax-text-2);
  font-size: clamp(0.86rem, 1vw, 0.95rem);
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.apex-theme :where(.apex-plp-intro__meta, .apex-parent-intro__meta) {
  margin: 0 0 0.2rem;
  flex: 0 0 auto;
  color: var(--ax-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Parent-category navigation */
body.apex-theme .apex-parent-discovery {
  padding-block: clamp(1.5rem, 3.5vw, 3rem) clamp(2.6rem, 5vw, 4.5rem);
  background: var(--ax-page);
}

body.apex-theme :where(.apex-parent-discovery__header, .apex-category-content__header) > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ax-text-2);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.apex-theme .apex-parent-discovery__header {
  margin-bottom: 1rem;
}

body.apex-theme :where(.apex-parent-discovery__header, .apex-category-content__header) h2 {
  margin: 0;
  color: var(--ax-text);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

body.apex-theme :where(.apex-parent-discovery__grid, .apex-plp-subcategories__grid) {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.3vw, 1rem);
  list-style: none;
}

body.apex-theme :where(.apex-parent-discovery__grid, .apex-plp-subcategories__grid) > li {
  min-width: 0;
}

body.apex-theme .apex-category-compact {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ax-border);
  border-radius: clamp(0.55rem, var(--ax-card-radius), 0.85rem);
  background: var(--ax-elevated);
  transition: border-color var(--ax-duration) var(--ax-ease), transform var(--ax-duration) var(--ax-ease);
}

body.apex-theme .apex-category-compact__link {
  display: flex;
  height: 100%;
  color: var(--ax-text);
  text-decoration: none;
  flex-direction: column;
}

body.apex-theme .apex-category-compact__link:focus-visible {
  outline: 3px solid var(--ax-focus);
  outline-offset: -4px;
}

@media (forced-colors: active) {
  body.apex-theme .apex-category-compact__link:focus-visible {
    outline-color: Highlight;
  }
}

body.apex-theme .apex-category-compact__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--ax-surface);
}

body.apex-theme .apex-category-compact__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.98) sepia(0.025);
  transition: transform var(--ax-duration) var(--ax-ease);
}

body.apex-theme .apex-category-compact__fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ax-surface);
}

body.apex-theme .apex-category-compact__fallback > span {
  position: absolute;
  display: block;
}

body.apex-theme .apex-category-compact__fallback > span:first-child {
  top: 18%;
  right: 17%;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--ax-brand-2) 38%, var(--ax-border));
  border-radius: 50%;
}

body.apex-theme .apex-category-compact__fallback > span:nth-child(2) {
  top: 35%;
  right: 33%;
  width: 0.65rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ax-brand-2);
}

body.apex-theme .apex-category-compact__fallback > span:nth-child(3) {
  right: 13%;
  bottom: 24%;
  width: 56%;
  height: 1px;
  background: color-mix(in srgb, var(--ax-text) 28%, transparent);
  transform: rotate(-16deg);
}

body.apex-theme .apex-category-compact__body {
  display: flex;
  min-height: 5rem;
  padding: 0.85rem 0.9rem 0.8rem;
  flex: 1 1 auto;
  justify-content: space-between;
  flex-direction: column;
  gap: 0.65rem;
}

body.apex-theme .apex-category-compact__body :where(h2, h3) {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ax-text);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

body.apex-theme .apex-category-compact__meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--ax-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

body.apex-theme .apex-category-compact__meta > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.apex-theme .apex-category-compact__meta svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  fill: none;
  stroke: currentColor;
}

body.apex-theme .apex-parent-shortcuts {
  display: grid;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--ax-border);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: start;
}

body.apex-theme .apex-parent-shortcuts h2 {
  margin: 0.55rem 0 0;
  color: var(--ax-text);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

body.apex-theme .apex-parent-shortcuts ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  list-style: none;
}

body.apex-theme .apex-parent-shortcuts a {
  display: inline-flex;
  min-height: var(--ax-touch);
  align-items: center;
  gap: 0.4rem;
  color: var(--ax-text-2);
  font-size: 0.78rem;
  font-weight: 680;
  text-decoration: none;
}

body.apex-theme .apex-parent-shortcuts svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
}

body.apex-theme .apex-parent-discovery__empty {
  padding-block: 3rem;
  text-align: center;
}

/* Compact child-category access on unusual product-listing parents */
body.apex-theme .apex-plp-subcategories {
  padding-block: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--ax-border);
  background: var(--ax-page);
}

body.apex-theme .apex-plp-subcategories__header {
  display: flex;
  margin-bottom: 0.45rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.apex-theme .apex-plp-subcategories__header h2 {
  margin: 0;
  color: var(--ax-text);
  font-size: 0.88rem;
  letter-spacing: -0.018em;
}

body.apex-theme .apex-plp-subcategories__header > a {
  display: inline-flex;
  min-height: var(--ax-touch);
  align-items: center;
  gap: 0.35rem;
  color: var(--ax-text-2);
  font-size: 0.75rem;
  font-weight: 680;
  text-decoration: none;
}

body.apex-theme .apex-plp-subcategories__grid .apex-category-compact__media {
  aspect-ratio: 16 / 6;
}

body.apex-theme .apex-plp-subcategories__grid .apex-category-compact__body {
  min-height: 3.55rem;
  padding: 0.55rem 0.65rem;
  gap: 0.3rem;
}

body.apex-theme .apex-plp-subcategories__grid {
  display: flex;
  padding-bottom: 0.1rem;
  overflow-x: auto;
  grid-template-columns: none;
  gap: 0.55rem;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}

body.apex-theme .apex-plp-subcategories__grid > li {
  min-width: 0;
  flex: 0 0 clamp(9.5rem, 15vw, 11.5rem);
  scroll-snap-align: start;
}

body.apex-theme .apex-plp-subcategories__grid .apex-category-compact__meta {
  display: none;
}

/* Product-listing commerce */
body.apex-theme .apex-collection-commerce {
  padding-block: clamp(0.5rem, 1vw, 0.8rem) clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ax-elevated);
}

body.apex-theme .apex-collection-commerce__layout {
  align-items: flex-start;
}

body.apex-theme .apex-collection-filter-panel + * {
  min-width: 0;
  padding-left: 0 !important;
}

body.apex-theme .apex-collection-filter-panel.sidebar--collection-filters.sidebar--static {
  width: 14.5rem;
  min-width: 14.5rem;
  margin-right: clamp(0.9rem, 1.6vw, 1.35rem);
}

body.apex-theme .apex-collection-filter-panel__inner {
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-right: 1px solid var(--ax-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overscroll-behavior-block: contain;
  scrollbar-color: var(--ax-border-strong) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

body.apex-theme .apex-collection-filter-panel__inner::-webkit-scrollbar {
  width: 9px;
}

body.apex-theme .apex-collection-filter-panel__inner::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--ax-border) 36%, transparent);
}

body.apex-theme .apex-collection-filter-panel__inner::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--ax-border-strong);
  background-clip: padding-box;
}

body.apex-theme .apex-collection-filter-panel__header {
  min-height: 2.75rem;
  padding: 0 0.75rem 0 0;
  border-color: var(--ax-border);
}

body.apex-theme .apex-collection-filter-panel__header h2 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: -0.012em;
}

body.apex-theme .apex-collection-filter-panel__scroll-cue {
  display: inline-flex;
  margin-left: auto;
  padding-right: 0.15rem;
  align-items: center;
  gap: 0.25rem;
  color: var(--ax-text-2);
  font-size: 0.66rem;
  font-weight: 690;
  line-height: 1;
  white-space: nowrap;
}

body.apex-theme .apex-collection-filter-panel__scroll-cue[hidden] {
  display: none;
}

body.apex-theme .apex-collection-filter-panel__form .accordion {
  margin: 0;
}

body.apex-theme .apex-collection-filter-panel__form .accordion__item {
  border-bottom: 1px solid var(--ax-border);
}

body.apex-theme .apex-collection-filter-panel__form .accordion__header {
  min-height: 2.65rem;
  padding-inline: 0 0.75rem !important;
  color: var(--ax-text);
  font-weight: 690;
}

body.apex-theme .apex-collection-filter-panel__form .accordion__panel {
  color: var(--ax-text-2);
  font-size: 0.8rem;
}

body.apex-theme .apex-collection-filter-panel__form .accordion__panel > div {
  padding: 0.1rem 0.75rem 0.7rem 0 !important;
}

body.apex-theme .apex-collection-filter-panel__form :where(.checkbox, .radio) + label {
  min-height: 1.75rem;
  font-size: 0.77rem;
}

body.apex-theme .apex-collection-filter-panel__form :where(.filter__checkbox-list, .filter__radio-list) {
  max-height: 13rem;
  overflow-y: auto;
  overscroll-behavior-block: contain;
  scrollbar-width: thin;
}

body.apex-theme .apex-collection-filter-panel__form a[aria-current="page"] {
  color: var(--ax-text);
  font-weight: 750;
}

body.apex-theme .apex-filter-categories {
  gap: 0.1rem !important;
}

body.apex-theme .apex-filter-categories li {
  position: relative;
  min-width: 0;
  padding-right: 2.6rem;
  line-height: 1.35;
}

body.apex-theme .apex-filter-categories a {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  color: var(--ax-text-2);
  font-size: 0.77rem;
  text-decoration: none;
}

body.apex-theme .apex-filter-categories a[aria-current="page"] {
  color: var(--ax-text);
  font-weight: 750;
}

body.apex-theme .apex-filter-categories__parent {
  margin-bottom: 0.2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ax-border);
}

body.apex-theme .apex-filter-categories__parent a {
  gap: 0.35rem;
  color: var(--ax-text);
  font-weight: 720;
}

body.apex-theme .apex-filter-categories__child {
  padding-left: 0.65rem;
}

body.apex-theme .apex-filter-categories__children {
  margin: 0.1rem -2.6rem 0.25rem 0.15rem;
  padding-left: 0.35rem;
  border-left: 1px solid var(--ax-border);
}

body.apex-theme .apex-filter-categories .filter-categories__count {
  position: absolute;
  top: 0.42rem;
  right: 0.75rem;
  color: var(--ax-muted);
  font-size: 0.68rem;
}

body.apex-theme .apex-filter-selected-count {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.3rem;
  padding-inline: 0.28rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ax-text);
  color: var(--ax-elevated);
  font-size: 0.65rem;
  line-height: 1;
}

body.apex-theme .apex-collection-filter-panel__actions {
  padding: 0.65rem 0.75rem 0.15rem 0;
  background: var(--ax-elevated);
}

body.apex-theme .apex-collection-filter-panel__reset {
  padding: 0 !important;
}

body.apex-theme .apex-collection-filter-panel__apply {
  display: none;
}

body.apex-theme .apex-collection-filter-chips {
  display: flex;
  margin-bottom: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body.apex-theme .apex-collection-filter-chips:not(:has(.apex-filter-chip)) {
  display: none;
}

body.apex-theme .apex-collection-filter-chips .apex-filter-chip {
  min-height: 1.9rem;
  padding: 0.25rem 0.6rem;
  border-color: var(--ax-border-strong);
  background: var(--ax-elevated);
  color: var(--ax-text-2);
  font-size: 0.7rem;
  text-decoration: none;
  gap: 0.4rem;
}

body.apex-theme .apex-collection-filter-chips .apex-filter-chip > span:last-child {
  color: var(--ax-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 0.8;
}

body.apex-theme .apex-collection-filter-chips__clear {
  display: inline-flex;
  min-height: 1.9rem;
  padding-inline: 0.35rem;
  align-items: center;
  color: var(--ax-text);
  font-size: 0.72rem;
  font-weight: 720;
  text-underline-offset: 0.18em;
}

body.apex-theme .apex-collection-toolbar {
  min-height: 2.9rem;
  margin-bottom: 0.7rem;
  padding: 0.2rem 0;
  border-width: 1px 0;
  border-color: var(--ax-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.apex-theme :where(.apex-collection-toolbar__summary, .apex-collection-toolbar__controls) {
  display: flex;
  min-width: 0;
  align-items: center;
}

body.apex-theme .apex-collection-toolbar__summary {
  gap: 0;
}

body.apex-theme .apex-collection-toolbar__summary > span {
  display: none;
}

body.apex-theme .apex-collection-toolbar__summary p {
  margin: 0;
  color: var(--ax-text-2);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

body.apex-theme .apex-collection-toolbar__controls {
  gap: 0.55rem;
}

body.apex-theme .apex-collection-toolbar__controls > .separator {
  width: 1px;
  height: 1.45rem;
  background: var(--ax-border);
}

body.apex-theme .apex-collection-filter-trigger {
  margin: 0;
}

body.apex-theme .apex-collection-filter-trigger .btn {
  display: inline-flex;
  min-height: var(--ax-touch);
  padding: 0.45rem 0.7rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-color: var(--ax-border-strong);
  border-radius: 0.55rem;
  background: var(--ax-elevated);
  box-shadow: none;
  color: var(--ax-text);
  font-size: 0.78rem;
  font-weight: 720;
}

body.apex-theme .apex-collection-filter-trigger svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
}

body.apex-theme .apex-collection-toolbar__sort {
  min-width: 0;
  align-items: center;
}

body.apex-theme .apex-collection-toolbar__sort label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

body.apex-theme .apex-collection-toolbar__sort .select {
  min-width: 0;
}

body.apex-theme .apex-collection-toolbar__sort select {
  max-width: 12.5rem;
}

body.apex-theme .apex-collection-toolbar .btns--grid-layout {
  overflow: hidden;
  border: 1px solid var(--ax-border);
  border-radius: 0.55rem;
}

body.apex-theme .apex-collection-toolbar .btns--grid-layout .btns__btn {
  min-width: 2.55rem;
  min-height: 2.55rem;
  border: 0;
  border-radius: 0;
}

body.apex-theme .apex-collection-toolbar .btns--grid-layout input:checked + .btns__btn {
  background: var(--ax-text);
  color: var(--ax-elevated);
}

body.apex-theme .apex-collection-grid {
  --gap: 0.8rem;
}

/* Commerce-dense comparison cards. The collection API exposes Data 01, not
   full spec objects, so only those verified values are projected here. */
body.apex-theme .apex-product-card {
  border-color: var(--ax-border);
  border-radius: var(--ax-card-radius, .375rem);
  background: var(--ax-elevated);
  box-shadow: none;
}

body.apex-theme .apex-product-card__media {
  border-bottom: 1px solid color-mix(in srgb, var(--ax-border) 78%, transparent);
  background: color-mix(in srgb, var(--ax-page) 62%, var(--ax-elevated));
}

body.apex-theme .apex-product-card__media .media-wrapper {
  height: 0;
  padding-bottom: 100% !important;
  background: transparent;
}

body.apex-theme .apex-product-card__media img {
  padding: clamp(0.45rem, 3.5%, 0.75rem);
  object-fit: contain;
}

body.apex-theme .apex-product-card__image-fallback {
  display: grid;
  place-items: center;
  color: var(--ax-muted);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.16em;
}

body.apex-theme .apex-product-card__content {
  display: flex;
  min-width: 0;
  min-height: 14.5rem;
  padding: 0.72rem;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

body.apex-theme .apex-product-card .apex-product-card__brand {
  margin-bottom: 0.22rem;
  font-size: 0.63rem;
  letter-spacing: 0.065em;
}

body.apex-theme .apex-product-card .apex-product-card__title {
  min-height: calc(1.31em * 2);
  margin: 0;
  font-family: var(--ax-font-body);
  font-size: clamp(0.86rem, 1.1vw, 0.96rem);
  font-weight: 690;
  line-height: 1.31;
  letter-spacing: -0.012em;
}

body.apex-theme .apex-product-card .product-card__title {
  -webkit-line-clamp: 2;
}

body.apex-theme .apex-product-card__specs.apex-product-highlights {
  display: grid;
  margin: 0.52rem 0 0.58rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem 0.45rem;
  color: var(--ax-text-2);
  font-size: 0.75rem;
  font-weight: 640;
  line-height: 1.25;
}

body.apex-theme .apex-product-card__specs.apex-product-highlights li {
  display: flex;
  min-width: 0;
  align-items: baseline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.apex-theme .apex-product-card__specs.apex-product-highlights li::before,
body.apex-theme .apex-product-card__specs.apex-product-highlights li:not(:first-child)::before {
  display: block;
  width: 3px;
  height: 3px;
  margin: 0 0.42rem 0 0;
  border-radius: 50%;
  background: var(--ax-border-strong);
  content: "";
  flex: 0 0 3px;
}

body.apex-theme .apex-product-card .apex-product-card__rating {
  min-height: 1.5rem;
  margin: -0.1rem 0 0.2rem;
  font-size: 0.69rem;
}

body.apex-theme .apex-product-card .apex-product-card__stock {
  min-height: 1.35rem;
  margin-top: auto;
  padding: 0;
  gap: 0.28rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 720;
}

body.apex-theme .apex-product-card .apex-product-card__stock svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 0.9rem;
}

body.apex-theme .apex-product-card .apex-product-card__stock.is-available {
  border: 0;
  background: transparent;
  color: var(--ax-success);
}

body.apex-theme .apex-product-card .apex-product-card__stock.is-unavailable {
  border: 0;
  background: transparent;
  color: var(--ax-sale);
}

body.apex-theme .apex-product-card__compare {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 2.25rem;
  margin-top: 0.12rem;
  padding: 0.22rem 0;
  align-items: center;
  gap: 0.32rem;
  color: var(--ax-text-2);
  font-size: 0.75rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
}

body.apex-theme .apex-product-card__compare svg {
  width: 0.88rem;
  height: 0.88rem;
  flex: 0 0 0.88rem;
}

body.apex-theme .apex-product-card__compare:hover {
  color: var(--ax-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.apex-theme .apex-product-card__price-block {
  margin-top: 0.34rem;
}

body.apex-theme .apex-product-card__content:not(:has(.apex-product-card__stock)) .apex-product-card__price-block {
  margin-top: auto;
}

body.apex-theme .apex-product-card__price-line {
  display: flex;
  min-height: 1.65rem;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.16rem 0.4rem;
}

body.apex-theme .apex-product-card .prod-card__price {
  color: var(--ax-text);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

body.apex-theme .apex-product-card__price-block.is-sale .prod-card__price {
  color: var(--ax-sale);
}

body.apex-theme .apex-product-card .prod-card__old-price {
  margin: 0;
  color: var(--ax-muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

body.apex-theme :where(.apex-product-card__unit-price, .apex-product-card__legal) {
  display: block;
  margin-top: 0.18rem;
  color: var(--ax-muted);
  font-size: 0.61rem;
  line-height: 1.3;
}

body.apex-theme .apex-product-card__legal a {
  color: inherit;
  text-underline-offset: 0.12em;
}

body.apex-theme .apex-product-card__actions {
  margin-top: 0.55rem;
}

body.apex-theme .apex-product-card__action {
  display: inline-flex;
  width: 100%;
  min-height: 2.45rem;
  padding: 0.48rem 0.62rem;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: 0.35rem;
  box-shadow: none;
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.1;
  white-space: normal;
}

body.apex-theme .apex-product-card__action svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
}

body.apex-theme .apex-product-card__action--cart {
  border-color: var(--ax-text);
  background: var(--ax-text);
  color: var(--ax-elevated);
}

body.apex-theme .apex-product-card__action--cart:hover,
body.apex-theme .apex-product-card__action--cart:focus-visible {
  border-color: var(--ax-cta);
  background: var(--ax-cta);
  color: var(--ax-cta-text);
}

body.apex-theme .apex-product-card__action--options {
  border-color: var(--ax-border-strong);
  background: transparent;
  color: var(--ax-text);
}

body.apex-theme .apex-product-card__action--unavailable {
  border-color: var(--ax-border);
  background: var(--ax-surface);
  color: var(--ax-muted);
  cursor: not-allowed;
}

body.apex-theme .apex-product-card .prod-card__badge {
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.3rem 0.45rem;
  border-color: transparent;
  border-radius: 0.25rem;
  background: var(--ax-sale);
  color: #fff;
  font-size: 0.63rem;
}

body.apex-theme .apex-product-card .prod-card__wishlist {
  top: 0.42rem;
  right: 0.42rem;
  width: 2.35rem;
  height: 2.35rem;
  min-height: 2.35rem;
  border-radius: 50%;
  box-shadow: none;
}

body.apex-theme .apex-product-card--list {
  display: grid !important;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: 0 !important;
}

body.apex-theme .apex-product-card--list .apex-product-card__media {
  border-right: 1px solid var(--ax-border);
  border-bottom: 0;
}

body.apex-theme .apex-product-card--list .apex-product-card__content {
  min-height: 14rem;
  padding: 1rem;
}

body.apex-theme .apex-product-card--list .apex-product-card__title {
  min-height: 0;
  font-size: 1rem;
}

body.apex-theme .apex-product-card--list .apex-product-card__specs {
  max-width: 30rem;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 0.3rem 1rem;
}

body.apex-theme .apex-product-card__description {
  display: -webkit-box;
  max-width: 62ch;
  margin: 0.15rem 0 0.55rem;
  overflow: hidden;
  color: var(--ax-text-2);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.apex-theme .apex-product-card__description p {
  margin: 0;
}

body.apex-theme .apex-product-card__list-commerce {
  display: flex;
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

body.apex-theme .apex-product-card--list .apex-product-card__price-block,
body.apex-theme .apex-product-card--list .apex-product-card__actions {
  margin-top: 0;
}

body.apex-theme .apex-product-card--list .apex-product-card__actions {
  width: min(12rem, 38%);
  flex: 0 0 min(12rem, 38%);
}

body.apex-theme .apex-collection-empty {
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 1rem;
  text-align: center;
}

body.apex-theme .apex-collection-empty__mark {
  display: block;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto 0.9rem;
  border: 1px solid var(--ax-border-strong);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--ax-brand-2) 0 13%, transparent 14% 100%);
}

body.apex-theme .apex-collection-empty h3 {
  margin: 0;
}

body.apex-theme .apex-collection-empty p {
  margin: 0.6rem auto 1.1rem;
}

body.apex-theme .apex-collection-commerce .pagination__item {
  min-width: var(--ax-touch);
  min-height: var(--ax-touch);
  border-radius: 999px;
}

/* Supporting information follows commerce rather than blocking it */
body.apex-theme .apex-category-content {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid var(--ax-border);
  background: var(--ax-surface);
}

body.apex-theme .apex-category-content__inner {
  display: grid;
  max-width: 72rem;
  margin-inline: auto;
  grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

body.apex-theme .apex-category-content__header {
  position: sticky;
  top: calc(var(--ax-header-height) + 1.25rem);
}

body.apex-theme .apex-category-content__body {
  max-width: 70ch;
  color: var(--ax-text-2);
  font-size: 0.96rem;
  line-height: 1.72;
}

body.apex-theme .apex-category-content__body > :first-child {
  margin-top: 0;
}

body.apex-theme .apex-category-content__body :where(h2, h3) {
  color: var(--ax-text);
  line-height: 1.16;
  letter-spacing: -0.028em;
}

body.apex-theme .apex-category-content__body h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

body.apex-theme .apex-category-content__body h3 {
  margin-top: 1.6rem;
  font-size: 1.1rem;
}

body.apex-theme .apex-category-content__body :where(ul, ol) {
  display: grid;
  gap: 0.45rem;
}

body.apex-theme .apex-category-content__body a {
  color: var(--ax-text);
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

@media (hover: hover) and (pointer: fine) {
  body.apex-theme .apex-product-card:hover {
    border-color: var(--ax-border-strong);
    box-shadow: none;
    transform: none;
  }

  body.apex-theme .apex-product-card:hover .prod-card__img-wrapper img {
    transform: scale(1.015);
  }

  body.apex-theme .apex-category-compact:hover {
    border-color: var(--ax-border-strong);
    transform: translateY(-2px);
  }

  body.apex-theme .apex-category-compact:hover .apex-category-compact__image {
    transform: scale(1.025);
  }

  body.apex-theme :where(.apex-category-compact__link, .apex-parent-shortcuts a, .apex-plp-subcategories__header > a):hover {
    color: var(--ax-text);
  }

  body.apex-theme .apex-parent-shortcuts a:hover svg {
    transform: translateX(2px);
  }
}

@media (min-width: 48rem) {
  body.apex-theme .apex-parent-discovery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.apex-theme .apex-plp-subcategories__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  body.apex-theme .apex-parent-discovery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.apex-theme .apex-plp-subcategories__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.apex-theme .apex-filter-layout--toolbar .apex-collection-commerce__layout {
    display: block;
  }

  body.apex-theme :where(.apex-filter-layout--drawer, .apex-filter-layout--toolbar) .apex-collection-filter-trigger {
    display: block !important;
  }

  body.apex-theme :where(.apex-filter-layout--drawer, .apex-filter-layout--toolbar) .apex-collection-filter-panel + * {
    padding-left: 0;
  }

  body.apex-theme :where(.apex-filter-layout--drawer, .apex-filter-layout--toolbar) .apex-collection-filter-panel:not(.sidebar--static) {
    width: 100%;
    max-width: none;
  }

  body.apex-theme .apex-collection-filter-panel:not(.sidebar--static) .apex-collection-filter-panel__header .sidebar__close-btn {
    display: inline-flex;
  }
}

@media (min-width: 80rem) {
  body.apex-theme .apex-parent-discovery__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 63.999rem) {
  body.apex-theme .apex-collection-filter-panel__scroll-cue {
    display: none;
  }

  body.apex-theme .apex-collection-filter-panel__form .accordion {
    padding-bottom: 0.5rem;
  }

  body.apex-theme .apex-collection-filter-panel__actions {
    position: sticky;
    z-index: 3;
    bottom: 0;
    display: grid;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ax-border);
    background: color-mix(in srgb, var(--ax-elevated) 96%, transparent);
    box-shadow: 0 -10px 24px rgba(27, 26, 23, 0.08);
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 0.55rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body.apex-theme .apex-collection-filter-panel__actions :where(.btn, .apex-collection-filter-panel__apply) {
    width: 100%;
    min-height: 48px;
    margin: 0;
    justify-content: center;
  }

  body.apex-theme .apex-collection-filter-panel__apply {
    display: inline-flex;
  }

  body.apex-theme .apex-category-content__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  body.apex-theme .apex-category-content__header {
    position: static;
  }
}

@media (max-width: 47.999rem) {
  body.apex-theme :where(.apex-plp-intro__breadcrumb, .apex-parent-intro__breadcrumb) {
    padding-block: 0.45rem 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.apex-theme :where(.apex-plp-intro__body, .apex-parent-intro__body) {
    padding-block: 0.48rem 0.7rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  body.apex-theme :where(.apex-plp-intro, .apex-parent-intro) h1 {
    max-width: 100%;
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    line-height: 1.04;
  }

  body.apex-theme :where(.apex-plp-intro__copy, .apex-parent-intro__copy) > p {
    display: -webkit-box;
    margin-top: 0.35rem;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.apex-theme :where(.apex-plp-intro__meta, .apex-parent-intro__meta) {
    margin: 0;
    font-size: 0.75rem;
  }

  body.apex-theme .apex-parent-discovery {
    padding-block: 1.2rem 2.4rem;
  }

  body.apex-theme .apex-parent-discovery__header {
    margin-bottom: 0.75rem;
  }

  body.apex-theme .apex-parent-discovery__header > span {
    margin-bottom: 0.2rem;
    font-size: 0.62rem;
  }

  body.apex-theme .apex-parent-discovery__header h2 {
    font-size: 1.35rem;
  }

  body.apex-theme :where(.apex-parent-discovery__grid, .apex-plp-subcategories__grid) {
    gap: 0.6rem;
  }

  body.apex-theme .apex-category-compact {
    border-radius: 0.55rem;
  }

  body.apex-theme .apex-category-compact__body {
    min-height: 4.5rem;
    padding: 0.65rem;
    gap: 0.45rem;
  }

  body.apex-theme .apex-category-compact__body :where(h2, h3) {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  body.apex-theme .apex-category-compact__meta {
    font-size: 0.63rem;
  }

  body.apex-theme .apex-parent-shortcuts {
    margin-top: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  body.apex-theme .apex-parent-shortcuts h2 {
    margin-top: 0;
  }

  body.apex-theme .apex-parent-shortcuts ul {
    gap: 0 0.9rem;
  }

  body.apex-theme .apex-plp-subcategories {
    padding-block: 0.55rem 0.65rem;
  }

  body.apex-theme .apex-plp-subcategories__header {
    margin-bottom: 0.35rem;
  }

  body.apex-theme .apex-plp-subcategories__header h2 {
    font-size: 0.9rem;
  }

  body.apex-theme .apex-plp-subcategories__header > a {
    display: none;
  }

  body.apex-theme .apex-plp-subcategories__grid .apex-category-compact__body {
    min-height: 3.2rem;
  }

  body.apex-theme .apex-plp-subcategories__grid > li {
    flex-basis: 8.65rem;
  }

  body.apex-theme .apex-collection-commerce {
    padding-block: 0.4rem 3rem;
  }

  body.apex-theme .apex-collection-filter-chips {
    margin-bottom: 0.45rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  body.apex-theme .apex-collection-filter-chips::-webkit-scrollbar {
    display: none;
  }

  body.apex-theme .apex-collection-filter-chips > * {
    flex: 0 0 auto;
  }

  body.apex-theme .apex-collection-toolbar {
    display: grid;
    min-height: var(--ax-touch);
    margin-bottom: 0.7rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
  }

  body.apex-theme .apex-collection-toolbar > * {
    width: auto;
  }

  body.apex-theme .apex-collection-toolbar__summary {
    min-width: 0;
  }

  body.apex-theme .apex-collection-toolbar__summary p {
    overflow: hidden;
    font-size: 0.72rem;
    text-overflow: ellipsis;
  }

  body.apex-theme .apex-collection-toolbar__controls {
    min-width: 0;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  body.apex-theme .apex-collection-toolbar__controls > .separator,
  body.apex-theme .apex-collection-toolbar .btns--grid-layout {
    display: none;
  }

  body.apex-theme .apex-collection-filter-trigger .btn {
    min-width: 5.25rem;
    padding-inline: 0.6rem;
    background: var(--ax-elevated);
  }

  body.apex-theme .apex-collection-toolbar__sort {
    min-width: 0;
    min-height: var(--ax-touch);
    border: 1px solid var(--ax-border-strong);
    border-radius: 0.55rem;
    background: var(--ax-elevated);
  }

  body.apex-theme .apex-collection-toolbar__sort > label {
    display: none;
  }

  body.apex-theme .apex-collection-toolbar__sort .select {
    width: 100%;
    min-width: 0;
    padding-inline: 0.55rem;
  }

  body.apex-theme .apex-collection-toolbar__sort .select__button {
    max-width: 8.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.apex-theme .apex-collection-toolbar__sort select {
    width: 100%;
    max-width: none;
  }

  body.apex-theme .apex-collection-filter-panel__inner {
    border-radius: 0;
    background: var(--ax-elevated);
  }

  body.apex-theme .apex-collection-filter-panel__header {
    min-height: 3.5rem;
    padding-inline: 1rem !important;
  }

  body.apex-theme .apex-collection-filter-panel__form .accordion__header {
    min-height: 3rem;
    padding-inline: 1rem !important;
  }

  body.apex-theme .apex-collection-filter-panel__form .accordion__panel > div {
    padding: 0.1rem 1rem 0.85rem !important;
  }

  body.apex-theme .apex-collection-filter-panel__form :where(.checkbox, .radio) + label,
  body.apex-theme .apex-filter-categories a {
    padding-right: 2.4rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  body.apex-theme .apex-filter-categories li {
    padding-right: 0;
  }

  body.apex-theme .apex-filter-categories .filter-categories__count {
    right: 0;
  }

  body.apex-theme .apex-collection-filter-panel__actions {
    padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
  }

  body.apex-theme .apex-collection-filter-panel__form :where(.checkbox, .radio) + label,
  body.apex-theme .apex-filter-categories a {
    min-height: var(--ax-touch);
  }

  body.apex-theme .apex-collection-filter-panel__form :where(.filter__checkbox-list, .filter__radio-list) {
    max-height: none;
    overflow: visible;
  }

  body.apex-theme .apex-collection-grid {
    --gap: 0.55rem;
  }

  body.apex-theme .apex-product-card__content {
    min-height: 12.25rem;
    padding: 0.58rem;
  }

  body.apex-theme .apex-product-card .apex-product-card__brand {
    margin-bottom: 0.18rem;
    font-size: 0.65rem;
  }

  body.apex-theme .apex-product-card .apex-product-card__title {
    font-size: 0.84rem;
    line-height: 1.28;
  }

  body.apex-theme .apex-product-card__specs.apex-product-highlights {
    margin-block: 0.42rem 0.48rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.18rem;
    font-size: 0.75rem;
  }

  body.apex-theme .apex-product-card__specs.apex-product-highlights li:nth-child(n + 3) {
    display: none;
  }

  body.apex-theme .apex-product-card .apex-product-card__stock {
    min-height: 1.2rem;
    font-size: 0.72rem;
  }

  body.apex-theme .apex-product-card .apex-product-card__stock svg {
    width: 0.78rem;
    height: 0.78rem;
    flex-basis: 0.78rem;
  }

  body.apex-theme .apex-product-card__compare {
    min-height: var(--ax-touch);
    font-size: 0.75rem;
  }

  body.apex-theme .apex-product-card .prod-card__price {
    font-size: 0.98rem;
  }

  body.apex-theme .apex-product-card__action {
    min-height: var(--ax-touch);
    padding-inline: 0.42rem;
    gap: 0.3rem;
    font-size: 0.75rem;
  }

  body.apex-theme .apex-product-card__action svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-basis: 0.95rem;
  }

  body.apex-theme .apex-product-card .prod-card__wishlist {
    width: var(--ax-touch);
    height: var(--ax-touch);
    min-height: var(--ax-touch);
  }

  body.apex-theme .apex-product-card--list {
    grid-template-columns: minmax(7.5rem, 36%) minmax(0, 1fr);
  }

  body.apex-theme .apex-product-card--list .apex-product-card__content {
    min-height: 12rem;
    padding: 0.7rem;
  }

  body.apex-theme .apex-product-card--list .apex-product-card__description {
    display: none;
  }

  body.apex-theme .apex-product-card--list .apex-product-card__specs {
    grid-template-columns: minmax(0, 1fr);
  }

  body.apex-theme .apex-product-card__list-commerce {
    display: block;
  }

  body.apex-theme .apex-product-card--list .apex-product-card__actions {
    width: 100%;
    margin-top: 0.45rem;
  }

  body.apex-theme .apex-category-content {
    padding-block: 2.75rem;
  }

  body.apex-theme .apex-category-content__inner {
    gap: 1rem;
  }

  body.apex-theme .apex-category-content__body {
    font-size: 0.9rem;
    line-height: 1.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.apex-theme :where(.apex-category-compact, .apex-category-compact__image, .apex-parent-shortcuts svg) {
    transition: none;
  }
}

@media (forced-colors: active) {
  body.apex-theme :where(.apex-category-compact, .apex-collection-toolbar, .apex-collection-filter-panel__inner) {
    border: 1px solid CanvasText;
  }

  body.apex-theme .apex-category-compact__fallback {
    display: none;
  }
}

@media print {
  body.apex-theme :where(.apex-collection-filter-panel, .apex-collection-toolbar, .apex-collection-filter-chips, .apex-parent-shortcuts) {
    display: none !important;
  }

  body.apex-theme .apex-category-content__inner {
    display: block;
  }
}
