/* ═══════════════════════════════════════════════════════
   PRAMENO Product Detail Page — Rich Layout System
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. HERO — split with floating badges
───────────────────────────────────────── */
.pd-hero {
  background: linear-gradient(150deg, var(--pr-ez-50) 0%, #fff 55%, var(--pr-teal-50) 100%);
  padding: clamp(48px, 6vw, 84px) 32px;
  border-bottom: 1px solid var(--pr-color-border);
  overflow: hidden;
}
.pd-hero-inner {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

/* Product image + floating badges */
.pd-hero-img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}
.pd-hero-img .pd-main-img {
  max-height: 460px;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(6,56,84,0.20));
  position: relative;
  z-index: 1;
}

/* Floating stat badges */
.pd-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 28px rgba(6,56,84,0.14), 0 2px 8px rgba(6,56,84,0.06);
  text-align: center;
  min-width: 100px;
  z-index: 2;
}
@keyframes pdBadgeFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
.pd-badge:nth-child(1) { top: 8%;  right: 0;    animation: pdBadgeFloat 6s ease-in-out 0s   infinite; }
.pd-badge:nth-child(2) { top: 42%; right: -4%;  animation: pdBadgeFloat 6s ease-in-out 2s   infinite; }
.pd-badge:nth-child(3) { bottom: 8%; right: 2%;  animation: pdBadgeFloat 6s ease-in-out 4s   infinite; }
.pd-badge-val {
  display: block;
  font-family: var(--pr-font-data);
  font-size: 20px;
  font-weight: 700;
  color: var(--pr-color-reduction);
  line-height: 1.1;
  letter-spacing: 0;
}
.pd-badge-val.blue  { color: var(--pr-color-secondary); }
.pd-badge-val.navy  { color: var(--pr-ez-700); font-size: 15px; }
.pd-badge-lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pr-color-muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* Hero text */
.pd-hero-text { display: flex; flex-direction: column; gap: 0; }
.pd-hero-text > .pr-btn { align-self: flex-start; }
.pd-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pr-color-secondary);
  margin-bottom: 14px;
}
.pd-hero h1 {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  color: var(--pr-color-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.pd-hero-subtitle {
  font-family: var(--pr-font-display-en);
  font-style: italic;
  color: var(--pr-color-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}
.pd-hero-lead {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--pr-color-text);
  margin-bottom: 28px;
}
.pd-hero-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.pd-hero-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--pr-ez-200);
  border-radius: var(--pr-radius-pill);
  font-size: 12.5px;
}
.pd-hero-spec .sv {
  font-family: var(--pr-font-data);
  font-weight: 700;
  color: var(--pr-color-reduction);
}
.pd-hero-spec .sl { color: var(--pr-color-muted); font-size: 11px; }

/* ─────────────────────────────────────────
   2. FEATURES BAR — dark band
───────────────────────────────────────── */
.pd-features-bar {
  background: linear-gradient(135deg, var(--pr-ez-800) 0%, var(--pr-abyss-900) 100%);
  padding: clamp(28px, 4vw, 44px) 32px;
}
.pd-features-inner {
  max-width: var(--pr-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pd-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.pd-feat:last-child { border-right: none; }
.pd-feat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-feat-icon svg { width: 22px; height: 22px; stroke: var(--pr-teal-200); }
.pd-feat-body { flex: 1; }
.pd-feat-val {
  display: block;
  font-family: var(--pr-font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--pr-teal-200);
  line-height: 1.1;
  margin-bottom: 3px;
}
.pd-feat-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}
.pd-feat-desc {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   3. SHARED SECTION LAYOUT
───────────────────────────────────────── */
.pd-section {
  padding: clamp(52px, 7vw, 96px) 32px;
}
.pd-section--alt   { background: var(--pr-neutral-50); }
.pd-section--light { background: var(--pr-ez-50); }
.pd-section--dark  { background: var(--pr-abyss-900); color: #fff; }
.pd-container {
  max-width: var(--pr-max-width);
  margin: 0 auto;
}
.pd-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 52px);
}
.pd-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pr-color-secondary);
  margin-bottom: 12px;
}
.pd-section-head h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--pr-color-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.pd-section-head p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--pr-color-muted);
  line-height: 1.7;
}
.pd-section--dark .pd-section-head h2 { color: #fff; }
.pd-section--dark .pd-section-head p   { color: rgba(255,255,255,0.65); }
.pd-section--dark .pd-eyebrow          { color: var(--pr-teal-200); }

/* ─────────────────────────────────────────
   4. ADVANTAGE CARDS (why choose)
───────────────────────────────────────── */
.pd-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-adv-card {
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  padding: 28px 26px 24px;
  transition: transform 0.32s var(--ease-water, ease),
              box-shadow 0.32s var(--ease-water, ease),
              border-color 0.32s var(--ease-water, ease);
}
.pd-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 52px -10px rgba(6,56,84,0.16);
  border-color: var(--pr-ez-200);
}
.pd-adv-num {
  font-family: var(--pr-font-data);
  font-weight: 700;
  color: var(--pr-color-secondary);
  /* font-size inherits from parent h3 (16px) so the number matches the title */
}
.pd-adv-num::after {
  content: ". ";
  color: var(--pr-color-secondary);
}
.pd-adv-card h3 {
  font-size: 18px;          /* 16px → 18px */
  font-weight: 700;
  color: var(--pr-color-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.pd-adv-card p {
  font-size: 15px;          /* 13.5px → 15px */
  line-height: 1.72;
  color: var(--pr-color-muted);
}
.pd-adv-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pr-color-reduction);
  background: var(--pr-teal-50);
  border: 1px solid var(--pr-teal-100);
  padding: 4px 10px;
  border-radius: var(--pr-radius-pill);
}

