/* ====================================================
   Product Trust Score CSS
   Clean card system, statistical breakdown, audit trail,
   reviews carousel, live inspector, and responsive layout
   ==================================================== */

/* ---- TOKENS ---- */
:root {
  --tv-navy: #0B1E3D;
  --tv-navy2: #162E56;
  --tv-teal: #0F9D8C;
  --tv-teal-light: #E6F6F4;
  --tv-teal-glow: rgba(15, 157, 140, 0.18);
  --tv-green: #1E9E5A;
  --tv-green-lt: #E9F7EE;
  --tv-red: #E14B4B;
  --tv-red-lt: #FDF2F2;
  --tv-amber: #D97706;
  --tv-amber-lt: #FEF3C7;
  --tv-page-bg: #F4F5F7;
  --tv-card-bg: #FFFFFF;
  --tv-border: #E5E7EB;
  --tv-border2: #D1D5DB;
  --tv-text: #111827;
  --tv-text-muted: #6B7280;
  --tv-text-faint: #9CA3AF;
  --tv-gold: #F59E0B;
  --tv-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tv-mono: 'JetBrains Mono', Consolas, monospace;
  --r-card: 10px;
  --r-pill: 9999px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 6px 20px rgba(11, 30, 61, 0.09);

  /* Compatibility aliases */
  --navy: var(--tv-navy);
  --navy2: var(--tv-navy2);
  --teal: var(--tv-teal);
  --teal-light: var(--tv-teal-light);
  --teal-glow: var(--tv-teal-glow);
  --green: var(--tv-green);
  --green-lt: var(--tv-green-lt);
  --red: var(--tv-red);
  --red-lt: var(--tv-red-lt);
  --amber: var(--tv-amber);
  --amber-lt: var(--tv-amber-lt);
  --page-bg: var(--tv-page-bg);
  --card-bg: var(--tv-card-bg);
  --border: var(--tv-border);
  --border2: var(--tv-border2);
  --text: var(--tv-text);
  --text-muted: var(--tv-text-muted);
  --text-faint: var(--tv-text-faint);
  --gold: var(--tv-gold);
}

/* ---- PRODUCT PAGE CONTAINER ---- */
.product-page-main {
  background: var(--page-bg);
  min-height: 80vh;
  padding: 24px 16px 48px;
  overflow-x: hidden;
}

.page-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-x: hidden;
}

/* ---- BASE CARD ---- */
.tv-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---- SECTION HEAD ---- */
.section-head {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- PILL TAGS ---- */
.pill-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.pill-gray {
  background: #F3F4F6;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.pill-teal {
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid rgba(15, 157, 140, .25);
}

.pill-green {
  background: var(--green-lt);
  color: var(--green);
  border: 1px solid rgba(30, 158, 90, .25);
}

.pill-amber {
  background: var(--amber-lt);
  color: var(--amber);
  border: 1px solid rgba(217, 119, 6, .2);
}

.pill-red {
  background: var(--red-lt);
  color: var(--red);
  border: 1px solid rgba(225, 75, 75, .2);
}

/* ---- SCORE DELTA BADGE ---- */
.score-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid rgba(15, 157, 140, .3);
  animation: pulse 1.8s infinite;
}

.score-delta.neg {
  background: var(--red-lt);
  color: var(--red);
  border-color: rgba(225, 75, 75, .3);
}

.score-delta.pos {
  background: var(--green-lt);
  color: var(--green);
  border-color: rgba(30, 158, 90, .3);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 157, 140, .4);
  }

  70% {
    box-shadow: 0 0 0 5px rgba(15, 157, 140, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(15, 157, 140, 0);
  }
}

/* ====================================================
   1. HERO CARD
   ==================================================== */
.hero-card {
  padding: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.95fr;
  gap: 0;
  align-items: stretch;
}

