/* Category / listing page ï¿½?ï¿½ï¿½?ï¿½ mobile-first */

.wm-cat-page {
  font-family: var(--font-body);
  background: var(--wm-surface-muted);
  color: var(--wm-text-primary);
  padding-bottom: calc(var(--wm-bottom-nav-h) + 1.5rem);
  -webkit-font-smoothing: antialiased;
}

/* Hero: see category-hero-variants.css */

/* Feed summary bar */
.wm-cat-feed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
  margin-bottom: 0.75rem;
}

.wm-cat-feed-head__count {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--wm-text-primary);
}

.wm-cat-feed-head__count span {
  color: var(--wm-accent-blue);
}

.wm-cat-feed-head__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wm-space-1);
}

.wm-cat-feed-head__chip {
  padding: 0.2rem 0.5rem;
  border-radius: var(--wm-radius-pill);
  background: var(--wm-surface-muted);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--wm-text-muted);
}

/* Post-listing engagement sections */
.wm-cat-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wm-item-gap);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wm-border-light);
}

.wm-cat-trust-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.55rem;
  row-gap: 0.45rem;
  padding: 1rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
}

.wm-cat-trust-card svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--wm-accent-blue);
  margin: 0;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
}

.wm-cat-trust-card h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  grid-column: 2;
  grid-row: 1;
}

.wm-cat-trust-card p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--wm-text-muted);
  grid-column: 1 / -1;
}

.wm-cat-guide {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--wm-radius-xl);
  border: 1px solid var(--wm-border-light);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, #ffffff 70%);
}

.wm-cat-guide h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 900;
}

.wm-cat-guide ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: var(--wm-item-gap);
}

.wm-cat-guide li {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--wm-text-body);
}

.wm-cat-compare-cta {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: var(--wm-surface-base);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--wm-item-gap);
}

.wm-cat-compare-cta p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wm-text-body);
}

.wm-cat-compare-cta a {
  display: inline-flex;
  align-items: center;
  gap: var(--wm-space-1);
  padding: 0.55rem 1rem;
  border-radius: var(--wm-radius-md);
  background: var(--wm-accent-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

@media (min-width: 640px) {
  .wm-cat-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ Layout ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ */
.wm-cat-wrap {
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding: 1rem var(--wm-container-pad) 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--wm-item-gap);
}

/* Category ads: full width of content column (no double padding) */
.wm-cat-wrap > .wm-ad,
.wm-cat-adstrip .wm-ad {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

.wm-cat-wrap > .wm-ad .wm-ad__card {
  width: 100%;
  border-radius: var(--wm-radius-md);
}

@media (min-width: 576px) {
  .wm-cat-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 992px) {
  .wm-cat-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.wm-cat-ad {
  border-radius: var(--wm-radius-xl);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
  padding: 0.75rem 1rem;
  display: flex;
  gap: var(--wm-item-gap);
  align-items: center;
}

.wm-cat-ad img {
  width: 4.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: var(--wm-radius-md);
  flex-shrink: 0;
}

.wm-cat-ad__body {
  min-width: 0;
  flex: 1;
}

.wm-cat-ad__label {
  display: block;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--wm-text-muted);
  letter-spacing: 0.01em;
}

.wm-cat-ad strong {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.wm-cat-ad p {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: var(--wm-text-muted);
}

/* Toolbar */
.wm-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wm-item-gap);
  padding: 0.5rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
}

.wm-cat-toolbar__group {
  display: flex;
  align-items: center;
  gap: var(--wm-space-1);
}

.wm-cat-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wm-space-1);
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  color: var(--wm-text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.wm-cat-tool-btn--primary {
  background: var(--wm-accent-blue);
  border-color: var(--wm-accent-blue);
  color: #fff;
}

.wm-cat-tool-btn svg {
  width: 1rem;
  height: 1rem;
}

.wm-cat-tool-btn .wm-count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--wm-primary-btn-hover);
  color: var(--wm-surface-dark);
  font-size: 0.5625rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wm-cat-search {
  display: none;
  flex: 1;
  position: relative;
}

.wm-cat-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--wm-text-muted);
  pointer-events: none;
}

.wm-cat-search input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 2.25rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  font-size: 0.75rem;
}

.wm-cat-search input:focus {
  outline: none;
  box-shadow: var(--wm-focus-ring);
  border-color: var(--wm-accent-blue);
}

.wm-cat-sort {
  position: relative;
}

.wm-cat-sort select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Desktop toolbar sort ? always interactive when shown */
.wm-cat-sort-select {
  display: inline-block;
  position: relative;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  min-width: 10.5rem;
  max-width: 14rem;
  min-height: 2.375rem;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wm-text-primary);
  appearance: auto;
}

.wm-cat-toolbar--desktop {
  display: none;
}

@media (min-width: 576px) {
  .wm-cat-toolbar--mobile {
    display: none;
  }

  .wm-cat-toolbar--desktop {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.5rem 0.75rem;
    gap: var(--wm-item-gap);
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--wm-surface-base, #fff);
  }

  .wm-cat-toolbar__group--controls {
    display: flex;
    align-items: center;
    gap: var(--wm-item-gap);
    flex-shrink: 0;
  }

  .wm-cat-toolbar__group--search {
    display: flex;
    align-items: center;
    gap: var(--wm-item-gap);
    min-width: 0;
  }

  .wm-cat-toolbar__group--search .wm-cat-tool-btn--filter-lg {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .wm-cat-toolbar__group--search .wm-cat-search {
    flex: 1;
    min-width: 10rem;
    max-width: 28rem;
  }

  .wm-cat-toolbar-field {
    display: flex;
    flex-direction: column;
    gap: var(--wm-space-1);
  }

.wm-cat-toolbar-field__label {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wm-text-muted);
  line-height: 1;
}

  .wm-cat-search {
    display: block;
    max-width: 20rem;
  }

  .wm-cat-sort-label {
    display: none;
  }

  .wm-cat-sort-select {
    min-height: 2.375rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--wm-radius-md);
    border: 1px solid var(--wm-border-light);
    background: var(--wm-surface-muted);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wm-text-primary);
  }

  .wm-cat-sort-label select {
    position: static;
    opacity: 1;
    min-height: 2.375rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--wm-radius-md);
    border: 1px solid var(--wm-border-light);
    background: var(--wm-surface-muted);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wm-text-primary);
  }

  .wm-cat-view-toggle {
    display: inline-flex;
    align-items: stretch;
    padding: 0.1875rem;
    border-radius: var(--wm-radius-md);
    border: 1px solid var(--wm-border-light);
    background: var(--wm-surface-muted);
    min-height: 2.375rem;
  }

  .wm-cat-view-toggle button {
    border: 0;
    border-radius: calc(var(--wm-radius-md) - 2px);
    background: transparent;
    color: var(--wm-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--wm-space-1);
    padding: 0 0.65rem;
    min-height: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .wm-cat-view-toggle--layout button {
    padding: 0 0.75rem;
  }

  .wm-cat-view-toggle--icons button {
    min-width: 2.375rem;
    padding: 0;
  }

  .wm-cat-view-toggle button.is-active {
    background: #fff;
    color: var(--wm-accent-blue);
    box-shadow: var(--wm-shadow-sm);
  }

  .wm-cat-view-toggle svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    display: block;
  }

  .wm-cat-view-toggle__label {
    display: inline;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
  }
}

/* Body: sidebar + grid */
.wm-cat-body {
  display: flex;
  flex-direction: column;
  gap: var(--wm-item-gap);
  align-items: stretch;
}

.wm-cat-sidebar {
  display: none;
}

@media (min-width: 992px) {
  .wm-cat-body {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--wm-space-6);
  }

  .wm-cat-sidebar {
    display: block;
    width: 18rem;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: 20px;
    padding: 0.85rem;
    border-radius: var(--wm-radius-md);
    border: 1px solid var(--wm-border-light);
    background: var(--wm-surface-base);
  }
}