/* ─────────────────────────────────────────
   5. COMPARISON TABLE
───────────────────────────────────────── */
.pd-compare-wrap {
  overflow-x: auto;
  border-radius: var(--pr-radius-lg);
  border: 1px solid var(--pr-color-border);
  box-shadow: var(--pr-shadow-card);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.pd-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 580px;
}
.pd-compare-table thead tr th {
  padding: 11px 14px;
  border-bottom: 2px solid var(--pr-color-border);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.pd-compare-table thead th:first-child {
  background: var(--pr-neutral-50);
  color: var(--pr-color-muted);
  width: 140px;
}
.pd-compare-table thead th.th-comp { background: var(--pr-neutral-50); color: var(--pr-color-muted); }
.pd-compare-table thead th.th-us {
  background: var(--pr-ez-800);
  color: #fff;
}
.pd-compare-table tbody tr {
  border-bottom: 1px solid var(--pr-neutral-100);
}
.pd-compare-table tbody tr:last-child { border-bottom: none; }
.pd-compare-table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
  line-height: 1.5;
  color: var(--pr-color-text);
}
.pd-compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--pr-color-primary);
  background: var(--pr-neutral-50);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.pd-compare-table tbody td.td-us {
  background: var(--pr-ez-50);
  font-weight: 600;
  color: var(--pr-color-primary);
}
.pd-compare-table tbody td.td-good { color: var(--pr-color-reduction); }
.pd-compare-table tbody td.td-bad  { color: var(--pr-coral-600); }
.pd-compare-table .ck  { color: var(--pr-color-reduction); font-size: 16px; font-weight: 700; }
.pd-compare-table .cx  { color: var(--pr-coral-400); font-size: 16px; font-weight: 700; }