/* Hero — Score column */
.hero-score-col {
  padding: 22px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-product-name {
  margin: 0;
  line-height: 1.15;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.hero-title-row .pill-tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-ring-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Ring SVG */
.ring-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: #E5E7EB;
  stroke-width: 9;
}

.ring-fg {
  fill: none;
  stroke: url(#scoreGradient);
  stroke-width: 9.5;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset .8s cubic-bezier(.16, 1, .3, 1);
}

.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1px;
  transition: transform .3s;
}

.ring-denom {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Verdict */
.verdict-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.verdict-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  line-height: 1.2;
}

.verdict-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 800;
  color: var(--teal);
  transition: color .3s;
  white-space: nowrap;
  line-height: 1.2;
}

.verdict-text svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.verdict-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 1px;
  line-height: 1.35;
}

.verdict-date {
  font-size: 11.5px;
  color: var(--text-faint);
  margin-top: 1px;
  line-height: 1.2;
}

/* Desktop Only: Verified Rating Bar (Fills gap in hero score col) */
.hero-web-rating-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 9px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.hw-rating-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hw-rating-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hw-rating-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.hw-rating-score-num {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.hw-rating-max {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.hw-rating-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.hw-rating-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.hw-recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.hw-verified-pill {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid rgba(15, 157, 140, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}

/* Hero — Image column */
.hero-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid var(--border);
  background: #0B1120;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  max-height: 320px;
  box-sizing: border-box;
}

.hero-product-img, .hero-car-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  border-radius: 0;
}

.hero-product-img:hover, .hero-car-img:hover {
  transform: scale(1.04);
}

/* Hero — Why score column */
.hero-why-col {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.why-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.why-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.25;
}

.why-header .pill-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
}

.why-body {
  font-size: 14.5px;
  color: #4B5563;
  line-height: 1.7;
  margin: 14px 0 auto;
}

/* Review Score 4-Pillar Grid in Why Score card */
.review-score-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 4px 0 2px;
}

.rsp-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F9FAFB;
  border: 1px solid var(--border);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all .15s;
}

.rsp-item:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}

.rsp-pct {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  background: #fff;
  border: 1px solid rgba(15, 157, 140, 0.25);
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.rsp-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.why-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.why-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  transition: color .15s;
}

.why-link:hover {
  text-decoration: underline;
  color: var(--navy);
}

.btn-inspect {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all .15s;
  cursor: pointer;
}

.btn-inspect:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

/* ====================================================
   LIVE STATS INSPECTOR
   ==================================================== */
.inspector-card {
  border-color: var(--teal);
  border-width: 2px;
  padding: 20px;
}

.inspector-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.inspector-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.inspector-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.inspector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.calc-box {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calc-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
}

.calc-math {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--tv-mono);
}

.calc-pts {
  font-size: 16px;
  font-weight: 800;
  color: var(--teal);
  margin-top: 2px;
}

.calc-total {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border-color: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.calc-total .calc-label {
  color: #5EEAD4;
  font-size: 13px;
}

.calc-total .calc-math {
  color: #94A3B8;
}

.calc-total-num {
  font-size: 20px;
  font-weight: 800;
  color: #5EEAD4;
}


/* Sim row */
.sim-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.sim-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.sim-btn {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  transition: all .15s;
  cursor: pointer;
}

.sim-pos {
  background: var(--green-lt);
  color: var(--green);
  border: 1px solid var(--green);
}

.sim-pos:hover {
  background: var(--green);
  color: #fff;
}

.sim-neg {
  background: var(--red-lt);
  color: var(--red);
  border: 1px solid var(--red);
}

.sim-neg:hover {
  background: var(--red);
  color: #fff;
}

.sim-neu {
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--teal);
}

.sim-neu:hover {
  background: var(--teal);
  color: #fff;
}

.sim-reset {
  background: #F3F4F6;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.sim-reset:hover {
  background: var(--navy);
  color: #fff;
}

/* ====================================================
   2. SCORE BREAKDOWN
   ==================================================== */
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 16px;
  gap: 12px;
}

.breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all .15s;
}

.breakdown-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-hover);
}

.bi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bi-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bi-quality {
  background: #E6F6F4;
  color: var(--teal);
}