.wm-cat-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-bottom: 0.45rem;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid var(--wm-border-light);
}

.wm-cat-filter-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wm-surface-dark);
}

.wm-cat-filter-head button {
  border: 0;
  background: none;
  color: var(--wm-danger);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.wm-cat-filter-block {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--wm-border-light);
}

.wm-cat-filter-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Block spacing between filter sections */
#wm-cat-sidebar-filters,
#wm-cat-sidebar-filters .wm-cat-facets,
#wm-cat-sidebar-filters #search-filters {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Gap between filter buttons/links */
#wm-cat-sidebar-filters .wm-cat-chip-grid,
#wm-cat-sidebar-filters .wm-cat-chip-grid--brands,
#wm-cat-sidebar-filters .wm-cat-chip-grid--4,
#wm-cat-sidebar-filters .wm-cat-mode-list,
#wm-cat-sidebar-filters .wm-cat-check-list,
#wm-cat-sidebar-filters .wm-cat-price-presets,
#wm-cat-sidebar-filters .wm-cat-price-row {
  gap: 0.5rem;
}

.wm-cat-filter-block label,
.wm-cat-filter-block .wm-cat-filter-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wm-text-body);
}

.wm-cat-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.wm-cat-price-row input,
.wm-cat-filter-block input[type="range"] {
  width: 100%;
}

.wm-cat-price-row input[type="number"] {
  padding: 0.35rem 0.45rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 500;
}

.wm-cat-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.wm-cat-chip-grid--brands {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.wm-cat-chip-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.wm-cat-chip-grid button,
.wm-cat-chip-grid a,
.wm-cat-chip-grid .js-search-link {
  padding: 0.28rem 0.3rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--wm-text-body);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  box-sizing: border-box;
}

.wm-cat-chip-grid button.is-active,
.wm-cat-chip-grid a.is-active,
.wm-cat-chip-grid .js-search-link.is-active {
  background: var(--wm-secondary);
  border-color: var(--wm-secondary);
  color: #fff;
}

.wm-cat-check {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wm-text-body);
  cursor: pointer;
}

.wm-cat-check input {
  width: 1rem;
  height: 1rem;
}

/* Feed */
.wm-cat-feed {
  flex: 1;
  min-width: 0;
}

.wm-cat-grid {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wm-item-gap);
}

@media (min-width: 640px) {
  .wm-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--wm-item-gap);
  }
}

@media (min-width: 992px) {
  .wm-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--wm-item-gap);
  }
}

/* Product card base ï¿½?? see product-card.css (shared with homepage) */

/* List / specs views */
.wm-cat-list {
  display: none;
  flex-direction: column;
  gap: var(--wm-item-gap);
}

.wm-cat-list.is-visible,
.wm-cat-grid.is-visible {
  display: grid;
}

.wm-cat-list.is-visible {
  display: flex;
}

.wm-cat-grid[hidden],
.wm-cat-list[hidden] {
  display: none !important;
}

.wm-cat-list--detail {
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .wm-cat-page[data-layout='fullwidth'][data-view='list'] #wm-cat-list-detail,
  .wm-cat-page[data-layout='fullwidth'][data-view='list'] .wm-cat-list--detail,
  .wm-cat-page[data-layout='fullwidth'] #wm-cat-list-detail.wm-cat-list--detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    align-items: stretch;
  }
}

@media (min-width: 992px) {
  .wm-cat-page[data-layout='fullwidth'][data-view='specs'] #wm-cat-list-specs,
  .wm-cat-page[data-layout='fullwidth'][data-view='specs'] .wm-cat-list:not(.wm-cat-list--detail),
  .wm-cat-page[data-layout='fullwidth'] #wm-cat-list-specs.wm-cat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    align-items: stretch;
  }
}

/* Detailed specs view cards */
.wm-cat-detail {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.wm-cat-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--wm-item-gap);
}

.wm-cat-detail__identity {
  min-width: 0;
  padding-left: 0.65rem;
  border-left: 3px solid var(--wm-primary);
}

.wm-cat-detail__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.wm-cat-detail__title a {
  color: var(--wm-text-primary);
  text-decoration: none;
}

.wm-cat-detail__title a:hover {
  color: var(--wm-accent-blue);
}

.wm-cat-detail__release {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--wm-text-muted);
}

.wm-cat-detail__actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
}

.wm-cat-detail__wishlist {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.wm-cat-detail__wishlist .wishlist-button-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0.25rem 0.35rem;
  color: var(--wm-text-muted);
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: var(--wm-radius);
  width: auto;
  height: auto;
  min-width: 0;
}

.wm-cat-detail__wishlist .wishlist-button-add i {
  font-size: 1rem;
}

.wm-cat-detail__compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 0;
  background: none;
  padding: 0.25rem 0.35rem;
  color: var(--wm-primary);
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: var(--wm-radius);
}

.wm-cat-detail__compare .wm-icon,
.wm-cat-detail__compare svg {
  width: 1rem;
  height: 1rem;
  display: block;
  flex-shrink: 0;
}

.wm-cat-detail__compare:hover {
  color: var(--wm-primary-hover);
}

.wm-cat-detail__btn-label {
  line-height: 1;
}

.wm-cat-detail__body {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr);
  gap: 0.85rem 1rem;
  padding: 0.85rem;
  border: 1px solid var(--wm-border-light);
  border-radius: var(--wm-radius);
  background: var(--wm-surface-base);
}

.wm-cat-detail__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.wm-cat-detail__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--wm-radius);
  overflow: hidden;
  background: var(--wm-surface-muted);
}

.wm-cat-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wm-cat-detail__score {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  max-width: calc(100% - 0.9rem);
  padding: 0.28rem 0.4rem;
  border-radius: var(--wm-radius);
  background: var(--wm-success);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
}

.wm-cat-detail__photos {
  border: 0;
  background: none;
  padding: 0;
  color: var(--wm-text-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.wm-cat-detail__photos:hover {
  color: var(--wm-accent-blue);
}

.wm-cat-detail__info {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.55rem;
}

.wm-cat-detail__menu {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: var(--wm-radius);
  background: transparent;
  color: var(--wm-text-muted);
  cursor: pointer;
}

.wm-cat-detail__menu svg {
  width: 1rem;
  height: 1rem;
}

.wm-cat-detail__menu:hover {
  color: var(--wm-text-primary);
  background: var(--wm-surface-muted);
}

.wm-cat-detail__specs {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.wm-cat-detail__spec {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #1f2937;
  font-weight: 500;
}

.wm-cat-detail__spec svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #6b7280;
}

.wm-cat-detail__spec span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wm-cat-detail__all {
  align-self: flex-end;
  color: var(--wm-text-primary);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wm-cat-detail__all:hover {
  color: var(--wm-accent-blue);
}

.wm-cat-detail__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--wm-border-light);
  font-size: 0.8125rem;
}

.wm-cat-detail__rating-label,
.wm-cat-detail__rating-score {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wm-cat-detail__rating-label {
  color: var(--wm-text-muted);
  font-weight: 600;
}

.wm-cat-detail__rating-label svg,
.wm-cat-detail__rating-score svg {
  width: 0.95rem;
  height: 0.95rem;
}

.wm-cat-detail__rating-score {
  font-weight: 800;
  color: var(--wm-text-primary);
}

.wm-cat-detail__rating-score svg {
  color: var(--wm-primary);
}

.wm-cat-detail__rating-score small {
  font-weight: 600;
  color: var(--wm-text-muted);
}

.wm-cat-detail__store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding: 0.55rem 0.7rem;
  border-radius: var(--wm-radius);
  background: var(--wm-surface-muted);
}

.wm-cat-detail__store-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wm-text-body);
}

.wm-cat-detail__store-price {
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--wm-text-primary);
}

.wm-cat-detail__store-price s {
  margin-left: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wm-text-muted);
}

.wm-cat-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  padding: 0;
  color: var(--wm-primary);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--wm-action-radius);
}

