/* Unify Aquatic — Product detail page styles */

/* ─── Hero ─────────────────────────────────────────────────────────── */
.pd-hero {
  padding: 140px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.pd-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.28;
  filter: blur(50px);
  pointer-events: none;
}
.pd-hero > .container { position: relative; z-index: 1; }

.pd-hero .pp-crumbs { margin-bottom: 64px; }

.pd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.pd-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pd-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 35%, rgba(240,129,36,0.12) 0%, transparent 55%),
    var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  overflow: hidden;
}
.pd-photo::before {
  content: '';
  position: absolute;
  bottom: 6%;
  left: 18%;
  right: 18%;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14,31,68,0.18), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.pd-photo img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(14,31,68,0.18));
}
.pd-swatch-big {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pd-swatch-big::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 60%);
}
.pd-swatch-big .ab {
  position: relative; z-index: 2;
  font-family: 'JetBrains Mono', 'Anuphan', monospace;
  font-size: 96px; font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.pd-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.pd-rings span {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}
.pd-rings span:nth-child(1) { width: 60%; height: 60%; }
.pd-rings span:nth-child(2) { width: 82%; height: 82%; border-style: dashed; }
.pd-rings span:nth-child(3) { width: 44%; height: 44%; }
.pd-corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--accent-light);
}
.pd-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.pd-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.pd-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.pd-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.pd-image-note {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

.pd-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg-mute);
  text-transform: uppercase;
}
.pd-tag.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

.pd-name {
  font-size: clamp(44px, 5.4vw, 84px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.pd-alt {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  margin-top: 10px;
  text-transform: uppercase;
}
.pd-tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 22px;
  line-height: 1.4;
  max-width: 560px;
}
.pd-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-top: 18px;
  max-width: 600px;
}

.pd-key-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.pd-key {
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.pd-key:last-child { border-right: none; padding-left: 24px; padding-right: 0; }
.pd-key .k { font-size: 10px; letter-spacing: 0.18em; color: var(--fg-mute); text-transform: uppercase; }
.pd-key .v { font-size: 22px; font-weight: 500; color: var(--navy); letter-spacing: -0.005em; }

.pd-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost-dark:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ─── Generic section ──────────────────────────────────────────────── */
.pd-section { padding: 96px 0; border-top: 1px solid var(--line); }
.pd-section-head { margin-bottom: 48px; max-width: 800px; }
.pd-h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.02em;
  margin-top: 12px;
  color: var(--navy);
  line-height: 1.1;
}

/* ─── Benefits ─────────────────────────────────────────────────────── */
.pd-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.pd-benefit {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pd-bnum { font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.pd-bt { font-size: 20px; font-weight: 600; color: var(--navy); margin-top: 16px; }
.pd-bd { font-size: 15px; line-height: 1.65; color: var(--fg-dim); margin-top: 12px; }

/* ─── Usage (dark band) ────────────────────────────────────────────── */
.pd-usage {
  background: var(--navy);
  color: var(--fg-on-navy);
  border-top: none;
}
.pd-usage .pd-h2 { color: var(--fg-on-navy); }
.pd-usage-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-navy);
}
.pd-ut-head, .pd-ut-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.8fr;
  gap: 32px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-navy);
}
.pd-ut-head {
  font-family: 'JetBrains Mono', 'Anuphan', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-on-navy-dim);
  text-transform: uppercase;
}
.pd-ut-k { font-size: 16px; font-weight: 500; color: var(--fg-on-navy); }
.pd-ut-v { font-size: 24px; font-weight: 500; color: var(--accent-light); letter-spacing: -0.005em; }
.pd-ut-d { font-size: 15px; color: var(--fg-on-navy-dim); line-height: 1.55; }

.pd-usage-note {
  display: flex; gap: 16px;
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--bg-navy-deep);
  border-radius: 12px;
  align-items: flex-start;
}
.pd-usage-note span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 4px;
}
.pd-usage-note p { font-size: 14px; line-height: 1.6; color: var(--fg-on-navy-dim); }

