/* 鸿威商城 PC v3.2.5 · 青绿交易风，class 前缀 jd- */
:root {
  --jd-red: #00baad;
  --jd-red-hover: #009e93;
  --jd-orange: #ff8d1a;
  --jd-price: #ff4d00;
  --jd-bg: #f7f7f7;
  --jd-white: #ffffff;
  --jd-text: #262626;
  --jd-muted: #8b8b8b;
  --jd-border: #eeeeee;
  --jd-container: 1200px;
  --jd-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.page-home,
.page-inner,
.page-wares {
  margin: 0;
  color: var(--jd-text);
  background: var(--jd-bg);
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.page-home *,
.page-inner *,
.page-wares .jd-shell *,
.page-wares .jd-footer *,
.page-wares .jd-float * {
  box-sizing: border-box;
}

.page-home a,
.page-inner a,
.page-wares .jd-shell a,
.page-wares .jd-footer a {
  color: inherit;
  text-decoration: none;
}

.jd-container {
  width: var(--jd-container);
  max-width: calc(100% - 24px);
  margin: 0 auto;
}

.jd-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--jd-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.jd-top {
  height: 32px;
  background: #f6f6f6;
  color: #777;
  font-size: 12px;
}

.jd-top__inner,
.jd-header__bar,
.jd-floor__head,
.jd-sort,
.jd-filters {
  display: flex;
  align-items: center;
}

.jd-top__inner {
  height: 32px;
  justify-content: space-between;
}

.jd-top__left a,
.jd-top__right a {
  margin-right: 14px;
}

.jd-top a:hover,
.jd-nav__sub a:hover,
.jd-footer a:hover,
.jd-crumb a:hover {
  color: var(--jd-red);
}

.jd-header__bar {
  height: 74px;
  gap: 22px;
}

.jd-logo {
  flex: 0 0 auto;
}

.jd-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.jd-nav {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}

.jd-nav__item {
  position: relative;
}

.jd-nav__a {
  display: inline-block;
  padding: 6px 14px;
  color: #262626;
  font-size: 15px;
  border-radius: 999px;
  white-space: nowrap;
}

.jd-nav__a:hover {
  color: var(--jd-red);
}

.page-home .jd-nav__home,
.jd-nav__a.is-on {
  background: var(--jd-red);
  color: #fff;
}

.page-home .jd-nav__home:hover,
.jd-nav__a.is-on:hover {
  color: #fff;
  background: var(--jd-red-hover);
}

.jd-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  padding: 8px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--jd-shadow);
}

.jd-nav__sub a {
  display: block;
  padding: 8px 16px;
  color: #444;
  font-size: 13px;
}

.jd-nav__item:hover .jd-nav__sub:has(a) {
  display: block;
}

.jd-search {
  display: flex;
  width: 230px;
  height: 36px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.jd-search input {
  flex: 1;
  width: 0;
  border: 0;
  padding: 0 14px;
  outline: none;
  font-size: 13px;
  background: transparent;
}

.jd-search button {
  width: 42px;
  border: 0;
  background: var(--jd-red);
  color: #fff;
  cursor: pointer;
}

.jd-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #444;
  white-space: nowrap;
}

.jd-cart em {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--jd-orange);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.jd-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--jd-red);
  cursor: pointer;
}

.jd-banner {
  position: relative;
  height: 520px;
  background: #d9f3ea;
  overflow: hidden;
}

.jd-banner:not(:has(.jd-banner__item)) {
  display: none;
}

.jd-banner__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.jd-banner:not(.is-ready) .jd-banner__item:first-child,
.jd-banner__item.is-on {
  opacity: 1;
}

.jd-banner__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-banner__prev,
.jd-banner__next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #333;
  font-size: 24px;
  cursor: pointer;
}

.jd-banner__prev { left: 24px; }
.jd-banner__next { right: 24px; }

.jd-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  text-align: center;
}

.jd-banner__dot {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.jd-banner__dot.is-on {
  background: var(--jd-red);
}

.jd-cats {
  background: #fff;
  padding: 28px 0 8px;
}

.jd-cats__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.jd-cat {
  flex: 1;
  text-align: center;
  color: #222;
}

.jd-cat__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #f5f5f5;
  overflow: hidden;
}

.jd-cat__icon em {
  width: 1em;
  overflow: hidden;
  color: var(--jd-red);
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.jd-cat__icon img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

.jd-cat__name {
  display: block;
  font-size: 15px;
}

.jd-section {
  margin-top: 22px;
}

.jd-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.jd-promo-card {
  display: flex;
  min-height: 210px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.jd-promo-card__text {
  flex: 1;
  padding: 32px 8px 24px 28px;
}

.jd-promo-card__text h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.jd-promo-card__text p {
  margin: 0 0 18px;
  color: #9a9a9a;
}

.jd-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--jd-red);
  color: #fff !important;
  font-size: 13px;
}

