.trials-demo-product-catalog img,
.trials-demo-product-catalog svg {
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}
.filter-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 28px;
  margin-bottom: 28px;
}
.all-products-title {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  grid-column: 1/6;
}
.search-wrap {
  grid-column: 8/-1;
  display: flex;
  justify-content: flex-end;
}
.search-wrap .search-field {
  width: 100%;
  max-width: 840px;
}
.layout-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 28px;
}
.filter-sidebar {
  grid-column: 1 / span 3;
}
.filter-main {
  grid-column: 5/-1;
}
.sidebar-title {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
}
.main-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 28px;
  row-gap: 24px;
  align-items: end;
  margin-top: 0;
  margin-bottom: 0;
}
.main-heading {
  display: contents;
}
.results-heading {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}
.results-heading .is-query {
  font-weight: 700;
  margin-left: 5px;
}
.active-filters {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
  min-width: 0;
}
.chip-list {
  display: contents;
}
.filter-chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #0a60ff;
  border-radius: 14px;
  background: #fff;
  color: #10233f;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  line-height: 1.2;
}
.filter-chip-remove {
  width: 18px;
  height: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  color: #10233f;
  flex: 0 0 18px;
}
.filter-chip-remove:before,
.filter-chip-remove:after {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.filter-chip-remove:before {
  transform: rotate(45deg);
}
.filter-chip-remove:after {
  transform: rotate(-45deg);
}
.clear-all-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #0a60ff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}
.clear-all-link:hover {
  color: #124fc9;
  text-decoration: underline;
  text-decoration-color: #124fc9;
}
.sort-block {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 320px;
  justify-self: end;
  align-self: end;
}
.sort-label {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.2;
  color: #55657a;
}
.section-divider {
  border-top: 1px solid #b8c2cc;
}
.filter-main > .section-divider {
  margin: 24px 0;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 28px;
}
.empty-state {
  display: none;
  padding-top: 20px;
  font-size: 16px;
  color: #07182d;
}
.search-field,
.select-input {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.search-field {
  width: 100%;
  height: 56px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #b8c2cc;
  border-radius: 14px;
  background: transparent;
}
.search-field-focus,
.search-field:focus-within {
  border-color: #0a60ff;
  box-shadow: inset 0 0 0 1px #0a60ff;
}
.search-icon {
  width: 20px;
  height: 20px;
  color: #55657a;
}
.search-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #55657a;
  font-size: 16px;
}
.search-input::placeholder {
  color: #55657a;
  opacity: 1;
}
.search-clear {
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-clear.is-visible {
  display: inline-flex;
}
.search-clear-circle {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #6a6a6a;
}
.search-clear-circle:before,
.search-clear-circle:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 2px;
  background: #fff;
}
.search-clear-circle:before {
  transform: rotate(45deg);
}
.search-clear-circle:after {
  transform: rotate(-45deg);
}
.select-wrap {
  position: relative;
  width: 100%;
}
.select-input {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 18px;
  border: 1px solid #b8c2cc;
  border-radius: 14px;
  background: transparent;
  color: #55657a;
  font-size: 16px;
  appearance: none;
  outline: 0;
  cursor: pointer;
}
.select-input:focus {
  border-color: #0a60ff;
  box-shadow: inset 0 0 0 1px #0a60ff;
}

.select-wrap:after {
  content: "";
  position: absolute;
  background-image: var(--cds-c-filter-cat-label-after-bg);
  background-repeat: no-repeat;
  top: 45%;
  width: 12px;
  height: 12px;
  pointer-events: none;
  transform: rotate(180deg);
}

.select-wrap:after {
  right: 19px;
}
.accordion {
  width: 100%;
}
.accordion-section {
  border-top: 1px solid #848d99;
}
.accordion-section:last-child {
  border-bottom: 1px solid #848d99;
}
.accordion-trigger {
  width: 100%;
  padding: 18px 0 16px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}
.accordion-title {
  font-size: 16px;
  font-weight: 400;
}
.accordion-icon {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  margin-bottom: auto;
}

.accordion-icon:after {
  content: "";
  background-image: var(--cds-c-filter-cat-label-after-bg);
  background-repeat: no-repeat;
  position: absolute;
  top: 7px;
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.accordion-icon:after {
  right: 0;
}

.accordion-section.is-collapsed .accordion-icon:after {
  transform: rotate(180deg);
}
.accordion-panel {
  padding-bottom: 14px;
}
.accordion-section.is-collapsed .accordion-panel {
  display: none;
}
.checkbox-list {
  display: grid;
  gap: 16px;
  padding-bottom: 14px;
}
.checkbox-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #07182d;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox-box {
  width: 15px;
  height: 15px;
  border: 1px solid #848d99;
  border-radius: 4px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkbox-input:checked + .checkbox-box {
  background: #0a60ff;
  border-color: #0a60ff;
}
.checkbox-input:checked + .checkbox-box:after {
  content: "";
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}
.result-card {
  display: flex;
  flex-direction: column;
}
.result-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
}
.result-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #07182d;
}
.result-meta {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.4;
  color: #1a2940;
}
.result-meta a {
  color: #0a60ff;
  text-decoration: underline;
}
.result-links {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.result-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a60ff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.result-link:hover {
  color: #124fc9;
  text-decoration: underline;
  text-underline-offset: 6px;
  gap: 10px;
}
.result-link-arrow {
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.pager {
  margin-top: 36px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pager-results {
  font-size: 18px;
  line-height: 1.2;
  color: #55657a;
}
.pager-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pager-button,
.pager-page {
  border: 0;
  background: transparent;
  padding: 0;
  color: #55657a;
  cursor: pointer;
}
.pager-button[disabled] {
  color: #b9d1f8;
  cursor: default;
}
.pager-button-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.2;
}
.pager-button-icon {
  display: none;
}
.pager-pages {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pager-page {
  position: relative;
  min-width: 24px;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}
.pager-page.is-active {
  color: #10233f;
}
.pager-page.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: #2b5ce6;
}
.pager-arrow-left,
.pager-arrow-right {
  width: 10px;
  height: 10px;
  display: inline-block;
}
.pager-arrow-left {
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.pager-arrow-right {
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: none;
  background: #ffffff;
  padding: 24px 48px 64px;
}
.overlay.is-open {
  display: block;
}
.overlay-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 18px;
}
.overlay-top,
.overlay-header {
  display: flex;
  justify-content: flex-end;
}
.overlay-header {
  justify-content: space-between;
  align-items: start;
}
.overlay-title {
  margin: 52px 0 0;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 400;
}
.overlay-sort-label {
  margin-top: 8px;
}
.overlay-close {
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.overlay-close:before,
.overlay-close:after {
  content: "";
  position: absolute;
  top: 20px;
  left: 7px;
  width: 30px;
  height: 2px;
  background: currentColor;
}
.overlay-close:before {
  transform: rotate(45deg);
}
.overlay-close:after {
  transform: rotate(-45deg);
}
.overlay-search-body {
  padding-top: 34px;
}
.overlay-search-body .search-field {
  max-width: 840px;
}
.overlay-content {
  overflow: auto;
  padding-bottom: 180px;
}
.overlay-sort-wrap {
  margin-bottom: 32px;
}
.overlay-divider {
  margin-bottom: 8px;
}
.overlay-footer {
  position: sticky;
  bottom: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.action-button {
  height: 56px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  padding: 16px 32px;
}
.action-button-primary {
  border: 0;
  background: #0a60ff;
  color: #fff;
}
.action-button-secondary {
  border: 1px solid #0a60ff;
  background: transparent;
  color: #0a60ff;
}
.mobile-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.mobile-title-row .page-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
}
.mobile-search-trigger {
  width: 54px;
  height: 54px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.mobile-search-trigger svg {
  width: 20px;
  height: 20px;
}
.mobile-controls {
  margin: 34px 0 18px;
}
.mobile-filter-trigger {
  width: auto;
  border: 1px solid #0a60ff;
  border-radius: 8px;
  background: transparent;
  color: #0a60ff;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.mobile-filter-trigger span {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSIjMDA3MEQyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIGQ9Ik0yLjQ0NiA0aDE2Ii8+PGNpcmNsZSBjeD0iNy45NDYiIGN5PSI0IiByPSIxLjUiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwNzBEMiIvPjxwYXRoIHN0cm9rZT0iIzAwNzBEMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBkPSJNMi40NDYgMTBoMTYiLz48Y2lyY2xlIGN4PSIxMy45NDYiIGN5PSIxMCIgcj0iMS41IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMwMDcwRDIiLz48cGF0aCBzdHJva2U9IiMwMDcwRDIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgZD0iTTIuNDQ2IDE2aDE2Ii8+PGNpcmNsZSBjeD0iNy45NDYiIGN5PSIxNiIgcj0iMS41IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMwMDcwRDIiLz48L3N2Zz4=");
  background-repeat: no-repeat;
  padding-left: 32px;
}
.mobile-filter-icon {
  width: 30px;
  height: 30px;
}

@media (max-width: 779px) {
  .trials-demo-product-catalog {
    max-width: calc(2 * 48px + 750px);
    padding: 0 4.8rem;
    margin: 50px 0px;
  }
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .all-products-title {
    font-size: 60px;
  }
  .layout-grid {
    display: block;
  }
  .filter-sidebar {
    display: none;
  }
  .main-top {
    display: block;
    margin-bottom: 0;
  }
  .main-heading {
    display: grid;
    gap: 14px;
  }
  .results-heading {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    color: #07182d;
    margin-bottom: 25px;
  }
  .active-filters {
    display: flex;
    gap: 16px;
  }
  .chip-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .filter-chip {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 16px;
    gap: 10px;
  }
  .clear-all-link {
    font-size: 16px;
  }
  .filter-main > .section-divider {
    margin-bottom: 44px;
  }
  .results-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .result-card {
    min-height: auto;
  }
  .result-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 400;
  }
  .result-body {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
  }
  .result-meta {
    margin-top: 34px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
  }
  .result-links {
    margin-top: 24px;
    gap: 18px;
  }
  .result-link {
    font-size: 16px;
    gap: 14px;
    line-height: 1.5;
    font-weight: 500;
  }
  .pager {
    margin-top: 50px;
    flex-direction: column-reverse;
    align-items: center;
    gap: 34px;
  }
  .pager-results {
    font-size: 16px;
    text-align: center;
    color: #536070;
  }
  .pager-nav {
    justify-content: center;
    gap: 26px;
  }
  .pager-button-text {
    display: none;
  }
  .pager-button-icon {
    display: inline-flex;
  }
  .pager-pages {
    gap: 30px;
  }
  .pager-page {
    min-width: 28px;
    font-size: 16px;
    color: #07182d;
    font-weight: 500;
  }
  .pager-page.is-active:after {
    bottom: -14px;
    height: 2px;
  }
  .accordion-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
  }
  .checkbox-row {
    grid-template-columns: 26px 1fr;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
  }
  .overlay-title {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    margin-top: 36px;
  }
  .overlay-search-body .search-field {
    max-width: none;
  }
  .overlay-header {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .select-wrap.overlay-sort-wrap {
    width: 39%;
  }
  .overlay-close {
    margin-left: auto;
  }
}

@media (min-width: 1024px) {
  .trials-demo-product-catalog {
    max-width: calc(2 * 80px + 1200px);
    padding: 0 8rem;
    margin: 50px 0px;
  }
  .search-wrap {
    grid-column: 9/-1;
  }
}

@media (min-width: 1440px) {
  .trials-demo-product-catalog {
    max-width: calc(2 * 120px + 1340px);
    padding: 0 12rem;
    margin: 100px 0px;
  }
}