/* ─── When to use ──────────────────────────────────────────────────── */
.pd-when-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.pd-when-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-top: 22px;
  max-width: 460px;
}
.pd-when-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.pd-when-row {
  display: grid;
  grid-template-columns: auto 200px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.pd-when-ic {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.pd-when-ic.off {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg-mute);
}
.pd-when-row.off { opacity: 0.55; }
.pd-when-row.off .pd-when-k { color: var(--fg-mute); }
.pd-when-k { font-size: 17px; font-weight: 600; color: var(--navy); }
.pd-when-d { font-size: 14px; color: var(--fg-dim); line-height: 1.5; }

/* ─── Specs ────────────────────────────────────────────────────────── */
.pd-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.pd-spec-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--line);
}
.pd-spec-row:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 32px; }
.pd-spec-row:nth-child(even) { padding-left: 32px; padding-right: 0; }
.pd-spec-row .k { font-size: 11px; letter-spacing: 0.16em; color: var(--fg-mute); text-transform: uppercase; }
.pd-spec-row .v { font-size: 17px; font-weight: 500; color: var(--navy); }

/* ─── FAQ ──────────────────────────────────────────────────────────── */
.pd-faqs { border-top: 1px solid var(--line-strong); }
.pd-faq { border-bottom: 1px solid var(--line); }
.pd-faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: transparent;
  border: none;
  padding: 24px 4px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}
.pd-faq-q:hover { color: var(--accent); }
.pd-faq-n { font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.pd-faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: all 0.25s ease;
}
.pd-faq.open .pd-faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.pd-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.pd-faq.open .pd-faq-a { max-height: 400px; padding-bottom: 24px; }
.pd-faq-a p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-dim);
  padding: 0 56px 0 36px;
  margin: 0;
}

/* ─── Pair / recommended ────────────────────────────────────────────── */
.pd-pair {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pd-pair-card {
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.pd-pair-card:hover { background: var(--bg-card); }
.pd-pair-sw {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'JetBrains Mono', 'Anuphan', monospace;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.06em;
}
.pd-pair-role { font-size: 10px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.pd-pair-name { font-size: 22px; font-weight: 500; color: var(--navy); margin-top: 6px; letter-spacing: -0.005em; }
.pd-pair-desc { font-size: 13px; line-height: 1.6; color: var(--fg-dim); margin-top: 12px; }
.pd-pair-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', 'Anuphan', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-top: auto;
  padding-top: 16px;
  text-transform: uppercase;
}
.pd-pair-card:hover .pd-pair-cta { color: var(--accent); }

/* ─── Related (same group) ─────────────────────────────────────────── */
.pd-related { border-top: 1px solid var(--line-strong); }
.pd-rel-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.2s;
}
.pd-rel-card:hover { padding-left: 20px; }
.pd-rel-card:hover .pd-rel-name { color: var(--accent); }
.pd-rel-sw {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'JetBrains Mono', 'Anuphan', monospace;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em;
}
.pd-rel-name { font-size: 20px; font-weight: 500; color: var(--navy); letter-spacing: -0.005em; }
.pd-rel-alt { font-size: 10px; letter-spacing: 0.18em; color: var(--fg-mute); margin-left: 12px; text-transform: uppercase; }
.pd-rel-form { font-size: 11px; color: var(--fg-mute); letter-spacing: 0.04em; }
.pd-rel-card > svg { color: var(--fg-mute); }
.pd-rel-card:hover > svg { color: var(--accent); }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pd-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pd-when-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-benefits { grid-template-columns: 1fr; }
  .pd-specs { grid-template-columns: 1fr; }
  .pd-spec-row:nth-child(odd), .pd-spec-row:nth-child(even) {
    border-right: none; padding: 18px 0;
  }
  .pd-ut-head, .pd-ut-row { grid-template-columns: 1fr; gap: 4px; }
  .pd-ut-head { display: none; }
  .pd-rel-card { grid-template-columns: auto 1fr auto; }
  .pd-rel-alt { display: none; }
}
