/* 商品列表 / 详情 — pxb9 PC */

body.pxb9-pc .pxb9-pc-wrap--list {
  max-width: var(--px9-w, 1400px);
  margin: 0 auto;
  padding: 16px 20px 40px;
}

/* 隐藏旧版列表壳 */
body.pxb9-pc .main .goods-select-condition-box,
body.pxb9-pc .main .user-info-bg,
body.pxb9-pc .clistx,
body.pxb9-pc .list_right { display: none !important; }

.pxb9-list__crumb { font-size: 13px; color: #999; margin-bottom: 14px; }
.pxb9-list__crumb a:hover { color: #ff8400; }
.pxb9-list__crumb span { margin: 0 6px; color: #ccc; }

/* 筛选卡片 — pxb7 风格 */
.pxb9-filter-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 20px 22px 16px;
  margin-bottom: 14px;
}
.pxb9-filter-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f5f5f5;
}
.pxb9-filter-card__game-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f5;
}
.pxb9-filter-card__title {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}
.pxb9-filter-card__reset {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
  transition: color 0.2s;
}
.pxb9-filter-card__reset:hover { color: #ff8400; }

.pxb9-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #fafafa;
}
.pxb9-filter-row:last-of-type { border-bottom: 0; }
.pxb9-filter-row__label {
  flex-shrink: 0;
  width: 72px;
  font-size: 13px;
  color: #999;
  line-height: 32px;
  text-align: right;
}
.pxb9-filter-row__opts {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}
.pxb9-filter-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  background: #f7f7f7;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.pxb9-filter-tag:hover {
  color: #ff8400;
  border-color: #ffd4a8;
  background: #fff8f0;
}
.pxb9-filter-tag.is-on {
  color: #fff;
  background: linear-gradient(90deg, #ffb347, #ff8400);
  border-color: transparent;
  font-weight: 600;
}
.pxb9-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #666;
  border-radius: 6px;
  transition: color 0.2s;
}
.pxb9-filter-check::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
}
.pxb9-filter-check.is-on { color: #ff8400; font-weight: 600; }
.pxb9-filter-check.is-on::before {
  border-color: #ff8400;
  background: #ff8400;
  box-shadow: inset 0 0 0 2px #fff;
}

.pxb9-filter-range {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0 4px;
  margin-top: 4px;
  border-top: 1px dashed #f0f0f0;
}
.pxb9-filter-range__form {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.pxb9-filter-range__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.pxb9-filter-range__item span { flex-shrink: 0; color: #999; }
.pxb9-filter-range__item i { color: #ccc; font-style: normal; }
.pxb9-filter-range__item input {
  width: 88px;
  height: 32px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
}
.pxb9-filter-range__item input:focus {
  border-color: #ffb366;
  background: #fff;
  outline: none;
}
.pxb9-filter-range__item input[name=ink1] { width: 160px; }
.pxb9-filter-range__form button {
  height: 32px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffb347, #ff8400);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}
.pxb9-filter-range__form button:hover { filter: brightness(1.05); }

/* 排序栏 */
.pxb9-list__sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: 0 20px;
  margin-bottom: 14px;
  min-height: 48px;
}
.pxb9-list__sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}
.pxb9-list__sort a {
  position: relative;
  padding: 14px 0;
  font-size: 14px;
  color: #666;
  background: none;
  border-radius: 0;
  transition: color 0.2s;
}
.pxb9-list__sort a:hover { color: #ff8400; }
.pxb9-list__sort a.active {
  color: #ff8400;
  font-weight: 700;
  background: none;
}
.pxb9-list__sort a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: #ff8400;
}
.pxb9-list__count {
  margin: 0;
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
}
.pxb9-list__count em { color: #ff5722; font-style: normal; font-weight: 700; }

.pxb9-list__promo {
  display: block;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
}
.pxb9-list__promo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
}

.pxb9-list__head { margin-bottom: 16px; }
.pxb9-list__title { margin: 0; font-size: 22px; font-weight: 700; color: #1a1a1a; }

.pxb9-list__toolbar {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.pxb9-list__sort { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pxb9-list__sort a {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f7f7f7;
  font-size: 13px;
  color: #333;
}
.pxb9-list__sort a.active,
.pxb9-list__sort a:hover {
  background: linear-gradient(90deg, #ffb366, #ff9a3c);
  color: #fff;
}
.pxb9-list__search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.pxb9-list__search input[type=text] {
  flex: 1;
  min-width: 120px;
  height: 36px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0 12px;
}
.pxb9-list__price-inp { max-width: 100px; flex: 0 0 100px; }
.pxb9-list__search button {
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb347, #ff8c00);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.pxb9-list__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pxb9-list__chips a {
  padding: 4px 12px;
  border: 1px solid #ffe0b2;
  border-radius: 999px;
  font-size: 12px;
  color: #ff7a00;
  background: #fff8f0;
}
.pxb9-list__chips a.active { background: #ff7a00; color: #fff; border-color: #ff7a00; }

.pxb9-pc-goods-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
body.pxb9-pc .pxb9-pc-card {
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  background: #fff;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
body.pxb9-pc .pxb9-pc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: #ffe0b2;
}
body.pxb9-pc .pxb9-pc-card__img img {
  transition: transform 0.35s ease;
}
body.pxb9-pc .pxb9-pc-card:hover .pxb9-pc-card__img img {
  transform: scale(1.05);
}
.pxb9-list__sort a {
  transition: color 0.2s, background 0.2s, transform 0.15s;
}
.pxb9-list__sort a.active {
  position: relative;
}
.pxb9-list__sort a:hover:not(.active) {
  color: #ff8400;
}
.pxb9-list__search button {
  transition: transform 0.15s, box-shadow 0.15s;
}
.pxb9-list__search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
}
.pxb9-list__search button:active {
  transform: translateY(0);
}
.pxb9-list__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: #999;
  background: #fff;
  border-radius: 12px;
}

.pxb9-pc-card--pin { position: relative; }
.pxb9-pc-card__pin {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: linear-gradient(135deg, #ff6b4a, #ff2d2d);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.pxb9-pc-card__tag-txt {
  font-size: 10px;
  color: #fff;
  background: linear-gradient(135deg, #4caf50, #45a049);
  padding: 2px 8px;
  border-radius: 10px;
}
.pxb9-pc-card__views {
  font-size: 12px;
  color: #8c9199;
  margin-left: auto;
}
.pxb9-pc-card__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

.pxb9-list__page {
  margin-top: 24px;
  text-align: center;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
}

/* 商品详情页 */

/* 旧版 pcsp 工具类（goods_detail.js 依赖） */
.none,
.goods-content-box.none,
#move_drag_img.none {
  display: none !important;
}
.dn {
  display: none !important;
}
#move_drag_img {
  display: none;
}
#move_drag_img:not(.none) {
  display: block;
}
.share-box {
  display: none;
}

body.pxb9-pc .main.goods-detail-pxb9,
body.pxb9-pc .goods-content {
  max-width: var(--px9-w, 1400px);
  margin: 16px auto 40px;
  padding: 0 20px;
}
body.pxb9-pc .goods-content .goods-top-box.zh-goods {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: 20px;
  margin-bottom: 16px;
}
body.pxb9-pc .goods-info-right .goods-price,
body.pxb9-pc .goods-price-box .price {
  color: #ff2045 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
}
body.pxb9-pc .btn-buy,
body.pxb9-pc .goods-buy-btn,
body.pxb9-pc .buy-btn {
  background: linear-gradient(135deg, #ffb347, #ff8c00) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
}
body.pxb9-pc .goods-detail-bar a.active {
  color: #ff7a00 !important;
  border-bottom-color: #ff7a00 !important;
}

body.pxb9-pc .custom-search-container { display: none !important; }

body.pxb9-pc .current-address {
  font-size: 13px;
  color: #999;
  padding: 12px 0;
}
body.pxb9-pc .current-address a { color: #666; }
body.pxb9-pc .current-address a:hover { color: #ff6600; }

body.pxb9-pc .goods-top-box.zh-goods .seller-info-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
body.pxb9-pc .seller-info-box .usre-photo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
body.pxb9-pc .seller-reputation span:first-child {
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}
body.pxb9-pc .seller-same-goods {
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid #ff8c00;
  color: #ff6600;
  border-radius: 999px;
  font-size: 13px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
body.pxb9-pc .goods-top-box.zh-goods > .goods-left-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}
body.pxb9-pc .goods-top-box.zh-goods > .goods-left-content::after {
  content: "";
  display: table;
  clear: both;
}
body.pxb9-pc .goods-top-box .f_left,
body.pxb9-pc .goods-top-box .f_right {
  float: none !important;
  width: auto !important;
}
body.pxb9-pc .goods-top-box .goods-info-right.f_right {
  width: 100% !important;
}
body.pxb9-pc .goods-image-box,
body.pxb9-pc .game-big-box {
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a2e;
}
body.pxb9-pc .game-big-box img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}
body.pxb9-pc .goods-info-right {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}
body.pxb9-pc .goods-server.permanent-claims {
  background: linear-gradient(90deg, #3d2a1a, #5c4033);
  color: #f5d78e;
  padding: 10px 16px;
  margin: 0;
  border-radius: 12px 12px 0 0;
}
body.pxb9-pc .goods-server .icon-bxbg,
body.pxb9-pc .goods-server .icon-shopR { filter: brightness(1.2); }
body.pxb9-pc .goods-price {
  padding: 16px;
  border-bottom: 1px solid #f5f5f5;
}
body.pxb9-pc .goods-item-attr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
}
body.pxb9-pc .attr-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 10px 8px;
}
body.pxb9-pc .attr-item p:first-child {
  font-size: 18px;
  font-weight: 700;
  color: #ff6600;
  margin: 0 0 4px;
}
body.pxb9-pc .attr-item p:last-child {
  font-size: 12px;
  color: #999;
  margin: 0;
}
body.pxb9-pc .goods-opt {
  padding: 16px;
  background: #fafafa;
  border-radius: 0 0 12px 12px;
  clear: both;
  overflow: hidden;
}
body.pxb9-pc .goods-opt .button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  float: none !important;
}
body.pxb9-pc .goods-top-box.zh-goods .title,
body.pxb9-pc .goods-content > .title.zh-goods {
  clear: both;
  margin: 16px 0;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
}
body.pxb9-pc .server-jietu-box img {
  display: block;
  max-width: 100%;
  margin: 0 auto 12px;
  border-radius: 8px;
}
body.pxb9-pc #screenshot-seller.goods-content-box:not(.none) {
  display: block !important;
  min-height: 200px;
  padding: 20px;
}
body.pxb9-pc .buy-btn {
  padding: 12px 32px !important;
  font-size: 16px !important;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s !important;
}
body.pxb9-pc .buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 140, 0, 0.35);
  filter: brightness(1.03);
}
body.pxb9-pc .buy-btn.is-press,
body.pxb9-pc .btn-buy.is-press,
body.pxb9-pc .goods-buy-btn.is-press {
  transform: scale(0.97) !important;
}
body.pxb9-pc .seller-same-goods:hover {
  background: #fff8f0;
  transform: translateY(-1px);
}
body.pxb9-pc .attr-item {
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
body.pxb9-pc .attr-item:hover {
  transform: translateY(-2px);
  border-color: #ffe0b2;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
}

@media (max-width: 1024px) {
  body.pxb9-pc .goods-top-box.zh-goods > .goods-left-content {
    grid-template-columns: 1fr;
  }
  .pxb9-pc-goods-list { grid-template-columns: repeat(2, 1fr); }
  .pxb9-filter-row { flex-direction: column; gap: 8px; }
  .pxb9-filter-row__label { width: auto; text-align: left; line-height: 1.4; }
  .pxb9-filter-range { flex-direction: column; }
  .pxb9-list__sortbar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; }
}
@media (max-width: 640px) {
  .pxb9-pc-goods-list { grid-template-columns: 1fr; }
  .pxb9-filter-card { padding: 14px; }
  .pxb9-filter-card__head { flex-wrap: wrap; }
}
