/* 规格选择 */
.pisces-sku-tag {
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #334155;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.pisces-sku-tag:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.pisces-sku-tag.is-active {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* 商品详情 */
.pisces-goods-showcase {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #312e81 100%);
}

.pisces-goods-cover-wrap {
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  width: 100%;
  max-height: 360px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.pisces-goods-cover-wrap img,
.pisces-goods-cover-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pisces-goods-details-card {
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  overflow-x: hidden;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pisces-goods-details-card p,
.pisces-goods-details-card span,
.pisces-goods-details-card div,
.pisces-goods-details-card li,
.pisces-goods-details-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.pisces-goods-details-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: zoom-in;
}

.pisces-goods-cover-img {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .pisces-goods-details-card {
    padding: 1.25rem 1rem;
  }
}

.pisces-goods-details-card table {
  width: 100%;
  border-collapse: collapse;
}

.pisces-goods-details-card table td,
.pisces-goods-details-card table th {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
}

.pisces-pay-pill input:checked + span,
.pisces-pay-pill:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  color: #2563eb;
}

.pisces-pay-pill {
  display: inline-flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}

.pisces-pay-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 微信客服浮窗 */
.pisces-wxkf {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
}

.pisces-wxkf-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pisces-wxkf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.4);
}

.pisces-wxkf-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 260px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.pisces-wxkf-panel[hidden] {
  display: none !important;
}

.pisces-wxkf-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
  color: #0f172a;
}

.pisces-wxkf-close {
  border: none;
  background: #f1f5f9;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.pisces-wxkf-tip {
  margin: 0 0 12px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.pisces-wxkf-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
  .pisces-wxkf {
    right: 12px;
    bottom: 16px;
  }
  .pisces-wxkf-btn-text {
    display: none;
  }
  .pisces-wxkf-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

.pisces-pagination .pagination {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pisces-pagination .pagination > li > a,
.pisces-pagination .pagination > li > span {
  display: inline-flex;
  min-width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
}

.pisces-pagination .pagination > li.active > span,
.pisces-pagination .pagination > li.active > a {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.pisces-pagination .pagination > li.disabled > span {
  opacity: 0.45;
}
