html.polaris-product-list-lock,
body.polaris-product-list-lock {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

@font-face {
  font-family: "UnitedSansHeavyLocal";
  src: url("./fonts/UnitedSansSemiCond-Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.polaris-product-list-shortcode {
  --nav-width: 205px;
  --bottom-safe-space: calc(100px + env(safe-area-inset-bottom, 0px));
  --brand-blue: #0f4f95;
  --brand-cyan: #15b9ff;
  --brand-red: #b92025;
  --text-primary: #3d434a;
  --text-muted: #a6acb4;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #f4f6f8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
  touch-action: none;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.polaris-product-active-tab,
.polaris-product-active-tab * {
  color: #0f4f95 !important;
  fill: #0f4f95 !important;
  stroke: #0f4f95 !important;
}

.polaris-product-list__hero {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 750 / 238;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.polaris-product-list__body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}

.polaris-product-list__nav {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 34px;
  height: 100%;
  padding: 36px 26px 44px;
  background: var(--brand-blue);
}

.polaris-product-list__nav-link {
  display: block;
  padding: 10px 10px 10px 14px;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.polaris-product-list__nav-en {
  display: block;
  color: var(--brand-cyan);
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.03em;
  font-family: "UnitedSansHeavyLocal", "Arial Narrow", "Bahnschrift Condensed", "PingFang SC", sans-serif;
}

.polaris-product-list__nav-zh {
  display: block;
  margin-top: 8px;
  color: var(--brand-cyan);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  font-family: "UnitedSansHeavyLocal", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.polaris-product-list__nav-link.is-active,
.polaris-product-list__nav-link:hover {
  border-left-color: #ffffff;
}

.polaris-product-list__nav-link.is-active .polaris-product-list__nav-en,
.polaris-product-list__nav-link.is-active .polaris-product-list__nav-zh {
  color: #ffffff;
}

.polaris-product-list__nav-link:hover .polaris-product-list__nav-en,
.polaris-product-list__nav-link:hover .polaris-product-list__nav-zh {
  color: #ffffff;
}

.polaris-product-list__content {
  height: 100%;
  background: #fff;
  box-sizing: border-box;
  padding-bottom: var(--bottom-safe-space);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.polaris-product-list__content::after {
  content: "";
  display: block;
  height: var(--bottom-safe-space);
  width: 100%;
  flex: 0 0 auto;
}

.polaris-product-list__series {
  padding: 24px 26px 6px;
}

.polaris-product-list__series[hidden] {
  display: none;
}

.polaris-product-list__series + .polaris-product-list__series {
  border-top: 1px solid #edf1f4;
}

.polaris-product-list__item {
  display: grid;
  grid-template-columns: minmax(210px, 44%) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 26px 0 30px;
  color: inherit;
  text-decoration: none;
}

.polaris-product-list__item + .polaris-product-list__item {
  border-top: 1px solid #f0f2f5;
}

.polaris-product-list__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 178px;
}

.polaris-product-list__image {
  display: block;
  max-width: 100%;
  max-height: 178px;
  object-fit: contain;
}

.polaris-product-list__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.polaris-product-list__name {
  color: var(--text-primary);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.45;
  font-family: "UnitedSansHeavyLocal", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.polaris-product-list__price-label {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.3;
}

.polaris-product-list__price {
  margin-top: 8px;
  color: var(--brand-blue);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  font-family: "UnitedSansHeavyLocal", "Microsoft YaHei", "PingFang SC", sans-serif;
}

@media (min-width: 900px) {
  .polaris-product-list-shortcode {
    --nav-width: 220px;
  }

  .polaris-product-list__body {
    grid-template-columns: var(--nav-width) minmax(0, 1fr);
  }

  .polaris-product-list__nav {
    gap: 20px;
    padding: 34px 22px 40px;
  }

  .polaris-product-list__nav-en {
    font-size: 16px;
    letter-spacing: 0.02em;
  }

  .polaris-product-list__nav-zh {
    margin-top: 8px;
    font-size: 17px;
  }

  .polaris-product-list__series {
    padding: 28px 34px 8px;
  }

  .polaris-product-list__item {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    gap: 22px;
    padding: 22px 0 26px;
  }

  .polaris-product-list__image-wrap {
    min-height: 180px;
  }

  .polaris-product-list__image {
    max-height: 180px;
  }

  .polaris-product-list__name {
    font-size: 23px;
  }

  .polaris-product-list__price-label {
    margin-top: 20px;
    font-size: 14px;
  }

  .polaris-product-list__price {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .polaris-product-list-shortcode {
    --nav-width: 132px;
  }

  .polaris-product-list__nav {
    gap: 24px;
    padding: 24px 14px 34px;
  }

  .polaris-product-list__nav-en {
    font-size: 12px;
    letter-spacing: 0.01em;
  }

  .polaris-product-list__nav-zh {
    margin-top: 8px;
    font-size: 12px;
  }

  .polaris-product-list__series {
    padding: 16px 14px 4px;
  }

  .polaris-product-list__item {
    grid-template-columns: minmax(100px, 45%) minmax(0, 1fr);
    gap: 8px;
    padding: 18px 0 22px;
  }

  .polaris-product-list__image-wrap {
    min-height: 118px;
  }

  .polaris-product-list__image {
    max-height: 118px;
  }

  .polaris-product-list__name {
    font-size: 16px;
  }

  .polaris-product-list__price-label {
    margin-top: 12px;
    font-size: 13px;
  }

  .polaris-product-list__price {
    font-size: 16px;
  }
}
