/* A product's web page (templates/product_page.html). The printable card keeps card.css's A4
   layout; this page uses the screen: a full-width hero, then a reading column and a sticky
   sidebar with prices and facts. card.css still styles the coverage bars. */

.pp-hero { position: relative; color: var(--white); background: #2f3a33 var(--pp-hero, none) center/cover; }
.pp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,35,33,.92) 0%, rgba(31,35,33,.78) 45%, rgba(31,35,33,.35) 100%); }
.pp-hero-inner { position: relative; padding-top: 26px; padding-bottom: 44px; }
.pp-crumbs, .pp-crumbs a { color: rgba(255,255,255,.75); }
.pp-crumbs strong { color: var(--white); }
.pp-title { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.pp-mark { flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.pp-eyebrow { font-family: var(--title); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--orange); }
.pp-hero h1 { font-family: var(--title); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; margin: 4px 0 0; color: var(--white); }
.pp-edition { margin: 8px 0 0; color: rgba(255,255,255,.8); font-size: 14px; }
.pp-tagline { max-width: 640px; font-size: 19px; line-height: 1.5; margin: 22px 0 26px; color: rgba(255,255,255,.92); }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }

.pp-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-top: 44px; }
.pp-main { min-width: 0; }
.pp-intro .lead { font-size: 18px; font-weight: 600; line-height: 1.5; }
.pp-intro p { max-width: 70ch; }
.pp-offer { background: #fff6e3; border-left: 3px solid var(--orange); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.pp-section { margin-top: 52px; }
.pp-section h2 { font-family: var(--title); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.pp-map { height: 460px; margin-top: 16px; box-shadow: var(--shadow); }
.pp-legend-row { display: flex; gap: 6px; align-items: center; }
.pp-legend-row i { width: 12px; height: 12px; display: inline-block; border-radius: 2px; flex: none; }

.pp-coverage { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 32px; align-items: center; background: #f7f6f3; padding: 26px 30px; border-radius: var(--radius); }
.pp-coverage .cov-map img { width: 100%; display: block; }

.pp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-point { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 20px 22px; }
.pp-habitats ~ .pp-body .pp-point h3, .pp-point h3 { font-family: var(--title); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--orange); margin: 0 0 10px; }
.pp-point ul { margin: 0; padding-left: 18px; font-size: 14px; }
.pp-point li { margin-bottom: 6px; }

.pp-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pp-use { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 4px; font-size: 14px; }
.pp-use strong { font-size: 15px; }

.pp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pp-gallery figure { margin: 0; }
.pp-gallery img { width: 100%; display: block; border-radius: var(--radius); border: 1px solid #e2e2df; }
.pp-gallery figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.pp-attrib { font-size: 12px; color: #8a8a86; margin-top: 10px; }
.pp-report-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pp-report-pages img { width: 100%; border: 1px solid #deded9; }

.pp-file { font-family: var(--title); font-size: 13px; color: var(--ink-soft); margin: 18px 0 6px; }
.pp-fields { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-fields th { width: 140px; text-align: left; vertical-align: top; font-family: var(--title); font-weight: 400; font-size: 13px; letter-spacing: .03em; background: #f4f4f2; padding: 9px 12px; border: 1px solid #e4e3df; }
.pp-fields td { padding: 9px 12px; border: 1px solid #e4e3df; vertical-align: top; }
.pp-not-online { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }

.pp-side { position: sticky; top: 96px; }
.pp-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); box-shadow: var(--shadow); }
.pp-box h2 { font-family: var(--title); font-weight: 400; font-size: 18px; margin: 0 0 12px; }
.pp-prices { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.pp-prices th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-soft); padding: 0 0 6px; }
.pp-prices th:last-child, .pp-prices td:last-child { text-align: right; }
.pp-prices td { padding: 7px 0; border-top: 1px solid #efeeea; font-variant-numeric: tabular-nums; }
.pp-note { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 16px; }
.pp-free { font-size: 18px; font-weight: 600; }
.pp-box .pp-actions { flex-direction: column; }
.pp-box .pp-actions .btn { width: 100%; }
.pp-facts { margin: 20px 0 0; font-size: 13.5px; display: grid; gap: 4px 0; }
.pp-facts dt { font-family: var(--title); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; color: var(--ink-soft); margin-top: 10px; }
.pp-facts dd { margin: 0; }

.pp-related { margin-top: 64px; }
.pp-related h2 { font-size: 22px; }

@media (max-width: 1020px) {
  .pp-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pp-side { position: static; order: -1; }
}
@media (max-width: 720px) {
  .pp-title { gap: 14px; margin-top: 22px; }
  .pp-mark svg { width: 44px; height: auto; }
  .pp-tagline { font-size: 16px; }
  .pp-points, .pp-uses { grid-template-columns: minmax(0, 1fr); }
  .pp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-report-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-coverage { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .pp-coverage .cov-map { max-width: 240px; }
  .pp-map { height: 380px; }
  .pp-fields th { width: 110px; }
}