.bi-reliability {
  background: #EFF6FF;
  color: #2563EB;
}

.bi-service {
  background: #F5F3FF;
  color: #7C3AED;
}

.bi-cost {
  background: #FEF3C7;
  color: var(--amber);
}

.bi-recommend {
  background: var(--green-lt);
  color: var(--green);
}

.bi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.bi-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.bi-score span:first-child {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.bi-max {
  font-size: 12px;
  color: var(--text-muted);
}

.bi-tag-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}

.bi-bar {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
}

.bi-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
  transition: width .6s;
}

.bi-bar-amber .bi-bar-fill {
  background: linear-gradient(90deg, var(--amber), #F59E0B);
}

/* ====================================================
   3. REVIEW WORDS
   ==================================================== */
.words-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}

.words-tags {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  flex: 1;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 3px 2px;
}

.words-tags::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.word-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: #F3F4F6;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .15s;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.word-pill:hover,
.word-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.sentiment-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}

.sent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sent-pos {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.sent-neg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}

.sent-bar-track {
  height: 8px;
  background: var(--red);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.sent-bar-fill {
  height: 100%;
  background: var(--green);
  transition: width .6s;
}

/* ====================================================
   4. AUDIT TRAIL
   ==================================================== */
.audit-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  align-items: stretch;
}

.timeline-wrap {
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  box-sizing: border-box;
}

.timeline-track {
  position: relative;
  width: 100%;
}

.timeline-line {
  position: absolute;
  top: 18px;
  left: var(--line-left, 10%);
  right: var(--line-right, 10%);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  z-index: 0;
}

.timeline-nodes {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.t-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 0 4px;
}

.t-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #fff;
  flex-shrink: 0;
}

.t-done {
  background: var(--green);
}

.t-star {
  background: var(--teal);
}

.t-alert {
  background: #E25B35;
}

.t-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.t-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.t-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
}

.t-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 140px;
}

/* Transparency card */
.transparency-card {
  background: #0B192C;
  color: #fff;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}

.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.tp-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.tp-body {
  font-size: 11.5px;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 14px;
}

.tp-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  margin-top: auto;
}

.tp-link:hover {
  color: #99F6E4;
  text-decoration: none;
}

/* ====================================================
   5. COMPARISON TABLE
   ==================================================== */
.table-scroll {
  overflow-x: auto;
  padding: 4px 2px 8px;
}

.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.cmp-table th,
.cmp-table td {
  padding: 14px 18px;
  font-size: 13px;
  border-bottom: 1px solid #EDF2F7;
  vertical-align: middle;
}

.cmp-table thead th {
  background: #F8FAFC;
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
  border-bottom: 2px solid #E2E8F0;
  letter-spacing: -0.2px;
}

.cmp-metric-col {
  font-weight: 700;
  color: var(--navy);
  width: 22%;
  background: #FAFAFA;
}

.cmp-metric-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 800;
}

.cmp-subject {
  background: #F0FDF9 !important;
  border-left: 2px solid var(--teal) !important;
  border-right: 2px solid var(--teal) !important;
  color: var(--navy);
}

thead .cmp-subject {
  background: #E6F7F2 !important;
  border-top: 3px solid var(--teal) !important;
  color: var(--teal);
  font-weight: 800;
}

.subject-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  background: var(--teal);
  color: #fff;
  padding: 2px 7px;
  border-radius: 9999px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.cmp-sub {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.cmp-table tbody tr:hover td {
  background: #F8FAFC;
}

.cmp-table tbody tr:hover td.cmp-subject {
  background: #E0F5EE !important;
}

.cmp-table tbody tr:last-child td {
  border-bottom: none;
}

/* ====================================================
   6. FAQ ACCORDION (AEO Optimized & Collision-Free)
   ==================================================== */
.faq-section {
  padding: 0;
  margin: 8px 0 12px;
}

.faq-section .section-head {
  padding: 18px 20px 14px;
}

#faqAccordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FFFFFF;
  padding: 0;
}