.wm-cat-detail__cta .wm-icon,
.wm-cat-detail__cta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: block;
}

.wm-cat-detail__cta:hover {
  color: var(--wm-primary-hover);
}

@media (max-width: 767.98px) {
  .wm-cat-detail__body {
    grid-template-columns: 1fr;
    padding: 0 0 0.85rem;
    overflow: hidden;
  }

  .wm-cat-detail__media {
    max-width: none;
    width: 100%;
    margin: 0;
    gap: 0.55rem;
  }

  .wm-cat-detail__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  .wm-cat-detail__photos {
    padding-inline: 0.85rem;
  }

  .wm-cat-detail__info {
    padding-inline: 0.85rem;
  }

  .wm-cat-detail__actions .wm-cat-detail__btn-label,
  .wm-cat-detail__cta .wm-cat-detail__btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .wm-cat-detail__wishlist,
  .wm-cat-detail__compare {
    width: var(--wm-action-size);
    height: var(--wm-action-size);
    min-width: var(--wm-action-size);
    min-height: var(--wm-action-size);
    padding: 0;
    border-radius: var(--wm-action-radius);
    background: var(--wm-surface-muted);
    color: var(--wm-text-body);
  }

  .wm-cat-detail__wishlist .wm-icon,
  .wm-cat-detail__wishlist svg,
  .wm-cat-detail__compare .wm-icon,
  .wm-cat-detail__compare svg {
    width: var(--wm-action-icon);
    height: var(--wm-action-icon);
  }

  .wm-cat-detail__wishlist:hover,
  .wm-cat-detail__wishlist.is-active {
    color: var(--wm-wishlist);
  }

  .wm-cat-detail__compare {
    color: var(--wm-primary);
  }

  .wm-cat-detail__cta {
    width: var(--wm-action-size);
    height: var(--wm-action-size);
    min-width: var(--wm-action-size);
    min-height: var(--wm-action-size);
    padding: 0;
    border-radius: var(--wm-action-radius);
    background: var(--wm-primary-btn);
    color: var(--wm-primary-fg);
  }

  .wm-cat-detail__cta .wm-icon,
  .wm-cat-detail__cta svg {
    width: var(--wm-action-icon);
    height: var(--wm-action-icon);
    color: inherit;
  }

  .wm-cat-detail__cta:hover {
    color: var(--wm-primary-fg);
    background: var(--wm-primary-btn-hover);
  }

  .wm-cat-detail__store {
    justify-content: space-between;
  }

  .wm-cat-detail__store-price {
    margin-left: 0;
  }
}

@media (max-width: 639.98px) {
  .wm-cat-detail__store {
    justify-content: space-between;
  }

  .wm-cat-detail__store-price {
    margin-left: 0;
  }
}

@media (min-width: 960px) {
  .wm-cat-detail__body {
    grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
    gap: 1rem 1.25rem;
    padding: 1rem 1.1rem;
  }

  .wm-cat-detail__title {
    font-size: 1.0625rem;
  }
}

.wm-cat-row {
  display: flex;
  flex-direction: column;
  gap: var(--wm-item-gap);
  padding: 1rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
}

@media (min-width: 768px) {
  .wm-cat-row {
    display: grid;
    /* Main | Specs (capped) | Actions (price + 4 icons) — no overlap */
    grid-template-columns: minmax(0, 35%) minmax(0, 45%) minmax(0, 20%);
    align-items: center;
    column-gap: 0.75rem;
  }
}

.wm-cat-row__main {
  display: flex;
  align-items: center;
  gap: var(--wm-item-gap);
  min-width: 0;
}

.wm-cat-row__main img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: var(--wm-radius-lg);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
}

.wm-cat-row__specs {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--wm-space-1);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-bottom: 0.1rem;
}

.wm-cat-row__specs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .wm-cat-row__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    align-content: center;
    overflow: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
}

.wm-cat-row__spec {
  flex: 0 0 auto;
  min-width: 7.25rem;
  max-width: 10.5rem;
  scroll-snap-align: start;
  padding: 0.4rem 0.5rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--wm-surface-muted);
  font-size: 0.6875rem;
  overflow: hidden;
  height: fit-content;
}

@media (min-width: 768px) {
  .wm-cat-row__spec {
    flex: unset;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    scroll-snap-align: unset;
    align-self: center;
    height: fit-content;
    box-sizing: border-box;
  }
}

.wm-cat-row__spec span {
  display: block;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--wm-text-muted);
}

.wm-cat-row__spec strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.3;
  max-height: calc(1.3em * 2);
}

.wm-cat-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
}

.wm-cat-empty h3 {
  margin: 0 0 0.35rem;
}

.wm-cat-empty p {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: var(--wm-text-muted);
}

.wm-cat-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wm-item-gap);
  flex-wrap: wrap;
  padding: 1rem 0 0.25rem;
}

.wm-cat-pagination__pages {
  display: flex;
  align-items: center;
  gap: var(--wm-space-1);
  flex-wrap: wrap;
  justify-content: center;
}

.wm-cat-pagination__btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--wm-border-light);
  border-radius: var(--wm-radius-md);
  background: var(--wm-surface-base);
  color: var(--wm-text);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

a.wm-cat-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.wm-cat-pagination__btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--wm-accent-blue);
  color: var(--wm-accent-blue);
}

.wm-cat-pagination__btn.is-active {
  background: var(--wm-secondary);
  border-color: var(--wm-secondary);
  color: #fff;
  cursor: default;
}

.wm-cat-pagination__btn:disabled,
.wm-cat-pagination__btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.wm-cat-pagination__nav {
  min-width: 3.5rem;
  font-weight: 800;
}

.wm-cat-pagination__ellipsis {
  min-width: 1.5rem;
  text-align: center;
  color: var(--wm-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.wm-cat-pagination__sentinel {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

/* Filter drawer (mobile) */
.wm-cat-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--wm-bottom-nav-h, 56px);
  z-index: calc(var(--wm-header-z) + 5);
  display: none;
}
@media (min-width: 576px) {
  .wm-cat-drawer {
    bottom: 0;
  }
}

.wm-cat-drawer.is-open {
  display: block;
}

.wm-cat-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(2px);
}

.wm-cat-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: min(100%, 20rem);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, var(--wm-surface-canvas) 100%);
  padding: 0;
  overflow: hidden;
  border-right: 1px solid var(--wm-border-light);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  animation: wm-cat-drawer-in 0.22s ease;
}

@keyframes wm-cat-drawer-in {
  from { transform: translateX(-12px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}

.wm-cat-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--wm-item-gap);
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--wm-border-light);
  background: #fff;
}

.wm-cat-drawer__head-copy {
  min-width: 0;
}

.wm-cat-drawer__eyebrow {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wm-text-muted);
  margin-bottom: 0.15rem;
}

.wm-cat-drawer__head h2,
.wm-cat-drawer__head .wm-cat-drawer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--wm-secondary);
}

.wm-cat-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem 1rem;
}

@media (min-width: 992px) {
  .wm-cat-page[data-layout="sidebar"] .wm-cat-drawer,
  .wm-cat-page[data-layout="sidebar"] .wm-cat-drawer.is-open {
    display: none !important;
  }
}
/* ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ Extra listing components (parity with original CategoryListingPage) ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ï¿½?ï¿½ */

.wm-cat-page[data-layout="fullwidth"] .wm-cat-sidebar { display: none; }
.wm-cat-page[data-layout="fullwidth"] .wm-cat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .wm-cat-page[data-layout="fullwidth"] .wm-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .wm-cat-page[data-layout="fullwidth"] .wm-cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .wm-cat-page[data-layout="sidebar"] .wm-cat-tool-btn--filter-lg {
    display: none;
  }

  .wm-cat-page[data-layout="fullwidth"] .wm-cat-tool-btn--filter-lg {
    display: inline-flex;
  }

  .wm-cat-page[data-layout="fullwidth"] .wm-cat-drawer.is-open {
    display: block !important;
  }
}

