/* Product page (/product/{id}) on top of site-shell.css */
.pp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 40px;
  align-items: start;
}
.pp-gallery { position: sticky; top: 140px; }
.pp-main-image {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: var(--img-well);
  border: 0;
  border-radius: 16px;
}
.pp-main-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pp-thumb {
  flex: 0 0 76px; height: 76px; padding: 6px; background: var(--img-well); cursor: pointer;
  border: 1px solid var(--ml-border); border-radius: 8px;
}
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-thumb.is-active, .pp-thumb:hover { border-color: var(--ml-accent); box-shadow: 0 0 0 2px var(--ml-accent-lt); }

.pp-buy {
  background: var(--ml-card);
  border: 1px solid var(--ml-border);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--ml-shadow);
}
.pp-eyebrow { margin: 0 0 10px; color: var(--ml-accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pp-buy h1 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; }
.pp-brand { margin: 0 0 14px; color: var(--ml-text2); }
.pp-brand strong { color: var(--ml-text); }
.pp-status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px;
  border-radius: 999px; font-size: .9rem; font-weight: 600;
}
.pp-status span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pp-status-in { background: var(--ok-bg); color: var(--ok-fg); }
.pp-status-pre { background: var(--warn-bg); color: var(--warn-fg); }
.pp-status-out { background: var(--surface-3); color: var(--text2); }
.pp-price { padding: 18px 0; margin-bottom: 18px; border-block: 1px solid var(--ml-border); display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.pp-price strong { font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.pp-price .pp-on-request { font-size: 1.5rem; }
.pp-old-price { color: var(--ml-text2); text-decoration: line-through; font-size: 1.1rem; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-actions .ml-btn { flex: 1 1 200px; white-space: nowrap; }
.pp-actions .ml-btn-ghost { flex: 1 1 160px; }
.pp-cart-message { min-height: 1.4em; margin: 10px 0 0; color: var(--ml-accent); font-weight: 600; font-size: .92rem; }
.pp-call {
  display: flex; gap: 12px; align-items: center; margin-top: 8px; padding: 14px 16px;
  background: var(--ml-soft); border-radius: 10px; color: var(--ml-text); text-decoration: none;
}
.pp-call:hover { background: var(--ml-accent-lt); }
.pp-call svg { color: var(--ml-accent); flex-shrink: 0; }
.pp-call span { display: flex; flex-direction: column; }
.pp-call small { color: var(--ml-text2); font-size: .82rem; }
.pp-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.pp-facts li { display: flex; gap: 12px; font-size: .92rem; color: var(--ml-text2); }
.pp-facts svg { color: var(--ml-accent); flex-shrink: 0; margin-top: 2px; }
.pp-facts strong { display: block; color: var(--ml-text); }

.pp-card {
  margin-top: 28px;
  background: var(--ml-card);
  border: 1px solid var(--ml-border);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 36px);
}
.pp-card h2 { margin: 0 0 14px; font-size: 1.35rem; letter-spacing: -.01em; }
.pp-description { max-width: 860px; color: var(--text2); line-height: 1.75; }
.pp-more { margin-top: 16px; max-width: 860px; }
.pp-more summary { cursor: pointer; color: var(--ml-accent); font-weight: 700; }
.pp-more div { margin-top: 12px; color: var(--text2); line-height: 1.75; }
.pp-table { overflow-x: auto; }
.pp-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pp-table th, .pp-table td { padding: 12px 14px; border-bottom: 1px solid var(--ml-border); text-align: left; vertical-align: top; }
.pp-table th { width: 38%; color: var(--ml-text2); font-weight: 600; background: var(--surface-2); }
.pp-table tr:last-child th, .pp-table tr:last-child td { border-bottom: 0; }

.pp-empty { padding: 72px 0 24px; max-width: 720px; }
.pp-empty h1 { font-size: 2rem; margin: 0 0 12px; }
.pp-empty p { color: var(--ml-text2); }
.pp-empty .pp-actions { display: flex; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 900px) {
  .pp-hero { grid-template-columns: 1fr; gap: 20px; }
  .pp-gallery { position: static; }
  .pp-main-image { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .pp-table th { width: 45%; }
}

/* v8: calmer buy box */
.pp-buy { box-shadow: none; border-radius: 16px; }
.pp-card { border-radius: 16px; }
.pp-thumb { background: var(--img-well); border-color: transparent; }

