/**
 * PDP light/dark — beats theme Customizer inline typography
 * (hardcoded #c8c8d4 / #ececf2 / #d2d2dc meant for dark skin).
 * Also printed late in wp_head so it wins over that inline block.
 */

/* ── Light tokens ── */
html[data-ruh-theme="light"] .rekhi-pv,
html[data-ruh-theme="light"] .cw-pv,
html[data-ruh-theme="light"] .rekhi-pas-product-page,
html[data-ruh-theme="light"] .rekhi-single-product {
  --rekhi-pv-bg: #f7f8fa !important;
  --rekhi-pv-card: #ffffff !important;
  --rekhi-pv-card2: #eef1f5 !important;
  --rekhi-pv-border: #c5ccd6 !important;
  --rekhi-pv-text: #12121a !important;
  --rekhi-pv-muted: #3a4150 !important;
  --rekhi-pv-mark: var(--rekhi-accent, #ef7700) !important;
  --rekhi-pv-green: #0f9f55 !important;
  --rekhi-pv-red: #d14343 !important;
  --rekhi-pv-tldr-bg: #fff4ea !important;
  --rekhi-pv-orange: var(--rekhi-accent, #ef7700) !important;
  --rekhi-pv-orange-dim: color-mix(in srgb, var(--rekhi-accent, #ef7700) 35%, #fff) !important;
  color: #12121a !important;
}

/*
 * Kill Customizer dark-typography hex colors on light scheme.
 * Selectors mirror the theme inline block exactly + html[data-ruh-theme].
 */
html[data-ruh-theme="light"] .rekhi-pv__eyebrow {
  color: #4a5160 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__title {
  color: #0a0a10 !important;
  font-weight: 800 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__sub {
  color: #2a303c !important;
}

html[data-ruh-theme="light"] .rekhi-pv__jump a,
html[data-ruh-theme="light"] .rekhi-pv__chip {
  color: #1a1f2a !important;
  font-weight: 650 !important;
}

/* Hero bullets — prominent dark copy + orange markers */
html[data-ruh-theme="light"] .rekhi-pv__mini-trust,
html[data-ruh-theme="light"] .rekhi-pv__mini-trust li {
  color: #12121a !important;
  font-weight: 600 !important;
  font-size: 15.5px !important;
  line-height: 1.5 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__mini-trust li {
  margin-bottom: 0.5rem !important;
}

html[data-ruh-theme="light"] .rekhi-pv__mini-trust li::before {
  content: "▸ " !important;
  color: var(--rekhi-accent, #ef7700) !important;
  font-weight: 900 !important;
  font-size: 1.05em !important;
}

html[data-ruh-theme="light"] .rekhi-pv__tldr p {
  color: #14141f !important;
  font-weight: 650 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__section > h2,
html[data-ruh-theme="light"] .rekhi-pv__final h2 {
  color: #0a0a10 !important;
  font-weight: 800 !important;
}

/* Key headings: Factory since 2003 / B2B only / Export experience */
html[data-ruh-theme="light"] .rekhi-pv__col h3,
html[data-ruh-theme="light"] .rekhi-pv__method h3,
html[data-ruh-theme="light"] .rekhi-pv__quote-box h3,
html[data-ruh-theme="light"] .rekhi-pv__app,
html[data-ruh-theme="light"] .rekhi-pv__trust-card strong,
html[data-ruh-theme="light"] .rekhi-pv__proof-card strong,
html[data-ruh-theme="light"] .rekhi-pv__step b,
html[data-ruh-theme="light"] .rekhi-pv__faq summary {
  color: #0a0a10 !important;
  font-weight: 800 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__proof-card strong {
  display: block !important;
  font-size: 1.05rem !important;
  margin-bottom: 0.4rem !important;
  letter-spacing: -0.01em !important;
  color: #0a0a10 !important;
}

/* Body copy that Customizer forces to #d2d2dc */
html[data-ruh-theme="light"] .rekhi-pv__col li,
html[data-ruh-theme="light"] .rekhi-pv__method p,
html[data-ruh-theme="light"] .rekhi-pv__faq p,
html[data-ruh-theme="light"] .rekhi-pv__specs td,
html[data-ruh-theme="light"] .rekhi-pv__specs th,
html[data-ruh-theme="light"] .rekhi-pv__step span,
html[data-ruh-theme="light"] .rekhi-pv__proof-card,
html[data-ruh-theme="light"] .rekhi-pv__breadcrumb,
html[data-ruh-theme="light"] .rekhi-pv__section-label,
html[data-ruh-theme="light"] .rekhi-pv__trust-card span,
html[data-ruh-theme="light"] .rekhi-pv__final p,
html[data-ruh-theme="light"] .rekhi-pv__updated,
html[data-ruh-theme="light"] .rekhi-pv__sticky-hint,
html[data-ruh-theme="light"] .rekhi-pv__quote-box label,
html[data-ruh-theme="light"] .rekhi-pv__audience li,
html[data-ruh-theme="light"] .rekhi-pv__col-intro,
html[data-ruh-theme="light"] .rekhi-pv__compare tbody td,
html[data-ruh-theme="light"] .rekhi-pv__compare tbody th {
  color: #1a1f2a !important;
  font-weight: 550 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__breadcrumb,
html[data-ruh-theme="light"] .rekhi-pv__section-label,
html[data-ruh-theme="light"] .rekhi-pv__trust-card span,
html[data-ruh-theme="light"] .rekhi-pv__updated,
html[data-ruh-theme="light"] .rekhi-pv__sticky-hint {
  color: #4a5160 !important;
  font-weight: 600 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__breadcrumb a {
  color: var(--rekhi-accent, #ef7700) !important;
  font-weight: 700 !important;
}

/* Surfaces */
html[data-ruh-theme="light"] .rekhi-pv__chip {
  background: color-mix(in srgb, var(--rekhi-accent, #ef7700) 14%, #fff) !important;
  border: 1px solid color-mix(in srgb, var(--rekhi-accent, #ef7700) 45%, #c5ccd6) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__tldr {
  background: linear-gradient(135deg, #fff6ec, #fff1e4) !important;
  border: 1px solid color-mix(in srgb, var(--rekhi-accent, #ef7700) 40%, #e2e6eb) !important;
  box-shadow: 0 8px 24px rgba(239, 119, 0, 0.08) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__proof-card,
html[data-ruh-theme="light"] .rekhi-pv__trust-card,
html[data-ruh-theme="light"] .rekhi-pv__app,
html[data-ruh-theme="light"] .rekhi-pv__method,
html[data-ruh-theme="light"] .rekhi-pv__step,
html[data-ruh-theme="light"] .rekhi-pv__faq,
html[data-ruh-theme="light"] .rekhi-pv__col,
html[data-ruh-theme="light"] .rekhi-pv__audience li {
  background: #ffffff !important;
  border: 1px solid #c5ccd6 !important;
  box-shadow: 0 8px 22px rgba(15, 20, 30, 0.07) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__proof-card {
  padding: 1.1rem 1.15rem !important;
}

html[data-ruh-theme="light"] .rekhi-pv__col--get {
  background: linear-gradient(180deg, #f2fbf6, #fff 42%) !important;
  border-color: color-mix(in srgb, #0f9f55 35%, #c5ccd6) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__col--get h3 {
  color: #0b7a42 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__col--solve {
  background: linear-gradient(180deg, #fff5f5, #fff 42%) !important;
  border-color: color-mix(in srgb, #d14343 32%, #c5ccd6) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__col--solve h3 {
  color: #b42318 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__col--get li::before {
  color: #0f9f55 !important;
  font-weight: 800 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__col--solve li::before {
  color: #d14343 !important;
  font-weight: 800 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__audience li {
  border-left: 4px solid var(--rekhi-accent, #ef7700) !important;
  font-weight: 650 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__app-icon,
html[data-ruh-theme="light"] .cw-pv__app-icon {
  background: color-mix(in srgb, var(--rekhi-accent, #ef7700) 14%, #fff) !important;
  color: var(--rekhi-accent, #ef7700) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__compare thead th {
  background: color-mix(in srgb, var(--rekhi-accent, #ef7700) 14%, #fff) !important;
  color: #8a3800 !important;
  font-weight: 800 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__section > h2 {
  border-bottom: 2px solid color-mix(in srgb, var(--rekhi-accent, #ef7700) 55%, transparent) !important;
  display: inline-block !important;
  padding-bottom: 0.3rem !important;
}

html[data-ruh-theme="light"] .rekhi-pv__value,
html[data-ruh-theme="light"] .rekhi-pv__step b {
  color: var(--rekhi-accent, #ef7700) !important;
  font-weight: 800 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__quote-box {
  background: #f3f5f8 !important;
  border: 1px solid #c5ccd6 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__quote-box input,
html[data-ruh-theme="light"] .rekhi-pv__quote-box select,
html[data-ruh-theme="light"] .rekhi-pv__quote-box textarea {
  background: #fff !important;
  color: #12121a !important;
  border: 1px solid #b8c0cc !important;
}

html[data-ruh-theme="light"] .rekhi-pv__final {
  background: linear-gradient(135deg, #fff3e8, #fff 55%) !important;
  border: 1px solid color-mix(in srgb, var(--rekhi-accent, #ef7700) 38%, #cfd5de) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__jump {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #c5ccd6 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__jump a {
  background: #f3f5f8 !important;
  border-color: #c5ccd6 !important;
}

html[data-ruh-theme="light"] .rekhi-pv__jump a:hover,
html[data-ruh-theme="light"] .rekhi-pv__jump a:focus-visible {
  color: #fff !important;
  background: var(--rekhi-accent, #ef7700) !important;
  border-color: var(--rekhi-accent, #ef7700) !important;
}

html[data-ruh-theme="light"] .rekhi-pv__sticky {
  background: rgba(255, 255, 255, 0.98) !important;
  border-top: 1px solid #c5ccd6 !important;
  box-shadow: 0 -10px 30px rgba(15, 20, 30, 0.1) !important;
}

html[data-ruh-theme="light"] .rekhi-pv a:not(.rekhi-pv__btn) {
  color: var(--rekhi-accent, #ef7700) !important;
}

html[data-ruh-theme="light"] .rekhi-pv a.rekhi-pv__btn--ghost {
  color: #12121a !important;
  border: 1.5px solid color-mix(in srgb, var(--rekhi-accent, #ef7700) 55%, #c5ccd6) !important;
  background: #fff !important;
}

html[data-ruh-theme="light"] .rekhi-main.rekhi-single-product,
html[data-ruh-theme="light"] #primary.rekhi-single-product {
  background: #fff !important;
  color: #12121a !important;
}

/* ── Dark (keep readable) ── */
html[data-ruh-theme="dark"] .rekhi-pv,
html[data-ruh-theme="dark"] .rekhi-pas-product-page {
  --rekhi-pv-bg: #0b0b0f !important;
  --rekhi-pv-card: #15151c !important;
  --rekhi-pv-card2: #1b1b24 !important;
  --rekhi-pv-border: #32323e !important;
  --rekhi-pv-text: #f3f3f6 !important;
  --rekhi-pv-muted: #b8b8c6 !important;
  --rekhi-pv-mark: #ffffff !important;
  color: #f3f3f6 !important;
}
