body[data-page="products"] {
  background: #050507;
}

body[data-page="products"] .ambient {
  display: none;
}

body[data-page="products"] .products-page {
  background-image: linear-gradient(180deg, rgba(119,103,201,.0385) 0%, rgba(91,76,166,.0182) 52%, rgba(5,5,7,0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100svh;
}

.products-intro {
  max-width: none;
}

.products-heading-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-title-wrap {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: flex-start;
}

.products-title-wrap h1 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(2.2rem, 3.05vw, 3.5rem);
  line-height: 0.94;
  text-align: center;
  white-space: nowrap;
}

.products-count {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 36px;
  height: 36px;
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  margin: -4px 0 0 16px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 194, 211, 0.2);
  border-radius: 50%;
  color: rgba(224, 228, 237, 0.66);
  background: rgba(10, 13, 19, 0.52);
  font-family: "SLIMZ GOOGLE", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0.04em;
}

.products-tools-row {
  width: 100%;
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.products-search {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  border: 1px solid rgba(184, 194, 211, 0.18);
  border-radius: 16px;
  background: rgba(8, 10, 15, 0.62);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.products-search:focus-within {
  border-color: rgba(145, 205, 239, 0.56);
  background: rgba(14, 19, 28, 0.9);
  box-shadow: 0 0 28px rgba(96, 180, 226, 0.1);
}

.products-search svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgba(218, 224, 236, 0.62);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.products-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #f3f5f9;
  background: transparent;
  font-family: "SFMono-Regular", "SLIMZ GOOGLE", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-variant-ligatures: none;
  font-feature-settings: "zero" 1;
}

.products-search input::placeholder {
  color: rgba(214, 219, 229, 0.68);
  text-transform: uppercase;
}

.products-search input::-webkit-search-cancel-button {
  filter: invert(1);
  opacity: 0.5;
}

.products-filters {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 42px;
  margin-top: 0;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  border: 1px solid rgba(184, 194, 211, 0.18);
  border-radius: 16px;
  background: rgba(8, 10, 15, 0.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.products-price-sort {
  height: 42px;
  display: grid;
  grid-template-columns: repeat(2, 42px);
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.products-price-sort-button {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid rgba(184, 194, 211, 0.18);
  border-radius: 16px;
  color: rgba(218, 224, 236, 0.62);
  background: rgba(8, 10, 15, 0.62);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.products-price-sort-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.products-price-sort-button:hover {
  color: rgba(246, 248, 252, 0.92);
  border-color: rgba(184, 194, 211, 0.3);
}

.products-price-sort-button[aria-pressed="true"] {
  color: rgba(246, 248, 252, 0.96);
  border-color: rgba(155, 220, 255, 0.42);
  background: linear-gradient(180deg, rgba(155, 220, 255, 0.09), rgba(87, 156, 232, 0.025));
  box-shadow: inset 0 0 20px rgba(87, 156, 232, 0.08), 0 0 18px rgba(87, 156, 232, 0.08);
}

.products-price-sort-button:focus-visible {
  outline: 1px solid rgba(220, 225, 234, 0.52);
  outline-offset: -2px;
}

.products-filter {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: 100%;
  flex: 1 1 0;
  padding: 0 10px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 11px;
  color: rgba(218, 223, 232, 0.72);
  background: transparent;
  font-family: "SFMono-Regular", "SLIMZ GOOGLE", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-variant-ligatures: none;
  font-feature-settings: "zero" 1;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.products-filter:hover,
.products-filter[aria-pressed="true"] {
  color: rgba(246, 248, 252, 0.96);
}

.products-filter[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(155, 220, 255, 0.07), rgba(87, 156, 232, 0.018));
  box-shadow: inset 0 0 0 1px rgba(155, 220, 255, 0.3), inset 0 0 20px rgba(87, 156, 232, 0.07), 0 0 18px rgba(87, 156, 232, 0.08);
}

.products-filter-led {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 1px solid rgba(184, 194, 211, 0.28);
  border-radius: 50%;
  background: rgba(101, 103, 112, 0.38);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.products-filter[aria-pressed="true"] .products-filter-led {
  border-color: #d9f2ff;
  background: #9bdcff;
  box-shadow: 0 0 5px #9bdcff, 0 0 16px rgba(155, 220, 255, 0.76);
  animation: productsFilterLedPulse 2.2s ease-in-out infinite;
}

.products-filter:focus-visible {
  outline: 1px solid rgba(220, 225, 234, 0.52);
  outline-offset: -2px;
}

.products-filter-liquid {
  --liquid-x: 0px;
  --liquid-y: 0px;
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: 72px;
  height: calc(100% - 8px);
  opacity: 0;
  transform: translate3d(var(--liquid-x), var(--liquid-y), 0);
  border: 1px solid rgba(222, 227, 236, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.064);
  pointer-events: none;
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1), height 300ms cubic-bezier(0.22, 1, 0.36, 1), transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 140ms ease;
  display: none;
}

@keyframes productsFilterLedPulse {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

.products-filter-liquid.is-visible {
  opacity: 1;
}

.products-count::after,
.products-search::after,
.products-filters::after,
.products-filter-liquid::after,
.products-grid > .product-teaser::before,
.products-grid .teaser-badge::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: inherit;
  background: none;
  opacity: 0;
  pointer-events: none;
  -webkit-mask: none;
  -webkit-mask-composite: source-over;
  mask: none;
  mask-composite: add;
  animation: contentShimmerOnce 3.6s linear 0ms 1 both;
  animation-play-state: var(--content-shimmer-state, paused);
  will-change: auto;
  transform: none;
  backface-visibility: visible;
}

html:not(.content-shimmer-live) .products-count::after,
html:not(.content-shimmer-live) .products-search::after,
html:not(.content-shimmer-live) .products-filters::after,
html:not(.content-shimmer-live) .products-filter-liquid::after,
html:not(.content-shimmer-live) .products-grid > .product-teaser::before,
html:not(.content-shimmer-live) .products-grid .teaser-badge::before {
  content: none !important;
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
}

html.content-shimmer-finished .products-count::after,
html.content-shimmer-finished .products-search::after,
html.content-shimmer-finished .products-filters::after,
html.content-shimmer-finished .products-filter-liquid::after,
html.content-shimmer-finished .products-grid > .product-teaser::before,
html.content-shimmer-finished .products-grid .teaser-badge::before {
  content: none !important;
  animation: none !important;
  opacity: 0 !important;
}

.products-grid {
  margin-top: 22px;
}

.products-grid > .product-teaser:hover {
  border-color: rgba(205, 211, 222, 0.24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), inset 0 0 48px rgba(190, 197, 210, 0.035), 0 34px 90px rgba(0, 0, 0, 0.34), 0 0 34px rgba(190, 197, 210, 0.035);
}

.products-grid > .product-teaser::after {
  display: none;
}

.products-grid > .product-teaser:hover .teaser-core::before,
.products-grid > .product-teaser:hover .teaser-core::after {
  border-color: rgba(205, 211, 222, 0.16);
}

.product-card[hidden],
.catalog-card[hidden],
.product-tile[hidden],
.product-teaser[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .products-title-wrap h1 {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    text-align: center;
    white-space: normal;
  }

}

@media (max-width: 560px) {
  .products-title-wrap {
    position: relative;
    display: block;
  }

  .products-title-wrap h1 {
    width: 100%;
    font-size: clamp(1.9rem, 8.6vw, 2.15rem);
    line-height: .92;
    text-wrap: balance;
  }

  .products-count {
    position: absolute;
    left: calc(50% + 5rem);
    right: auto;
    bottom: 0;
    width: 30px;
    height: 30px;
    margin: 0;
    font-size: 0.64rem;
  }

  .products-search,
  .products-filters {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }

  .products-search {
    height: 38px;
    padding-inline: 14px;
    gap: 10px;
  }

  .products-tools-row {
    width: 100%;
    margin: 26px 0 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .products-price-sort {
    justify-self: center;
  }

  .products-filters {
    height: auto;
    padding: 3px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .products-filter {
    min-width: 0;
    height: 28px;
    padding-inline: 8px;
    border-radius: 9px;
  }

  .products-filter-liquid {
    top: 3px;
    left: 3px;
    height: 28px !important;
  }

  .products-filter,
  .products-search input {
    font-size: 0.61rem;
    letter-spacing: 0.04em;
  }

  .products-grid {
    margin-top: 18px;
  }

  .products-grid > .product-teaser {
    aspect-ratio: .92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-filter-liquid {
    transition: none;
    animation: none !important;
  }

  .products-filter-led {
    animation: none !important;
  }

}