.jd-pill:hover {
  background: var(--jd-red-hover);
}

.jd-promo-card__pic {
  position: relative;
  width: 46%;
}

.jd-promo-card__pic::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #fff6e4;
}

.jd-promo-card__pic img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.jd-floor + .jd-floor {
  margin-top: 28px;
}

.jd-floor__head {
  justify-content: space-between;
  margin-bottom: 14px;
}

.jd-floor__head h2,
.jd-about h2,
.jd-page__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.jd-floor__head a {
  color: var(--jd-red);
}

.jd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.jd-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.jd-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jd-shadow);
}

.jd-card__img {
  aspect-ratio: 1;
  background: #fafafa;
}

.jd-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jd-card__body {
  padding: 12px 14px 16px;
}

.jd-card__title {
  height: 44px;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  line-height: 22px;
}

.jd-card__price {
  margin-top: 8px;
  color: var(--jd-price);
  font-size: 18px;
  font-weight: 700;
}

.jd-card__price small {
  font-size: 13px;
}

.jd-deal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
}

.jd-deal__intro {
  padding: 36px 22px;
  border-radius: 12px;
  background: linear-gradient(165deg, #e7faf7 0%, #fff 70%);
}

.jd-deal__intro h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.jd-deal__intro p {
  margin: 0 0 20px;
  color: #999;
}

.jd-deal .jd-grid {
  grid-template-columns: repeat(4, 1fr);
}

.jd-about {
  padding: 28px 32px;
  background: #fff;
  border-radius: 16px;
}

.jd-about__text {
  margin-top: 10px;
  color: #666;
  line-height: 1.9;
}

.jd-about__more {
  display: inline-block;
  margin-top: 8px;
  color: var(--jd-red);
}

.jd-service {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  padding: 26px 10px;
  background: #fff;
  border-radius: 14px;
}

.jd-service__item {
  padding: 0 18px;
  text-align: center;
}

.jd-service__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.jd-service__item span {
  color: #999;
  font-size: 13px;
}

.jd-service__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #e7faf7;
  color: var(--jd-red);
  font-weight: 700;
}

.jd-footer {
  margin-top: 28px;
  background: #fff;
  border-top: 1px solid var(--jd-border);
}

.jd-footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 240px;
  gap: 20px;
  padding: 34px 0 28px;
}

.jd-footer__col h3,
.jd-footer__brand h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.jd-footer__col a,
.jd-footer__brand p {
  display: block;
  margin: 8px 0;
  color: #888;
  font-size: 13px;
}

.jd-footer__phone {
  color: var(--jd-red) !important;
  font-size: 22px !important;
  font-weight: 700;
}

.jd-footer__copy {
  padding: 16px 12px 22px;
  background: #f4f4f4;
  color: #999;
  font-size: 12px;
  text-align: center;
}

.jd-footer__copy a {
  color: #999;
}

.jd-float {
  position: fixed;
  right: 14px;
  top: 46%;
  z-index: 30;
  width: 64px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--jd-shadow);
}

.jd-float a,
.jd-float button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  border: 0;
  border-bottom: 1px solid #f3f3f3;
  background: transparent;
  color: #666;
  font-size: 12px;
  cursor: pointer;
}

.jd-float a:hover,
.jd-float button:hover {
  color: var(--jd-red);
}

.jd-float__pop {
  display: none;
  position: absolute;
  right: 72px;
  top: 8px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--jd-shadow);
  color: #333;
  white-space: nowrap;
}

.jd-float a:hover .jd-float__pop {
  display: block;
}

.jd-back {
  display: none;
}

.jd-back.is-on {
  display: flex;
}

.jd-crumb {
  padding: 16px 0 8px;
  color: #999;
  font-size: 13px;
}

.jd-crumb a {
  color: #666;
}

.jd-panel {
  padding: 18px;
  background: #fff;
  border-radius: 14px;
}

.jd-filters {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.jd-filters a,
.jd-sort a {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #555;
}

.jd-filters a.is-on,
.jd-sort a.is-on,
.jd-filters a:hover,
.jd-sort a:hover {
  background: var(--jd-red);
  color: #fff;
}

.jd-sort {
  gap: 8px;
  margin-bottom: 16px;
}

.jd-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.jd-side {
  padding: 8px 0;
  background: #fff;
  border-radius: 14px;
}

.jd-side h3 {
  margin: 0;
  padding: 14px 18px;
  font-size: 16px;
}

.jd-side a {
  display: block;
  padding: 10px 18px;
  color: #555;
}

.jd-side a.is-on,
.jd-side a:hover {
  color: var(--jd-red);
  background: #f3fbfa;
}

.jd-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}

.jd-pager a,
.jd-pager span {
  display: inline-block;
  min-width: 34px;
  padding: 6px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  color: #666;
  text-align: center;
}

