/* ─── SINGLE PRODUCT PAGE (PDP) ──────────────────────────────────────────── */
a.prod-img-link  { display: block; text-decoration: none; color: inherit; }
a.prod-name-link { text-decoration: none; color: inherit; }

.pdp-breadcrumb       { padding: 28px var(--pad, 80px) 0; }
.pdp-breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; flex-wrap: wrap; }
.pdp-breadcrumb-inner a { color: var(--muted); text-decoration: none; transition: color .15s; }
.pdp-breadcrumb-inner a:hover { color: var(--fg); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.pdp-wrap  { max-width: 1360px; margin: 0 auto; padding: 48px var(--pad, 80px) 100px; }
.pdp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

/* ── Gallery (left) ──────────────────────────────────────────────────────── */
.pdp-gallery   { position: sticky; top: 96px; }
.pdp-main-img  { position: relative; background: var(--surface); border-radius: 20px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.pdp-img       { width: 100%; height: 100%; object-fit: contain; padding: 32px; transition: opacity .2s; }
.pdp-main-img .prod-badge { position: absolute; top: 16px; left: 16px; }

.pdp-thumbs    { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumb     { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface); cursor: pointer; padding: 0; transition: border-color .2s, opacity .2s; opacity: .55; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: .85; }
.pdp-thumb--active { border-color: var(--accent); opacity: 1; }

/* ── Details (right) ─────────────────────────────────────────────────────── */
.pdp-details { display: flex; flex-direction: column; gap: 24px; }

/* Pills */
.pdp-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdp-pill  { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.pdp-pill--grade     { background: rgba(234,179,8,.15); color: var(--accent); border: 1px solid rgba(234,179,8,.3); }
.pdp-pill--set       { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.pdp-pill--stock-in  { background: rgba(74,222,128,.1); color: #4ade80; border: 1px solid rgba(74,222,128,.25); }
.pdp-pill--stock-out { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.pdp-pill-dot        { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pdp-pill--stock-in .pdp-pill-dot { box-shadow: 0 0 0 3px rgba(74,222,128,.2); }

/* Title */
.pdp-title { font-family: var(--font-display, 'Unbounded', sans-serif); font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.1; color: var(--fg); margin: 0; text-wrap: balance; }
.pdp-meta  { font-size: 13px; color: var(--muted); letter-spacing: .01em; }

/* Price */
.pdp-price-wrap    { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price         { font-family: var(--font-display, 'Unbounded', sans-serif); font-size: 2.4rem; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.pdp-price .woocommerce-Price-currencySymbol { font-size: inherit; }
.pdp-price-orig    { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pdp-save-badge    { font-size: 11px; font-weight: 700; background: rgba(74,222,128,.12); color: #4ade80; padding: 4px 10px; border-radius: 99px; letter-spacing: .04em; }
.pdp-shipping-note { font-size: 12px; color: var(--muted); align-self: center; }

/* Description excerpt */
.pdp-desc-excerpt { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0; }

/* PSA / BGS Scores */
.pdp-scores       { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.pdp-scores-head  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pdp-scores-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp-scores-grade { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.pdp-score-row    { display: flex; align-items: center; gap: 12px; }
.pdp-score-name   { font-size: 12px; color: var(--muted); width: 80px; flex-shrink: 0; }
.pdp-score-bar    { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.pdp-score-fill   { height: 100%; background: var(--accent); border-radius: 2px; transition: width .6s cubic-bezier(.16,1,.3,1); }
.pdp-score-val    { font-size: 13px; font-weight: 700; color: var(--fg); width: 24px; text-align: right; font-variant-numeric: tabular-nums; }

/* Qty + Add to Cart */
.pdp-qty-label    { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp-qty-atc-row  { display: flex; align-items: stretch; gap: 12px; }
.pdp-qty-ctrl     { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pdp-qty-btn      { background: none; border: none; color: var(--fg); font-size: 18px; width: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; flex-shrink: 0; }
.pdp-qty-btn:hover { background: var(--border); }
.pdp-qty-input    { width: 52px; text-align: center; background: none; border: none; color: var(--fg); font-size: 15px; font-family: var(--font-body, 'DM Sans', sans-serif); font-variant-numeric: tabular-nums; -moz-appearance: textfield; outline: none; }
.pdp-qty-input::-webkit-inner-spin-button,
.pdp-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.pdp-atc-btn      { flex: 1; background: var(--accent); color: #000; font-family: var(--font-display, 'Unbounded', sans-serif); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border: none; border-radius: 12px; padding: 0 28px; height: 56px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: opacity .2s, transform .1s; }
.pdp-atc-btn:hover  { opacity: .88; }
.pdp-atc-btn:active { transform: scale(.97); }

.pdp-secondary-actions { display: flex; gap: 16px; }
.pdp-sec-btn { background: none; border: none; color: var(--muted); font-size: 12px; font-family: var(--font-body, 'DM Sans', sans-serif); display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 0; transition: color .15s; }
.pdp-sec-btn:hover { color: var(--fg); }

.pdp-out-of-stock { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 24px; font-size: 14px; color: var(--muted); text-align: center; }

/* Trust badges */
.pdp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.pdp-trust-item { background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px 12px; text-align: center; }
.pdp-trust-item svg { color: var(--accent); }
.pdp-trust-item span { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; line-height: 1.3; }

/* Full description */
.pdp-desc-section { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border); }
.pdp-desc-title   { font-family: var(--font-display, 'Unbounded', sans-serif); font-size: 1.3rem; font-weight: 700; color: var(--fg); margin: 0 0 24px; }
.pdp-desc-body    { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 720px; }
.pdp-desc-body p  { margin: 0 0 16px; }

/* Responsive */
@media (max-width: 960px) {
  .pdp-inner   { grid-template-columns: 1fr; gap: 40px; }
  .pdp-gallery { position: static; }
}
@media (max-width: 600px) {
  .pdp-trust-grid  { grid-template-columns: repeat(2, 1fr); }
  .pdp-qty-atc-row { flex-direction: column; }
  .pdp-atc-btn     { height: 52px; }
  .pdp-thumbs      { gap: 8px; }
  .pdp-thumb       { width: 68px; height: 68px; }
}