.wm-cat-toolbar__icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0.15rem;
}

.wm-cat-tool-btn--icon {
  min-width: 2.5rem;
  padding: 0.5rem;
}

.wm-cat-tool-btn--filter {
  background: var(--wm-accent-blue);
  border-color: var(--wm-accent-blue);
  color: #fff;
}

.wm-cat-tool-btn--filter:hover {
  background: var(--wm-accent-blue);
  border-color: var(--wm-accent-blue);
}

/* Mobile sort menu */
.wm-cat-sort-menu {
  position: relative;
}

.wm-cat-sort-menu__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 12;
  min-width: 12.5rem;
  padding: 0.45rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.wm-cat-sort-menu__title {
  margin: 0.15rem 0.55rem 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wm-text-muted);
}

.wm-cat-sort-menu__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: var(--wm-radius-md);
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wm-text-body);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.wm-cat-sort-menu__option:hover {
  background: var(--wm-surface-muted);
}

.wm-cat-sort-menu__option.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--wm-accent-blue);
}

.wm-cat-sort-menu__option.is-active::after {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--wm-accent-blue);
  flex-shrink: 0;
}

/* Mobile search popup */
.wm-cat-search-popup {
  position: fixed;
  top: var(--wm-header-h-mobile);
  left: 0;
  right: 0;
  z-index: calc(var(--wm-header-z) + 6);
  display: none;
}

.wm-cat-search-popup.is-open {
  display: block;
}

.wm-cat-search-popup__backdrop {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(2, 6, 23, 0.35);
}

.wm-cat-search-popup__panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--wm-item-gap);
  padding: 0.65rem 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--wm-border-light);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  animation: wm-cat-search-in 0.18s ease;
}

@keyframes wm-cat-search-in {
  from { transform: translateY(-8px); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}

.wm-cat-search--popup {
  display: block;
  flex: 1;
  position: relative;
}

.wm-cat-search--popup svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--wm-text-muted);
  pointer-events: none;
}

.wm-cat-search--popup input {
  width: 100%;
  padding: 0.65rem 0.75rem 0.65rem 2.25rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-text-on-dark-muted);
  background: var(--wm-surface-canvas);
  font-size: 0.875rem;
}

.wm-cat-search--popup input:focus {
  outline: none;
  border-color: var(--wm-accent-blue);
  box-shadow: var(--wm-focus-ring);
  background: #fff;
}

.wm-cat-search-popup__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--wm-border-light);
  border-radius: var(--wm-radius-md);
  background: #fff;
  color: var(--wm-text-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.wm-cat-search-popup__close:hover {
  color: var(--wm-secondary);
  border-color: var(--wm-text-on-dark-muted);
}

.wm-cat-toolbar__group--grow { flex: 1; min-width: 12rem; }
.wm-cat-view-toggle__label { display: none; }

.wm-cat-row__quickview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--wm-action-size);
  min-width: var(--wm-action-size);
  max-width: var(--wm-action-size);
  height: var(--wm-action-size);
  min-height: var(--wm-action-size);
  max-height: var(--wm-action-size);
  padding: 0;
  border-radius: var(--wm-action-radius);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-canvas);
  color: var(--wm-text-body);
  font-size: 0;
  cursor: pointer;
  flex: 0 0 var(--wm-action-size);
}

.wm-cat-row__quickview .wm-icon,
.wm-cat-row__quickview svg {
  width: var(--wm-action-icon);
  height: var(--wm-action-icon);
  color: var(--wm-accent-blue);
  display: block;
}

.wm-cat-row__quickview span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wm-cat-row__quickview:hover {
  border-color: var(--wm-accent-blue);
  background: rgba(37, 99, 235, 0.08);
  color: var(--wm-accent-blue);
}

.wm-cat-table__act {
  display: flex;
  align-items: center;
  gap: var(--wm-item-gap);
}

.wm-cat-row__compare {
  box-sizing: border-box;
  width: var(--wm-action-size);
  min-width: var(--wm-action-size);
  max-width: var(--wm-action-size);
  height: var(--wm-action-size);
  min-height: var(--wm-action-size) !important;
  max-height: var(--wm-action-size);
  padding: 0 !important;
  border-radius: var(--wm-action-radius);
  background: var(--wm-surface-muted);
  border: 1px solid transparent;
  color: var(--wm-text-body);
  box-shadow: none;
  flex: 0 0 var(--wm-action-size);
}

.wm-cat-row__compare .wm-icon,
.wm-cat-row__compare svg {
  width: var(--wm-action-icon);
  height: var(--wm-action-icon);
  display: block;
}

.wm-cat-row__compare:hover {
  background: var(--wm-border-light);
  color: var(--wm-secondary);
  border-color: transparent;
}

/* Category grid ï¿½?? sponsored card extensions (base in product-card.css) */
.wm-cat-card--sponsored .wm-cat-card__media {
  background: linear-gradient(180deg, var(--wm-surface-dark-panel), var(--wm-surface-dark));
}

.wm-cat-card--sponsored .wm-cat-card__media img {
  opacity: 0.92;
}

.wm-cat-card--sponsored:hover .wm-cat-card__media img {
  opacity: 1;
}

.wm-cat-card__badge--sponsored {
  background: var(--color-sponsored);
  color: var(--on-sponsored);
  border-color: #e6b000;
  border-color: color-mix(in srgb, var(--color-sponsored) 55%, transparent);
}
.wm-cat-card__partner {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2;
  font-family: inherit; font-size: 0.625rem; font-weight: 600; color: var(--wm-text-on-dark);
  background: #243041;
  background: color-mix(in srgb, var(--color-text) 80%, transparent); border: 1px solid var(--wm-surface-dark-panel); border-radius: var(--wm-cat-tag-radius); padding: 0.1rem 0.35rem;
}
.wm-cat-card__brand--amber { color: var(--color-cta-text); }
.wm-cat-card__price--amber { color: var(--color-cta-text); }
.wm-cat-card__cta--amber { background: var(--wm-primary-btn); color: #fff; text-decoration: none; }
.wm-cat-card__cta--amber .wm-icon,
.wm-cat-card__cta--amber svg,
.wm-cat-deal__cta .wm-icon,
.wm-cat-deal__cta svg {
  color: #fff;
  stroke: currentColor;
  fill: none;
}

.wm-cat-adstrip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wm-item-gap);
  margin: 0.25rem 0;
  width: 100%;
  align-items: start;
}

@media (min-width: 768px) {
  .wm-cat-adstrip {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 1fr);
  }
}

.wm-cat-adstrip .wm-ad {
  margin: 0;
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.wm-cat-adstrip .wm-ad__card {
  width: 100%;
  height: auto;
  border-radius: var(--wm-radius-md);
}

.wm-cat-adstrip__product {
  display: block;
  min-width: 0;
  height: auto;
}

.wm-cat-adstrip__product > .wm-cat-deal {
  width: 100%;
  margin: 0;
  height: auto;
}

/* Shared direct-deal card (ad strip + hero spotlight) */
.wm-cat-deal {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--wm-border-light);
  border-radius: var(--wm-radius-md);
  background: var(--wm-surface-base);
  box-shadow: var(--wm-shadow-sm);
  overflow: hidden;
}

.wm-cat-deal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wm-item-gap);
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  font-size: 0.625rem;
  color: var(--wm-text-muted);
}

.wm-cat-deal__price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.1rem 0.375rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid color-mix(in srgb, var(--wm-primary) 30%, transparent);
  background: color-mix(in srgb, var(--wm-primary) 12%, transparent);
  color: var(--wm-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wm-cat-deal__price s {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--wm-text-muted);
  text-decoration: line-through;
}

.wm-cat-deal__ship {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--wm-text-muted);
}

.wm-cat-deal__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--wm-item-gap);
  min-width: 0;
  padding: 0.75rem 1rem;
}

