/* Phase 7: Clean, Focused Product Detail Page (Single CTA + Prominent 宝贝详情) */

.pdp-clean-grid {
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .pdp-clean-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.pdp-clean-left {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 900px) {
  .pdp-clean-left {
    position: static;
  }
}

/* Remove any duplicate CTA inside the left showcase card & guarantee bottom clearance */
.pdp-clean-left .neo-card {
  margin-bottom: 48px !important;
  position: relative;
  z-index: 1;
}

.pdp-clean-left .neo-card .neo-buy,
.pdp-clean-left .neo-card .neo-act,
.pdp-clean-left .neo-card .neo-foot-cta,
.pdp-clean-left .neo-card .btn {
  display: none !important;
}

.pdp-clean-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 2;
}

.pdp-fact-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.09));
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.4;
}

.pdp-fact-pill span {
  display: block;
  font-size: 11px;
  color: var(--text-3, #8f9aa8);
  margin-bottom: 2px;
}

.pdp-fact-pill strong {
  color: var(--text-1, #f8fafc);
  font-weight: 600;
}

.pdp-clean-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.pdp-clean-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-clean-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.28;
}

.pdp-clean-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.09));
}

.pdp-clean-fee-note {
  font-size: 12.5px;
  color: var(--text-3, #94a3b8);
}

.pdp-clean-fee-note b {
  color: #2dd4bf;
  font-weight: 600;
}

/* Primary 宝贝详情 card right above the single buy button (self-contained) */
.pdp-clean-right .pdp-detail-card {
  margin: 0 !important;
  padding: 18px 20px !important;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.045), rgba(255, 255, 255, 0.02)) !important;
}

.pdp-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.pdp-detail-head h3 {
  margin: 0 !important;
  font-size: 17.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-detail-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(45, 212, 191, 0.14);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.32);
}

.pdp-detail-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-2, #cbd5e1);
}

.pdp-detail-h {
  margin: 10px 0 2px;
  padding: 6px 10px;
  border-left: 3px solid #2dd4bf;
  background: rgba(45, 212, 191, 0.08);
  border-radius: 0 8px 8px 0;
  color: var(--text-1, #f8fafc);
  font-weight: 700;
  font-size: 14.5px;
}

.pdp-detail-h:first-child {
  margin-top: 0;
}

.pdp-detail-warn {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.09);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fecaca;
}

.pdp-detail-ok {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.065);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--text-1, #e2e8f0);
}

.pdp-detail-line {
  padding: 2px 2px;
}

.pdp-detail-body strong {
  color: var(--text-1, #f8fafc);
  font-weight: 700;
}

/* Single main CTA bar right below 宝贝详情 */
.pdp-single-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(15, 23, 42, 0.45));
  border: 1px solid rgba(45, 212, 191, 0.36);
}

.pdp-single-cta .btn-primary {
  min-width: 190px;
  justify-content: center;
}

.pdp-single-cta-hint {
  flex: 1 1 200px;
  font-size: 12.5px;
  color: var(--text-2, #cbd5e1);
  line-height: 1.5;
}

/* Collapsible secondary info below the fold */
.pdp-more-details {
  margin: 26px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-accordion {
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.pdp-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-1, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-accordion summary::-webkit-details-marker {
  display: none;
}

.pdp-accordion summary::after {
  content: "展开 ▾";
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3, #94a3b8);
}

.pdp-accordion[open] summary::after {
  content: "收起 ▴";
}

.pdp-accordion-body {
  padding: 0 18px 16px;
  font-size: 13.5px;
  color: var(--text-2, #cbd5e1);
  line-height: 1.7;
}

.pdp-accordion-body ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* Keep mobile sticky bar strictly mobile-only so desktop has strictly 1 buy button */
@media (min-width: 769px) {
  .pdp-sticky-bar {
    display: none !important;
  }
}
