:root {
  --black: #050505;
  --ink: #050505;
  --muted: #616161;
  --accent: #ffd345;
  --page-bg: #ecf5f4;
  --footer: #2f2f2f;
  --content-width: 1200px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--footer);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.header-inner,
.footer-inner,
.products-shell {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100px;
  color: #ffffff;
  background: var(--black);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand {
  gap: 10px;
  width: auto;
}

.brand img {
  width: 139px;
  height: auto;
}

.brand span {
  padding-left: 10px;
  border-left: 1px solid #ffffff;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 516px;
  height: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 100%;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.products-main {
  position: relative;
  overflow: hidden;
  min-height: 1197px;
  background: var(--page-bg);
}

.products-shell {
  position: relative;
  height: auto;
  padding: 80px 0 110px;
}

.page-intro {
  position: relative;
}

.page-intro h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: normal;
}

.page-intro p {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.product-section {
  position: relative;
  width: 100%;
  margin-top: 72px;
}

.product-section + .product-section {
  margin-top: 86px;
}
.section-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.section-heading span {
  display: block;
  width: 68px;
  height: 1px;
  margin-top: 26px;
  background: #111111;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 220px);
  justify-content: space-between;
  column-gap: 0;
  row-gap: 58px;
  margin-top: 22px;
}

.product-item h3 {
  margin: 10px 0 0 1px;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
}

.product-card {
  position: relative;
  overflow: hidden;
  width: 220px;
  height: 220px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.product-image-stage {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-image-stage img {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  max-width: none;
  object-fit: contain;
}

.ca-60 .product-image-stage {
  top: -12px;
  left: -12px;
  width: 243px;
  height: 243px;
  transform: rotate(180deg) scaleY(-1);
}

.ca-60 .product-image-stage img {
  top: -7.28%;
  left: -35.53%;
  width: 170.11%;
  height: 113.42%;
}

.ca-89 .product-image-stage {
  inset: 0;
  width: 219px;
  height: 219px;
}

.ca-89 .product-image-stage img {
  top: -18.51%;
  left: -43.53%;
  width: 187.68%;
  height: 125.14%;
}

.ha-42l .product-image-stage {
  top: 20px;
  left: 7px;
  width: 195px;
  height: 179px;
}

.ha-42l .product-image-stage img {
  top: -29.1%;
  left: -15.23%;
  width: 142.94%;
  height: 143.58%;
}

.ha-58l .product-image-stage {
  top: 0;
  left: 1px;
  width: 219px;
  height: 219px;
}

.ha-58l .product-image-stage img {
  top: -7.99%;
  left: -36.84%;
  width: 174.33%;
  height: 116.23%;
}

.product-default .product-image-stage {
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-default .product-image-stage img {
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}

.product-item.uploaded-image .product-image-stage {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.product-item.uploaded-image .product-image-stage img {
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  object-position: center;
  transform: none;
}

.product-card .product-image-stage {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: none;
}

.product-card .product-image-stage img {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.more-button {
  display: grid;
  place-items: center;
  width: 120px;
  height: 40px;
  margin-top: 18px;
  border-radius: 60px;
  background: var(--accent);
  font-size: 16px;
  font-weight: 500;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.more-button:hover,
.more-button:focus-visible {
  background: #ffca20;
  transform: translateY(-2px);
}

.watermark {
  position: absolute;
  top: 412px;
  left: -45px;
  width: 140px;
  height: 592px;
  pointer-events: none;
}

.watermark img {
  position: absolute;
  top: 226px;
  left: -226px;
  width: 592px;
  height: 140px;
  max-width: none;
  opacity: 0.05;
  transform: rotate(90deg);
}

.site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 110px;
  color: #ffffff;
  background: var(--footer);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.footer-brand {
  gap: 8px;
}

.footer-brand img {
  width: 115px;
}

.footer-brand span {
  padding-left: 8px;
  border-left: 1px solid #ffffff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .site-header {
    height: 82px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 126px;
  }

  .brand span {
    padding-left: 8px;
    font-size: 19px;
  }

  .site-nav {
    width: 396px;
    font-size: 15px;
  }

  .site-nav a {
    flex-basis: 60px;
    width: 60px;
  }

  .products-main {
    height: auto;
  }

  .products-shell {
    height: auto;
    padding-block: 72px 90px;
  }

  .page-intro,
  .product-section {
    position: static;
  }

  .page-intro h1 {
    font-size: 44px;
  }

  .product-section {
    margin-top: 120px;
  }

  .product-section + .product-section {
    margin-top: 82px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 220px);
    justify-content: start;
    gap: 58px;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .footer-inner,
  .products-shell {
    width: min(100% - 36px, 680px);
  }

  .site-header {
    height: 72px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 116px;
  }

  .brand span {
    padding-left: 7px;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    width: auto;
    height: auto;
    padding: 10px 18px 18px;
    border-top: 1px solid #2b2b2b;
    background: rgba(5, 5, 5, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: auto;
    height: 52px;
    flex-basis: auto;
    border-bottom: 1px solid #262626;
  }

  .site-nav a::after {
    display: none;
  }

  .products-shell {
    padding-block: 54px 72px;
  }

  .page-intro h1 {
    font-size: 40px;
  }

  .page-intro p {
    margin-top: 20px;
  }

  .product-section {
    margin-top: 88px;
  }

  .product-section + .product-section {
    margin-top: 72px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: start;
    gap: 50px;
  }

  .watermark {
    left: -70px;
    opacity: 0.7;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }
}

@media (max-width: 540px) {
  .products-shell {
    width: calc(100% - 36px);
  }

  .page-intro h1 {
    font-size: 36px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .product-grid {
    grid-template-columns: minmax(0, 220px);
    justify-content: center;
    gap: 46px;
  }

  .site-footer {
    height: 136px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .footer-brand img {
    width: 112px;
  }

  .footer-brand span {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
