/* JD extends the shared platform/Goofish components without changing them. */
.jd-page {
  --jd-red: #FF0F23;
  --jd-cn-text: #1A1A1A;
}

.jd-page .jd-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.jd-page .jd-hero {
  background: #fff;
}

/* Transparent artwork sits directly on the page, without a cropped panel. */
.jd-page .jd-hero .hero-visual {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.jd-page .jd-hero .hero-visual::before {
  content: none;
}

.jd-page .jd-hero .hero-art {
  width: 100%;
  max-width: 100%;
  mask-image: none;
  -webkit-mask-image: none;
}

.jd-page .jd-section {
  border: 0;
}

.jd-page .jd-sellers,
.jd-page .jd-categories,
.jd-page .jd-faq {
  background: var(--soft);
}

.jd-page .jd-compatibility,
.jd-page .jd-useful {
  background: #fff;
}

.jd-page .jd-order {
  background: var(--soft-orange);
}

/* Only 自营 is a badge. Other Chinese service names match product-page text. */
.jd-page .jd-self-badge {
  display: inline-block;
  height: 20px;
  padding: 0 5px;
  border-radius: 3px;
  color: #fff;
  background: var(--jd-red);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: baseline;
  white-space: nowrap;
}

.jd-page .jd-comparison {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.jd-page .jd-comparison th,
.jd-page .jd-comparison td {
  padding: 0;
  vertical-align: top;
}

.jd-page .jd-comparison thead {
  border-bottom: 2px solid var(--ink);
}

.jd-page .jd-comparison thead th {
  width: 50%;
  padding-bottom: 20px;
  font-size: 17px;
  line-height: 1.4;
}

.jd-page .jd-comparison thead strong {
  font-weight: 700;
}

.jd-page .jd-comparison thead th + th,
.jd-page .jd-comparison-values td + td {
  padding-left: 16px;
}

.jd-page .jd-shop {
  margin-top: 10px;
  color: var(--jd-cn-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.jd-page .jd-shop-name {
  white-space: nowrap;
}

.jd-page .jd-comparison-row-label {
  border-top: 1px solid var(--line);
}

.jd-page .jd-comparison-row-label th {
  padding: 20px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jd-page .jd-comparison-values td {
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.5;
}

.jd-page .jd-comparison-values td:first-child {
  padding-right: 16px;
}

.jd-page .jd-service-cn {
  display: block;
  margin-bottom: 8px;
  color: var(--jd-cn-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.jd-page .jd-service-cn--logistics {
  color: var(--jd-red);
  font-weight: 700;
}

.jd-page .jd-sellers-note {
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.5;
}

.jd-page .jd-category-layout {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.jd-page .jd-category {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.jd-page .jd-category-art {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
}

.jd-page .jd-category-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jd-page .jd-category--banner .jd-category-art {
  aspect-ratio: 12 / 5;
}

.jd-page .jd-category-copy {
  margin-top: 12px;
}

.jd-page .jd-category h3 {
  font-size: 18px;
  font-weight: 620;
  line-height: 1.35;
}

.jd-page .jd-category p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.jd-page .jd-category-small {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jd-page .jd-useful h2 {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.jd-page .jd-useful .platform-useful-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.jd-page .jd-useful .platform-useful-link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  gap: 10px;
}

.jd-page .jd-useful .platform-useful-icon {
  color: var(--orange);
}

.jd-page .jd-useful .platform-useful-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.jd-page .jd-faq a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jd-page .jd-bottom-cta {
  color: #fff;
  background: var(--ink);
}

.jd-page .jd-bottom-cta .wrap {
  display: grid;
  gap: 24px;
}

.jd-page .jd-bottom-cta .section-head {
  margin: 0;
  text-align: left;
  justify-items: start;
}

.jd-page .jd-bottom-cta .section-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
}

@media (max-width: 640px) {
  .jd-page .page-breadcrumb {
    display: none;
  }

  .jd-page .jd-hero .crumb {
    display: flex;
    margin: 0 0 18px;
  }

  .jd-page .jd-hero .hero-visual {
    width: 100%;
    margin-top: 16px;
  }

  .jd-page .jd-hero .hero-art {
    width: 100%;
  }

  .jd-page .jd-section h2 {
    line-height: 1.12;
  }

  .jd-page .jd-section .section-note {
    margin: 12px 0 0;
    text-align: left;
  }

  .jd-page .jd-comparison thead th {
    font-size: 15px;
    padding-bottom: 16px;
  }

  .jd-page .jd-comparison thead th + th,
  .jd-page .jd-comparison-values td + td {
    padding-left: 6px;
  }

  .jd-page .jd-comparison-values td:first-child {
    padding-right: 6px;
  }

  .jd-page .jd-comparison-row-label th {
    padding-top: 18px;
    font-size: 11px;
  }

  .jd-page .jd-sellers-note {
    font-size: 15px;
  }

  .jd-page .jd-category-layout,
  .jd-page .jd-category-small {
    gap: 8px;
  }

  .jd-page .jd-category {
    padding: 10px;
    border-radius: 12px;
  }

  .jd-page .jd-category--banner {
    padding: 14px;
  }

  .jd-page .jd-category h3 {
    font-size: 13px;
  }

  .jd-page .jd-category--banner h3 {
    font-size: 18px;
  }

  .jd-page .jd-category p {
    font-size: 12px;
  }

  .jd-page .jd-category-copy {
    margin-top: 10px;
  }

  .jd-page .jd-bottom-cta .goofish-cta {
    justify-content: center;
  }

  .jd-page .secondary-footer {
    margin-top: 0;
    /* Separate the footer logo from the full-width dark CTA above it. */
    padding-top: 32px;
  }
}

@media (min-width: 641px) {
  .jd-page .jd-hero .hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    align-items: center;
  }

  .jd-page .jd-hero .hero-visual {
    min-height: 0;
  }

  .jd-page .jd-sellers .wrap {
    max-width: 1060px;
  }






  .jd-page .jd-useful {
    padding-block: 32px;
  }

  .jd-page .jd-useful .section-head {
    margin-bottom: 7.5px;
  }

  .jd-page .jd-useful h2 {
    margin-bottom: 5px;
  }

  .jd-page .jd-useful .platform-useful-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 48px;
  }

  .jd-page .jd-desktop-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    align-items: start;
  }

  .jd-page .jd-bottom-cta .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .jd-page .jd-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}
