.catalog-page {
  color: var(--ink);
  background: #f7f8fc;
}

.catalog-hero {
  padding: 28px 0 50px;
  background:
    radial-gradient(circle at 88% 30%, rgb(80 180 190 / 11%), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8f9fd 100%);
  border-bottom: 1px solid var(--line);
}

.catalog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-breadcrumbs a {
  transition: color var(--transition);
}

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

.catalog-breadcrumbs .icon {
  width: 12px;
  height: 12px;
  color: var(--muted-light);
}

.catalog-breadcrumbs span {
  overflow: hidden;
  color: var(--brand);
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 42px;
}

.catalog-intro__copy {
  width: 100%;
  max-width: none;
}

.catalog-intro h1 {
  max-width: 1050px;
  margin: 14px 0 20px;
  color: var(--brand);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
}

.catalog-intro__copy > p {
  max-width: 1100px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.catalog-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.catalog-intro__tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: var(--brand);
  background: var(--white);
  border: 1px solid rgb(16 19 104 / 10%);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgb(16 19 104 / 4%);
  font-size: 12px;
  font-weight: 720;
}

.catalog-intro__tags .icon {
  width: 14px;
  height: 14px;
  color: var(--teal-dark);
  stroke-width: 2.5;
}

.catalog-section {
  padding: 42px 0 88px;
}

.catalog-section--categories {
  padding-top: 68px;
}

.catalog-section--categories .section-heading {
  margin-bottom: 34px;
}

.catalog-category-grid {
  align-items: stretch;
}

.catalog-category-grid .category-card {
  min-height: 250px;
}

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

.catalog-filters {
  position: sticky;
  z-index: 12;
  top: 116px;
  max-height: calc(100vh - 132px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgb(16 19 104 / 6%);
  scrollbar-color: rgb(16 19 104 / 18%) transparent;
  scrollbar-width: thin;
}

.catalog-filters::-webkit-scrollbar {
  width: 6px;
}

.catalog-filters::-webkit-scrollbar-thumb {
  background: rgb(16 19 104 / 18%);
  border-radius: 999px;
}

.catalog-filters__head {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 21px;
  border-bottom: 1px solid var(--line);
}

.catalog-filters__head strong,
.catalog-filters__head span {
  display: block;
}

.catalog-filters__head strong {
  color: var(--brand);
  font-size: 20px;
  letter-spacing: -.025em;
}

.catalog-filters__head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-filters__head > button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--brand-soft);
  border: 0;
  border-radius: 10px;
  place-items: center;
}

.catalog-filters__head > button .icon {
  width: 17px;
  height: 17px;
}

.filter-group {
  border-bottom: 1px solid var(--line);
}

.filter-group summary,
.filter-group__heading {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 21px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  list-style: none;
  user-select: none;
}

.filter-group__heading {
  cursor: default;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform var(--transition);
}

.filter-group[open] summary .icon {
  transform: rotate(180deg);
}

.filter-group__content {
  padding: 0 21px 19px;
}

.price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-fields label {
  display: flex;
  height: 43px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.price-fields span {
  color: var(--muted-light);
  font-size: 12px;
}

.price-fields input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
  font-weight: 690;
}

.price-fields input::-webkit-outer-spin-button,
.price-fields input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.price-range {
  position: relative;
  height: 18px;
  margin-top: 13px;
}

.price-range::before,
.price-range span {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  content: "";
}

.price-range::before {
  background: var(--line);
}

.price-range span {
  right: 13%;
  left: 8%;
  background: var(--accent);
}

.price-range i {
  position: absolute;
  z-index: 1;
  top: 3px;
  width: 13px;
  height: 13px;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.price-range i:first-of-type { left: 7%; }
.price-range i:last-of-type { right: 12%; }

.filter-options {
  display: grid;
  gap: 11px;
}

.filter-options label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 11.5px;
  line-height: 1.25;
}

.filter-options label > span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

.filter-group--static .filter-group__content {
  display: grid;
}