#faqAccordion .faq-item {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: #FFFFFF !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: background .18s ease;
}

#faqAccordion .faq-item:last-child {
  border-bottom: none !important;
}

#faqAccordion .faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  gap: 16px;
  transition: all .15s ease;
}

#faqAccordion .faq-btn:hover {
  background: #F8FAFC !important;
  color: var(--teal) !important;
}

#faqAccordion .faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted) !important;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .2s ease;
}

#faqAccordion .faq-item.active {
  border-color: var(--border) !important;
  background: #FAFCFD !important;
}

#faqAccordion .faq-item.active .faq-btn {
  color: var(--teal) !important;
  font-weight: 700;
}

#faqAccordion .faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal) !important;
}

#faqAccordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.16, 1, .3, 1);
  background: transparent !important;
  padding: 0 !important;
}

#faqAccordion .faq-item.active .faq-answer {
  max-height: 260px;
}

#faqAccordion .faq-answer-body {
  padding: 0 20px 20px 20px !important;
  font-size: 13.5px;
  color: #4B5563 !important;
  line-height: 1.65;
  background: transparent !important;
  margin: 0 !important;
  border: none !important;
}

#faqAccordion .faq-answer-body strong {
  color: var(--navy);
  font-weight: 600;
}

/* ====================================================
   7. REVIEWS & COMMENT BOX
   ==================================================== */
.reviews-section {
  padding: 0;
  overflow: hidden;
}

.reviews-section .section-head,
.reviews-head-top,
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.reviews-head-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews-head-title-wrap .section-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.reviews-sub-count,
.view-all-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  line-height: 1.2;
}

.reviews-head-actions,
.reviews-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Star Filter Tabs ── */
.rv-star-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;
}
.rv-star-tabs::-webkit-scrollbar { display: none; }

.rv-star-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .18s ease;
  line-height: 1;
}
.rv-star-tab:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.rv-star-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.rv-star-tab.active .rv-tab-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.rv-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: #F1F5F9;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

.nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: all .15s;
  cursor: pointer;
}

.nav-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

#reviewsCarousel,
.reviews-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 18px 20px 20px;
  /* Aligned with container 20px bounds as below */
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

#reviewsCarousel::-webkit-scrollbar,
.reviews-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

#reviewsCarousel::-webkit-scrollbar-thumb,
.reviews-track::-webkit-scrollbar-thumb,
#reviewsCarousel::-webkit-scrollbar-track,
.reviews-track::-webkit-scrollbar-track,
#reviewsCarousel::-webkit-scrollbar-button,
.reviews-track::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Constant height & 3.5 cards screen view (Image 1 & Image 3) */
.rv-card {
  flex: 0 0 calc((100% - 35px) / 3.5);
  /* Exactly 3.5 cards visible on screen */
  min-width: 250px;
  height: 200px;
  /* CONSTANT height for all cards! */
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Keeps top content and bottom footer balanced */
  scroll-snap-align: start;
  transition: all .18s ease;
}

.rv-card:hover {
  border-color: var(--border2);
  box-shadow: 0 6px 16px rgba(11, 30, 61, 0.08);
  transform: translateY(-2px);
}

.rv-card-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.rv-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rv-stars {
  color: var(--gold);
  font-size: 13.5px;
  letter-spacing: 1px;
}

