@charset "UTF-8";

:root {
  --jd-red: #0B9BD7;
  --jd-red-hover: #087FB0;
  --jd-orange: #12B5A0;
  --jd-bg: #F0F5FA;
  --jd-white: #FFFFFF;
  --jd-text: #1A2B3C;
  --jd-muted: #7A8B9C;
  --jd-border: #E3EAF2;
  --jd-container: 1190px;
  --jd-ai: #5B8DEF;
  --jd-footer: #0F2A3D;
}

* { box-sizing: border-box; }
html { min-width: 1190px; color: var(--jd-text); font-size: 14px; }
body { margin: 0; background: var(--jd-bg); color: var(--jd-text); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.5; }
body.page-home, body.page-inner, body.page-wares { background: var(--jd-bg); }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
img { max-width: 100%; border: 0; vertical-align: middle; }
button, input, select, textarea { color: inherit; font: inherit; outline: none; }
button { border: 0; cursor: pointer; }
input[type="number"] { -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jd-container { width: var(--jd-container); margin: 0 auto; }
.jd-clearfix::after { display: block; clear: both; content: ""; }
.jd-hidden { display: none !important; }
.jd-text-muted { color: var(--jd-muted); }
.jd-text-primary { color: var(--jd-red); }

/* 顶部欢迎条 */
.jd-topbar { height: 34px; background: #e8f1f8; border-bottom: 1px solid var(--jd-border); color: var(--jd-muted); font-size: 12px; line-height: 33px; }
.jd-topbar__left { float: left; }
.jd-topbar__right { float: right; }
.jd-topbar a { display: inline-block; margin-left: 18px; }
.jd-topbar a:hover { color: var(--jd-red); }
.jd-topbar__welcome strong { color: var(--jd-red); font-weight: 500; }
.jd-topbar__sep { margin-left: 10px; color: #c4d0db; }

/* Logo、搜索与购物车 */
.jd-header { height: 106px; background: var(--jd-white); }
.jd-header .jd-container { display: flex; align-items: center; height: 100%; }
.jd-logo { display: flex; align-items: center; width: 220px; height: 58px; color: var(--jd-red); font-size: 27px; font-weight: 700; letter-spacing: -.8px; }
.jd-logo img { max-height: 58px; width: auto; }
.jd-logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; margin-right: 9px; border-radius: 11px; background: linear-gradient(135deg, var(--jd-red), var(--jd-ai)); color: #fff; font-size: 21px; }
.jd-logo__sub { display: block; margin-top: -4px; color: var(--jd-muted); font-size: 11px; font-weight: 400; letter-spacing: 1px; }
.jd-header__search { width: 575px; margin-left: 105px; }
.jd-search { display: flex; height: 42px; border: 2px solid var(--jd-red); border-radius: 8px; overflow: hidden; background: #fff; }
.jd-search__input { flex: 1; min-width: 0; padding: 0 15px; border: 0; color: var(--jd-text); }
.jd-search__input::placeholder { color: #a4b3c0; }
.jd-search__button { width: 86px; background: var(--jd-red); color: #fff; font-size: 15px; transition: background-color .2s ease; }
.jd-search__button:hover { background: var(--jd-red-hover); }
.jd-search__hot { padding-top: 7px; color: var(--jd-muted); font-size: 12px; white-space: nowrap; }
.jd-search__hot a { margin-right: 14px; }
.jd-search__hot a:hover { color: var(--jd-red); }
.jd-cart { position: relative; display: flex; align-items: center; justify-content: center; width: 132px; height: 42px; margin-left: 27px; border: 1px solid var(--jd-border); border-radius: 8px; background: #f8fbfd; color: var(--jd-text); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.jd-cart:hover { border-color: var(--jd-red); color: var(--jd-red); transform: translateY(-2px); }
.jd-cart__icon { margin-right: 7px; font-size: 18px; }
.jd-cart__count { position: absolute; top: -8px; right: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px; background: var(--jd-orange); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* 主导航和分类菜单 */
.jd-nav { height: 48px; background: linear-gradient(90deg, #078bc4, var(--jd-red)); color: #fff; }
.jd-nav .jd-container { display: flex; height: 48px; }
.jd-nav__all { position: relative; width: 220px; padding-left: 22px; background: rgba(0, 50, 81, .18); font-size: 16px; font-weight: 600; line-height: 48px; cursor: pointer; }
.jd-nav__all::before { margin-right: 10px; content: "☰"; font-size: 18px; }
.jd-nav__list { display: flex; align-items: center; }
.jd-nav__list a { display: block; padding: 0 27px; line-height: 48px; font-size: 16px; font-weight: 500; }
.jd-nav__list a:hover, .jd-nav__list .is-active { background: rgba(0, 47, 75, .22); }
.jd-cate-dropdown { position: absolute; z-index: 20; top: 48px; left: 0; display: none; width: 220px; min-height: 400px; padding: 6px 0; border: 1px solid var(--jd-border); border-top: 0; background: #fff; box-shadow: 0 8px 22px rgba(21, 67, 99, .12); color: var(--jd-text); }
.jd-nav__all:hover .jd-cate-dropdown, .jd-cate-dropdown.is-show { display: block; }
.jd-cate-dropdown li { position: relative; height: 39px; padding: 0 16px 0 22px; line-height: 39px; }
.jd-cate-dropdown li:hover { background: #edf8fc; color: var(--jd-red); }
.jd-cate-dropdown li::after { position: absolute; right: 14px; content: "›"; color: #9aaebd; font-size: 19px; }
.jd-cate-dropdown__panel { position: absolute; z-index: 22; top: 0; left: 219px; display: none; width: 500px; min-height: 400px; padding: 23px 27px; background: #fff; box-shadow: 7px 8px 22px rgba(21, 67, 99, .13); }
.jd-cate-dropdown li:hover .jd-cate-dropdown__panel { display: block; }
.jd-cate-dropdown__panel dt { margin-bottom: 8px; color: var(--jd-red); font-weight: 600; }
.jd-cate-dropdown__panel dd { display: inline-block; margin: 0 15px 10px 0; color: var(--jd-muted); font-size: 12px; }
.jd-cate-dropdown__panel dd:hover { color: var(--jd-red); }

/* 首页首屏 */
.jd-home-top { display: flex; height: 400px; margin-top: 12px; background: var(--jd-white); border-radius: 9px; overflow: visible; }
.jd-cate { width: 220px; flex: 0 0 220px; padding: 8px 0; border-right: 1px solid var(--jd-border); background: #fff; }
.jd-cate__item { position: relative; height: 38px; padding: 0 17px 0 20px; line-height: 38px; }
.jd-cate__item:hover { background: #eff9fc; color: var(--jd-red); }
.jd-cate__item i { display: inline-block; width: 23px; margin-right: 5px; color: var(--jd-ai); font-style: normal; text-align: center; }
.jd-cate__item .jd-cate__more { float: right; color: #a4b4c1; font-size: 17px; }
.jd-cate__sub { position: absolute; z-index: 10; top: -8px; left: 219px; display: none; width: 430px; min-height: 400px; padding: 22px 27px; border: 1px solid var(--jd-border); background: #fff; box-shadow: 7px 8px 22px rgba(21, 67, 99, .13); }
.jd-cate__item:hover .jd-cate__sub { display: block; }
.jd-cate__sub h4 { padding-bottom: 12px; border-bottom: 1px solid var(--jd-border); color: var(--jd-red); }
.jd-cate__sub a { display: inline-block; margin: 13px 18px 0 0; color: var(--jd-muted); font-size: 12px; }
.jd-cate__sub a:hover { color: var(--jd-red); }
.jd-banner { position: relative; flex: 1; min-width: 0; margin: 0 12px; overflow: hidden; border-radius: 0; background: #dceff7; }
.jd-banner__item { display: block; width: 100%; height: 400px; }
.jd-banner__item img { width: 100%; height: 100%; object-fit: cover; }
.jd-banner__caption { position: absolute; top: 72px; left: 43px; max-width: 350px; }
.jd-banner__caption small { color: var(--jd-red); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.jd-banner__caption h2 { margin: 8px 0; font-size: 32px; line-height: 1.25; }
.jd-banner__caption p { color: #557082; }
.jd-banner__button { display: inline-block; margin-top: 22px; padding: 9px 21px; border-radius: 6px; background: var(--jd-red); color: #fff; }
.jd-banner__button:hover { background: var(--jd-red-hover); }
.jd-banner__dots { position: absolute; bottom: 15px; left: 0; width: 100%; text-align: center; }
.jd-banner__dots span { display: inline-block; width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: rgba(255,255,255,.72); cursor: pointer; }
.jd-banner__dots .is-active { width: 22px; border-radius: 6px; background: var(--jd-red); }
.jd-banner__arrow { position: absolute; top: 50%; width: 29px; height: 48px; margin-top: -24px; background: rgba(15, 42, 61, .28); color: #fff; font-size: 27px; line-height: 45px; text-align: center; opacity: 0; transition: opacity .2s ease; }
.jd-banner:hover .jd-banner__arrow { opacity: 1; }
.jd-banner__arrow--prev { left: 0; }
.jd-banner__arrow--next { right: 0; }
.jd-aside { width: 220px; flex: 0 0 220px; background: #fff; }
.jd-aside__user { padding: 17px 15px 13px; border-bottom: 1px solid var(--jd-border); text-align: center; }
.jd-aside__avatar { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; margin-bottom: 7px; border-radius: 50%; background: #e2f4fb; color: var(--jd-red); font-size: 21px; }
.jd-aside__user p { color: var(--jd-muted); font-size: 12px; }
.jd-aside__user a { display: inline-block; margin: 7px 3px 0; padding: 3px 12px; border: 1px solid var(--jd-red); border-radius: 14px; color: var(--jd-red); font-size: 12px; }
.jd-aside__user a:hover { background: var(--jd-red); color: #fff; }
.jd-aside__title { display: flex; justify-content: space-between; padding: 13px 14px 7px; font-weight: 600; }
.jd-aside__title a { color: var(--jd-muted); font-size: 12px; font-weight: 400; }
.jd-aside__notice { padding: 0 14px; }
.jd-aside__notice li { overflow: hidden; padding: 4px 0; color: var(--jd-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.jd-aside__notice li::before { margin-right: 6px; color: var(--jd-orange); content: "•"; }
.jd-aside__notice li:hover { color: var(--jd-red); }
.jd-aside__ai { margin: 10px 12px; padding: 11px 10px; border-radius: 8px; background: linear-gradient(135deg, #eef8ff, #f2fbfa); }
.jd-aside__ai b { display: block; color: var(--jd-ai); font-size: 13px; }
.jd-aside__ai p { margin-top: 4px; color: var(--jd-muted); font-size: 11px; }

/* 通用区块与 AI 推荐 */
.jd-section { margin-top: 18px; }
.jd-section__hd { display: flex; align-items: baseline; justify-content: space-between; height: 42px; }
.jd-section__title { font-size: 23px; font-weight: 650; }
.jd-section__title small { margin-left: 10px; color: var(--jd-muted); font-size: 13px; font-weight: 400; }
.jd-section__more { color: var(--jd-muted); font-size: 13px; }
.jd-section__more:hover { color: var(--jd-red); }
.jd-promo { display: flex; align-items: center; min-height: 90px; padding: 14px 25px; border-radius: 9px; background: linear-gradient(100deg, #058cc5, #17a9d6 57%, #17b6a5); color: #fff; }
.jd-promo__mark { display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; margin-right: 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 27px; }
.jd-promo__text { width: 265px; }
.jd-promo__text h3 { font-size: 20px; }
.jd-promo__text p { opacity: .84; font-size: 12px; }
.jd-promo__items { display: flex; flex: 1; justify-content: space-between; }
.jd-promo__item { display: flex; align-items: center; width: 190px; padding: 4px 10px; border-left: 1px solid rgba(255,255,255,.25); }
.jd-promo__item img { width: 52px; height: 52px; margin-right: 9px; border-radius: 6px; background: #fff; object-fit: cover; }
.jd-promo__item span { display: block; font-size: 12px; }
.jd-promo__item strong { display: block; margin-top: 3px; color: #d9fbf5; }

/* 热销排行 */
.jd-rank { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jd-rank__box { background: #fff; border-radius: 9px; overflow: hidden; }
.jd-rank__head { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--jd-border); }
.jd-rank__head h3 { font-size: 18px; }
.jd-rank__head h3::before { display: inline-block; width: 4px; height: 19px; margin-right: 9px; border-radius: 3px; background: var(--jd-red); content: ""; vertical-align: -3px; }
.jd-rank__head a { color: var(--jd-muted); font-size: 12px; }
.jd-rank__list { display: grid; grid-template-columns: 1fr 1fr; padding: 7px 15px 14px; }
.jd-rank__item { display: flex; align-items: center; min-width: 0; padding: 10px 8px; }
.jd-rank__num { align-self: flex-start; width: 20px; height: 20px; margin: 4px 6px 0 0; border-radius: 4px; background: #dce8f0; color: #698092; font-size: 12px; line-height: 20px; text-align: center; }
.jd-rank__item:nth-child(-n+3) .jd-rank__num { background: var(--jd-red); color: #fff; }
.jd-rank__item img { width: 72px; height: 72px; margin-right: 9px; object-fit: contain; }
.jd-rank__name { display: -webkit-box; overflow: hidden; height: 37px; font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jd-rank__price { margin-top: 4px; color: var(--jd-red); font-size: 15px; font-weight: 700; }

/* 商品卡片 */
.jd-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jd-product-card { position: relative; min-width: 0; padding: 14px; border: 1px solid transparent; border-radius: 8px; background: #fff; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.jd-product-card:hover { border-color: #c9e7f3; box-shadow: 0 7px 18px rgba(27, 85, 112, .11); transform: translateY(-4px); }
.jd-product-card__image { display: flex; align-items: center; justify-content: center; height: 185px; overflow: hidden; }
.jd-product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.jd-product-card:hover .jd-product-card__image img { transform: scale(1.035); }
.jd-product-card__tag { position: absolute; top: 13px; left: 13px; padding: 2px 7px; border-radius: 3px; background: #e5f6fc; color: var(--jd-red); font-size: 11px; }
.jd-product-card__title { display: -webkit-box; overflow: hidden; height: 42px; margin-top: 10px; color: #35495a; font-size: 13px; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jd-product-card__title:hover { color: var(--jd-red); }
.jd-product-card__price { margin-top: 8px; color: var(--jd-red); font-size: 20px; font-weight: 700; line-height: 24px; }
.jd-product-card__price em { font-size: 12px; font-style: normal; }
.jd-product-card__price del { margin-left: 7px; color: #a8b6c1; font-size: 12px; font-weight: 400; }
.jd-product-card__info { margin-top: 4px; color: var(--jd-muted); font-size: 12px; }
.jd-product-card__actions { display: flex; gap: 7px; margin-top: 11px; }
.jd-product-card__actions a { flex: 1; height: 28px; border: 1px solid var(--jd-border); border-radius: 4px; color: #607688; font-size: 12px; line-height: 26px; text-align: center; }
.jd-product-card__actions a:hover { border-color: var(--jd-red); background: #effaff; color: var(--jd-red); }
.jd-product-card__actions .is-cart { border-color: var(--jd-red); background: var(--jd-red); color: #fff; }
.jd-product-card__actions .is-cart:hover { background: var(--jd-red-hover); color: #fff; }

/* 楼层 */
.jd-floor { display: flex; min-height: 434px; background: #fff; border-radius: 9px; overflow: hidden; }
.jd-floor__side { position: relative; width: 238px; flex: 0 0 238px; padding: 24px 21px; background: linear-gradient(155deg, #dff5fb, #e9f8f7); overflow: hidden; }
.jd-floor__side::after { position: absolute; right: -42px; bottom: -50px; width: 170px; height: 170px; border: 28px solid rgba(11,155,215,.09); border-radius: 50%; content: ""; }
.jd-floor__side h2 { position: relative; z-index: 1; font-size: 24px; }
.jd-floor__side p { position: relative; z-index: 1; margin-top: 5px; color: #5f7c8b; }
.jd-floor__keywords { position: relative; z-index: 1; margin-top: 18px; }
.jd-floor__keywords a { display: inline-block; margin: 0 5px 7px 0; padding: 4px 9px; border: 1px solid rgba(11,155,215,.25); border-radius: 4px; background: rgba(255,255,255,.55); color: #39728d; font-size: 12px; }
.jd-floor__keywords a:hover { border-color: var(--jd-red); color: var(--jd-red); }
.jd-floor__featured { position: absolute; z-index: 1; right: 14px; bottom: 15px; left: 14px; padding: 11px; border-radius: 7px; background: rgba(255,255,255,.8); }
.jd-floor__featured img { float: right; width: 75px; height: 75px; object-fit: contain; }
.jd-floor__featured span { display: block; padding-top: 9px; color: var(--jd-red); font-weight: 600; }
.jd-floor__featured small { color: var(--jd-muted); }
.jd-floor__main { flex: 1; }
.jd-floor__tabs { display: flex; align-items: center; height: 55px; padding: 0 21px; border-bottom: 1px solid var(--jd-border); }
.jd-floor__tabs h3 { margin-right: auto; font-size: 18px; }
.jd-floor__tabs a { margin-left: 23px; color: var(--jd-muted); }
.jd-floor__tabs a:hover, .jd-floor__tabs .is-active { color: var(--jd-red); font-weight: 600; }
.jd-floor__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.jd-floor__grid .jd-product-card { border-radius: 0; border-width: 0 1px 1px 0; border-color: var(--jd-border); }

/* 面包屑、筛选、排序 */
.jd-crumb { display: flex; align-items: center; height: 46px; color: var(--jd-muted); font-size: 13px; }
.jd-crumb a:hover { color: var(--jd-red); }
.jd-crumb__sep { margin: 0 10px; color: #b5c3ce; }
.jd-crumb strong { color: var(--jd-text); font-weight: 400; }
.jd-filter { border: 1px solid var(--jd-border); border-radius: 8px; background: #fff; overflow: hidden; }
.jd-filter__row { display: flex; min-height: 47px; border-bottom: 1px solid var(--jd-border); }
.jd-filter__row:last-child { border-bottom: 0; }
.jd-filter__label { width: 115px; flex: 0 0 115px; padding: 13px 18px; background: #f7fafc; color: #607688; }
.jd-filter__content { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 7px 27px; padding: 9px 18px; }
.jd-filter__content a { color: #526a7b; font-size: 13px; }
.jd-filter__content a:hover, .jd-filter__content .is-active { color: var(--jd-red); }
.jd-filter__more { width: 68px; padding: 13px 10px; color: var(--jd-muted); font-size: 12px; }
.jd-filter__selected { padding: 10px 18px; border-top: 1px solid var(--jd-border); background: #fbfdfe; }
.jd-filter__selected span { margin-right: 10px; color: var(--jd-muted); }
.jd-filter__selected a { display: inline-block; margin-right: 8px; padding: 3px 7px; border: 1px solid #a9dceb; border-radius: 3px; color: var(--jd-red); font-size: 12px; }
.jd-filter__selected a b { margin-left: 5px; font-weight: 400; }
.jd-sort { display: flex; align-items: center; height: 48px; margin-top: 14px; padding: 0 13px; border: 1px solid var(--jd-border); border-radius: 7px; background: #fff; }
.jd-sort__items { display: flex; }
.jd-sort__items a { min-width: 68px; height: 29px; padding: 0 12px; border-right: 1px solid var(--jd-border); line-height: 29px; text-align: center; }
.jd-sort__items a:first-child { border-left: 1px solid var(--jd-border); }
.jd-sort__items a:hover, .jd-sort__items .is-active { background: var(--jd-red); border-color: var(--jd-red); color: #fff; }
.jd-sort__count { margin-left: 17px; color: var(--jd-muted); font-size: 12px; }
.jd-sort__count b { color: var(--jd-red); }
.jd-sort__view { margin-left: auto; color: var(--jd-muted); font-size: 12px; }
.jd-sort__view a { margin-left: 8px; color: var(--jd-red); }
.jd-list-products { margin-top: 14px; }
.jd-list-products .jd-product-grid { row-gap: 14px; }
.jd-pages { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 35px 0 43px; }
.jd-pages a, .jd-pages span { min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid var(--jd-border); border-radius: 5px; background: #fff; color: #607688; line-height: 32px; text-align: center; }
.jd-pages a:hover, .jd-pages .is-active { border-color: var(--jd-red); background: var(--jd-red); color: #fff; }
.jd-pages .is-disabled { color: #b7c3cd; cursor: default; }
.jd-pages__jump { margin-left: 9px; color: var(--jd-muted); }
.jd-pages__jump input { width: 39px; height: 30px; margin: 0 5px; border: 1px solid var(--jd-border); border-radius: 4px; text-align: center; }

/* 商品详情 */
.jd-detail { display: grid; grid-template-columns: 480px 1fr; gap: 31px; padding: 24px; border-radius: 9px; background: #fff; }
.jd-detail__gallery { min-width: 0; }
.jd-detail__main-image { display: flex; align-items: center; justify-content: center; height: 405px; border: 1px solid var(--jd-border); border-radius: 7px; overflow: hidden; }
.jd-detail__main-image img { max-width: 95%; max-height: 95%; object-fit: contain; }
.jd-detail__thumbs { display: flex; gap: 10px; margin-top: 14px; }
.jd-detail__thumb { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid var(--jd-border); border-radius: 5px; cursor: pointer; }
.jd-detail__thumb img { width: 54px; height: 54px; object-fit: contain; }
.jd-detail__thumb:hover, .jd-detail__thumb.is-active { border-color: var(--jd-red); }
.jd-detail__share { margin-top: 12px; color: var(--jd-muted); font-size: 12px; }
.jd-detail__share a { margin-left: 14px; }
.jd-detail__share a:hover { color: var(--jd-red); }
.jd-detail__info h1 { font-size: 19px; line-height: 29px; }
.jd-detail__subtitle { margin-top: 6px; color: var(--jd-red); font-size: 13px; }
.jd-detail__price { display: flex; align-items: baseline; margin-top: 14px; padding: 16px 17px; border-radius: 6px; background: #eff9fc; }
.jd-detail__price label { margin-right: 18px; color: var(--jd-muted); font-size: 12px; }
.jd-detail__price strong { color: var(--jd-red); font-size: 30px; line-height: 30px; }
.jd-detail__price strong em { font-size: 16px; font-style: normal; }
.jd-detail__price del { margin-left: 13px; color: #99aab7; font-size: 13px; }
.jd-detail__sale { display: flex; padding: 13px 4px; border-bottom: 1px dashed var(--jd-border); }
.jd-detail__sale label, .jd-detail__option label { width: 65px; flex: 0 0 65px; color: var(--jd-muted); font-size: 12px; }
.jd-detail__sale span { color: #587082; font-size: 13px; }
.jd-detail__sale b { margin-right: 8px; padding: 1px 4px; border: 1px solid var(--jd-orange); color: var(--jd-orange); font-size: 11px; font-weight: 400; }
.jd-detail__options { padding: 14px 4px 3px; }
.jd-detail__option { display: flex; align-items: flex-start; min-height: 42px; }
.jd-detail__option label { padding-top: 7px; }
.jd-detail__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.jd-detail__choices a { min-width: 47px; padding: 5px 12px; border: 1px solid #cbd8e1; border-radius: 4px; background: #fff; color: #526a7b; font-size: 12px; text-align: center; }
.jd-detail__choices a:hover, .jd-detail__choices .is-active { position: relative; border-color: var(--jd-red); color: var(--jd-red); }
.jd-detail__choices .is-active::after { position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-bottom: 10px solid var(--jd-red); border-left: 10px solid transparent; content: ""; }
.jd-detail__stock { margin: 4px 0 17px 69px; color: var(--jd-muted); font-size: 12px; }
.jd-detail__stock b { color: var(--jd-text); font-weight: 400; }
.jd-detail__buybar { display: flex; align-items: center; margin-left: 4px; }
.jd-quantity { display: flex; width: 97px; height: 44px; margin-right: 12px; border: 1px solid #cbd8e1; border-radius: 5px; overflow: hidden; }
.jd-quantity input { width: 52px; border: 0; text-align: center; }
.jd-quantity__buttons { width: 44px; border-left: 1px solid #cbd8e1; }
.jd-quantity__buttons button { display: block; width: 100%; height: 21px; border-bottom: 1px solid #cbd8e1; background: #f7fafc; color: #6b8292; line-height: 17px; }
.jd-quantity__buttons button:last-child { border-bottom: 0; }
.jd-quantity__buttons button:hover { background: #e7f6fb; color: var(--jd-red); }
.jd-btn-buy, .jd-btn-cart { min-width: 126px; height: 44px; margin-right: 10px; border-radius: 5px; font-size: 16px; font-weight: 600; line-height: 44px; text-align: center; transition: background-color .2s ease, transform .2s ease; }
.jd-btn-buy { border: 1px solid var(--jd-red); background: #eaf8fd; color: var(--jd-red); }
.jd-btn-cart { background: var(--jd-red); color: #fff; }
.jd-btn-buy:hover { background: #d7f1fa; transform: translateY(-1px); }
.jd-btn-cart:hover { background: var(--jd-red-hover); transform: translateY(-1px); }
.jd-detail__promise { display: flex; gap: 22px; margin: 17px 0 0 5px; color: var(--jd-muted); font-size: 12px; }
.jd-detail__promise span::before { margin-right: 5px; color: var(--jd-orange); content: "✓"; }
.jd-detail-bottom { display: grid; grid-template-columns: 210px 1fr; gap: 14px; margin-top: 15px; }
.jd-detail-side { padding: 14px; border-radius: 8px; background: #fff; }
.jd-detail-side h3 { padding-bottom: 10px; border-bottom: 1px solid var(--jd-border); font-size: 15px; }
.jd-detail-side .jd-product-card { padding: 10px 0; }
.jd-detail-side .jd-product-card__image { height: 130px; }
.jd-detail-side .jd-product-card__price { font-size: 17px; }
.jd-detail-content { min-width: 0; border-radius: 8px; background: #fff; overflow: hidden; }
.jd-detail-tabs { display: flex; height: 50px; border-bottom: 1px solid var(--jd-border); }
.jd-detail-tabs a { min-width: 128px; padding: 0 22px; border-right: 1px solid var(--jd-border); line-height: 50px; text-align: center; }
.jd-detail-tabs a:hover, .jd-detail-tabs .is-active { background: var(--jd-red); color: #fff; }
.jd-detail-desc { padding: 23px 28px 40px; }
.jd-detail-attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 15px; background: #f8fbfd; color: #647b8b; font-size: 12px; }
.jd-detail-desc__image { display: block; max-width: 100%; margin: 22px auto 0; }

/* 文章列表与文章详情 */
.jd-article-layout { display: grid; grid-template-columns: 850px 325px; gap: 15px; }
.jd-article-list { padding: 6px 25px; border-radius: 8px; background: #fff; }
.jd-article-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--jd-border); }
.jd-article-item:last-child { border-bottom: 0; }
.jd-article-item__image { width: 180px; height: 116px; flex: 0 0 180px; border-radius: 6px; object-fit: cover; }
.jd-article-item__body h2 { font-size: 17px; font-weight: 600; }
.jd-article-item__body h2:hover { color: var(--jd-red); }
.jd-article-item__body p { display: -webkit-box; overflow: hidden; margin-top: 9px; color: var(--jd-muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jd-article-item__meta { margin-top: 13px; color: #9aaab5; font-size: 12px; }
.jd-article-item__meta span { margin-right: 18px; }
.jd-article-side { padding: 16px; border-radius: 8px; background: #fff; }
.jd-article-side h3 { padding-bottom: 12px; border-bottom: 1px solid var(--jd-border); font-size: 17px; }
.jd-article-side li { padding: 11px 0; border-bottom: 1px dashed var(--jd-border); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jd-article-side li::before { margin-right: 7px; color: var(--jd-red); content: "▸"; }
.jd-article-side li:hover { color: var(--jd-red); }
.jd-article { padding: 29px 48px 45px; border-radius: 8px; background: #fff; }
.jd-article__title { font-size: 26px; line-height: 1.35; text-align: center; }
.jd-article__meta { margin: 14px 0 27px; padding-bottom: 17px; border-bottom: 1px solid var(--jd-border); color: var(--jd-muted); font-size: 12px; text-align: center; }
.jd-article__meta span { margin: 0 10px; }
.jd-article__content { color: #3d5262; font-size: 15px; line-height: 2; }
.jd-article__content p { margin: 0 0 18px; text-indent: 2em; }
.jd-article__content h2 { margin: 28px 0 13px; color: var(--jd-text); font-size: 20px; }
.jd-article__content img { display: block; max-width: 100%; margin: 22px auto; }
.jd-article__pager { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 17px; border-top: 1px solid var(--jd-border); color: var(--jd-muted); }
.jd-article__pager a:hover { color: var(--jd-red); }

/* 页脚 */
.jd-footer { margin-top: 35px; background: var(--jd-footer); color: #c5d6df; }
.jd-footer__service { padding: 28px 0; border-bottom: 1px solid rgba(211,235,243,.18); }
.jd-footer__service .jd-container { display: grid; grid-template-columns: repeat(4, 1fr); }
.jd-footer__service-item { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 10px; border-right: 1px solid rgba(211,235,243,.16); }
.jd-footer__service-item:last-child { border-right: 0; }
.jd-footer__service-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 43px; width: 43px; height: 43px; margin-right: 12px; border: 1px solid #4c9fbd; border-radius: 50%; color: #6bc7e7; font-size: 16px; }
.jd-footer__service strong { display: block; color: #f2fbff; font-size: 15px; font-weight: 500; line-height: 1.3; }
.jd-footer__service-item span:not(.jd-footer__service-icon) { display: block; margin-top: 3px; color: #8eabb9; font-size: 12px; line-height: 1.4; }
.jd-footer__links { padding: 28px 0; }
.jd-footer__links .jd-container { display: flex; align-items: flex-start; gap: 0; }
.jd-footer__links dl { flex: 1; min-width: 0; padding: 0 18px; border-left: 1px solid rgba(211,235,243,.12); }
.jd-footer__links dl:first-child { padding-left: 0; border-left: 0; }
.jd-footer__links dl dt { margin-bottom: 11px; color: #eef9fd; font-size: 15px; font-weight: 600; }
.jd-footer__links dl dt a { color: #eef9fd; }
.jd-footer__links dl dt a:hover { color: #65c6e8; }
.jd-footer__links dl dd { margin: 6px 0; color: #9fb7c3; font-size: 12px; }
.jd-footer__links dl dd a { color: #9fb7c3; }
.jd-footer__links dl dd a:hover { color: #65c6e8; }
.jd-footer__contact { flex: 0 0 220px; padding-left: 24px; border-left: 1px solid rgba(211,235,243,.12); }
.jd-footer__contact p { margin: 4px 0; color: #9fb7c3; font-size: 12px; }
.jd-footer__contact strong { display: block; margin: 6px 0 10px; color: #6bc7e7; font-size: 20px; font-weight: 600; letter-spacing: .5px; }
.jd-footer__contact a { color: #6bc7e7; }
.jd-footer__contact a:hover { color: #9adff3; }
.jd-footer__copy { padding: 17px 0 21px; border-top: 1px solid rgba(211,235,243,.15); background: #0b2233; color: #7895a4; font-size: 12px; text-align: center; }
.jd-footer__copy p { margin: 0; line-height: 1.8; }
.jd-footer__copy a { margin: 0 8px; color: #9fb7c3; }
.jd-footer__copy a:hover { color: #65c6e8; }

/* 回到顶部 */
.jd-backtop { position: fixed; z-index: 30; right: max(20px, calc((100% - 1270px) / 2)); bottom: 90px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #cce6f0; border-radius: 7px; background: rgba(255,255,255,.94); box-shadow: 0 3px 12px rgba(22,74,103,.11); color: var(--jd-red); font-size: 21px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
.jd-backtop.is-show { opacity: 1; pointer-events: auto; }
.jd-backtop:hover { background: var(--jd-red); color: #fff; transform: translateY(-3px); }

/* 与主站 wares 页面衔接 */
.page-wares .jd-main { padding-bottom: 1px; }

/* 店铺街列表 */
.jd-wares-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 40px;
}
.jd-wares-card {
  display: flex;
  align-items: stretch;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--jd-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.jd-wares-card:hover {
  border-color: #b9dff0;
  box-shadow: 0 8px 20px rgba(27, 85, 112, .1);
  transform: translateY(-2px);
}
.jd-wares-card__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 240px;
  width: 240px;
  background: #eef7fb;
  overflow: hidden;
}
.jd-wares-card__banner img {
  max-width: 90%;
  max-height: 110px;
  object-fit: contain;
}
.jd-wares-card__body {
  flex: 1;
  min-width: 0;
  padding: 22px 28px;
}
.jd-wares-card__body h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--jd-border);
  color: var(--jd-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.jd-wares-card:hover .jd-wares-card__body h3 { color: var(--jd-red); }
.jd-wares-card__body p {
  margin: 8px 0 0;
  color: var(--jd-muted);
  font-size: 13px;
  line-height: 1.6;
}
.jd-wares-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: #6a8090;
  font-size: 13px;
}
.jd-wares-card__meta b { color: var(--jd-red); font-weight: 500; }
.jd-wares-card__go {
  display: flex;
  align-items: center;
  flex: 0 0 120px;
  justify-content: center;
  border-left: 1px solid var(--jd-border);
  color: var(--jd-red);
  font-size: 14px;
  background: #f7fcfe;
}
.jd-wares-card:hover .jd-wares-card__go { background: var(--jd-red); color: #fff; }

@media (max-width: 1220px) {
  .jd-container { width: 1190px; }
  .jd-backtop { right: 18px; }
}

/* qty / tabs / article list extras */
.jd-qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--jd-border); border-radius: 4px; overflow: hidden; background: #fff; }
.jd-qty__btn { width: 32px; height: 34px; line-height: 34px; text-align: center; background: #f5fafc; color: #516a7d; cursor: pointer; user-select: none; }
.jd-qty__btn:hover { color: var(--jd-red); background: #eaf7fc; }
.jd-qty__input { width: 48px; height: 34px; border: 0; border-left: 1px solid var(--jd-border); border-right: 1px solid var(--jd-border); text-align: center; }
.jd-detail__choices dt { min-width: 47px; padding: 5px 12px; border: 1px solid #cbd8e1; border-radius: 4px; background: #fff; color: #526a7b; font-size: 12px; text-align: center; cursor: pointer; list-style: none; }
.jd-detail__choices dt:hover, .jd-detail__choices dt.selected { border-color: var(--jd-red); color: var(--jd-red); }
.jd-tabs__panel { display: none; }
.jd-tabs__panel.is-active { display: block; }
.jd-attr-table { width: 100%; border-collapse: collapse; }
.jd-attr-table th, .jd-attr-table td { padding: 10px 14px; border: 1px solid var(--jd-border); text-align: left; }
.jd-attr-table th { width: 140px; background: #f7fafc; color: #607688; font-weight: 500; }
.jd-article-layout { display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.jd-article-main { min-width: 0; padding: 8px 22px 20px; border-radius: 8px; background: #fff; }
.jd-article-list { list-style: none; margin: 0; padding: 0; }
.jd-article-list li { border-bottom: 1px dashed var(--jd-border); }
.jd-article-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; }
.jd-article-list a:hover .jd-article-list__title { color: var(--jd-red); }
.jd-article-list__more { color: var(--jd-muted); font-size: 12px; }
.jd-banner__track { height: 400px; }
.jd-floor__panel.is-active { display: block; }
.jd-btn-cart { min-width: 126px; height: 44px; border-radius: 5px; background: var(--jd-orange); color: #fff; font-size: 16px; font-weight: 600; }
.jd-btn-cart:hover { filter: brightness(.95); }