/* ─────────────────────────────────────────
   6. APPLICATION CARDS
───────────────────────────────────────── */
.pd-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-app-card {
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  overflow: hidden;
  transition: transform 0.32s var(--ease-water, ease),
              box-shadow 0.32s var(--ease-water, ease);
}
.pd-app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px -10px rgba(6,56,84,0.18);
}
.pd-app-top {
  padding: 26px 24px 20px;
  background: linear-gradient(150deg, var(--pr-ez-50) 0%, #fff 100%);
  border-bottom: 1px solid var(--pr-color-border);
}
.pd-app-num {
  font-family: var(--pr-font-data);
  font-weight: 700;
  color: var(--pr-color-secondary);
  /* font-size inherits from parent h3 (17px) so the number matches the title */
}
.pd-app-num::after {
  content: ". ";
  color: var(--pr-color-secondary);
}
.pd-app-card h3 {
  font-size: 19px;          /* 17px → 19px */
  font-weight: 700;
  color: var(--pr-color-primary);
  line-height: 1.3;
  margin-bottom: 5px;
}
.pd-app-sub {
  font-size: 11.5px;
  color: var(--pr-color-secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.pd-app-card p {
  font-size: 15px;          /* 13.5px → 15px */
  line-height: 1.72;         /* 1.7 → 1.72 */
  color: var(--pr-color-text);
}
.pd-app-bottom {
  padding: 16px 24px;
}
.pd-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-app-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--pr-color-secondary);
  background: var(--pr-ez-50);
  border: 1px solid var(--pr-ez-200);
  padding: 4px 10px;
  border-radius: var(--pr-radius-pill);
}

/* ─────────────────────────────────────────
   7. SPEC CARDS
───────────────────────────────────────── */
.pd-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.pd-spec-cell {
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pd-spec-cell:hover { box-shadow: var(--pr-shadow-card-hover); transform: translateY(-2px); }
.pd-spec-l {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-color-muted);
  margin-bottom: 8px;
  font-weight: 600;
  display: block;
}
.pd-spec-v {
  font-family: var(--pr-font-data);
  font-size: clamp(14px, 1.6vw, 20px);
  color: var(--pr-color-primary);
  font-weight: 600;
  line-height: 1.2;
  display: block;
}
.pd-spec-v.teal { color: var(--pr-color-reduction); }

/* ─────────────────────────────────────────
   8. RAW MATERIAL SPEC TABLE
───────────────────────────────────────── */
.pd-raw-wrap {
  overflow-x: auto;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  margin-top: 32px;
  box-shadow: var(--pr-shadow-card);
  display: table;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.pd-raw-table {
  width: auto;
  border-collapse: collapse;
  font-size: 13.5px;
}
.pd-raw-table tr { border-bottom: 1px solid var(--pr-neutral-100); }
.pd-raw-table tr:last-child { border-bottom: none; }
.pd-raw-table th {
  padding: 13px 20px;
  background: var(--pr-neutral-50);
  border-right: 1px solid var(--pr-color-border);
  font-weight: 600;
  color: var(--pr-color-muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: left;
  white-space: nowrap;
  width: 180px;
  vertical-align: middle;
}
.pd-raw-table td {
  padding: 13px 20px;
  color: var(--pr-color-text);
  line-height: 1.6;
  vertical-align: middle;
}
.pd-raw-val {
  font-family: var(--pr-font-data);
  font-weight: 700;
  color: var(--pr-color-reduction);
}

/* ─────────────────────────────────────────
   9. PROCESS CALLOUT
───────────────────────────────────────── */
.pd-process {
  background: #fff;
  border: 1px solid var(--pr-ez-200);
  border-left: 4px solid var(--pr-color-secondary);
  border-radius: 0 var(--pr-radius-lg) var(--pr-radius-lg) 0;
  padding: 28px 32px;
  box-shadow: var(--pr-shadow-card);
  margin-top: 36px;
}
.pd-process-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-color-secondary);
  background: var(--pr-ez-50);
  padding: 4px 12px;
  border-radius: var(--pr-radius-pill);
  margin-bottom: 14px;
}
.pd-process h3 {
  font-size: 19px;          /* 17px → 19px */
  font-weight: 700;
  color: var(--pr-color-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}
.pd-process p {
  font-size: 16.5px;        /* 14.5px → 16.5px */
  line-height: 1.8;          /* 1.78 → 1.8 */
  color: var(--pr-color-text);
}
.pd-process-note {
  margin-top: 16px;
  font-size: 15px;          /* 13px → 15px */
  color: var(--pr-color-muted);
  border-top: 1px solid var(--pr-ez-100);
  padding-top: 14px;
  line-height: 1.7;          /* 1.65 → 1.7 */
}

/* ─────────────────────────────────────────
   10. CERTIFICATIONS
───────────────────────────────────────── */
.pd-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.pd-cert-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--pr-color-border);
  border-radius: var(--pr-radius-lg);
  transition: box-shadow 0.25s, transform 0.25s;
}
.pd-cert-card:hover { box-shadow: var(--pr-shadow-card-hover); transform: translateY(-2px); }
.pd-cert-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--pr-teal-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-cert-ico svg { width: 16px; height: 16px; stroke: var(--pr-color-reduction); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.pd-cert-body strong {
  display: block;
  font-size: 15px;          /* 13px → 15px */
  font-weight: 700;
  color: var(--pr-color-primary);
  margin-bottom: 2px;
}
.pd-cert-body span {
  font-size: 13.5px;        /* 11.5px → 13.5px */
  color: var(--pr-color-muted);
  line-height: 1.45;         /* 1.35 → 1.45 */
}

/* ─────────────────────────────────────────
   11. DARK CTA
───────────────────────────────────────── */
.pd-cta {
  background: linear-gradient(135deg, var(--pr-ez-800) 0%, var(--pr-abyss-900) 100%);
  padding: clamp(56px, 7vw, 96px) 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pd-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(14,158,132,0.08), transparent);
  pointer-events: none;
}
.pd-cta h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.pd-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  margin-bottom: 32px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.pd-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   MOBILE RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  .pd-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .pd-hero-img   { max-width: 360px; margin: 0 auto; min-height: unset; }
  .pd-badge      { display: none; }  /* badges overlap on small screens */
  .pd-adv-grid   { grid-template-columns: 1fr; gap: 14px; }
  .pd-app-grid   { grid-template-columns: 1fr; gap: 14px; }
  .pd-cert-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .pd-features-inner { grid-template-columns: 1fr; }
  .pd-feat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 18px 24px; }
  .pd-feat:last-child { border-bottom: none; }
  .pd-adv-grid { grid-template-columns: 1fr 1fr; }
  .pd-spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pd-section { padding: 48px 20px; }
  .pd-features-bar { padding: 0; }
  .pd-spec-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-adv-grid  { grid-template-columns: 1fr; }
  .pd-cert-grid { grid-template-columns: 1fr; }
  .pd-process   { padding: 22px 20px; }
}
