/* DirectorPM product-page styles.
   Extracted from PAGE_TEMPLATE in scripts/build_site.py on 2026-07-16. All 19
   generated product pages inlined a byte-identical copy of this (6.9KB x 19 =
   ~132KB re-downloaded across the catalog with no cross-page cache reuse).
   Edit the template, not this file: the build regenerates it.
   Loaded BEFORE /assets/site.css so the shared chrome still wins. */

  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --ink: #1a1a1a; --text: #333; --muted: #666; --light: #767676;
    --bg: #fafaf7; --card: #ffffff; --border: #e8e8e0;
    --accent: #2563eb; --accent-hover: #1d4ed8;
    --green: #059669; --amber: #d97706; --red: #dc2626;
    --highlight: #eff6ff;
  }
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  nav { background: var(--ink); color: white; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
  .nav-brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
  .nav-brand span { color: var(--accent); }
  .nav-links { display: flex; gap: 24px; align-items: center; }
  .nav-links a { color: #ccc; text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: white; }
  .nav-cta { background: var(--accent); color: white !important; padding: 8px 18px; border-radius: 6px; font-weight: 600; }
  .nav-cta:hover { background: var(--accent-hover); }
  .product-hero { max-width: 1100px; margin: 0 auto; padding: 56px 24px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .product-gallery { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
  .gallery-main { width: 100%; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 12px; display: block; }
  .gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gallery-thumbs img { width: 100%; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; opacity: 0.7; transition: opacity 0.2s, border-color 0.2s; }
  .gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--accent); }
  .product-info .crumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
  .product-info .crumb a { color: var(--accent); text-decoration: none; }
  .product-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
  .tag-blue { background: var(--highlight); color: var(--accent); }
  .tag-green { background: #ecfdf5; color: var(--green); }
  .tag-amber { background: #fffbeb; color: var(--amber); }
  .tag-red { background: #fef2f2; color: var(--red); }
  .product-info h1 { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 14px; }
  .product-info .subhead { font-size: 1.02rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
  .price-block { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
  .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
  .price-now { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
  .price-label { font-size: 0.88rem; color: var(--muted); }
  .price-meta { font-size: 0.84rem; color: var(--green); font-weight: 600; margin-bottom: 18px; }
  .buy-btn { display: block; width: 100%; text-align: center; padding: 16px; background: var(--accent); color: white; border: none; border-radius: 8px; font-size: 1.02rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.1s; }
  .buy-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
  .buy-sub { text-align: center; font-size: 0.82rem; color: var(--light); margin-top: 10px; }
  .bundle-nudge { background: var(--highlight); border: 1px solid #dbeafe; border-radius: 10px; padding: 16px 20px; font-size: 0.9rem; color: var(--text); line-height: 1.6; }
  .bundle-nudge strong { color: var(--ink); }
  .bundle-nudge a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .library-cta { background: #fef7ec; border: 1px solid #f5deb6; border-top: 3px solid #7a1f1f; border-radius: 10px; padding: 16px 20px; font-size: 0.9rem; color: var(--text); line-height: 1.6; margin-top: 14px; }
  .library-cta strong { color: var(--ink); }
  .library-cta a { color: #7a1f1f; font-weight: 700; text-decoration: none; }
  .library-cta .badge { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 4px; background: #7a1f1f; color: white; margin-bottom: 6px; }
  .includes-section { max-width: 1100px; margin: 0 auto; padding: 32px 24px 64px; }
  .includes-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.02em; }
  .includes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .include-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
  .include-card .icon { width: 36px; height: 36px; border-radius: 8px; background: var(--highlight); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
  .include-card h3 { font-size: 0.98rem; color: var(--ink); margin-bottom: 6px; }
  .include-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
  .why-section { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 24px; }
  .why-inner { max-width: 760px; margin: 0 auto; }
  .why-inner h2 { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 18px; letter-spacing: -0.02em; }
  .why-inner p { font-size: 1rem; color: var(--text); line-height: 1.8; margin-bottom: 16px; }
  .why-inner blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--muted); font-style: italic; }
  .related-section { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
  .related-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.02em; }
  .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .related-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.15s; }
  .related-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
  .related-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
  .related-card p { font-size: 0.86rem; color: var(--muted); margin-bottom: 12px; }
  .related-price { font-size: 0.84rem; font-weight: 700; color: var(--accent); }
  footer { text-align: center; padding: 32px 24px; font-size: 0.82rem; color: var(--light); border-top: 1px solid var(--border); }
  footer a { color: var(--muted); text-decoration: none; }
  @media (max-width: 768px) {
    .product-hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 18px; }
    .product-info h1 { font-size: 1.7rem; }
  }
