/* 商品详情页版式增强 — 2026-10-28 */
.pdx-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 13px;
  table-layout: fixed;
}
.pdx-table td {
  border: 1px solid rgba(201, 160, 99, 0.28);
  padding: 9px 12px;
  vertical-align: middle;
  line-height: 1.5;
}
.pdx-table td.pdx-k {
  width: 84px;
  color: #8a8178;
  background: #faf7f0;
  white-space: nowrap;
  font-size: 13px;
}
.pdx-table td.pdx-v { color: #1f1b16; }

/* 手机端：收窄标签列，给数值更多空间 */
@media (max-width: 767px) {
  .pdx-table { font-size: 12px; }
  .pdx-table td { padding: 8px 8px; }
  .pdx-table td.pdx-k { width: 60px; }
}

/* 详情长图：限制 790px 居中 */
.pdx-detail-pad { padding: 0 8px; }
.pdx-detail-pad img {
  max-width: 790px !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* 主图列宽 470px，缩略图一排排完 */
@media (min-width: 768px) {
  .pdx-gallery { width: 470px !important; }
  .pdx-gallery .pdx-thumbs { gap: 6px !important; }
  .pdx-gallery .pdx-thumbs > * {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 auto !important;
  }
}

/* 分享 */
.pdx-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 4px;
  font-size: 12px;
  color: #9a9188;
}
.pdx-share .pdx-slabel {
  color: #b3aa9f;
  letter-spacing: .12em;
  margin-right: 2px;
}
.pdx-share .pdx-sbtn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #8c837a;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  user-select: none;
}
.pdx-share .pdx-sbtn:hover {
  color: #c9a063;
  border-bottom-color: rgba(201, 160, 99, .55);
}

.pdx-toast {
  position: fixed;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20, 18, 16, .88);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.pdx-toast.pdx-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.pdx-hide { display: none !important; }
