/* ════════════════════════════════════════════
   PRODUCT DETAIL — product-detail.css
   Coatings Hub NorCal
   ════════════════════════════════════════════ */

/* ── Breadcrumb bar ── */
.pd-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  margin-top: 85px;
}
.pd-breadcrumb-bar .shop-breadcrumb { margin: 0; }

/* ── Product Section ── */
.pd-section {
  background: #fff;
  padding: 3rem 0 4rem;
}
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ══════════════════════
   GALLERY
   ══════════════════════ */
.pd-gallery { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 105px; }

.pd-gallery__main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.pd-gallery__main-img {
  width: 100%; aspect-ratio: 1/1;
  overflow: hidden; cursor: zoom-in;
}
.pd-gallery__main-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.pd-gallery__main-img:hover img { transform: scale(1.04); }
.pd-gallery__zoom-hint {
  position: absolute; bottom: .9rem; right: .9rem;
  display: flex; align-items: center; gap: .3rem;
  background: rgba(0,0,0,.45); color: rgba(255,255,255,.85);
  padding: .3rem .7rem; border-radius: 99px;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  pointer-events: none;
}
.pd-gallery__zoom-hint svg { width: 13px; height: 13px; }
.pd-gallery__badge-wrap {
  position: absolute; top: .9rem; left: .9rem;
  display: flex; flex-direction: column; gap: .4rem;
}

