/* ============================================================
   product-detail.css — product-detail.php
   Simple two-column layout: image on one side, name/price/
   description/CTA on the other. Same palette as the rest of the
   storefront (pine/brass/cream, see index.php's :root vars).
   ============================================================ */

.pd-page { padding: 40px 0 72px; }

.pd-breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.pd-breadcrumb a { color: var(--muted); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--pine); text-decoration: underline; }
.pd-breadcrumb .sep { margin: 0 6px; }
.pd-breadcrumb .current { color: var(--ink); font-weight: 600; }

.pd-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .pd-layout { grid-template-columns: minmax(0, 480px) 1fr; gap: 48px; align-items: start; }
}

.pd-image {
  aspect-ratio: 1 / 1;
  background: var(--pine-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.pd-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-image .cat-placeholder { color: var(--muted); font-weight: 600; }

.pd-category {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brass);
  font-weight: 700;
  background: var(--brass-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pd-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
  margin-bottom: 10px;
}
.pd-description {
  color: var(--ink);
  opacity: .85;
  line-height: 1.75;
  margin-bottom: 28px;
  white-space: pre-line;
}
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pd-btn:hover { transform: translateY(-2px); }
.pd-btn-primary { background: var(--pine); color: #fff; }
.pd-btn-primary:hover { box-shadow: 0 10px 24px rgba(23,64,46,.25); color: #fff; }
.pd-btn-outline { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); }
.pd-btn-outline:hover { background: var(--pine-soft); color: var(--pine); }

.pd-notfound { text-align: center; padding: 90px 20px; color: var(--muted); }
.pd-notfound h1 { color: var(--ink); margin-bottom: 10px; font-family: 'Sora', system-ui, sans-serif; }
