/* ============================================================
   product-detail.css
   Page-specific styles for /products/<slug>.html (src/product.njk).
   Loaded via {% block headExtra %} — same pattern as our-story.css
   and catalog.css. Reuses global tokens from style.css (colors,
   fonts, radius, shadow) so nothing here redefines the design system.
============================================================ */

.pdp-hero { padding-top: 24px; }

.pdp-hero .pdp-crumb { margin-bottom: 24px; }

.pdp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 860px) {
  .pdp-hero-grid {
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 56px;
  }
}

.pdp-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--c-cream-soft);
}

.pdp-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pdp-icon-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--c-cream-soft);
}
.pdp-icon-figure .icon { width: 96px; height: 96px; color: var(--c-forest); opacity: 0.5; }

.pdp-info h1 {
  margin-top: 8px;
  margin-bottom: 4px;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--c-ink);
}

.pdp-name-ur {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.15em;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
  text-align: right;
}

.pdp-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15em;
  color: var(--c-forest);
  margin: 0 0 12px;
}

.pdp-desc {
  color: var(--c-ink-soft);
  line-height: 1.65;
  margin: 0 0 20px;
}

.pdp-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pdp-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-ink);
  font-size: 0.96em;
}
.pdp-benefits .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--c-forest);
}

/* Buy box — wraps the reused .product-card macro output so it reads
   as an intentional purchase panel rather than a stray catalog card. */
.pdp-buybox {
  max-width: 420px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 4px;
  background: var(--c-paper);
}
.pdp-buybox .product-card {
  box-shadow: none;
  border: none;
}

/* ---------------------------------------------------------------
   Sourcing / Usage / Storage
--------------------------------------------------------------- */
.pdp-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .pdp-details-grid { grid-template-columns: repeat(3, 1fr); }
}

.pdp-detail-card {
  background: var(--c-cream-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.pdp-detail-card .icon {
  width: 26px;
  height: 26px;
  color: var(--c-honey);
  margin-bottom: 10px;
}
.pdp-detail-card h2 {
  font-size: 1.15em;
  margin: 0 0 10px;
  color: var(--c-ink);
}
.pdp-detail-card p {
  color: var(--c-ink-soft);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95em;
}

.pdp-more-help {
  margin-top: 28px;
  text-align: center;
  color: var(--c-ink-soft);
  font-size: 0.94em;
}
.pdp-more-help a { color: var(--c-forest); font-weight: 600; }
.pdp-more-help a:hover { text-decoration: underline; }

.pdp-related { padding-top: 8px; }