.rv-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.rv-badge {
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

.verified {
  color: var(--green);
}

.rv-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rv-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.rv-meta {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.25;
}

/* Source platform link */
.rv-source-link {
  color: var(--teal);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: color .15s, text-decoration .15s;
}
.rv-source-link:hover {
  text-decoration: underline;
  color: #0a7a6e;
}

.rv-text {
  font-size: 12.5px;
  color: #4B5563;
  line-height: 1.5;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-footer {
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.rv-view-source-btn {
  font-size: 10.5px;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  transition: color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.rv-view-source-btn:hover {
  color: #0F3460;
  text-decoration: underline;
  transform: translateY(-1px);
}

/* Sentiment tags on review cards */
.rv-sent-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.rv-sent-pos {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}
.rv-sent-mix {
  background: #FFF7ED;
  color: #D97706;
  border: 1px solid #FDE68A;
}
.rv-sent-neg {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.helpful-btn {
  font-size: 11.5px;
  color: var(--text-muted);
  transition: all .15s;
  padding: 4px 8px;
  border-radius: 4px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  cursor: pointer;
}

.helpful-btn:hover {
  color: var(--teal);
  background: var(--teal-light);
  border-color: rgba(15, 157, 140, 0.25);
}

.helpful-btn.liked {
  color: var(--teal);
  background: var(--teal-light);
  border-color: rgba(15, 157, 140, 0.3);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .rv-card {
    flex: 0 0 calc((100% - 28px) / 2.7);
  }
}

@media (max-width: 768px) {
  .rv-card {
    flex: 0 0 calc((100% - 14px) / 1.7);
  }
}

@media (max-width: 520px) {
  .rv-card {
    flex: 0 0 calc((100% - 14px) / 1.2);
  }
}

/* Comment Box (Compact Standardized UI/UX) */
.comment-box {
  margin: 12px 20px 20px;
  padding: 16px 20px;
  background: #FAFBFC;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.cb-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.cb-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 2px 0 10px 0;
  line-height: 1.35;
}

/* Star picker */
.star-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.sp-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.sp-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  user-select: none;
}

.sp-star {
  font-size: 18px;
  line-height: 1;
  color: #D1D5DB;
  transition: color .15s ease, transform .15s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1px;
}

.sp-star.sp-hovered,
.sp-star.sp-selected {
  color: var(--gold);
}

.sp-star:hover {
  transform: scale(1.15);
}

.sp-desc {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal);
  margin-left: auto;
}

/* Member Profile Bar (Image 1 Style) */
.member-profile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #F4F8F1;
  border: 1px solid #DCEAD5;
  border-radius: 12px;
  margin-bottom: 18px;
}

.member-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.member-name {
  font-weight: 700;
  font-size: 14px;
  color: #0F172A;
  line-height: 1.25;
}

.member-email {
  font-size: 12px;
  color: #64748B;
}

.member-signout-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  transition: all 0.15s ease;
  cursor: pointer;
}

.member-signout-btn:hover {
  background: #F8FAFC;
  color: #DC2626;
  border-color: #FCA5A5;
}

.cb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}

.cb-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
}

.cb-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
}

.cb-field input,
.cb-field textarea,
.cb-select {
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.4;
  transition: all .15s ease;
  width: 100%;
  box-sizing: border-box;
}

.cb-field input::placeholder,
.cb-field textarea::placeholder {
  color: #9CA3AF;
  font-family: inherit;
  font-weight: 400;
}

.cb-field input:focus,
.cb-field textarea:focus,
.cb-select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.cb-field textarea {
  resize: vertical;
  min-height: 52px;
  height: 52px;
}

.cb-select {
  padding: 5px 8px;
  font-size: 11.5px;
  height: 32px;
  width: auto;
}

.cb-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.btn-post {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  height: 32px;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 8px rgba(15, 157, 140, .2);
  transition: all .15s;
  border: none;
  cursor: pointer;
}

.btn-post:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 157, 140, .33);
}

/* Live feed */
.live-feed {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.live-feed-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.live-comment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: slideIn .3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ====================================================
   MODAL
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 61, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: var(--r-card);
  max-width: 520px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(11, 30, 61, 0.18);
  transform: translateY(20px);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-top h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.modal-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mm-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: #F9FAFB;
  border-radius: 7px;
  border: 1px solid var(--border);
}

.mm-pct {
  font-weight: 800;
  color: var(--teal);
  font-size: 14px;
  min-width: 36px;
}

.mm-item strong {
  font-size: 13px;
  color: var(--navy);
  display: block;
}

.mm-item span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.btn-close-modal {
  background: var(--navy);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  transition: background .15s;
  border: none;
  cursor: pointer;
}

.btn-close-modal:hover {
  background: var(--navy2);
}