.filter-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.filter-options small {
  color: var(--muted-light);
  font-size: 12px;
}

.catalog-filters__actions {
  display: grid;
  gap: 7px;
  padding: 19px 21px 21px;
}

.catalog-filters__actions .button {
  width: 100%;
  min-height: 44px;
  font-size: 12px;
}

.filter-reset {
  min-height: 35px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}

.filter-reset:hover {
  color: var(--brand);
}

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

.catalog-toolbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 18px 15px 22px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgb(16 19 104 / 4%);
}

.catalog-toolbar__summary strong,
.catalog-toolbar__summary span {
  display: block;
}

.catalog-toolbar__summary strong {
  color: var(--brand);
  font-size: 17px;
  letter-spacing: -.02em;
}

.catalog-toolbar__summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-toolbar__controls,
.catalog-view,
.catalog-sort {
  display: flex;
  align-items: center;
}

.catalog-toolbar__controls {
  gap: 10px;
}

.catalog-sort {
  height: 43px;
  gap: 8px;
  padding: 0 8px 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.catalog-sort span {
  color: var(--muted);
  font-size: 12px;
}

.catalog-sort select,
.catalog-mobile-sort select {
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.catalog-view {
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.catalog-view button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  place-items: center;
}

.catalog-view button.is-active {
  color: var(--brand);
  background: var(--white);
  box-shadow: 0 4px 12px rgb(16 19 104 / 8%);
}

.catalog-view .icon {
  width: 17px;
  height: 17px;
  color: currentColor;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 0;
  margin-bottom: 14px;
}

.active-filters:empty {
  display: none;
}

.active-filter-chip {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 7px;
  padding: 6px 9px 6px 11px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgb(16 19 104 / 9%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 680;
}

.active-filter-chip button {
  display: grid;
  width: 18px;
  height: 18px;
  padding: 0;
  color: var(--brand);
  background: rgb(16 19 104 / 7%);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.active-filter-chip .icon {
  width: 10px;
  height: 10px;
}

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

.catalog-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 510px;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgb(16 19 104 / 4%);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.catalog-product-card:hover {
  z-index: 2;
  border-color: rgb(16 19 104 / 18%);
  box-shadow: 0 18px 44px rgb(16 19 104 / 10%);
  transform: translateY(-3px);
}

.catalog-product-card__visual {
  position: relative;
  display: grid;
  height: 205px;
  flex: 0 0 205px;
  margin: 8px 8px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgb(255 255 255 / 96%) 0 30%, transparent 60%),
    var(--product-tint, #f0f2ff);
  border-radius: 13px;
  place-items: center;
}

.catalog-product-card__visual::after {
  position: absolute;
  width: 130px;
  height: 20px;
  bottom: 16px;
  left: 50%;
  background: rgb(16 19 104 / 11%);
  border-radius: 50%;
  content: "";
  filter: blur(12px);
  transform: translateX(-50%);
}

.catalog-product-card__visual img {
  position: relative;
  z-index: 1;
  width: 154px;
  max-height: 166px;
  object-fit: contain;
  transition: transform 320ms ease;
}

.catalog-product-card:hover .catalog-product-card__visual img {
  transform: scale(1.035);
}

.catalog-product-card__badges {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.catalog-product-card__badge {
  padding: 5px 7px;
  color: var(--white);
  background: var(--accent);
  border-radius: 6px;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.catalog-product-card__badge--teal { background: var(--teal-dark); }

.catalog-product-card__tools {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  display: grid;
  gap: 5px;
}

.catalog-product-card__tools button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  color: var(--muted);
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(16 19 104 / 8%);
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgb(16 19 104 / 8%);
  place-items: center;
}

.catalog-product-card__tools button.is-active {
  color: var(--accent);
  background: #fff7ed;
}

.catalog-product-card__tools .icon {
  width: 15px;
  height: 15px;
  color: currentColor;
}

.catalog-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 17px 18px;
}

.catalog-product-card__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #26865f;
  font-size: 9px;
  font-weight: 700;
}

.catalog-product-card__stock::before {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.catalog-product-card__stock.is-order {
  color: #b36a12;
}

.catalog-product-card h2 {
  min-height: 42px;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.catalog-product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 9px;
}

.catalog-product-card__rating b {
  color: var(--accent);
  font-size: 12px;
}

.catalog-product-card__rating strong {
  color: var(--ink);
}

.catalog-product-card__specs {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.catalog-product-card__specs li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.catalog-product-card__specs li span:last-child {
  overflow: hidden;
  color: var(--ink-soft);
  font-weight: 660;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-product-card__footer {
  display: grid;
  grid-template-columns: 1fr 43px;
  align-items: end;
  gap: 9px;
  margin-top: auto;
}

.catalog-product-card__price small,
.catalog-product-card__price strong {
  display: block;
}

.catalog-product-card__price small {
  min-height: 13px;
  color: var(--muted-light);
  font-size: 9px;
  text-decoration: line-through;
}

.catalog-product-card__price strong {
  margin-top: 2px;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.035em;
}

.catalog-product-card__cart {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  place-items: center;
}

.catalog-product-card__cart:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.catalog-product-card__cart.is-added {
  background: var(--teal-dark);
}

.catalog-product-card__cart .icon {
  width: 19px;
  height: 19px;
  color: var(--white);
}

.catalog-product-grid.is-list {
  grid-template-columns: 1fr;
}

.catalog-product-grid.is-list .catalog-product-card {
  min-height: 250px;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
}

.catalog-product-grid.is-list .catalog-product-card__visual {
  height: auto;
  min-height: 232px;
  margin: 8px;
}

.catalog-product-grid.is-list .catalog-product-card__body {
  padding: 24px 24px 22px;
}

.catalog-product-grid.is-list .catalog-product-card h2 {
  min-height: 0;
  font-size: 19px;
}

.catalog-product-grid.is-list .catalog-product-card__footer {
  grid-template-columns: 1fr 52px;
}

.catalog-product-grid.is-list .catalog-product-card__cart {
  width: 52px;
}

.catalog-empty {
  padding: 80px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
}

.catalog-empty > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 20px;
  place-items: center;
}

.catalog-empty > span .icon {
  width: 26px;
  height: 26px;
}

.catalog-empty h2 {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 24px;
}

.catalog-empty p {
  max-width: 480px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.catalog-pagination button {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
  place-items: center;
}

.catalog-pagination button.is-active {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.catalog-pagination button:disabled {
  cursor: default;
  opacity: .38;
}

.catalog-mobile-bar,
.catalog-filter-backdrop {
  display: none;
}

.catalog-category-text {
  padding: 80px 0 92px;
  background: var(--white);
}

.catalog-category-text__inner {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 70px;
}

.catalog-category-text h2 {
  margin: 0;
  color: var(--brand);
  font-size: 35px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.catalog-category-text__inner > div {
  columns: 2;
  column-gap: 42px;
}

.catalog-category-text p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  break-inside: avoid;
}

@media (max-width: 1180px) {
  .catalog-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

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

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

@media (max-width: 980px) {
  .catalog-hero {
    padding: 24px 0 40px;
  }

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

  .catalog-section {
    padding-top: 22px;
  }

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

  .catalog-mobile-bar {
    position: sticky;
    z-index: 20;
    top: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    margin-bottom: 14px;
    background: rgb(255 255 255 / 94%);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 10px 28px rgb(16 19 104 / 8%);
    backdrop-filter: blur(14px);
  }

  .catalog-mobile-filter,
  .catalog-mobile-sort {
    display: flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--brand);
    background: var(--brand-soft);
    border: 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 760;
  }

  .catalog-mobile-filter {
    cursor: pointer;
  }

  .catalog-mobile-filter .icon {
    width: 17px;
    height: 17px;
  }

  .catalog-mobile-filter > span {
    display: grid;
    min-width: 19px;
    height: 19px;
    padding-inline: 5px;
    color: var(--white);
    background: var(--accent);
    border-radius: 999px;
    font-size: 9px;
    place-items: center;
  }

  .catalog-mobile-sort {
    padding-inline: 9px;
  }

  .catalog-mobile-sort select {
    width: 100%;
    text-align: center;
  }

  .catalog-filters {
    position: fixed;
    z-index: 610;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(390px, calc(100% - 34px));
    max-height: none;
    overflow-y: auto;
    border: 0;
    border-radius: 0 20px 20px 0;
    box-shadow: 20px 0 70px rgb(7 9 70 / 25%);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-102%);
    transition: opacity 220ms ease, transform 340ms cubic-bezier(.22, 1, .36, 1);
  }

  body.filters-is-open {
    overflow: hidden;
  }

  body.filters-is-open .catalog-filters {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .catalog-filters__head {
    position: sticky;
    z-index: 2;
    top: 0;
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(12px);
  }

  .catalog-filters__head > button {
    display: grid;
  }

  .catalog-filters__actions {
    position: sticky;
    bottom: 0;
    background: rgb(255 255 255 / 96%);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .catalog-filter-backdrop {
    position: fixed;
    z-index: 600;
    inset: 0;
    display: block;
    visibility: hidden;
    padding: 0;
    background: rgb(7 9 70 / 42%);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
  }

  body.filters-is-open .catalog-filter-backdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .catalog-toolbar {
    min-height: 66px;
    padding: 13px 17px;
  }

  .catalog-toolbar__controls {
    display: none;
  }

  .catalog-category-text__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .catalog-hero {
    padding-top: 18px;
  }

  .catalog-breadcrumbs {
    margin-bottom: 23px;
  }

  .catalog-intro h1 {
    font-size: 39px;
  }

  .catalog-intro__copy > p {
    font-size: 13px;
  }

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

  .catalog-intro__tags span:last-child {
    grid-column: 1 / -1;
  }

  .catalog-section--categories {
    padding-top: 44px;
  }

  .catalog-category-grid .category-card {
    min-height: 220px;
  }

  .catalog-product-card {
    min-height: 500px;
  }

  .catalog-category-text {
    padding: 62px 0 72px;
  }

  .catalog-category-text__inner > div {
    columns: 1;
  }
}

@media (max-width: 620px) {
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-product-grid.is-list .catalog-product-card {
    display: flex;
    min-height: 500px;
  }

  .catalog-product-grid.is-list .catalog-product-card__visual {
    height: 205px;
    min-height: 205px;
    margin: 8px 8px 0;
  }
}

@media (max-width: 430px) {
  .catalog-intro h1 {
    font-size: 35px;
  }

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

  .catalog-intro__tags span:last-child {
    grid-column: auto;
  }

  .catalog-toolbar__summary strong {
    font-size: 15px;
  }

  .catalog-toolbar__summary span {
    font-size: 12px;
  }

  .catalog-mobile-bar {
    top: 66px;
  }

  .catalog-product-card__visual {
    height: 220px;
    flex-basis: 220px;
  }

  .catalog-product-card__visual img {
    width: 168px;
  }

  .catalog-pagination {
    gap: 5px;
  }

  .catalog-pagination button {
    min-width: 37px;
    height: 37px;
  }
}

/* Catalogue controls: readable wrapping and one shared vertical rhythm. */
.catalog-toolbar__summary span {
  margin-top: 8px;
  line-height: 1.35;
}

.catalog-sort,
.catalog-sort .woocommerce-ordering {
  display: flex;
  height: 43px;
  align-items: center;
}

.catalog-sort .woocommerce-ordering {
  margin: 0;
}

.catalog-sort .woocommerce-ordering select {
  height: 100%;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.2;
}

.filter-group summary {
  align-items: flex-start;
  gap: 10px;
}

.filter-group__title {
  min-width: 0;
  flex: 1 1 auto;
  align-items: flex-start;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.filter-group__title + .icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-filters,
  .catalog-filter-backdrop,
  .catalog-product-card,
  .catalog-product-card__visual img {
    transition: none;
  }
}