.jd-pager .active,
.jd-pager span.current,
.jd-pager a:hover {
  border-color: var(--jd-red);
  background: var(--jd-red);
  color: #fff;
}

.jd-detail {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
}

.jd-gallery__main {
  height: 460px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.jd-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jd-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.jd-gallery__thumbs img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.jd-gallery__thumbs img.is-on {
  border-color: var(--jd-red);
}

.jd-buy__title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.jd-buy__desc,
.jd-buy__meta,
.jd-buy__shop {
  margin: 6px 0;
  color: #888;
}

.jd-price {
  margin: 14px 0;
  color: var(--jd-price);
  font-size: 28px;
  font-weight: 700;
}

.jd-price small {
  font-size: 16px;
}

.jd-spec {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}

.jd-spec__name {
  flex: 0 0 64px;
  color: #888;
  line-height: 32px;
}

.jd-spec__vals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jd-spec__val {
  padding: 4px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.jd-spec__val.selected,
.jd-spec__val.btn-danger,
.jd-spec__val.cur {
  border-color: var(--jd-red);
  color: var(--jd-red);
}

.jd-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

.jd-qty span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--jd-red);
  color: #fff;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}

.jd-qty input {
  width: 56px;
  height: 28px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  text-align: center;
}

.jd-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.jd-btn {
  min-width: 140px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--jd-red);
  font-size: 15px;
  cursor: pointer;
}

.jd-btn--primary {
  background: var(--jd-red);
  color: #fff;
}

.jd-btn--primary:hover {
  background: var(--jd-red-hover);
}

.jd-btn--line {
  background: #fff;
  color: var(--jd-red);
}

.jd-btn--orange {
  border-color: var(--jd-orange);
  background: var(--jd-orange);
  color: #fff;
}

.jd-tabs {
  margin-top: 22px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.jd-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--jd-border);
}

.jd-tabs__nav button {
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 15px;
  cursor: pointer;
}

.jd-tabs__nav button.is-on {
  color: var(--jd-red);
  box-shadow: inset 0 -2px 0 var(--jd-red);
}

.jd-tabs__panel {
  display: none;
  padding: 20px 22px 28px;
}

.jd-tabs__panel.is-on {
  display: block;
}

.jd-rich img,
.jd-about__text img {
  max-width: 100%;
  height: auto;
}

.jd-news {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid #f2f2f2;
}

.jd-news h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.jd-news time {
  color: #999;
  font-size: 12px;
}

.jd-article h1 {
  margin: 0 0 8px;
  font-size: 26px;
}

.jd-article__meta {
  margin-bottom: 16px;
  color: #999;
  font-size: 13px;
}

.jd-shops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.jd-shop {
  display: block;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
}

.jd-shop img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  background: #f6f6f6;
}

.jd-shop h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.jd-shop p {
  margin: 4px 0;
  color: #888;
  font-size: 13px;
}

.page-wares .main,
.page-wares .s-mt15 {
  margin-top: 16px;
}

@media (max-width: 1100px) {
  .jd-grid--5,
  .jd-deal .jd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .jd-detail {
    grid-template-columns: 1fr;
  }
  .jd-gallery__main {
    height: 360px;
  }
}

@media (max-width: 860px) {
  .jd-nav-toggle {
    display: inline-block;
  }
  .jd-nav {
    display: none;
    position: absolute;
    top: 106px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 12px;
    background: #fff;
    box-shadow: var(--jd-shadow);
  }
  .jd-nav.is-open {
    display: flex;
  }
  .jd-search {
    width: 150px;
  }
  .jd-promo,
  .jd-deal,
  .jd-layout,
  .jd-footer__links,
  .jd-service,
  .jd-shops,
  .jd-grid,
  .jd-grid--5,
  .jd-deal .jd-grid {
    grid-template-columns: 1fr 1fr;
  }
  .jd-banner {
    height: 240px;
  }
  .jd-cat__icon {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 640px) {
  .jd-promo,
  .jd-deal,
  .jd-layout,
  .jd-footer__links,
  .jd-service,
  .jd-shops,
  .jd-grid,
  .jd-grid--5,
  .jd-deal .jd-grid {
    grid-template-columns: 1fr;
  }
  .jd-top__right {
    display: none;
  }
}

.page-home a.jd-nav__a,
.page-inner a.jd-nav__a,
.page-wares a.jd-nav__a {
  color: #262626;
}

.page-home a.jd-nav__home,
.page-home a.jd-nav__a.is-on,
.page-inner a.jd-nav__a.is-on,
.page-wares a.jd-nav__a.is-on {
  color: #fff;
  background: var(--jd-red);
}

.page-home a .jd-card__price,
.page-inner a .jd-card__price {
  color: var(--jd-price);
}

.page-home a.jd-about__more,
.page-inner a.jd-about__more,
.page-home .jd-floor__head a,
.page-inner .jd-floor__head a {
  color: var(--jd-red);
}
