/* ---------- Shop cards are links to product pages ---------- */
a.product { text-decoration: none; }

/* ---------- Product page ---------- */
.pdp { padding: 40px 0 96px; font-size: 17px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span[aria-current] { color: var(--soft); }

.pdp-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .pdp-main { grid-template-columns: 1fr; gap: 32px; } }

.gallery .main { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid #2a2a2a; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { background: #fff; border: 2px solid transparent; padding: 0; aspect-ratio: 1; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--cyan); }
.thumbs button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.buy { display: flex; flex-direction: column; gap: 18px; }
.buy .kicker { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.buy h1 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1; }
.buy .price { color: var(--cyan); font-size: 26px; font-weight: 600; }
.buy .short { color: var(--soft); }
.buy .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.buy .opts .qty-field { max-width: 140px; }
@media (max-width: 520px) { .buy .opts { grid-template-columns: 1fr; } }
.buy .ship { font-size: 14px; color: var(--muted); border-top: 1px solid #2a2a2a; padding-top: 16px; }
.buy .ship strong { color: var(--soft); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button {
  font: 14px var(--body); color: var(--text); background: #0b0b0b; border: 1px solid #444;
  padding: 8px 12px; cursor: pointer;
}
.swatches button[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); }
.swatches button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.opt-label { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.opt-label b { color: var(--soft); font-weight: 600; }

.pdp-details { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .pdp-details { grid-template-columns: 1fr; margin-top: 48px; gap: 36px; } }
.pdp-details h2 { color: var(--cyan); font-size: clamp(26px, 2.2vw, 33px); margin-bottom: 18px; }
.pdp-details p { color: var(--soft); line-height: 1.6; }
.pdp-details p + p { margin-top: 12px; }
.specs { list-style: none; padding: 0; margin: 0; border-top: 1px solid #2a2a2a; }
.specs li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #2a2a2a; color: var(--soft); line-height: 1.45; }
.specs li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--cyan); }
.pdp-details .highlights { margin-top: 18px; }
.pdp-details h3.sub { font-family: var(--body); text-transform: none; font-size: 17px; font-weight: 600; color: #fff; margin: 28px 0 10px; }
.pdp-details h3.sub ~ p { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 24px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--soft); }

.size-guide { grid-column: 1 / -1; }
.size-guide .table-wrap { overflow-x: auto; border: 1px solid #2a2a2a; }
.size-guide table { border-collapse: collapse; width: 100%; font-size: 15px; }
.size-guide th, .size-guide td { padding: 10px 14px; text-align: center; border-bottom: 1px solid #2a2a2a; white-space: nowrap; }
.size-guide thead th { background: #0b0b0b; color: var(--cyan); font-weight: 600; }
.size-guide tbody th { text-align: left; color: var(--muted); font-weight: 400; }
.size-guide .unit { font-size: 14px; color: var(--muted); margin: -8px 0 12px; }
.size-guide h3 { font-family: var(--body); text-transform: none; font-size: 17px; font-weight: 600; margin: 20px 0 10px; color: #fff; }

.pdp .back { display: inline-block; margin-top: 56px; color: var(--cyan); text-decoration: none; }
.pdp .back:hover { text-decoration: underline; }
.pdp[aria-busy="true"] .buy, .pdp[aria-busy="true"] .gallery { opacity: .4; }
