/* Product detail page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 36px 24px 56px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: flex-start;
}
@media (max-width: 1000px) { .product-detail-grid { grid-template-columns: 1fr; gap: 32px; } }

.pd-gallery { position: sticky; top: 80px; }
@media (max-width: 1000px) { .pd-gallery { position: static; } }
.pd-img-main {
  background: linear-gradient(135deg, #0d0e12 0%, #1c1f25 100%);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}
.pd-img-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-img-main.no-image::after {
  content: "📷 HD photo coming soon";
  position: absolute;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 8px 14px;
  border-radius: 6px;
  bottom: 16px;
}
.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.pd-thumb {
  flex: 0 0 80px;
  width: 80px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--orange); border-width: 2px; }

.pd-info { padding-top: 4px; }
.pd-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.pd-info h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.pd-sku {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.pd-price { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; }
.pd-price small { font-size: 13px; color: var(--text-3); font-weight: 500; margin-right: 6px; }
.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-3);
  font-size: 12.5px;
  font-weight: 600;
}
.pd-stock::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pd-stock.in    { color: var(--green); background: rgba(46,204,113,0.08); }
.pd-stock.low   { color: var(--warn);  background: rgba(245,166,35,0.08); }
.pd-stock.out   { color: var(--text-3); }

.pd-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.pd-desc strong { color: var(--text); }
.pd-desc p { margin: 0 0 10px; }
.pd-desc ul, .pd-desc ol { margin: 8px 0; padding-left: 20px; }

.pd-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pd-actions .btn { flex: 1; min-width: 160px; }
.pd-qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.pd-qty-wrap label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.1px; font-weight: 700; }
.pd-qty {
  display: flex;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pd-qty button {
  width: 36px; height: 36px;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.pd-qty button:hover { background: var(--bg-4); }
.pd-qty input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.pd-promises {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.pd-promises ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-promises li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.pd-promises li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

.pd-share {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pd-share a {
  color: var(--text-2);
  font-weight: 600;
  transition: color .15s;
}
.pd-share a:hover { color: var(--orange); }

/* Related / additional info section */
.pd-tabs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 48px;
}
.pd-tab-content {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.pd-tab-content h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.pd-related {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 64px;
}
.pd-related .section-head { margin-bottom: 24px; }
