/* Made Hero Collective — product detail (family 2 traits) */

.product-detail-section { padding-top: 130px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 900px) { .product-detail-grid { grid-template-columns: 1fr; gap: 32px; } }

.product-image-panel {
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  aspect-ratio: 4/5;
}
.product-image-panel img { width: 100%; height: 100%; object-fit: cover; }

.thumb-strip { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; }
.thumb {
  flex: 0 0 auto; width: 68px; height: 68px; border-radius: 0; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--surface);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--accent); }

.product-info-panel { padding-top: 6px; }
.product-title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 8px 0 16px; letter-spacing: 0.01em;
}

.product-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.price-now { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.price-was { font-size: 1.05rem; color: var(--text-faint); text-decoration: line-through; }

.product-description { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

.field-label {
  display: block; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}

.size-block { margin-bottom: 26px; }
.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-option {
  min-width: 52px; padding: 10px 16px; border-radius: 0;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-display); font-weight: 500; font-size: 0.86rem; cursor: pointer;
  transition: all 0.18s ease;
}
.size-option:hover:not(.disabled) { border-color: var(--accent); }
.size-option.active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.size-option.disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; filter: grayscale(30%); }

.qty-add-row { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.quantity-container { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 0; overflow: hidden; }
.quantity-container .quantity-btn { width: 42px; height: 48px; background: var(--surface); color: var(--text); border: 0; font-size: 1.1rem; cursor: pointer; }
.quantity-container input { width: 48px; height: 48px; text-align: center; background: var(--bg); color: var(--text); border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 1rem; }

.add-to-cart-btn {
  flex: 1; min-width: 200px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.add-to-cart-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(143,35,24,0.4); }
.add-to-cart-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.stock-pill { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 30px; }
.stock-pill.success { color: #6fbf73; }
.stock-pill.error { color: var(--accent); }

.related-block { border-top: 1px solid var(--border); padding-top: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { display: block; }
.related-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; margin-bottom: 8px; background: var(--surface); }
.related-card span { display: block; font-size: 0.78rem; color: var(--text-muted); }
.related-price { color: var(--text) !important; font-weight: 600; margin-top: 2px; }