/* ====================================================
   TOAST
   ==================================================== */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--navy);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  z-index: 300;
  transform: translateY(80px);
  opacity: 0;
  transition: all .35s cubic-bezier(.16, 1, .3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media(max-width: 1060px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-why-col {
    grid-column: span 2;
    border-top: 1px solid var(--border);
  }

  .breakdown-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .audit-layout {
    grid-template-columns: 1fr;
  }

  .transparency-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .inspector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .hero-layout {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    grid-template-areas:
      "score img"
      "why why" !important;
  }

  .hero-score-col {
    grid-area: score !important;
    padding: 14px 12px !important;
    border-right: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .hero-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-bottom: 2px !important;
  }

  .hero-product-name {
    font-size: 16.5px !important;
    letter-spacing: -0.4px !important;
    line-height: 1.2 !important;
  }

  .hero-title-row .pill-tag {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
  }

  .hero-ring-row {
    display: grid !important;
    grid-template-columns: 62px 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    column-gap: 10px !important;
    row-gap: 2px !important;
    align-items: center !important;
  }

  .ring-wrap {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    width: 62px !important;
    height: 62px !important;
    flex-shrink: 0 !important;
  }

  .ring-num {
    font-size: 18px !important;
    letter-spacing: -0.5px !important;
  }

  .ring-denom {
    font-size: 9px !important;
  }

  .verdict-col {
    display: contents !important;
  }

  .verdict-eyebrow {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 8.5px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    line-height: 1.1 !important;
  }

  .verdict-sub {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
  }

  .verdict-date {
    grid-column: 2 !important;
    grid-row: 3 !important;
    font-size: 8.5px !important;
    color: var(--text-faint) !important;
    margin: 0 !important;
  }

  .verdict-text {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: var(--green) !important;
    margin-top: 4px !important;
    padding-top: 2px !important;
  }

  .verdict-text svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
  }

  .hero-web-rating-card {
    display: none !important;
  }

  .hero-img-col {
    grid-area: img !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid var(--border) !important;
    background: #0B1120 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    min-height: 130px !important;
    max-height: 165px !important;
    box-sizing: border-box !important;
  }

  .hero-product-img, .hero-car-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 145px !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .hero-why-col {
    grid-area: why !important;
    grid-column: span 2 !important;
    padding: 12px 14px 14px !important;
    border-top: none !important;
  }

  .why-title {
    font-size: 14px !important;
  }

  .why-header .pill-tag {
    font-size: 9.5px !important;
    padding: 2px 7px !important;
  }

  .why-body {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 6px 0 8px !important;
  }

  .why-link {
    font-size: 11.5px !important;
  }

  .breakdown-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 10px !important;
    gap: 8px !important;
  }

  .breakdown-item {
    padding: 8px 10px !important;
    gap: 4px !important;
  }

  .breakdown-item:last-child {
    grid-column: span 2 !important;
  }

  .bi-top {
    gap: 4px !important;
  }

  .bi-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
  }

  .bi-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .bi-label {
    font-size: 10.5px !important;
  }

  .bi-score span:first-child {
    font-size: 16px !important;
  }

  .bi-max {
    font-size: 9.5px !important;
  }

  .bi-tag-text {
    font-size: 9.5px !important;
  }

  .bi-bar {
    height: 3px !important;
  }

  .breakdown-item .pill-tag {
    font-size: 9px !important;
    padding: 1px 6px !important;
  }

  .section-title {
    font-size: 14px !important;
  }

  .rv-card {
    flex: 0 0 80%;
  }

  .cb-grid {
    grid-template-columns: 1fr;
  }

  .words-layout {
    flex-direction: column;
    padding: 12px 14px;
    gap: 12px;
  }

  .words-tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 2px 0 6px 0;
  }

  .words-tags::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .word-pill {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 11.5px;
    padding: 5px 12px;
  }

  .sentiment-block {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  /* Timeline Mobile Stepper (Image 4 Fix) */
  .timeline-wrap {
    padding: 24px 18px;
    position: relative;
  }

  .timeline-track {
    position: relative;
    padding-left: 0;
  }

  .timeline-line {
    display: block !important;
    position: absolute !important;
    top: 18px !important;
    bottom: 24px !important;
    left: 17px !important;
    right: auto !important;
    width: 2px !important;
    height: auto !important;
    background: linear-gradient(180deg, #E25B35 0%, var(--green) 35%, var(--teal) 100%) !important;
    z-index: 0 !important;
  }

  .timeline-nodes {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px;
    position: relative;
    z-index: 1;
  }

  .t-node {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px;
    position: relative;
  }

  .t-circle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px #fff, 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
  }

  .t-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 3px;
    flex: 1;
  }

  .t-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
  }

  .t-date {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--teal);
  }

  .t-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: none !important;
  }

  /* FAQ Accordion Mobile (Image 3 Fix) */
  #faqAccordion .faq-btn {
    padding: 15px 18px;
    font-size: 14px;
    gap: 12px;
  }

  #faqAccordion .faq-answer-body {
    padding: 0 18px 16px 18px !important;
    font-size: 13px;
    line-height: 1.6;
  }

  .faq-section .section-head {
    padding: 16px 18px 12px;
  }

  /* Reviews Header Mobile (Standardized UI/UX Alignment) */
  .reviews-section .section-head,
  .reviews-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    gap: 8px !important;
  }

  .reviews-head-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .reviews-head-title-wrap .section-title {
    font-size: 14px !important;
    line-height: 1.25;
    margin: 0;
  }

  .reviews-sub-count,
  .view-all-link {
    font-size: 11px !important;
    line-height: 1.2;
  }

  .reviews-head-actions,
  .reviews-controls {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
  }

  .reviews-head-actions .nav-btn,
  .reviews-controls .nav-btn {
    width: 28px !important;
    height: 28px !important;
  }

  .reviews-head-actions .nav-btn svg,
  .reviews-controls .nav-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Comment Form Mobile (Compact Standardized Height) */
  .comment-box {
    margin: 8px 12px 14px !important;
    padding: 12px 12px 14px !important;
    border-radius: 8px !important;
  }

  .cb-title {
    font-size: 13.5px !important;
  }

  .cb-sub {
    font-size: 10.5px !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
  }

  .star-picker-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 10px !important;
    margin-bottom: 8px !important;
    gap: 6px !important;
    border-radius: 6px !important;
  }

  .sp-label {
    font-size: 11px !important;
  }

  .sp-stars {
    gap: 2px !important;
  }

  .sp-star {
    font-size: 16px !important;
    padding: 0 !important;
  }

  .sp-desc {
    font-size: 10.5px !important;
    margin-left: auto !important;
  }

  .cb-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
  }

  .cb-field#emailFieldWrap {
    grid-column: 1 / -1 !important;
  }

  .cb-field {
    gap: 2px !important;
    margin-bottom: 6px !important;
  }

  .cb-field label {
    font-size: 10px !important;
  }

  .cb-field input,
  .cb-field textarea {
    padding: 6px 8px !important;
    font-size: 12px !important;
    border-radius: 5px !important;
  }

  .cb-field input {
    height: 32px !important;
  }

  .cb-field textarea {
    min-height: 46px !important;
    height: 46px !important;
  }

  .cb-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .cb-actions > div {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: auto !important;
  }

  .cb-select {
    font-size: 11px !important;
    height: 30px !important;
    padding: 4px 6px !important;
    max-width: 135px !important;
  }

  .btn-post {
    display: inline-flex !important;
    width: auto !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    height: 30px !important;
    white-space: nowrap !important;
  }

  .inspector-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 480px) {
  .breakdown-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  .breakdown-item:last-child {
    grid-column: span 2 !important;
  }

  .tv-card {
    border-radius: 8px;
  }
}

/* Review View Source Button */
.rv-view-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: auto;
  transition: all 0.2s ease;
}
.rv-view-source-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  text-decoration: none;
}
.rv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}