.catalog-search-page {
  --cs-ink: #26344f;
  --cs-title: #16244a;
  --cs-navy: #16327d;
  --cs-blue: #1f59cf;
  --cs-blue-dark: #1b4fbd;
  --cs-blue-deep: #143a93;
  --cs-muted: #667794;
  --cs-muted-soft: #8d9bb3;
  --cs-border: #e5ebf3;
  --cs-border-strong: #dde6f1;
  --cs-line: #eef2f7;
  --cs-soft: #eef2f8;
  --cs-page: #eef2f8;
  --cs-success: #1a8a4f;
  --cs-success-bg: #e6f6ec;
  --cs-shadow: 0 1px 2px rgba(16, 40, 80, .04), 0 1px 3px rgba(16, 40, 80, .05);
  --cs-shadow-pop: 0 14px 40px rgba(16, 40, 80, .14), 0 2px 8px rgba(16, 40, 80, .08);
  background: var(--cs-page);
  color: var(--cs-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  min-height: 72vh;
  padding: 22px 0 56px;
  -webkit-font-smoothing: antialiased;
}

.catalog-search-page *,
.catalog-search-page *::before,
.catalog-search-page *::after {
  box-sizing: border-box;
}

.catalog-search-page button,
.catalog-search-page input,
.catalog-search-page select {
  font-family: inherit;
}

.catalog-search-page :where(a, button, input, select):focus {
  outline: 0;
}

.catalog-search-page :where(a, button, input, select):focus-visible {
  outline: 2px solid #78a4e4;
  outline-offset: 2px;
}

.catalog-search-icons {
  left: -9999px;
  position: absolute;
}

.catalog-search-shell {
  max-width: 1440px;
}

.catalog-breadcrumbs {
  align-items: center;
  color: var(--cs-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin: 2px 0 18px;
}

.catalog-breadcrumbs a {
  color: var(--cs-muted);
  text-decoration: none;
}

.catalog-breadcrumbs a:hover {
  color: var(--cs-blue);
}

.catalog-breadcrumbs svg {
  height: 12px;
  width: 12px;
}

.catalog-breadcrumbs [aria-current="page"] {
  color: var(--cs-blue);
  font-weight: 600;
}

.catalog-search-heading {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.catalog-search-heading h1 {
  color: var(--cs-title);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}

.catalog-search-heading p {
  color: var(--cs-muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.catalog-search-heading p strong {
  color: var(--cs-blue);
  font-weight: 600;
}

.catalog-search-heading p span {
  color: var(--cs-muted-soft);
}

.catalog-button,
.catalog-view-toggle {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-size: 13.5px;
  font-weight: 600;
  gap: 9px;
  justify-content: center;
  min-height: 0;
  padding: 9px 15px;
  white-space: nowrap;
}

.catalog-button svg,
.catalog-view-toggle svg {
  height: 17px;
  width: 17px;
}

.catalog-button--ghost,
.catalog-view-toggle {
  background: #fff;
  border: 1px solid var(--cs-border-strong);
  box-shadow: var(--cs-shadow);
  color: var(--cs-blue-deep);
}

.catalog-button--ghost:hover,
.catalog-view-toggle:hover {
  background: #f6f9fd;
  border-color: #c6d6e9;
}

.catalog-search-toolbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.catalog-applied-filters {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.catalog-applied-filters__empty {
  color: var(--cs-muted-soft);
  font-size: 12.5px;
}

.catalog-filter-chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cs-border-strong);
  border-radius: 8px;
  box-shadow: var(--cs-shadow);
  color: var(--cs-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  padding: 5px 9px;
}

.catalog-filter-chip a {
  align-items: center;
  color: var(--cs-muted-soft);
  display: inline-flex;
  justify-content: center;
}

.catalog-filter-chip a:hover {
  color: #d6453a;
}

.catalog-filter-chip svg {
  height: 13px;
  width: 13px;
}

.catalog-text-link {
  color: var(--cs-blue);
  font-size: 12.5px;
  font-weight: 600;
  margin-left: 3px;
  text-decoration: none;
}

.catalog-search-tools,
.catalog-search-tools form {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.catalog-search-tools form > label {
  color: var(--cs-muted);
  font-size: 13px;
  font-weight: 400;
}

.catalog-select {
  display: inline-flex;
  min-width: 160px;
  position: relative;
}

.catalog-select select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--cs-border-strong);
  border-radius: 10px;
  color: var(--cs-ink);
  box-shadow: var(--cs-shadow);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  height: 42px;
  outline: 0;
  padding: 0 38px 0 13px;
  width: 100%;
}

.catalog-select select:focus {
  border-color: #9fc0ea;
  box-shadow: 0 0 0 3px rgba(31, 79, 209, .12);
}

.catalog-select > svg {
  color: #6c7c93;
  height: 15px;
  pointer-events: none;
  position: absolute;
  right: 13px;
  top: 14px;
  width: 15px;
}

.catalog-select--compact {
  min-width: 76px;
}

.catalog-select--compact select {
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  height: 32px;
  padding: 0 32px 0 11px;
}

.catalog-select--compact > svg {
  height: 14px;
  right: 10px;
  top: 9px;
  width: 14px;
}

.catalog-filter-open {
  display: none;
}

.catalog-filter-open > span {
  align-items: center;
  background: #e8effb;
  border-radius: 6px;
  color: var(--cs-blue);
  display: inline-flex;
  font-size: 10px;
  height: 19px;
  justify-content: center;
  min-width: 19px;
  padding: 0 5px;
}

.catalog-view-toggle {
  color: var(--cs-muted);
  height: 42px;
  padding: 0;
  width: 42px;
}

.catalog-view-toggle:hover {
  background: #e8effb;
  border-color: #b7cdf3;
  color: var(--cs-blue);
}

.catalog-results-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 275px minmax(0, 1fr);
}

.catalog-filter-column {
  min-width: 0;
}

.catalog-filter-scrim {
  display: none;
}

.catalog-filter-rail {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 14px;
  box-shadow: var(--cs-shadow);
  padding: 14px 16px 0;
  position: sticky;
  top: 16px;
}

.catalog-filter-rail > form {
  display: flex;
  flex-direction: column;
}

.catalog-filter-rail__head {
  align-items: center;
  border-bottom: 1px solid var(--cs-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
}

.catalog-filter-rail__head h2 {
  color: var(--cs-title);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.catalog-filter-rail__head > div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.catalog-filter-rail__head a {
  color: var(--cs-blue);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.catalog-filter-rail__head button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--cs-muted);
  cursor: pointer;
  display: none;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.catalog-filter-rail__head button svg {
  height: 18px;
  width: 18px;
}

.catalog-filter-rail__scroll {
  flex: 0 0 auto;
}

.catalog-filter-group + .catalog-filter-group {
  border-top: 0;
}

.catalog-filter-group {
  border-bottom: 1px solid var(--cs-line);
  padding: 11px 0;
}

.catalog-filter-group:last-child {
  border-bottom: 0;
}

.catalog-filter-group__head {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--cs-title);
  cursor: pointer;
  display: flex;
  font-size: 12.5px;
  font-weight: 700;
  justify-content: space-between;
  padding: 0;
  text-align: left;
  width: 100%;
}

.catalog-filter-group__head svg {
  color: var(--cs-muted-soft);
  height: 16px;
  transition: transform .18s ease;
  width: 16px;
}

.catalog-filter-group.is-collapsed .catalog-filter-group__head svg {
  transform: rotate(-90deg);
}

.catalog-filter-group__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 8px;
}

.catalog-filter-group.is-collapsed .catalog-filter-group__body {
  display: none;
}

.catalog-filter-option {
  align-items: center;
  border-radius: 8px;
  color: var(--cs-ink);
  cursor: pointer;
  display: flex;
  font-size: 13px;
  gap: 9px;
  margin: 0 -8px;
  padding: 4px 8px;
  transition: background .12s;
}

.catalog-filter-option:hover {
  background: #f5f8fc;
}

.catalog-filter-option.is-selected {
  background: #eef4fd;
}

.catalog-filter-option input {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.catalog-filter-option__box {
  align-items: center;
  background: #fff;
  border: 1.5px solid #c3d0e2;
  border-radius: 4px;
  color: transparent;
  display: inline-flex;
  flex: 0 0 15px;
  height: 15px;
  justify-content: center;
  width: 15px;
}

.catalog-filter-option__box svg {
  height: 11px;
  width: 11px;
}

.catalog-filter-option input:focus-visible + .catalog-filter-option__box {
  box-shadow: 0 0 0 3px rgba(31, 79, 209, .16);
}

.catalog-filter-option input:focus-visible {
  outline: 0;
}

.catalog-filter-option input:checked + .catalog-filter-option__box {
  background: var(--cs-blue);
  border-color: var(--cs-blue);
  color: #fff;
}

.catalog-filter-option.is-selected .catalog-filter-option__name {
  color: var(--cs-blue-deep);
  font-weight: 600;
}

.catalog-filter-option__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-filter-option__count {
  color: var(--cs-muted-soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.catalog-filter-option.is-extra {
  display: none;
}

.catalog-filter-group.is-showing-all .catalog-filter-option.is-extra,
[data-catalog-facet-group].is-showing-all .catalog-filter-option.is-extra {
  display: flex;
}

.catalog-filter-group.is-searching .catalog-filter-option.is-extra,
[data-catalog-facet-group].is-searching .catalog-filter-option.is-extra {
  display: flex;
}

.catalog-filter-group.is-searching .catalog-filter-more,
[data-catalog-facet-group].is-searching .catalog-filter-more {
  display: none;
}

.catalog-filter-more {
  background: transparent;
  border: 0;
  color: var(--cs-blue);
  cursor: pointer;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 6px;
  padding: 4px 0;
}

.catalog-filter-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cs-border-strong);
  border-radius: 9px;
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  min-height: 34px;
  padding: 0 10px;
}

.catalog-filter-search svg {
  color: var(--cs-muted-soft);
  height: 15px;
  width: 15px;
}

.catalog-filter-search input {
  background: transparent;
  border: 0;
  color: var(--cs-ink);
  font-size: 12.5px;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.catalog-filter-search:focus-within {
  border-color: #9fc0ea;
  box-shadow: 0 0 0 3px rgba(31, 79, 209, .12);
}

.catalog-filter-search input:focus-visible {
  outline: 0;
}

.catalog-filter-empty,
.catalog-filter-error {
  color: #9a5160;
  font-size: 12px;
  margin: 7px 0 0;
}

.catalog-filter-subgroup {
  border-bottom: 1px solid var(--cs-line);
  display: grid;
  gap: 7px;
  padding: 8px 0 12px;
}

.catalog-filter-subgroup:first-child {
  padding-top: 1px;
}

.catalog-filter-subgroup h3 {
  color: var(--cs-title);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

.catalog-range-filter {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.catalog-range-filter input {
  border: 1px solid var(--cs-border-strong);
  border-radius: 10px;
  color: var(--cs-title);
  flex: 1 1 0;
  font-size: 13.5px;
  height: 40px;
  min-width: 0;
  outline: 0;
  padding: 0 13px;
  width: 100%;
}

.catalog-range-filter input:focus {
  border-color: #9fc0ea;
  box-shadow: 0 0 0 3px rgba(31, 79, 209, .12);
}

.catalog-range-filter button {
  align-items: center;
  background: #e8effb;
  border: 1px solid #b7cdf3;
  border-radius: 10px;
  color: var(--cs-blue);
  cursor: pointer;
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
}

.catalog-range-filter button svg {
  height: 16px;
  width: 16px;
}

.catalog-range-filter button:hover {
  background: var(--cs-blue);
  border-color: var(--cs-blue);
  color: #fff;
}

.catalog-filter-specialist {
  padding: 20px 18px;
}

.catalog-filter-specialist strong {
  font-size: 13px;
}

.catalog-filter-specialist p {
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 14px;
}

.catalog-filter-specialist a {
  align-items: center;
  color: var(--cs-blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  text-decoration: none;
}

.catalog-filter-specialist svg {
  height: 15px;
  width: 15px;
}

.catalog-filter-rail__apply {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--cs-line);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 0 12px;
}

.catalog-filter-rail__apply > span {
  color: var(--cs-muted-soft);
  font-size: 11.5px;
}

.catalog-filter-rail__apply .catalog-button {
  border-radius: 9px;
  font-size: 12.5px;
  gap: 7px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
}

.catalog-filter-rail__apply .catalog-button svg {
  flex: 0 0 14px;
  height: 14px;
  width: 14px;
}

.catalog-results-column {
  min-width: 0;
}

.catalog-results-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-product-card {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 14px;
  box-shadow: var(--cs-shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s cubic-bezier(.22, .61, .36, 1);
}

.catalog-product-card:hover {
  border-color: #c6d6e9;
  box-shadow: var(--cs-shadow-pop);
  transform: translateY(-4px);
}

.catalog-product-card__media {
  aspect-ratio: 1 / 1;
  background: #f1f3f6;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  position: relative;
}

.catalog-product-card__media > a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.catalog-product-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  width: 100%;
}

.catalog-product-card:hover .catalog-product-card__media img {
  transform: scale(1.05);
}

.catalog-product-card__placeholder {
  align-items: center;
  color: #9aa9ba;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.catalog-product-card__placeholder svg {
  color: #8c9cb2;
  height: 76px;
  width: 86px;
}

.catalog-product-card__placeholder small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-product-card__wish {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--cs-muted);
  cursor: pointer;
  display: flex;
  height: 26px;
  justify-content: center;
  position: absolute;
  padding: 0;
  right: 10px;
  top: 10px;
  width: 26px;
}

.catalog-product-card__wish svg {
  height: 18px;
  width: 18px;
}

.catalog-product-card__wish:hover {
  color: var(--cs-blue);
}

.catalog-product-card__wish[aria-pressed="true"] {
  color: #cc3757;
}

.catalog-product-card__wish[aria-pressed="true"] svg {
  fill: currentColor;
}

.catalog-product-card__stock {
  background: var(--cs-success-bg);
  border-radius: 5px;
  bottom: 10px;
  color: var(--cs-success);
  font-size: 9.5px;
  font-weight: 800;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  letter-spacing: .07em;
  padding: 3px 7px;
  position: absolute;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-product-card__stock.is-unavailable {
  background: #eef1f5;
  color: #6f7e92;
}

.catalog-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px 0;
}

.catalog-product-card__eyebrow {
  color: var(--cs-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-product-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
}

.catalog-product-card h3 a {
  color: var(--cs-ink);
  text-decoration: none;
}

.catalog-product-card__meta {
  color: var(--cs-muted);
  font-size: 12.5px;
}

.catalog-product-card__body p {
  color: var(--cs-muted);
  display: -webkit-box;
  font-size: 12.5px;
  line-height: 1.45;
  margin: 3px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-product-card__footer {
  align-items: center;
  border-top: 1px solid var(--cs-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 15px 15px;
}

.catalog-product-card__footer strong {
  color: var(--cs-title);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-product-card__action {
  align-items: center;
  background: #fff;
  border: 1px solid #b7cdf3;
  border-radius: 9px;
  color: var(--cs-blue);
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  margin-left: 8px;
  transition: background .16s ease;
  width: 34px;
}

.catalog-product-card__action:hover {
  background: var(--cs-blue);
  border-color: var(--cs-blue);
  color: #fff;
}

.catalog-product-card__action svg {
  height: 17px;
  width: 17px;
}

.catalog-results-grid.is-list {
  gap: 12px;
  grid-template-columns: 1fr;
}

.catalog-results-grid.is-list .catalog-product-card {
  align-items: stretch;
  flex-direction: row;
}

.catalog-results-grid.is-list .catalog-product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 14px 0 0 14px;
  flex: 0 0 190px;
  width: 190px;
}

.catalog-results-grid.is-list .catalog-product-card__body {
  justify-content: center;
  padding: 15px 18px;
}

.catalog-results-grid.is-list .catalog-product-card__footer {
  align-items: flex-end;
  border-left: 1px solid var(--cs-line);
  border-top: 0;
  flex: 0 0 210px;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  padding: 15px 18px;
  width: 210px;
}

.catalog-results-state {
  align-items: center;
  background: #fff;
  border: 1px dashed #becde0;
  border-radius: 14px;
  color: var(--cs-muted);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.catalog-results-state > svg {
  color: #7e93b0;
  height: 42px;
  margin-bottom: 14px;
  width: 42px;
}

.catalog-results-state strong {
  color: var(--cs-ink);
  font-size: 18px;
}

.catalog-results-state p {
  margin: 7px 0 14px;
}

.catalog-results-state a {
  color: var(--cs-blue);
  font-weight: 700;
  text-decoration: none;
}

.catalog-preview-links {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 14px;
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 15px;
}

.catalog-preview-links > div {
  flex: 1 1 auto;
}

.catalog-preview-links strong {
  font-size: 13px;
}

.catalog-preview-links p {
  color: var(--cs-muted);
  font-size: 11px;
  margin: 3px 0 0;
}

.catalog-preview-links > a {
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  color: var(--cs-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 9px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-results-footer {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 24px;
}

.catalog-per-page {
  align-items: center;
  display: flex;
  gap: 8px;
}

.catalog-per-page label,
.catalog-result-info {
  color: var(--cs-muted);
  font-size: 12.5px;
  margin: 0;
}

.catalog-pagination {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
}

.catalog-pagination > a,
.catalog-pagination > span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cs-border-strong);
  border-radius: 9px;
  box-shadow: var(--cs-shadow);
  color: var(--cs-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 8px;
  text-decoration: none;
}

.catalog-pagination svg {
  height: 15px;
  width: 15px;
}

.catalog-pagination > a:hover {
  border-color: #a8bad2;
  color: var(--cs-blue);
}

.catalog-pagination .is-current {
  background: var(--cs-blue);
  border-color: var(--cs-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 79, 209, .28);
}

.catalog-pagination .is-disabled {
  color: #c4ceda;
}

.catalog-pagination .is-ellipsis {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  min-width: 22px;
}

.catalog-result-info {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  justify-self: end;
  text-align: right;
}

.catalog-discovery-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(18, 43, 79, .06);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 20px;
  min-height: 72px;
  padding: 8px 8px 8px 20px;
}

.catalog-discovery-search > svg {
  color: var(--cs-blue);
  height: 20px;
  width: 20px;
}

.catalog-discovery-search input {
  border: 0;
  color: var(--cs-ink);
  min-width: 0;
  outline: 0;
}

.catalog-discovery-search button {
  background: var(--cs-blue);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 52px;
  padding: 0 28px;
}

.catalog-discovery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-discovery-grid > a {
  background: #fff;
  border: 1px solid var(--cs-border);
  border-radius: 15px;
  color: var(--cs-ink);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

.catalog-discovery-grid > a:hover {
  box-shadow: 0 14px 30px rgba(18, 43, 79, .09);
  transform: translateY(-2px);
}

.catalog-discovery-grid__icon {
  align-items: center;
  background: #eaf1ff;
  border-radius: 12px;
  color: var(--cs-blue);
  display: flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 20px;
  width: 52px;
}

.catalog-discovery-grid__icon svg {
  height: 28px;
  width: 30px;
}

.catalog-discovery-grid strong {
  font-size: 18px;
}

.catalog-discovery-grid p {
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 8px 0 20px;
}

.catalog-discovery-grid > a > span:last-child {
  align-items: center;
  color: var(--cs-blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  margin-top: auto;
}

.catalog-discovery-grid > a > span:last-child svg {
  height: 15px;
  width: 15px;
}

@media (max-width: 1360px) {
  .catalog-results-grid {
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .catalog-filter-open {
    display: inline-flex;
  }

  .catalog-results-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filter-column {
    position: static;
  }

  .catalog-filter-scrim {
    background: rgba(12, 25, 48, .48);
    inset: 0;
    position: fixed;
    z-index: 1080;
  }

  .catalog-filter-rail {
    border-left: 0;
    border-radius: 0 16px 16px 0;
    bottom: 0;
    box-shadow: 0 24px 60px rgba(16, 40, 80, .22);
    max-width: none;
    min-height: 0;
    padding: 14px 16px 0;
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-101%);
    transition: transform .26s cubic-bezier(.22, .61, .36, 1);
    width: min(340px, 88vw);
    z-index: 1081;
  }

  .catalog-filter-rail > form {
    height: 100%;
  }

  .catalog-filter-rail__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-filter-rail__scroll::-webkit-scrollbar {
    height: 0;
    width: 0;
  }

  .catalog-filter-rail__head button {
    display: inline-flex;
  }

  .catalog-search-page.is-filter-open .catalog-filter-scrim {
    display: block;
  }

  .catalog-search-page.is-filter-open .catalog-filter-rail {
    transform: translateX(0);
  }

  .catalog-search-page.is-filter-open {
    overflow: visible;
  }

  body:has(.catalog-search-page.is-filter-open) {
    overflow: hidden;
  }

  .catalog-filter-rail__apply > span {
    display: none;
  }

  .catalog-filter-rail__apply {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 0 14px;
  }

  .catalog-filter-rail__apply .catalog-button {
    background: var(--cs-blue);
    border-color: var(--cs-blue);
    color: #fff;
    font-size: 13.5px;
    height: 46px;
    padding: 0 15px;
    width: 100%;
  }

  .catalog-discovery-grid {
    grid-template-columns: 1fr;
  }

  .catalog-discovery-grid > a {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .catalog-search-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-search-tools {
    justify-content: space-between;
    width: 100%;
  }

  .catalog-search-tools form > label {
    display: none;
  }

  .catalog-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .catalog-search-page {
    padding-bottom: 40px;
    padding-top: 16px;
  }

  .catalog-search-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-search-heading h1 {
    font-size: 22px;
  }

  .catalog-search-heading p {
    font-size: 13px;
  }

  .catalog-search-heading .catalog-button {
    align-self: flex-start;
    height: 44px;
  }

  .catalog-breadcrumbs {
    flex-wrap: nowrap;
    font-size: 12px;
    gap: 6px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .catalog-breadcrumbs a,
  .catalog-breadcrumbs [aria-current="page"] {
    white-space: nowrap;
  }

  .catalog-applied-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .catalog-applied-filters::-webkit-scrollbar {
    display: none;
  }

  .catalog-results-grid {
    gap: 14px;
  }

  .catalog-results-grid.is-list .catalog-product-card {
    display: grid;
    grid-template-areas:
      "media body"
      "footer footer";
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .catalog-results-grid.is-list .catalog-product-card__media {
    aspect-ratio: auto;
    border-radius: 14px 0 0 14px;
    grid-area: media;
    min-height: 132px;
    width: auto;
  }

  .catalog-results-grid.is-list .catalog-product-card__body {
    grid-area: body;
    min-width: 0;
    padding: 11px 12px;
  }

  .catalog-results-grid.is-list .catalog-product-card__footer {
    align-items: center;
    border-left: 0;
    border-top: 1px solid var(--cs-line);
    flex-direction: row;
    grid-area: footer;
    justify-content: space-between;
    margin-top: 0;
    width: auto;
  }

  .catalog-product-card__body {
    gap: 3px;
    padding: 11px 12px 0;
  }

  .catalog-product-card h3 {
    font-size: 13px;
  }

  .catalog-product-card__meta {
    font-size: 11.5px;
  }

  .catalog-product-card__footer {
    gap: 8px;
    margin-top: 11px;
    padding: 11px 12px 12px;
  }

  .catalog-product-card__footer strong {
    font-size: 13.5px;
  }

  .catalog-product-card__action {
    flex: 0 0 38px;
    height: 38px;
    width: 38px;
  }

  .catalog-product-card__wish {
    height: 38px;
    right: 4px;
    top: 4px;
    width: 38px;
  }

  .catalog-results-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .catalog-per-page,
  .catalog-result-info {
    justify-self: center;
    text-align: center;
  }

  .catalog-preview-links {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-preview-links > a {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .catalog-search-toolbar {
    gap: 12px;
  }

  .catalog-filter-chip,
  .catalog-text-link {
    flex: 0 0 auto;
  }

  .catalog-search-tools {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .catalog-search-tools form,
  .catalog-search-tools .catalog-select {
    min-width: 0;
    width: 100%;
  }

  .catalog-filter-open {
    padding-left: 12px;
    padding-right: 12px;
  }

  .catalog-product-card__stock {
    bottom: 7px;
    left: 7px;
  }

  .catalog-pagination {
    max-width: 100%;
  }

  .catalog-pagination > a,
  .catalog-pagination > span {
    height: 34px;
    min-width: 34px;
  }

  .catalog-discovery-search {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px;
  }

  .catalog-discovery-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .catalog-results-grid {
    grid-template-columns: 1fr;
  }

  .catalog-results-grid:not(.is-list) .catalog-product-card__media {
    aspect-ratio: 4 / 3;
  }

  .catalog-results-grid.is-list .catalog-product-card {
    --catalog-mobile-list-media: clamp(142px, 44%, 164px);
    grid-template-columns: var(--catalog-mobile-list-media) minmax(0, 1fr);
    position: relative;
  }

  .catalog-results-grid.is-list .catalog-product-card__media {
    border-radius: 14px 0 0;
    min-height: var(--catalog-mobile-list-media);
    overflow: visible;
    position: static;
  }

  .catalog-results-grid.is-list .catalog-product-card__media > a {
    background: #f1f3f6;
    border-radius: 14px 0 0;
    overflow: hidden;
  }

  .catalog-results-grid.is-list .catalog-product-card__media img {
    object-fit: contain;
  }

  .catalog-results-grid.is-list .catalog-product-card__body {
    min-height: var(--catalog-mobile-list-media);
    padding: 42px 12px 12px;
  }

  .catalog-results-grid.is-list .catalog-product-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .catalog-results-grid.is-list .catalog-product-card__meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-results-grid.is-list .catalog-product-card__body p {
    display: none;
  }

  .catalog-results-grid.is-list .catalog-product-card__stock {
    bottom: auto;
    left: calc(var(--catalog-mobile-list-media) + 12px);
    top: 10px;
  }

  .catalog-results-grid.is-list .catalog-product-card__wish {
    right: 5px;
    top: 1px;
  }

  .catalog-filter-rail {
    width: min(320px, 92vw);
  }
}

@media (hover: none) {
  .catalog-product-card:hover {
    border-color: var(--cs-border);
    box-shadow: var(--cs-shadow);
    transform: none;
  }

  .catalog-product-card:hover .catalog-product-card__media img {
    transform: none;
  }

  .catalog-filter-option {
    padding: 9px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-search-page *,
  .catalog-search-page *::before,
  .catalog-search-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .catalog-product-card,
  .catalog-product-card:hover,
  .catalog-product-card:hover .catalog-product-card__media img {
    transform: none;
  }
}
