/* Product page (toode/<slug>/). Builds on site.css tokens and components.
   Colour rule (owner): never light text on a light surface. The hero is a
   dark logo-style band (white / --on-dark-muted text, --sky accents); every
   section below it is light with --text / --text-muted / --blue-strong. */

.pp { overflow-x: clip; }

/* ---------- breadcrumbs (on the dark hero) ---------- */
.pp .crumbs { padding: 14px 0 6px; font-size: 13.5px; }
.pp .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.pp .crumbs li { display: inline-flex; align-items: center; color: var(--on-dark); min-width: 0; }
.pp .crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--on-dark-muted); }
.pp .crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.pp .crumbs a:hover { color: var(--on-dark); text-decoration: underline; }
.pp .crumbs li[aria-current] { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- hero: media | info ---------- */
.pp-hero {
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 50% 60% at 28% 55%, rgba(92, 196, 247, 0.16), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--night) 65%, var(--night-2) 100%);
  padding-bottom: 44px;
}
.pp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 18px; }
.pp-media { position: relative; margin: 0; background: #fff; border-radius: 22px; padding: clamp(14px, 3vw, 36px); box-shadow: 0 0 0 1px rgba(92, 196, 247, .25), 0 24px 60px rgba(0, 0, 0, .45); max-width: 560px; width: 100%; justify-self: center; }
.pp-media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.pp-media .badge-sale { position: absolute; left: 16px; top: 16px; }

.pp-info { min-width: 0; }
.pp-name { margin: 6px 0 12px; font-size: clamp(28px, 4vw, 48px); line-height: 1.08; font-style: italic; font-weight: 850; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.pp-dir { margin: 0 0 16px; font-size: 17px; color: var(--on-dark-muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pp-dir strong { color: var(--on-dark); font-size: 19px; }
.pp-dir-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); align-self: center; }
.pp-throw { font-size: 14px; }
.pp-info .fn { max-width: 420px; gap: 6px; }
.pp-info .fn span { font-size: 22px; padding: 8px 0 6px; border-radius: 10px; color: var(--text); background: #fff; }
.pp-info .fn small { font-size: 11px; color: var(--text-muted); }
.pp-range { margin: 12px 0 0; color: var(--on-dark-muted); font-size: 15px; }

.pp-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.pp-price { margin: 0; font-size: clamp(30px, 3.4vw, 38px); font-weight: 850; letter-spacing: -0.01em; }
.pp-price s { font-size: 18px; font-weight: 600; color: var(--on-dark-muted); margin-left: 8px; }
.pp-stock { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 14px; color: var(--on-dark); background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 5px 12px; }
.pp-stock span { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px rgba(61, 220, 132, .7); }
.pp-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.pp-cta .btn { padding: 14px 28px; font-size: 17px; }
.pp-cta-link { color: var(--on-dark); font-weight: 700; font-size: 15px; text-underline-offset: 3px; }
.pp-cta-link:hover { color: var(--sky); }

/* ---------- light sections ---------- */
.pp-sec { padding: 56px 0; background: var(--paper); }
.pp-sec-light { background: var(--card); border-block: 1px solid var(--line); }
.pp-sec h2 { margin: 4px 0 22px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-style: italic; font-weight: 850; letter-spacing: -0.02em; color: var(--text); }
.pp-sec .eyebrow-light { color: var(--blue-strong); }

/* flight numbers explained */
.pp-fn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.pp-fn-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 18px; }
.pp-fn dt { display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.pp-fn-num { font-size: 40px; line-height: 1; font-style: italic; font-weight: 850; letter-spacing: -0.02em; color: var(--text); text-transform: none; }
.pp-fn dd { margin: 10px 0 0; color: var(--text); font-size: 15px; }

/* flight chart + sentences */
.pp-flight { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
.pp-chart {
  position: relative; margin: 0; width: 240px; padding: 34px 44px 54px; border-radius: 22px; color: var(--on-dark);
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(92, 196, 247, .14), transparent 70%), var(--night);
  box-shadow: 0 18px 40px rgba(6, 11, 19, .25);
}
.pp-chart-svg { display: block; width: 152px; height: 380px; }
.pp-chart-top, .pp-chart-bottom { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.pp-chart-top { top: 12px; }
.pp-chart-bottom { bottom: 30px; }
.pp-chart-side { position: absolute; top: 50%; font-size: 12px; font-weight: 700; color: var(--on-dark-muted); writing-mode: vertical-rl; }
.pp-chart-l { left: 12px; transform: translateY(-50%) rotate(180deg); }
.pp-chart-r { right: 12px; transform: translateY(-50%); }
.pp-chart figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 11.5px; color: var(--on-dark-muted); }
.pp-flight-lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--text); margin: 0 0 18px; max-width: 720px; }
.pp-view { margin: 0 0 8px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #e3f1fa; color: var(--text); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.pp-view-label { color: var(--text-muted); font-weight: 700; }
.pp-view strong { color: var(--blue-strong); }
.pp-note { margin: 8px 0 0; color: var(--text-muted); font-size: 15px; max-width: 720px; }

/* who it suits + personal verdict */
.pp-fit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pp-fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-fit-list li { position: relative; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text); font-size: 16px; }
.pp-fit-list li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-strong); }
.pp-fit-list li.is-ok::before { background: #1b7f3b; }
.pp-fit-list li.is-warn::before { background: #b45309; }
.pp-verdict { border-radius: var(--radius); padding: 22px; background: var(--night); color: var(--on-dark); box-shadow: var(--shadow); border: 2px solid transparent; }
.pp-verdict-title { margin: 0 0 6px; font-size: 22px; font-weight: 850; font-style: italic; color: var(--on-dark); }
.pp-verdict-text { margin: 0 0 14px; color: var(--on-dark-muted); font-size: 15.5px; }
.pp-verdict .btn-dark { background: #fff; color: var(--text); }
.pp-verdict .btn-dark:hover { background: #e3f1fa; }
.pp-verdict.is-ok { border-color: #3ddc84; }
.pp-verdict.is-ok .pp-verdict-title::before { content: "✓ "; color: #3ddc84; }
.pp-verdict.is-warn { border-color: var(--left); }
.pp-verdict.is-warn .pp-verdict-title::before { content: "! "; color: var(--left); }

/* weights, colours, supplier text */
.pp-spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.pp-spec h3 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.pp-spec .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-spec .chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; background: var(--card); color: var(--text); font-weight: 650; }
.pp-spec-note { margin: 14px 0 0; color: var(--text-muted); font-size: 14px; }
.pp-desc { color: var(--text); font-size: 16px; overflow-wrap: anywhere; }
.pp-desc p { margin: 0 0 12px; }
.pp-desc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* related discs: .card from site.css, laid out horizontally (thumb | text)
   so six of them fit in two compact rows. */
.pp-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-related .card { flex-direction: row; }
.pp-related .card-media { display: block; flex: none; width: 148px; aspect-ratio: auto; padding: 12px; align-self: center; }
.pp-related .card-media img { aspect-ratio: 1; height: auto; }
.pp-related .card-flight { width: 26px; height: 50px; right: 6px; top: 6px; padding: 3px; border-radius: 8px; }
.pp-related .badge-sale { left: 6px; top: 6px; font-size: 11px; padding: 2px 8px; }
.pp-related .card-body { border-top: 0; border-left: 1px solid var(--line); min-width: 0; }
.pp-related .card-body > span { display: block; }
.pp-related .card-body > .fn { display: grid; }
.pp-related .card-body > .card-foot { display: flex; }
.pp-related .card-name { font-size: 15px; display: -webkit-box; min-height: 0; }
.pp-related .card-arm { font-size: 12.5px; }
.pp-related .price { font-size: 18px; }
.pp-related .price small { font-size: 12px; font-weight: 700; color: var(--text-muted); }

/* FAQ + category links */
.pp-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px 48px; align-items: start; }
.pp-faq-wrap > h2 { grid-column: 1 / -1; }
.pp-faq { display: grid; gap: 12px; }
.pp-faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.pp-faq-item h3 { margin: 0 0 6px; font-size: 17px; color: var(--text); }
.pp-faq-item p { margin: 0; color: var(--text); font-size: 15.5px; }
.pp-cats { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pp-cats h2 { margin: 0 0 10px; font-size: 18px; font-style: normal; }
.pp-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-cats a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #e3f1fa; color: var(--blue-strong); font-weight: 700; font-size: 14px; text-decoration: none; }
.pp-cats a:hover { background: var(--night); color: #fff; border-color: var(--night); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .pp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pp-top { grid-template-columns: 1fr; gap: 26px; }
  .pp-media { max-width: 440px; }
  .pp-fn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-fit, .pp-spec, .pp-faq-wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .pp-sec { padding: 40px 0; }
  .pp-hero { padding-bottom: 32px; }
  .pp-flight { grid-template-columns: 1fr; gap: 24px; }
  .pp-chart { justify-self: center; width: 200px; padding: 32px 34px 50px; }
  .pp-chart-svg { width: 132px; height: 300px; }
  .pp-related { grid-template-columns: 1fr; gap: 12px; }
  .pp-related .card-media { width: 112px; padding: 8px; }
  .pp-related .card-body { padding: 10px 12px 12px; }
  .pp-cta .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .pp-fn { grid-template-columns: 1fr; }
  .pp-fn-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
  .pp-fn dd { margin: 0; }
}

/* four-step verdict (border + icon colour carry the meaning) */
.pp-verdict.is-yes { border-color: #2fd47a; }
.pp-verdict.is-likely { border-color: #8fdcae; }
.pp-verdict.is-unlikely { border-color: #ffb547; }
.pp-verdict.is-no { border-color: #ff6b6b; }
.pp-verdict-icon:empty { display: none; }
.pp-verdict-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; font-style: normal; font-size: 17px; font-weight: 900; vertical-align: 3px; }
.pp-verdict.is-yes .pp-verdict-icon { background: #2fd47a; color: #04130a; }
.pp-verdict.is-likely .pp-verdict-icon { background: #8fdcae; color: #04130a; }
.pp-verdict.is-unlikely .pp-verdict-icon { background: #ffb547; color: #1d1200; }
.pp-verdict.is-no .pp-verdict-icon { background: #ff6b6b; color: #1f0606; }
.pp-recs[hidden], .pp-recs-list[hidden] { display: none; }
.pp-recs { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.pp-recs-title { margin: 0 0 10px; font-weight: 800; color: #fff; }
.pp-recs-list { display: grid; gap: 8px; }
.pp-rec { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.pp-rec:hover { border-color: #5cc4f7; background: rgba(92, 196, 247, .1); }
.pp-rec img { width: 52px; height: 52px; border-radius: 50%; background: #fff; object-fit: cover; }
.pp-rec-text { display: flex; flex-direction: column; min-width: 0; }
.pp-rec-name { font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-rec-meta { font-size: 13px; color: #b4c3d3; }
.pp-rec-fit { font-size: 12px; font-weight: 800; color: #04130a; background: #2fd47a; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }

.pp-real { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(92, 196, 247, .1); border: 1px solid rgba(92, 196, 247, .3); font-size: 14.5px; color: var(--text); }
.pp-sec:not(.pp-sec-light) .pp-real { color: inherit; }

.pp-land { margin: 10px 0 0; font-size: 15px; }
.pp-land-note { color: var(--text-muted); font-size: 13px; }
