:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #151922;
  background: #f3f5f8;
  --blue: #063bea;
  --line: #d9dfe7;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
.brand-logo {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 12px;
}
.site-head {
  padding-top: 12px;
  padding-bottom: 12px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.hero .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}
.catalog-section {
  scroll-margin-top: 115px;
  padding-top: 38px;
  padding-bottom: 25px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  margin: 6px 0 12px;
  line-height: 1.1;
}
.section-heading p:not(.eyebrow) {
  color: #5d687b;
  margin: 0;
  max-width: 440px;
  line-height: 1.6;
}
.back-top {
  color: var(--blue);
  font-size: 13px;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.section-empty {
  padding: 25px 0 40px;
  color: #5d687b;
  line-height: 1.7;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 20px;
  }
  .site-head {
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
  }
  .brand-logo {
    width: 66px;
    height: 66px;
  }
  .site-head nav {
    justify-content: flex-end;
    gap: 12px !important;
    max-width: 235px;
  }
  .hero > img {
    object-position: 70% center;
    opacity: 0.65 !important;
  }
  .hero > div {
    background: linear-gradient(
      90deg,
      rgba(4, 12, 30, 0.9),
      rgba(4, 12, 30, 0.28)
    ) !important;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding: 12px 14px;
  }
  .catalog-section {
    scroll-margin-top: 20px;
    padding-top: 28px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
  }
  .categories {
    scroll-margin-top: 20px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 7px;
  padding: 13px 20px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  min-height: 46px;
}
button:hover,
.button:hover {
  background: #0027ad;
  transform: translateY(-1px);
}
:focus-visible {
  outline: 3px solid #ffb500;
  outline-offset: 4px;
}
input,
select,
textarea {
  padding: 12px;
  border: 1px solid #b8c1cf;
  border-radius: 6px;
  max-width: 100%;
  background: white;
  color: #151922;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5vw;
  gap: 24px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--blue);
  white-space: nowrap;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 3px;
}
nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}
.hero {
  height: min(640px, 75svh);
  min-height: 420px;
  position: relative;
  background: #111827;
  color: white;
  overflow: hidden;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5vw;
  background: linear-gradient(90deg, rgba(4, 12, 30, 0.8), transparent);
}
h1 {
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 15px 0 24px;
  max-width: 900px;
}
.hero p {
  max-width: 450px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}
.wrap {
  max-width: 1360px;
  margin: auto;
  padding: 0 5vw;
}
.catalog-title {
  padding-top: 60px;
  padding-bottom: 20px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--line);
}
.categories a {
  padding: 24px 10px 24px 0;
  font-size: 15px;
  color: var(--blue);
}
.catalog-form {
  margin: 32px 0;
}
.search {
  display: flex;
  gap: 10px;
  max-width: 760px;
}
.search input {
  flex: 1;
  min-width: 0;
  padding: 18px;
}
.filters {
  margin-top: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  min-height: 30px;
  font-weight: 700;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 30px 0;
}
.results-head h2 {
  text-transform: capitalize;
}
.results-head span,
.variant,
small {
  color: #5d687b;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.product {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  transition: transform 0.18s;
}
.product:hover {
  transform: translateY(-4px);
}
.product a {
  text-decoration: none;
  display: block;
}
.product img,
.no-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: white;
  margin-bottom: 18px;
  border-radius: 10px;
}
.no-image {
  display: grid;
  place-items: center;
  color: #667;
  font-size: 14px;
}
.product small {
  display: block;
}
.product h3 {
  margin: 8px 0;
  font-size: 20px;
}
.product p {
  font-size: 13px;
  line-height: 1.6;
}
.product strong {
  font-size: 26px;
  display: block;
}
.product span {
  font-size: 14px;
}
.product .compare {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  margin-top: 18px;
}
.empty {
  padding: 55px 0 90px;
  max-width: 650px;
  line-height: 1.7;
}
.pagination {
  margin: 40px 0;
}
.breadcrumb {
  padding: 28px 0;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-bottom: 60px;
}
.detail h1 {
  font-size: clamp(30px, 4vw, 54px);
}
.version-picker {
  margin: 22px 0;
}
.version-picker > p {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}
.version-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.version-picker a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #151922;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.version-picker a:hover,
.version-picker a:focus-visible {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.version-picker a[aria-current="page"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.detail .no-image {
  height: 400px;
}
.product-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}
.big-price {
  font-size: 40px;
  color: var(--blue);
}
section {
  margin-bottom: 40px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 12px;
  vertical-align: middle;
}
thead {
  color: #5d687b;
  font-size: 12px;
}
td .button {
  white-space: nowrap;
}
.history-filter {
  display: flex;
  gap: 15px;
  align-items: end;
  flex-wrap: wrap;
}
.chart {
  width: 100%;
  max-height: 300px;
  background: white;
  margin: 20px 0;
}
footer {
  padding: 50px 5vw;
  background: #e5eaf2;
  margin-top: 65px;
  line-height: 1.7;
}
footer p {
  max-width: 750px;
  color: #5d687b;
  font-size: 13px;
}
.skip {
  position: fixed;
  top: -70px;
  left: 10px;
  background: white;
  padding: 15px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.hero > div > * {
  animation: enter 0.55s both;
}
.hero > div > h1 {
  animation-delay: 0.08s;
}
.hero > div > .button {
  animation-delay: 0.16s;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .site-head {
    padding: 16px 5vw;
    align-items: start;
    position: relative;
    flex-direction: column;
    gap: 18px;
  }
  .site-head nav {
    gap: 16px;
    font-size: 13px;
  }
  .hero {
    height: 540px;
    max-height: 75svh;
  }
  .categories {
    grid-template-columns: 1fr 1fr;
  }
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .product img,
  .no-image {
    height: 170px;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-image {
    height: 300px;
  }
  .results-head {
    align-items: start;
    flex-direction: column;
  }
  .search button {
    padding: 12px;
  }
  .wrap {
    padding: 0 5vw;
  }
  .catalog-title {
    padding-top: 40px;
  }
  .product h3 {
    font-size: 17px;
  }
  .product strong {
    font-size: 23px;
  }
}
@media (max-width: 380px) {
  .products,
  .filter-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.price-change {
  display: block;
  font-size: 11px;
  max-width: 230px;
  margin-top: 6px;
  font-weight: 400;
  color: #5d687b;
}
.price-checked {
  display: block;
  max-width: 270px;
  margin-top: 6px;
  color: #5d687b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .detail .no-image {
    height: 180px;
  }
  .detail .product-image {
    height: 260px;
  }
}
