@font-face {
  font-family: "WEC Inter";
  src: url("../../browser-assets/d86f1c66061fba99.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --wec-red: #c8281e;
  --wec-red-dark: #a91f18;
  --wec-dark: #222;
  --wec-body: #687173;
  --wec-border: #e7e9e9;
  --wec-soft: #f6f7f7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--wec-dark);
  background: #fff;
  font-family: "WEC Inter", Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.wec-list-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 12px 18px;
  background: #fff;
  color: #222;
  text-decoration: none;
  transform: translateY(-160%);
}

.wec-list-skip:focus {
  transform: translateY(0);
}

.wec-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wec-list-main {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 100px;
}

.wec-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 32px;
}

.wec-list-heading p,
.wec-list-sidebar__inner > p,
.wec-list-results__top p {
  margin: 0 0 12px;
  color: var(--wec-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.wec-list-heading h1 {
  margin: 0;
  color: #1f2223;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.wec-list-heading > a {
  display: inline-flex;
  align-items: center;
  padding-bottom: 6px;
  gap: 8px;
  color: var(--wec-red);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.wec-list-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 38px;
}

.wec-list-sidebar {
  align-self: stretch;
}

.wec-list-sidebar__inner {
  position: sticky;
  top: 24px;
  background: transparent;
}

.wec-list-categories {
  display: grid;
  border-top: 1px solid #e5e8e8;
  border-right: 1px solid #eceeee;
  border-bottom: 1px solid #eceeee;
}

.wec-list-categories a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 20px 24px 20px 30px;
  border-bottom: 1px solid #fff;
  background: #f4f5f5;
  color: #303536;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.wec-list-categories a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--wec-red);
  opacity: 0;
}

.wec-list-categories a:last-child {
  border-bottom: 0;
}

.wec-list-categories a:hover,
.wec-list-categories a:focus-visible,
.wec-list-categories a.is-active {
  background: #fff;
  color: var(--wec-red);
  outline: none;
}

.wec-list-categories a:hover:not(.is-active) {
  background: #faf1f0;
}

.wec-list-categories a.is-active::before {
  opacity: 1;
}

.wec-list-categories__label {
  min-width: 0;
}

.wec-list-results {
  min-width: 0;
}

.wec-list-results__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 72px;
  margin-bottom: 22px;
  padding: 0 2px 18px;
  gap: 24px;
  border-bottom: 1px solid var(--wec-border);
}

.wec-list-results__top p {
  margin-bottom: 8px;
}

.wec-list-results__top h2 {
  margin: 0;
  color: #222627;
  font-size: 28px;
  font-weight: 620;
  letter-spacing: -.03em;
}

.wec-list-results__top > span {
  color: #848b8c;
  font-size: 13px;
  font-weight: 650;
}

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

.wec-product-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--wec-border);
  border-radius: 18px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.wec-product-card:hover {
  border-color: #dadede;
  box-shadow: 0 18px 42px rgba(26, 31, 32, .11);
  transform: translateY(-5px);
}

.wec-product-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.wec-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wec-soft);
}

.wec-product-card__media img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  transition: transform .35s ease;
}

.wec-product-card:hover .wec-product-card__media img {
  transform: scale(1.04);
}

.wec-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 148px;
  padding: 20px 20px 22px;
  border-top: 1px solid var(--wec-border);
}

.wec-product-card__content h3 {
  margin: 0;
  color: #222627;
  font-size: 21px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.wec-product-card__content p {
  margin: 7px 0 18px;
  color: #929899;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: .025em;
}

.wec-product-card__content span {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  gap: 8px;
  color: var(--wec-red);
  font-size: 14px;
  font-weight: 750;
}

.wec-product-card__content b {
  font-size: 19px;
  line-height: 1;
  transition: transform .2s ease;
}

.wec-product-card:hover .wec-product-card__content b {
  transform: translateX(4px);
}

@media (max-width: 1080px) {
  .wec-list-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }

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

@media (max-width: 760px) {
  .wec-list-main {
    width: min(100% - 32px, 680px);
    padding: 46px 0 72px;
  }

  .wec-list-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 18px;
  }

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

  .wec-list-sidebar {
    align-self: auto;
  }

  .wec-list-sidebar__inner {
    position: static;
  }

  .wec-list-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid #eceeee;
  }

  .wec-list-categories a {
    min-height: 92px;
  }
}

@media (max-width: 520px) {
  .wec-list-heading h1 {
    font-size: 34px;
  }

  .wec-list-categories,
  .wec-product-grid {
    grid-template-columns: 1fr;
  }

  .wec-list-results__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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