/* Thumbnails */
.pd-gallery__thumbs {
  display: flex; gap: .65rem; flex-wrap: wrap;
}
.pd-thumb {
  flex: 0 0 calc(25% - .5rem);
  border-radius: 10px; overflow: hidden;
  border: 2px solid #e2e8f0;
  cursor: pointer; padding: 0;
  transition: border-color .2s, transform .2s;
  background: none;
}
.pd-thumb > div {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pd-thumb:hover img { transform: scale(1.08); }
.pd-thumb.active { border-color: var(--blue); }
.pd-thumb:hover { border-color: var(--blue); transform: translateY(-2px); }

/* ══════════════════════
   PRODUCT INFO
   ══════════════════════ */
.pd-info { display: flex; flex-direction: column; gap: 1.25rem; }

.pd-info__meta-top {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.pd-category-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  text-decoration: none;
  background: #eff6ff; padding: .28rem .75rem; border-radius: 99px;
  transition: background .15s;
}
.pd-category-tag:hover { background: #dbeafe; }
.pd-sku { font-size: .78rem; color: #94a3b8; }
.pd-sku strong { color: #64748b; }

.pd-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400; color: #0d1b2a;
  letter-spacing: .03em; text-transform: uppercase;
  line-height: 1.05;
}

.pd-rating-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.pd-rating-link {
  font-size: .82rem; font-weight: 600; color: var(--blue);
  text-decoration: none;
}
.pd-rating-link:hover { text-decoration: underline; }
.pd-stock {
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
}
.pd-stock svg { width: 14px; height: 14px; }
.pd-stock.in-stock { color: #16a34a; }
.pd-stock.out-stock { color: #e53e3e; }

.pd-price-wrap {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: #f8fafc; border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.pd-price {
  font-family: var(--font-sans); font-weight: 800;
}
.pd-price--sale { font-size: 2rem; color: #e53e3e; }
.pd-price--original { font-size: 1.15rem; color: #94a3b8; text-decoration: line-through; font-weight: 500; }
.pd-save-badge {
  background: #dcfce7; color: #15803d;
  font-size: .72rem; font-weight: 800;
  padding: .25rem .7rem; border-radius: 99px;
  letter-spacing: .06em; text-transform: uppercase;
}

.pd-short-desc {
  font-size: .9rem; color: #475569; line-height: 1.75;
}

/* Spec chips */
.pd-spec-chips {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.pd-spec-chip {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem;
  background: #eff6ff; border: 1.5px solid #bfdbfe;
  border-radius: 99px;
  font-size: .78rem; font-weight: 600; color: #1d4ed8;
}
.pd-spec-chip svg { width: 15px; height: 15px; flex-shrink: 0; }

.pd-divider { border: none; border-top: 1px solid #e2e8f0; }

/* Option groups */
.pd-option-group { display: flex; flex-direction: column; gap: .65rem; }
.pd-option-label {
  font-size: .78rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .08em;
}

.pd-option-swatches { display: flex; gap: .65rem; flex-wrap: wrap; }
.pd-swatch {
  display: flex; flex-direction: column;
  padding: .65rem 1.1rem;
  border: 2px solid #e2e8f0; border-radius: 10px;
  background: #fff; cursor: pointer; text-align: left;
  transition: border-color .15s, background .15s;
  min-width: 110px;
}
.pd-swatch:hover { border-color: var(--blue); background: #f8fbff; }
.pd-swatch.active { border-color: var(--blue); background: #eff6ff; }
.pd-swatch__name { font-size: .82rem; font-weight: 700; color: #0d1b2a; }
.pd-swatch__sub  { font-size: .7rem; color: #94a3b8; margin-top: .15rem; }
.pd-swatch.active .pd-swatch__name { color: var(--blue); }

.pd-finish-options { display: flex; gap: .5rem; }
.pd-finish-label {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem .9rem;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  cursor: pointer; font-size: .82rem; font-weight: 600; color: #475569;
  transition: all .15s;
}
.pd-finish-label:has(input:checked) { border-color: var(--blue); background: #eff6ff; color: var(--blue); }
.pd-finish-label input { display: none; }

/* Qty + ATC row */
.pd-add-row { display: flex; gap: .75rem; align-items: center; }
.pd-qty {
  display: flex; align-items: center;
  border: 2px solid #e2e8f0; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
}
.pd-qty__btn {
  width: 40px; height: 50px;
  background: #f8fafc; border: none;
  cursor: pointer; color: #475569;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.pd-qty__btn:hover { background: #e2e8f0; color: #0d1b2a; }
.pd-qty__btn svg { width: 15px; height: 15px; }
.pd-qty__input {
  width: 52px; height: 50px; border: none;
  text-align: center; font-family: var(--font-sans);
  font-size: .95rem; font-weight: 700; color: #0d1b2a;
  background: #fff;
  -moz-appearance: textfield;
}
.pd-qty__input::-webkit-inner-spin-button,
.pd-qty__input::-webkit-outer-spin-button { appearance: none; }

.pd-atc-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.5rem;
  background: var(--blue); color: #fff;
  border: none; border-radius: 10px;
  font-family: var(--font-sans); font-size: .85rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.pd-atc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.pd-atc-btn:hover { background: var(--blue-d); transform: translateY(-1px); }
.pd-atc-btn.added { background: #16a34a; }

.pd-wish-btn {
  width: 50px; height: 50px;
  border: 2px solid #e2e8f0; border-radius: 10px;
  background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; flex-shrink: 0;
  transition: border-color .15s, color .15s;
}
.pd-wish-btn svg { width: 20px; height: 20px; }
.pd-wish-btn:hover { border-color: #fca5a5; color: #e53e3e; }
.pd-wish-btn.active { border-color: #e53e3e; color: #e53e3e; }
.pd-wish-btn.active svg { fill: #e53e3e; stroke: #e53e3e; }

/* Trust row */
.pd-trust-row {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  padding: .9rem 1.1rem;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
}
.pd-trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; color: #15803d;
}
.pd-trust-item svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Meta table */
.pd-meta-table { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #e2e8f0; }
.pd-meta-row {
  display: flex; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .82rem;
}
.pd-meta-key { width: 80px; flex-shrink: 0; font-weight: 700; color: #64748b; }
.pd-meta-val { color: #475569; }
.pd-meta-val a { color: var(--blue); text-decoration: none; }
.pd-meta-val a:hover { text-decoration: underline; }
.pd-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.pd-tags a {
  background: #f1f5f9; padding: .2rem .55rem; border-radius: 99px;
  font-size: .7rem; font-weight: 600; color: #64748b;
  text-decoration: none; transition: background .15s, color .15s;
}
.pd-tags a:hover { background: #eff6ff; color: var(--blue); }

/* Share */
.pd-share-row {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; color: #64748b;
}
.pd-share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: #f1f5f9; border-radius: 8px;
  color: #64748b; text-decoration: none;
  transition: background .15s, color .15s;
}
.pd-share-btn svg { width: 15px; height: 15px; }
.pd-share-btn:hover { background: #eff6ff; color: var(--blue); }

/* ══════════════════════
   TABS SECTION
   ══════════════════════ */
.pd-tabs-section {
  background: #f8fafc;
  padding: 0 0 5rem;
  border-top: 1px solid #e2e8f0;
}
.pd-tab-nav {
  display: flex; flex-wrap: wrap;
  border-bottom: 2px solid #e2e8f0;
  background: #fff;
  position: sticky; top: 85px; z-index: 10;
}
.pd-tab-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: 1.1rem 1.75rem;
  border: none; background: none; cursor: pointer;
  font-family: var(--font-sans); font-size: .85rem; font-weight: 600;
  color: #64748b; letter-spacing: .02em;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.pd-tab-btn:hover { color: var(--blue); }
.pd-tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-count {
  background: var(--blue); color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: .15rem .45rem; border-radius: 99px;
}

.pd-tab-panels { padding-top: 2.5rem; }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }
.pd-tab-inner {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 16px; overflow: hidden;
}

/* ── Description tab ── */
.pd-description {
  display: grid; grid-template-columns: 1fr 300px; gap: 0;
}
.pd-desc-body {
  padding: 2.5rem 2.75rem;
  border-right: 1px solid #e2e8f0;
}
.pd-desc-body h3 {
  font-family: var(--font-serif); font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: #0d1b2a; margin-bottom: 1rem; font-weight: 400;
}
.pd-desc-body h4 {
  font-size: .95rem; font-weight: 700; color: #0d1b2a;
  margin: 1.5rem 0 .6rem; letter-spacing: .02em;
}
.pd-desc-body p {
  font-size: .9rem; color: #475569; line-height: 1.8; margin-bottom: .9rem;
}
.pd-desc-body ul {
  padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem;
  margin-bottom: .9rem;
}
.pd-desc-body li { font-size: .9rem; color: #475569; line-height: 1.6; }
.pd-desc-body li::marker { color: var(--blue); }

.pd-app-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
  margin-top: .75rem;
}
.pd-app-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .75rem 1rem;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: .82rem; font-weight: 600; color: #475569;
}
.pd-app-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Side callout */
.pd-desc-callout {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  background: #f8fafc;
}
.callout-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.25rem;
}
.callout-card h5 {
  font-size: .85rem; font-weight: 700; color: #0d1b2a; margin-bottom: .4rem;
}
.callout-card p { font-size: .78rem; color: #64748b; line-height: 1.6; margin-bottom: .85rem; }
.calc-field { margin-bottom: .75rem; }
.calc-field label { display: block; font-size: .72rem; font-weight: 700; color: #64748b; margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .06em; }
.calc-field input {
  width: 100%; padding: .55rem .75rem;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-family: var(--font-sans); font-size: .85rem; color: #0d1b2a;
  background: #f8fafc; outline: none;
  transition: border-color .2s;
}
.calc-field input:focus { border-color: var(--blue); background: #fff; }
.calc-result {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px;
  padding: .6rem .85rem; margin-bottom: .75rem;
  font-size: .82rem; color: #1d4ed8; display: flex; flex-direction: column; gap: .1rem;
}
.calc-result strong { font-size: 1.05rem; font-weight: 800; }
.calc-btn {
  width: 100%; padding: .6rem;
  background: var(--blue); color: #fff; border: none; border-radius: 8px;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; cursor: pointer;
  transition: background .2s;
}
.calc-btn:hover { background: var(--blue-d); }

.callout-card--cta {
  background: linear-gradient(135deg, #0d1b2a 0%, #015ea0 100%);
  border-color: transparent; text-align: center;
}
.callout-card--cta svg { width: 32px; height: 32px; margin-bottom: .6rem; }
.callout-card--cta h5 { color: #fff; }
.callout-card--cta p { color: rgba(255,255,255,.7); }
.callout-phone {
  display: block; font-size: 1.1rem; font-weight: 800; color: #39adff;
  text-decoration: none; margin-bottom: .75rem;
}
.callout-cta-btn {
  display: block; padding: .6rem 1rem;
  background: #39adff; color: #fff; border-radius: 8px;
  text-decoration: none; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s;
}
.callout-cta-btn:hover { background: #1e96e8; }

/* ── Specs tab ── */
.pd-specs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; padding: 2rem 2.5rem;
}
.spec-group { padding: 1.25rem; }
.spec-group:nth-child(odd) { border-right: 1px solid #e2e8f0; }
.spec-group:nth-child(-n+2) { border-bottom: 1px solid #e2e8f0; }
.spec-group__title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: #64748b;
  margin-bottom: .85rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.spec-table tr:hover td { background: #f8fafc; }
.spec-table td {
  padding: .45rem .25rem; color: #475569;
  border-bottom: 1px solid #f1f5f9; vertical-align: top;
}
.spec-table td:first-child { font-weight: 600; color: #334155; width: 50%; }

.pd-downloads { padding: 1.5rem 2.5rem 2rem; border-top: 1px solid #e2e8f0; }
.pd-downloads h4 {
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #64748b;
  margin-bottom: 1rem;
}
.pd-downloads-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.pd-download-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .65rem 1.1rem;
  border: 1.5px solid #e2e8f0; border-radius: 9px;
  background: #f8fafc; text-decoration: none;
  font-size: .8rem; font-weight: 600; color: #475569;
  transition: border-color .15s, color .15s, background .15s;
}
.pd-download-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.pd-download-item span {
  font-size: .65rem; background: #e2e8f0; color: #64748b;
  padding: .1rem .4rem; border-radius: 4px; font-weight: 700;
  margin-left: .25rem;
}
.pd-download-item:hover { border-color: var(--blue); color: var(--blue); background: #eff6ff; }

/* ── Application tab ── */
.pd-steps-guide { padding: 2.5rem; }
.pd-steps-guide h3 {
  font-family: var(--font-serif); font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: #0d1b2a; margin-bottom: .5rem; font-weight: 400;
}
.pd-steps-intro { font-size: .9rem; color: #64748b; line-height: 1.7; margin-bottom: 2rem; }

.pd-steps { display: flex; flex-direction: column; gap: 0; }
.pd-step {
  display: flex; gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}
.pd-step:last-child { border-bottom: none; }
.pd-step__num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 400;
  color: #e2e8f0; line-height: 1; flex-shrink: 0; width: 52px;
  text-align: center;
}
.pd-step:hover .pd-step__num { color: var(--blue); transition: color .2s; }
.pd-step__body h4 { font-size: .9rem; font-weight: 700; color: #0d1b2a; margin-bottom: .5rem; }
.pd-step__body p { font-size: .85rem; color: #475569; line-height: 1.75; }

.pd-tip-box {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px;
  margin-top: 1.5rem; font-size: .85rem; color: #1d4ed8; line-height: 1.65;
}
.pd-tip-box svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .15rem; }
.pd-tip-box strong { color: #1e3a8a; }

/* ── Reviews tab ── */
.pd-reviews-panel { padding: 2.5rem; }

.reviews-summary {
  display: grid; grid-template-columns: 160px 1fr auto;
  gap: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0; margin-bottom: 2rem;
  align-items: start;
}
.reviews-summary__score {
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem; text-align: center;
}
.score-big {
  font-family: var(--font-serif); font-size: 4rem; color: #0d1b2a;
  font-weight: 400; line-height: 1;
}
.score-label { font-size: .75rem; color: #94a3b8; font-weight: 500; }

.reviews-summary__bars { display: flex; flex-direction: column; gap: .45rem; }
.rating-bar {
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; color: #64748b; font-weight: 600;
}
.bar-wrap {
  flex: 1; height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden;
}
.bar-fill { height: 100%; background: #f59e0b; border-radius: 99px; transition: width .6s ease; }
.rating-bar span:last-child { width: 24px; text-align: right; }

.reviews-summary__write { text-align: center; }
.reviews-summary__write h5 { font-size: .9rem; font-weight: 700; color: #0d1b2a; margin-bottom: .3rem; }
.reviews-summary__write p { font-size: .78rem; color: #64748b; margin-bottom: .9rem; line-height: 1.5; }
.write-review-btn {
  padding: .65rem 1.4rem;
  border: 2px solid var(--blue); border-radius: 9px;
  background: none; color: var(--blue); cursor: pointer;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.write-review-btn:hover { background: var(--blue); color: #fff; }

.reviews-list { display: flex; flex-direction: column; gap: 1.5rem; }
.review-card {
  padding: 1.5rem; border: 1px solid #e2e8f0; border-radius: 12px;
  background: #f8fafc;
  transition: box-shadow .2s;
}
.review-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.review-card__head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; flex-wrap: wrap;
}
.reviewer-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: #0d1b2a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.reviewer-info { display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.reviewer-info strong { font-size: .9rem; color: #0d1b2a; }
.reviewer-info span { font-size: .75rem; color: #94a3b8; }
.review-rating { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.review-date { font-size: .72rem; color: #94a3b8; }
.review-card__verified {
  display: flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; color: #16a34a;
  margin-bottom: .6rem;
}
.review-card__verified svg { width: 13px; height: 13px; }
.review-card__title { font-size: .9rem; font-weight: 700; color: #0d1b2a; margin-bottom: .45rem; }
.review-card__body { font-size: .85rem; color: #475569; line-height: 1.75; }
.review-helpful {
  display: flex; align-items: center; gap: .5rem; margin-top: 1rem;
  font-size: .75rem; color: #94a3b8;
}
.helpful-btn {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 6px;
  padding: .25rem .65rem; cursor: pointer;
  font-family: var(--font-sans); font-size: .72rem; color: #64748b;
  transition: border-color .15s, color .15s;
}
.helpful-btn:hover { border-color: var(--blue); color: var(--blue); }
.helpful-btn.voted { opacity: .6; cursor: default; }

/* Review form */
.review-form-wrap {
  margin-top: 2rem; padding: 2rem;
  border: 1.5px solid #bfdbfe; border-radius: 14px;
  background: #eff6ff;
}
.review-form-wrap h4 {
  font-family: var(--font-serif); font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: #0d1b2a; margin-bottom: 1.25rem; font-weight: 400;
}
.review-form { display: flex; flex-direction: column; gap: 1rem; }
.rf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rf-field { display: flex; flex-direction: column; gap: .35rem; }
.rf-field label { font-size: .75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .07em; }
.rf-field input,
.rf-field textarea {
  padding: .65rem .85rem;
  border: 1.5px solid #bfdbfe; border-radius: 9px;
  font-family: var(--font-sans); font-size: .85rem; color: #0d1b2a;
  background: #fff; outline: none; resize: vertical;
  transition: border-color .2s;
}
.rf-field input:focus,
.rf-field textarea:focus { border-color: var(--blue); }
.star-picker { display: flex; gap: .3rem; }
.star-picker button {
  font-size: 1.8rem; background: none; border: none; cursor: pointer;
  color: #e2e8f0; transition: color .1s; padding: 0; line-height: 1;
}
.star-picker button.selected,
.star-picker button.hover { color: #f59e0b; }
.submit-review-btn {
  align-self: flex-start;
  padding: .75rem 2rem;
  background: var(--blue); color: #fff; border: none; border-radius: 9px;
  font-family: var(--font-sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
.submit-review-btn:hover { background: var(--blue-d); }

/* ══════════════════════
   RELATED PRODUCTS
   ══════════════════════ */
.pd-related {
  padding: 4rem 0 5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.pd-related__header { margin-bottom: 2rem; }
.pd-related__title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400; color: #0d1b2a;
  letter-spacing: .04em; text-transform: uppercase;
}
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}

/* ══════════════════════
   RESPONSIVE
   ══════════════════════ */
@media (max-width: 1100px) {
  .pd-layout { gap: 2.5rem; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; gap: 2rem; }
  .pd-gallery { position: static; }
  .pd-gallery__main-img { aspect-ratio: 4/3; }
  .pd-description { grid-template-columns: 1fr; }
  .pd-desc-callout { border-top: 1px solid #e2e8f0; }
  .pd-specs-grid { grid-template-columns: 1fr; }
  .spec-group:nth-child(odd) { border-right: none; }
  .spec-group:nth-child(-n+2) { border-bottom: 1px solid #e2e8f0; }
  .reviews-summary { grid-template-columns: 1fr 1fr; }
  .reviews-summary__write { grid-column: span 2; }
}

@media (max-width: 768px) {
  .pd-tabs-section { padding-bottom: 4rem; }
  .pd-tab-btn { padding: .9rem 1.1rem; font-size: .78rem; }
  .pd-steps-guide { padding: 1.5rem; }
  .pd-reviews-panel { padding: 1.5rem; }
  .rf-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pd-section { padding: 1.5rem 0 2.5rem; }
  .pd-layout { gap: 1.5rem; }
  .pd-title { font-size: 1.7rem; }
  .pd-price--sale { font-size: 1.6rem; }
  .pd-add-row { flex-wrap: wrap; }
  .pd-atc-btn { min-width: 0; }
  .pd-option-swatches { flex-direction: column; }
  .pd-swatch { min-width: 0; }
  .pd-tab-nav { overflow-x: auto; flex-wrap: nowrap; }
  .pd-tab-btn { white-space: nowrap; padding: .8rem 1rem; }
  .reviews-summary { grid-template-columns: 1fr; }
  .reviews-summary__write { grid-column: span 1; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .pd-gallery__thumbs { gap: .5rem; }
  .pd-thumb { flex-basis: calc(25% - .4rem); }
  .pd-desc-body { padding: 1.5rem; }
}