.wm-cat-deal__thumb {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted);
  overflow: hidden;
}

.wm-cat-deal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wm-cat-deal__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.wm-cat-deal__labels {
  display: flex;
  align-items: center;
  gap: var(--wm-item-gap);
  flex-wrap: wrap;
}

.wm-cat-deal__name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wm-cat-deal__name a {
  color: inherit;
  text-decoration: none;
}

.wm-cat-deal__name a:hover {
  color: var(--wm-accent-blue);
}

.wm-cat-deal__rating {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wm-primary);
}

.wm-cat-deal__rating span {
  color: var(--wm-text-muted);
  font-weight: 500;
  font-size: 0.6875rem;
}

.wm-cat-deal__side {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.wm-cat-deal__wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wm-cat-deal__wishlist .wishlist-button-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: var(--wm-surface-muted);
  box-shadow: none;
  color: var(--wm-text-body);
  cursor: pointer;
}

.wm-cat-deal__cta {
  width: var(--wm-action-size);
  min-width: var(--wm-action-size);
  max-width: var(--wm-action-size);
  height: var(--wm-action-size);
  min-height: var(--wm-action-size);
  padding: 0;
  border-radius: var(--wm-action-radius);
  color: #fff;
}

.wm-cat-deal__cta span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wm-cat-filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.15rem; height: 1.15rem; margin-left: 0.25rem;
  border-radius: 999px; background: var(--wm-accent-blue); color: #fff;
  font-size: 0.625rem; font-weight: 800;
}
.wm-cat-filter-label-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.2rem;
}
.wm-cat-price-live { font-family: inherit; font-size: 0.8125rem; font-weight: 600; color: var(--wm-accent-blue); }
.wm-cat-price-presets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.25rem;
}
.wm-cat-price-presets button {
  padding: 0.25rem 0.2rem; border-radius: var(--wm-radius-md); border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-muted); font-size: 0.625rem; font-weight: 700; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wm-cat-price-presets button.is-active {
  background: var(--wm-accent-blue); border-color: var(--wm-accent-blue); color: #fff;
}
.wm-cat-chip-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.wm-cat-chip-grid--brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.wm-cat-more-brands {
  width: 100%; margin-top: 0.25rem; padding: 0.3rem;
  border: 0; border-radius: var(--wm-radius-md); background: var(--wm-surface-muted);
  color: var(--wm-accent-blue); font-size: 0.6875rem; font-weight: 700; cursor: pointer;
}
.wm-cat-mode-list { display: grid; gap: 0.5rem; }
.wm-cat-mode-list button {
  width: 100%; text-align: left; padding: 0.4rem 0.55rem;
  border-radius: var(--wm-radius-md); border: 1px solid var(--wm-border-light);
  background: transparent; font-size: 0.75rem; font-weight: 700; cursor: pointer; color: var(--wm-text-body);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wm-cat-filter-block--nav {
  margin-bottom: 1rem;
}

.wm-cat-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wm-cat-nav-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--wm-radius-md, 8px);
  border: 1px solid var(--wm-border-light, #e2e8f0);
  background: var(--wm-surface-base, #fff);
  color: var(--wm-text-body, #334155);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
}

.wm-cat-nav-list__link:hover {
  border-color: var(--wm-accent-blue, #2563eb);
  color: var(--wm-accent-blue, #2563eb);
}

.wm-cat-nav-list__link.is-active {
  border-color: var(--wm-accent-blue, #2563eb);
  background: rgba(37, 99, 235, 0.08);
  color: var(--wm-accent-blue, #2563eb);
}

.wm-cat-nav-list__count {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--wm-text-muted, #64748b);
}

.wm-cat-filter-block--listing-mode .wm-cat-mode-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.wm-cat-filter-block--listing-mode .wm-cat-mode-list__option {
  width: auto;
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
  padding: 0.35rem 0.5rem;
  font-size: 0.6875rem;
}

.wm-cat-mode-list__option {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

.wm-cat-row__thumb {
  border: 0; background: none; padding: 0; cursor: pointer; flex-shrink: 0;
}
.wm-cat-row__labels { display: flex; align-items: center; gap: var(--wm-item-gap); }
.wm-cat-row__cat {
  font-family: inherit; font-size: 0.625rem; font-weight: 600;
  padding: 0.1rem 0.4rem; border-radius: 999px; background: var(--wm-surface-muted); color: var(--wm-text-muted);
}
.wm-cat-row__rating { font-size: 0.75rem; color: var(--wm-primary); font-weight: 700; margin-top: 0.2rem; }
.wm-cat-row__rating span { color: var(--wm-text-muted); font-family: inherit; font-weight: 500; font-size: 0.6875rem; }
.wm-cat-row__actions {
  display: flex;
  align-items: center;
  gap: var(--wm-item-gap);
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid var(--wm-border-light);
}

.wm-cat-row__actions .wm-cat-card__price {
  min-width: 0;
  flex: 1 1 auto;
}

.wm-cat-row__btns {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .wm-cat-row__actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    border: 0;
    padding: 0;
    overflow: hidden;
  }

  .wm-cat-row__actions .wm-cat-card__price {
    flex: 0 0 auto;
    width: 100%;
    text-align: right;
  }

  .wm-cat-row__actions .wm-cat-row__btns {
    width: 100%;
    max-width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}

.wm-cat-row__actions .wm-cat-card__price small {
  display: block;
  font-size: 0.625rem;
  color: var(--wm-text-muted);
  font-weight: 500;
}

.wm-cat-table-wrap { overflow-x: auto; }
.wm-cat-table {
  border-radius: var(--wm-radius-md); border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base); overflow: hidden;
}
.wm-cat-table table { width: 100%; border-collapse: collapse; font-size: 0.75rem; text-align: left; }
.wm-cat-table th {
  padding: 0.75rem; background: var(--wm-surface-muted);
  font-family: inherit; font-size: 0.6875rem; font-weight: 600; color: var(--wm-text-muted);
  border-bottom: 1px solid var(--wm-border-light);
}
.wm-cat-table td { padding: 0.75rem; border-bottom: 1px solid var(--wm-border-light); vertical-align: middle; }
.wm-cat-table__device { display: flex; align-items: center; gap: var(--wm-item-gap); }
.wm-cat-table__device img {
  width: 2.5rem; height: 2.5rem; object-fit: cover; object-position: center; padding: 0;
  border-radius: var(--wm-radius-md); border: 1px solid var(--wm-border-light); background: var(--wm-surface-muted);
}
.wm-cat-table__name {
  display: block; border: 0; background: none; padding: 0; text-align: left;
  font-weight: 800; color: var(--wm-text-primary); cursor: pointer;
}
.wm-cat-table__name:hover { color: var(--wm-accent-blue); }
.wm-cat-table__act { text-align: right; }

.wm-cat-recent { padding-top: 2rem; }

.wm-cat-recent__slider {
  position: relative;
}

.wm-cat-recent__rail {
  display: flex; gap: var(--wm-item-gap); overflow-x: auto; padding-bottom: 0.25rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}

.wm-cat-recent__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 1px solid var(--wm-border-light);
  border-radius: var(--wm-radius-md);
  background: rgba(255, 255, 255, 0.95);
  color: var(--wm-text-primary);
  box-shadow: var(--wm-shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.15s ease;
}

.wm-cat-recent__nav svg {
  width: 1rem;
  height: 1rem;
}

.wm-cat-recent__nav--prev { left: 0.35rem; }
.wm-cat-recent__nav--next { right: 0.35rem; }

.wm-cat-recent__slider:hover .wm-cat-recent__nav {
  opacity: 1;
  pointer-events: auto;
}

.wm-cat-recent__nav:hover {
  background: #fff;
  border-color: var(--wm-accent-blue);
  color: var(--wm-accent-blue);
}

.wm-cat-recent__rail::-webkit-scrollbar { display: none; }

.wm-cat-recent__card {
  flex: 0 0 9.5rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: var(--wm-surface-base);
  overflow: hidden;
}

.wm-cat-recent__card > a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.wm-cat-recent__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  background: #fff;
  overflow: hidden;
  padding: 10px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wm-cat-recent__media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.wm-cat-recent__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem 0.75rem;
  min-width: 0;
}

.wm-cat-recent__body .wm-cat-card__brand {
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
}

.wm-cat-recent__body strong {
  font-size: 0.6875rem;
  line-height: 1.3;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wm-cat-recent__body .wm-cat-card__price {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--wm-text-primary);
}

.wm-cat-drawer__foot {
  display: flex;
  gap: var(--wm-item-gap);
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--wm-border-light);
  background: #fff;
}
.wm-cat-drawer__foot .wm-cat-tool-btn { flex: 1; }

.wm-cat-detail__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wm-primary);
}

.wm-cat-detail--sponsored .wm-cat-detail__identity {
  border-left-color: var(--wm-sponsored);
}

.wm-cat-detail--sponsored .wm-cat-detail__body {
  border-color: color-mix(in srgb, var(--wm-sponsored) 45%, var(--wm-border-light));
  background: linear-gradient(180deg, color-mix(in srgb, var(--wm-sponsored) 12%, #fff) 0%, var(--wm-surface-base) 55%);
  min-height: 100%;
}

.wm-cat-detail--sponsored .wm-cat-detail__info {
  min-height: 100%;
}

.wm-cat-detail__score--sponsored {
  background: var(--wm-sponsored);
  color: var(--on-sponsored);
}

.wm-cat-row--sponsored {
  border-color: color-mix(in srgb, var(--wm-sponsored) 45%, var(--wm-border-light));
  background: linear-gradient(135deg, color-mix(in srgb, var(--wm-sponsored) 14%, #fff) 0%, var(--wm-surface-base) 70%);
}

.wm-cat-row--sponsored .wm-cat-card__name {
  min-height: 0;
}

.wm-cat-row__cat--sponsored {
  background: var(--wm-sponsored);
  color: var(--on-sponsored);
}

.wm-cat-grid > .wm-cat-adstrip,
.wm-cat-list > .wm-cat-adstrip { width: 100%; }

.wm-cat-list > .wm-cat-row,
.wm-cat-list > .wm-cat-detail,
.wm-cat-list > .wm-cat-adstrip {
  width: 100%;
}

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Listing AJAX loading */
.wm-cat-page.is-loading { pointer-events: none; }
.wm-cat-page.is-loading .wm-cat-feed { opacity: 0.45; }
/* Filter AJAX: blur/load feed only; sidebar stays interactive */
.wm-cat-page.is-loading-feed .wm-cat-feed {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.wm-cat-page.is-loading-feed .wm-cat-sidebar,
.wm-cat-page.is-loading-feed #_desktop_faceted {
  pointer-events: auto;
}
.wm-cat-loading {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(20, 24, 31, 0.18);
  backdrop-filter: blur(2px);
}
.wm-cat-loading[hidden] { display: none !important; }
.wm-cat-loading__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(20, 24, 31, 0.08);
  box-shadow: 0 12px 40px rgba(20, 24, 31, 0.16);
}
.wm-cat-loading__gif {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}
.wm-cat-loading__spinner {
  /* legacy text spinner ? unused when GIF card is present */
  display: none;
}
/* removed conflicting wm-cat-search override ? use SoT toolbar search */

/* Detail view: rating left + View All Specs right (desktop) */
.wm-cat-detail__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: nowrap;
  width: 100%;
  padding-top: 0.55rem;
  border-top: 1px solid var(--wm-border-light);
}

.wm-cat-detail__meta-row .wm-cat-card__rating,
.wm-cat-detail__meta-row .product-list-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wm-cat-detail__meta-row .wm-cat-detail__all {
  align-self: center;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .wm-cat-detail__meta-row {
    flex-wrap: wrap;
  }
}

.wm-cat-check-list {
  display: grid;
  gap: 0.5rem;
}

.wm-cat-check-list a,
.wm-cat-check-list .js-search-link,
.wm-cat-check-list label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.wm-cat-facets .wm-cat-chip-grid a,
.wm-cat-chip-grid a {
  text-decoration: none;
}
/* Compact listing toolbar / search ? match frontend control height */
@media (min-width: 576px) {
  .wm-cat-toolbar--desktop {
    padding: 0.5rem 0.75rem;
    min-height: 0;
  }

  .wm-cat-toolbar--desktop .wm-cat-tool-btn,
  .wm-cat-toolbar--desktop .wm-cat-tool-btn--filter-lg {
    min-height: 2.375rem;
    padding: 0.4rem 0.7rem;
  }

  .wm-cat-toolbar--desktop .wm-cat-search input {
    padding: 0.4rem 2rem 0.4rem 2.1rem;
    min-height: 2.375rem;
    line-height: 1.2;
    box-sizing: border-box;
  }

  .wm-cat-toolbar--desktop .wm-cat-sort-select,
  .wm-cat-toolbar--desktop .wm-cat-view-toggle {
    min-height: 2.375rem;
  }
}

.wm-cat-chip-grid a {
  display: block;
}

.wm-cat-chip-grid a .magnitude {
  opacity: 0.75;
  font-weight: 600;
}

.wm-cat-mode-list a,
.wm-cat-mode-list__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.55rem;
  border-radius: var(--wm-radius-md);
  border: 1px solid var(--wm-border-light);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wm-text-body);
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-cat-mode-list a.is-active,
.wm-cat-mode-list__option.is-active {
  border-color: var(--wm-accent-blue);
  background: rgba(37, 99, 235, 0.08);
  color: var(--wm-accent-blue);
  font-weight: 800;
}

.wm-cat-price-slider {
  margin: 0.25rem 0 0.15rem;
}

.wm-cat-price-slider .ui-slider,
.wm-cat-price-slider .faceted-slider {
  margin: 0.3rem 0.2rem 0.4rem;
}

/* Keep filter-head compact ? do not inflate size here */
.wm-cat-filter-head {
  gap: 0.4rem;
  padding-bottom: 0.45rem;
  margin-bottom: 0.55rem;
}

.wm-cat-filter-head h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.wm-cat-filter-head button {
  border: 0;
  background: none;
  color: var(--wm-danger, #c0392b);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.wm-cat-footer {
  width: 100%;
  max-width: 100%;
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

.wm-cat-chip-grid a.is-brand-overflow[hidden],
.wm-cat-chip-grid a.is-facet-overflow[hidden],
.wm-cat-check-list .wm-cat-check.is-facet-overflow[hidden],
.wm-cat-check.is-facet-overflow[hidden] {
  display: none !important;
}

/* ?? Professional filter panel polish ?? */
@media (min-width: 992px) {
  .wm-cat-sidebar {
    padding: 1rem;
    border-radius: 0.875rem;
    border-color: rgba(20, 24, 31, 0.08);
    background:
      linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 10px 28px rgba(20, 24, 31, 0.06);
  }
}

.wm-cat-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0 0.75rem;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid rgba(20, 24, 31, 0.08);
}

.wm-cat-filter-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wm-surface-dark, #14181F);
}

.wm-cat-filter-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 12%, #fff);
  color: var(--wm-accent-blue, #0057D9);
  flex-shrink: 0;
}

.wm-cat-filter-head__icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.wm-cat-filter-head__reset,
.wm-cat-filter-head button.js-search-filters-clear-all {
  appearance: none;
  border: 1px solid rgba(192, 57, 43, 0.22);
  background: rgba(192, 57, 43, 0.06);
  color: var(--wm-danger, #c0392b);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.wm-cat-filter-head__reset:hover,
.wm-cat-filter-head button.js-search-filters-clear-all:hover {
  background: rgba(192, 57, 43, 0.12);
  border-color: rgba(192, 57, 43, 0.4);
}

#wm-cat-sidebar-filters .wm-cat-filter-block {
  padding: 0 0 1.05rem;
  margin: 0;
  border-bottom: 1px solid rgba(20, 24, 31, 0.07);
}

#wm-cat-sidebar-filters .wm-cat-filter-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#wm-cat-sidebar-filters,
#wm-cat-sidebar-filters .wm-cat-facets,
#wm-cat-sidebar-filters #search-filters {
  gap: 1.2rem;
}

.wm-cat-filter-block .wm-cat-filter-label,
.wm-cat-filter-block label.wm-cat-filter-label,
#wm-cat-sidebar-filters .wm-cat-filter-label {
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #3b4453;
}

.wm-cat-chip-grid button,
.wm-cat-chip-grid a,
.wm-cat-chip-grid .js-search-link {
  padding: 0.42rem 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20, 24, 31, 0.1);
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: #2a313c;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wm-cat-chip-grid button:hover,
.wm-cat-chip-grid a:hover,
.wm-cat-chip-grid .js-search-link:hover {
  border-color: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 45%, #cbd5e1);
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 6%, #fff);
  color: var(--wm-accent-blue, #0057D9);
}

.wm-cat-chip-grid button.is-active,
.wm-cat-chip-grid a.is-active,
.wm-cat-chip-grid .js-search-link.is-active {
  background: var(--wm-accent-blue, #0057D9);
  border-color: var(--wm-accent-blue, #0057D9);
  color: #fff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--wm-accent-blue, #0057D9) 28%, transparent);
}

.wm-cat-mode-list a,
.wm-cat-mode-list__option,
.wm-cat-mode-list button {
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(20, 24, 31, 0.1);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wm-cat-mode-list a:hover,
.wm-cat-mode-list__option:hover,
.wm-cat-mode-list button:hover {
  border-color: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 40%, #cbd5e1);
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 5%, #fff);
}

.wm-cat-mode-list a.is-active,
.wm-cat-mode-list__option.is-active,
.wm-cat-mode-list button.is-active {
  border-color: var(--wm-accent-blue, #0057D9);
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 10%, #fff);
  color: var(--wm-accent-blue, #0057D9);
  box-shadow: inset 3px 0 0 var(--wm-accent-blue, #0057D9);
}

.wm-cat-price-row input[type="number"],
.wm-cat-price-input {
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20, 24, 31, 0.12);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #14181F;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wm-cat-price-row input[type="number"]:focus,
.wm-cat-price-input:focus {
  outline: none;
  border-color: var(--wm-accent-blue, #0057D9);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wm-accent-blue, #0057D9) 18%, transparent);
}

.wm-cat-price-presets button {
  padding: 0.4rem 0.3rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20, 24, 31, 0.1);
  background: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wm-cat-price-presets button:hover {
  border-color: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 40%, #cbd5e1);
  color: var(--wm-accent-blue, #0057D9);
}

.wm-cat-price-presets button.is-active {
  background: var(--wm-accent-blue, #0057D9);
  border-color: var(--wm-accent-blue, #0057D9);
  color: #fff;
}

.wm-cat-check-list a,
.wm-cat-check-list .js-search-link,
.wm-cat-check-list label {
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  transition: background 0.15s ease;
}

.wm-cat-check-list a:hover,
.wm-cat-check-list .js-search-link:hover,
.wm-cat-check-list label:hover {
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 6%, #fff);
}

.wm-cat-more-brands {
  margin-top: 0.45rem;
  padding: 0.45rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 8%, #fff);
  color: var(--wm-accent-blue, #0057D9);
  font-weight: 800;
}

.wm-cat-price-live {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--wm-accent-blue, #0057D9);
}
/* ?? Professional filter panel polish ?? */
@media (min-width: 992px) {
  .wm-cat-sidebar {
    padding: 1rem;
    border-radius: 0.875rem;
    border-color: rgba(20, 24, 31, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 10px 28px rgba(20, 24, 31, 0.06);
  }
}

.wm-cat-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0 0.75rem;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid rgba(20, 24, 31, 0.08);
}

.wm-cat-filter-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wm-surface-dark, #14181F);
}

.wm-cat-filter-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 12%, #fff);
  color: var(--wm-accent-blue, #0057D9);
  flex-shrink: 0;
}

.wm-cat-filter-head__icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.wm-cat-filter-head__reset,
.wm-cat-filter-head button.js-search-filters-clear-all {
  appearance: none;
  border: 1px solid rgba(192, 57, 43, 0.22);
  background: rgba(192, 57, 43, 0.06);
  color: var(--wm-danger, #c0392b);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.wm-cat-filter-head__reset:hover,
.wm-cat-filter-head button.js-search-filters-clear-all:hover {
  background: rgba(192, 57, 43, 0.12);
  border-color: rgba(192, 57, 43, 0.4);
}

#wm-cat-sidebar-filters .wm-cat-filter-block {
  padding: 0 0 1.05rem;
  margin: 0;
  border-bottom: 1px solid rgba(20, 24, 31, 0.07);
}

#wm-cat-sidebar-filters .wm-cat-filter-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.wm-cat-filter-block .wm-cat-filter-label,
#wm-cat-sidebar-filters .wm-cat-filter-label {
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #3b4453;
}

.wm-cat-chip-grid button,
.wm-cat-chip-grid a,
.wm-cat-chip-grid .js-search-link {
  padding: 0.42rem 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20, 24, 31, 0.1);
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: #2a313c;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wm-cat-chip-grid button:hover,
.wm-cat-chip-grid a:hover,
.wm-cat-chip-grid .js-search-link:hover {
  border-color: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 45%, #cbd5e1);
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 6%, #fff);
  color: var(--wm-accent-blue, #0057D9);
}

.wm-cat-chip-grid button.is-active,
.wm-cat-chip-grid a.is-active,
.wm-cat-chip-grid .js-search-link.is-active {
  background: var(--wm-accent-blue, #0057D9);
  border-color: var(--wm-accent-blue, #0057D9);
  color: #fff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--wm-accent-blue, #0057D9) 28%, transparent);
}

.wm-cat-mode-list a,
.wm-cat-mode-list__option,
.wm-cat-mode-list button {
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(20, 24, 31, 0.1);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wm-cat-mode-list a:hover,
.wm-cat-mode-list__option:hover,
.wm-cat-mode-list button:hover {
  border-color: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 40%, #cbd5e1);
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 5%, #fff);
}

.wm-cat-mode-list a.is-active,
.wm-cat-mode-list__option.is-active,
.wm-cat-mode-list button.is-active {
  border-color: var(--wm-accent-blue, #0057D9);
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 10%, #fff);
  color: var(--wm-accent-blue, #0057D9);
  box-shadow: inset 3px 0 0 var(--wm-accent-blue, #0057D9);
}

.wm-cat-price-row input[type="number"],
.wm-cat-price-input {
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20, 24, 31, 0.12);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #14181F;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wm-cat-price-row input[type="number"]:focus,
.wm-cat-price-input:focus {
  outline: none;
  border-color: var(--wm-accent-blue, #0057D9);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wm-accent-blue, #0057D9) 18%, transparent);
}

.wm-cat-price-presets button {
  padding: 0.4rem 0.3rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(20, 24, 31, 0.1);
  background: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wm-cat-price-presets button:hover {
  border-color: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 40%, #cbd5e1);
  color: var(--wm-accent-blue, #0057D9);
}

.wm-cat-price-presets button.is-active {
  background: var(--wm-accent-blue, #0057D9);
  border-color: var(--wm-accent-blue, #0057D9);
  color: #fff;
}

.wm-cat-check-list a,
.wm-cat-check-list .js-search-link,
.wm-cat-check-list label {
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  transition: background 0.15s ease;
}

.wm-cat-check-list a:hover,
.wm-cat-check-list .js-search-link:hover,
.wm-cat-check-list label:hover {
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 6%, #fff);
}

.wm-cat-more-brands {
  margin-top: 0.45rem;
  padding: 0.45rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 8%, #fff);
  color: var(--wm-accent-blue, #0057D9);
  font-weight: 800;
}

.wm-cat-price-live {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--wm-accent-blue, #0057D9);
}

/* ?? Filter gaps (forced) + dual price range + modern panel ?? */
#wm-cat-sidebar-filters,
#wm-cat-sidebar-filters .wm-cat-facets,
#wm-cat-sidebar-filters #search-filters {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.2rem !important;
}

#wm-cat-sidebar-filters .wm-cat-chip-grid,
#wm-cat-sidebar-filters .wm-cat-chip-grid--brands,
#wm-cat-sidebar-filters .wm-cat-chip-grid--4,
#wm-cat-sidebar-filters .wm-cat-mode-list,
#wm-cat-sidebar-filters .wm-cat-check-list,
#wm-cat-sidebar-filters .wm-cat-price-presets,
#wm-cat-sidebar-filters .wm-cat-price-row {
  gap: 0.5rem !important;
}

.wm-cat-chip-grid { gap: 0.5rem !important; }
.wm-cat-chip-grid--brands { gap: 0.5rem !important; }
.wm-cat-chip-grid--4 { gap: 0.5rem !important; }
.wm-cat-mode-list { gap: 0.5rem !important; }
.wm-cat-check-list { gap: 0.5rem !important; }
.wm-cat-price-presets { gap: 0.5rem !important; }
.wm-cat-price-row { gap: 0.5rem !important; }

/* Native dual price range */
.wm-cat-range {
  position: relative;
  height: 2rem;
  margin: 0.65rem 0 0.85rem;
  display: grid;
  align-items: center;
}

.wm-cat-range__rail {
  position: absolute;
  left: 0;
  right: 0;
  height: 0.35rem;
  border-radius: 999px;
  background: #e7edf5;
  pointer-events: none;
}

.wm-cat-range__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0057D9 0%, #2f7dff 100%);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.12);
}

.wm-cat-range__input {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 2rem;
}

.wm-cat-range__input::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #0057D9;
  box-shadow: 0 2px 8px rgba(0, 87, 217, 0.35);
  cursor: grab;
}

.wm-cat-range__input::-moz-range-thumb {
  pointer-events: auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #0057D9;
  box-shadow: 0 2px 8px rgba(0, 87, 217, 0.35);
  cursor: grab;
}

.wm-cat-range__input::-webkit-slider-runnable-track,
.wm-cat-range__input::-moz-range-track {
  background: transparent;
  border: 0;
  height: 0.35rem;
}

.wm-cat-price-slider[hidden] {
  display: none !important;
}

/* Faster perceived AJAX */
.wm-cat-page.is-loading .wm-cat-feed {
  opacity: 0.72;
  transition: opacity 0.12s ease;
}
.wm-cat-page:not(.is-loading) .wm-cat-feed {
  transition: opacity 0.18s ease;
}

/* Modern filter panel refresh */
@media (min-width: 992px) {
  .wm-cat-sidebar {
    padding: 1.05rem !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(20, 24, 31, 0.08) !important;
    background:
      radial-gradient(120% 80% at 0% 0%, rgba(0, 87, 217, 0.06), transparent 55%),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.85) inset,
      0 14px 36px rgba(20, 24, 31, 0.07) !important;
  }
}

.wm-cat-filter-head {
  padding-bottom: 0.85rem !important;
  margin-bottom: 0.15rem !important;
  border-bottom: 1px solid rgba(20, 24, 31, 0.08) !important;
}

.wm-cat-filter-head h2 {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.wm-cat-filter-head__icon {
  width: 1.75rem !important;
  height: 1.75rem !important;
  border-radius: 0.55rem !important;
  background: linear-gradient(145deg, rgba(0,87,217,0.16), rgba(0,87,217,0.06)) !important;
  color: #0057D9 !important;
}

#wm-cat-sidebar-filters .wm-cat-filter-label {
  margin-bottom: 0.55rem !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #445066 !important;
}

.wm-cat-chip-grid a,
.wm-cat-chip-grid .js-search-link,
.wm-cat-chip-grid button {
  border-radius: 0.6rem !important;
  border: 1px solid rgba(20, 24, 31, 0.1) !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04) !important;
  text-align: center !important;
}

.wm-cat-chip-grid a:hover,
.wm-cat-chip-grid .js-search-link:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 217, 0.35) !important;
  color: #0057D9 !important;
}

.wm-cat-chip-grid a.is-active,
.wm-cat-chip-grid .js-search-link.is-active,
.wm-cat-chip-grid button.is-active {
  background: linear-gradient(180deg, #1a6aef 0%, #0057D9 100%) !important;
  border-color: #0057D9 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0, 87, 217, 0.28) !important;
}

.wm-cat-mode-list a,
.wm-cat-mode-list__option {
  border-radius: 0.65rem !important;
  background: #fff !important;
}

.wm-cat-mode-list a.is-active,
.wm-cat-mode-list__option.is-active {
  box-shadow: inset 3px 0 0 #0057D9, 0 0 0 1px rgba(0,87,217,0.2) !important;
  background: rgba(0, 87, 217, 0.07) !important;
  color: #0057D9 !important;
}

.wm-cat-price-live {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 87, 217, 0.08);
  color: #0057D9 !important;
  font-weight: 800 !important;
}

.wm-cat-price-presets button.is-active {
  background: #0057D9 !important;
  border-color: #0057D9 !important;
  color: #fff !important;
}

/* ?? Listing UX: active = hover, infinite dots, sticky polish ?? */
.wm-cat-toolbar--mobile {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--wm-surface-base, #fff);
}

.wm-cat-chip-grid a:hover,
.wm-cat-chip-grid .js-search-link:hover,
.wm-cat-chip-grid button:hover,
.wm-cat-chip-grid a.is-active,
.wm-cat-chip-grid .js-search-link.is-active,
.wm-cat-chip-grid button.is-active {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 217, 0.35) !important;
  background: color-mix(in srgb, #0057D9 6%, #fff) !important;
  color: #0057D9 !important;
  box-shadow: 0 1px 2px rgba(20, 24, 31, 0.04) !important;
}

.wm-cat-check-list label:hover,
.wm-cat-check-list label.is-active,
.wm-cat-check.is-active {
  background: color-mix(in srgb, var(--wm-accent-blue, #0057D9) 6%, #fff);
}

.wm-cat-infinite-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem 1.75rem;
  color: var(--wm-text-muted, #64748b);
  font-size: 0.75rem;
  font-weight: 600;
}
.wm-cat-infinite-loader[hidden] { display: none !important; }
.wm-cat-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.wm-cat-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--wm-accent-blue, #0057D9);
  opacity: 0.35;
  animation: wm-cat-dot 1s ease-in-out infinite;
}
.wm-cat-dots i:nth-child(2) { animation-delay: 0.15s; }
.wm-cat-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wm-cat-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.wm-cat-page.is-loading-feed .wm-cat-feed {
  opacity: 0.5;
  pointer-events: none;
  filter: saturate(0.92);
}

/* Specs list row actions: keep wishlist + cart as 2 icons in one row */
.wm-cat-row__btns .wm-cat-row__quickview,
.wm-cat-row__btns .wm-cat-row__compare {
  display: none;
}
.wm-cat-row__btns {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
}
.wm-cat-row__btns .wm-cat-card__cart-form {
  display: inline-flex;
  margin: 0;
}


/* Compact list: hide wishlist only when it sits under/near the thumb, keep actions wishlist */
.wm-cat-row__main .wishlist-button,
.wm-cat-row__main .wishlist-button-add,
.wm-cat-row__thumb .wishlist-button,
.wm-cat-row__thumb .wishlist-button-add {
  display: none !important;
}

.wm-cat-filter-block--listing-mode .wm-cat-mode-list a,
.wm-cat-filter-block--listing-mode .wm-cat-mode-list__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}