﻿/* ============================================================
   REVEUI THEME - IMPROVED STYLES
   Beauty Review Intelligence Site
   ============================================================ */

/*
Theme Name: Revuei
Theme URI: https://revuei.com/
Author: Revuei
Description: Evidence-led beauty product reviews and comparisons.
Version: 1.1.0-local-preview
Text Domain: revuei
*/

/* ============================================================
   CSS Variables & Base
   ============================================================ */

:root {
  --ink: #17100f;
  --espresso: #34211d;
  --muted: #766864;
  --paper: #fffaf4;
  --porcelain: #fffefd;
  --veil: #f4e8df;
  --line: #ead9cf;
  --berry: #b92f63;
  --berry-dark: #842243;
  --sage: #8ab6a2;
  --sage-dark: #2d6657;
  --champagne: #e2b36d;
  --shadow: 0 28px 90px rgba(67, 42, 34, 0.18);
  --radius: 8px;
  --font-primary: "DM Sans", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.88), rgba(255, 250, 244, 1) 30%),
    radial-gradient(circle at 82% 10%, rgba(185, 47, 99, 0.12), transparent 28%),
    radial-gradient(circle at 10% 36%, rgba(138, 182, 162, 0.14), transparent 32%);
  color: var(--ink);
  font-family: var(--font-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--berry);
}

button, input {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  font-size: clamp(4.2rem, 8.6vw, 9.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h4 {
  font-size: 1.42rem;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
  line-height: 1.7;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px clamp(20px, 4vw, 58px);
  background: rgba(255, 250, 244, 0.88);
  border-bottom: 1px solid rgba(234, 217, 207, 0.82);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease;
}

.site-header:hover {
  background: rgba(255, 250, 244, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.5vw, 32px);
  color: #665955;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--berry);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--berry);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-action:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  min-height: calc(100vh - 73px);
  padding: clamp(22px, 3vw, 42px) clamp(20px, 4vw, 58px) clamp(48px, 7vw, 84px);
  gap: clamp(24px, 4vw, 58px);
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.95) 0%, rgba(244, 232, 223, 0.8) 100%);
}

.hero-media {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  border-radius: 0 0 220px 220px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(23, 16, 15, 0.58));
  z-index: 1;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-media:hover img {
  transform: scale(1.05);
}

.hero-glass {
  position: absolute;
  right: 28px;
  bottom: 32px;
  z-index: 3;
  width: min(300px, calc(100% - 56px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 250, 244, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(24, 16, 14, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(24, 16, 14, 0.22);
}

.hero-glass span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
}

.hero-glass strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.28rem);
  line-height: 1.6;
}

.search-panel {
  max-width: 760px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 253, 0.92);
  box-shadow: 0 18px 60px rgba(67, 42, 34, 0.12);
  transition: box-shadow 0.3s ease;
}

.search-panel:hover {
  box-shadow: 0 24px 72px rgba(67, 42, 34, 0.16);
}

.search-panel label {
  display: block;
  padding: 10px 12px 12px;
  color: var(--espresso);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 0 12px 0 20px;
  border-radius: 8px;
  background: var(--veil);
}

.search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.search-row input::placeholder {
  color: var(--muted);
  font-style: italic;
}

.search-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--berry);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-row button:hover {
  background: var(--berry-dark);
  transform: translateY(-2px);
}

.signal-sources {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.signal-sources span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(138, 182, 162, 0.12);
  color: var(--sage-dark);
  font-weight: 600;
}

/* ============================================================
   Verdict Section
   ============================================================ */

.verdict-section, .best-picks, .trend-lab {
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 58px);
}

.verdict-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.feature-copy {
  padding-right: 20px;
  margin-bottom: 26px;
}

.product-verdict {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--porcelain);
  box-shadow: 0 18px 58px rgba(67, 42, 34, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-verdict:hover {
  box-shadow: 0 24px 72px rgba(67, 42, 34, 0.14);
  transform: translateY(-4px);
}

.product-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.product-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-verdict:hover .product-photo img {
  transform: scale(1.08);
}

.rating-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 54px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(23, 16, 15, 0.2);
}

.product-copy {
  padding: 28px;
}

.product-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.category {
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-heading h3 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 3vw, 3.3rem);
  line-height: 1.02;
  font-family: var(--font-display);
  font-weight: 500;
}

.shop-tag {
  height: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef6f1;
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 900;
  transition: background 0.2s ease;
}

.shop-tag:hover {
  background: #e0f0e6;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.verdict-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff8f2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verdict-grid div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(67, 42, 34, 0.1);
}

.verdict-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.sentiment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.sentiment h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.sentiment ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.sentiment li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.buy-row a {
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.buy-row a:hover {
  transform: translateY(-2px);
}

.buy-row a:nth-child(2) {
  background: var(--berry);
}

.buy-row a:nth-child(3) {
  background: var(--sage-dark);
}

/* ============================================================
   Best Picks Section
   ============================================================ */

.best-picks {
  background: linear-gradient(180deg, #f3e8df, #fffaf4);
}

.section-title {
  max-width: 900px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.guide-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
  box-shadow: 0 18px 58px rgba(67, 42, 34, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 72px rgba(67, 42, 34, 0.14);
}

.guide-grid img {
  height: 310px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-grid article:hover img {
  transform: scale(1.08);
}

.guide-grid div {
  padding: 28px;
}

.guide-grid span {
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-grid h3 {
  margin: 10px 0 14px;
  font-size: 1.42rem;
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 500;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Trend Lab Section
   ============================================================ */

.trend-lab {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.trend-card {
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius);
  background: var(--espresso);
  color: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.trend-card:hover {
  transform: translateY(-8px);
}

.trend-card .eyebrow {
  color: var(--champagne);
  margin-bottom: 16px;
}

.trend-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 16px;
  line-height: 1.15;
}

.trend-card p {
  color: rgba(255, 250, 244, 0.72);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0;
}

.signal-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
  box-shadow: 0 18px 58px rgba(67, 42, 34, 0.1);
}

.table-row {
  display: grid;
  grid-template-columns: 0.76fr 1.28fr 150px;
  gap: 20px;
  align-items: center;
  min-height: 74px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row:hover {
  background: rgba(244, 232, 223, 0.35);
}

.table-head {
  min-height: 54px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-row a {
  color: var(--berry);
  font-weight: 900;
  text-decoration: none;
  transition: color 0.2s ease;
}

.table-row a:hover {
  color: var(--berry-dark);
  text-decoration: underline;
}

/* ============================================================
   Category Tabs
   ============================================================ */

.cat-tabs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cat-tab {
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--muted);
  font-weight: 800;
  font-size: .95rem;
  border-bottom: 2px solid transparent;
  transition: all .15s ease;
  cursor: pointer;
  position: relative;
}

.cat-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.3s ease;
}

.cat-tab:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.cat-tab:hover::after {
  width: 100%;
}

.cat-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.cat-tab.active::after {
  width: 100%;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px clamp(20px, 4vw, 58px);
  background: var(--ink);
  color: var(--paper);
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.42rem;
}

.site-footer p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 250, 244, 0.68);
  line-height: 1.6;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ============================================================
   Section Kicker
   ============================================================ */

.section-kicker {
  margin-bottom: 24px;
}

.section-kicker span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
  display: block;
  margin-bottom: 8px;
}

.section-kicker p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--berry);
  color: #fff;
}

.btn-primary:hover {
  background: var(--berry-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185, 47, 99, 0.25);
}

.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--veil);
  transform: translateY(-2px);
}

/* ============================================================
   Tags
   ============================================================ */

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--veil);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--espresso);
  transition: background 0.2s ease;
}

.tag:hover {
  background: var(--line);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }
  
  .hero, .verdict-layout, .trend-lab {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
  }
  
  .hero-media {
    min-height: 520px;
    border-radius: var(--radius);
  }
  
  .product-verdict {
    grid-template-columns: 1fr;
  }
  
  .product-photo {
    min-height: 420px;
  }
  
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header, .site-footer, .section-kicker {
    flex-direction: column;
    align-items: stretch;
  }
  
  .nav-action, .footer-action {
    justify-content: center;
    width: 100%;
  }
  
  .hero {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 24px;
  }
  
  .hero-media {
    min-height: 420px;
  }
  
  .hero-glass {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }
  
  h1 {
    font-size: clamp(3.3rem, 16vw, 4.8rem);
  }
  
  .search-row {
    grid-template-columns: 1fr;
    padding: 13px;
  }
  
  .search-row button {
    width: 100%;
  }
  
  .product-heading, .sentiment {
    grid-template-columns: 1fr;
  }
  
  .product-heading {
    flex-direction: column;
  }
  
  .verdict-grid, .table-row {
    grid-template-columns: 1fr;
  }
  
  .table-row {
    align-items: start;
    gap: 6px;
    padding: 16px;
  }
  
  .guide-grid img {
    height: 250px;
  }
}

/* ============================================================
   CPT Single Page Styles
   ============================================================ */

/* Shared: Header area */
.sp-header {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 48px) clamp(20px, 3vw, 36px);
}
.sp-header .eyebrow { margin-bottom: 12px; }
.sp-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.sp-excerpt {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

/* Shared: Body content */
.sp-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px) clamp(32px, 4vw, 56px);
  font-size: 1.02rem;
  line-height: 1.7;
}
.sp-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: clamp(28px, 4vw, 48px) 0 14px;
  line-height: 1.15;
}
.sp-body h3 {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.12rem;
  margin: clamp(22px, 3vw, 36px) 0 10px;
}
.sp-body p { margin: 0 0 16px; }
.sp-body ul, .sp-body ol { margin: 0 0 20px; padding-left: 22px; }
.sp-body li { margin-bottom: 8px; }

/* Tables */
.sp-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.92rem;
}
.sp-body thead th {
  background: var(--veil);
  text-align: left;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}
.sp-body tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sp-body tbody tr:hover { background: rgba(244, 232, 223, 0.35); }
.sp-body tbody td a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-body tbody td a:hover { color: var(--berry-dark); }

/* Quick Verdict Card */
.sp-quick-verdict {
  max-width: 860px;
  margin: 0 auto 28px;
  padding: 0 clamp(18px, 4vw, 48px);
}
.qv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
  box-shadow: 0 12px 40px rgba(67,42,34,0.08);
}
.qv-item { display: flex; flex-direction: column; gap: 4px; }
.qv-item strong { font-size: 1.02rem; }
.qv-span { grid-column: 1 / -1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* CTA Button */
.sp-cta {
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 0 clamp(18px, 4vw, 48px);
}

/* Footer link */
.sp-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(18px, 4vw, 48px) clamp(48px, 6vw, 80px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--berry); }

/* Product page specifics */
.single-product .sp-body h2 {
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 3vw, 32px);
}
.single-product .sp-body h2:first-child { border-top: 0; padding-top: 0; }

/* Roundup page specifics */
.single-roundup .sp-body table tbody td:first-child {
  font-weight: 800;
  color: var(--berry);
  text-align: center;
  width: 40px;
}

/* Comparison page specifics */
.single-comparison .sp-body table tbody td:first-child {
  font-weight: 700;
  color: var(--espresso);
  white-space: nowrap;
}

/* Reddit page specifics */
.single-reddit .sp-body h3 {
  color: var(--berry);
}

/* Responsive */
@media (max-width: 768px) {
  .qv-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-body table { font-size: 0.82rem; }
  .sp-body thead th, .sp-body tbody td { padding: 8px 10px; }
}

@media (max-width: 480px) {
  .qv-grid { grid-template-columns: 1fr; }
}

/* Archive page */
.archive-page { padding-bottom: clamp(48px, 7vw, 96px); }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px);
}
.archive-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(67,42,34,0.06);
}
.archive-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(67,42,34,0.12);
  border-color: var(--berry);
}
.archive-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.archive-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Logo */
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}



/* ============================================================
   Typography Consistency Improvements
   ============================================================ */

/* Add missing typography selectors */
.sp-header .sp-excerpt {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

/* Ensure consistent heading styles */
.sp-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.sp-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: clamp(28px, 4vw, 48px) 0 14px;
  line-height: 1.15;
}

.sp-body h3 {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.12rem;
  margin: clamp(22px, 3vw, 36px) 0 10px;
}

/* Ensure consistent paragraph styles */
.sp-body p {
  margin: 0 0 16px;
  line-height: 1.7;
}

/* Ensure consistent table styles */
.sp-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.92rem;
}

.sp-body thead th {
  background: var(--veil);
  text-align: left;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}

.sp-body tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sp-body tbody tr:hover {
  background: rgba(244, 232, 223, 0.35);
}

/* Ensure consistent link styles */
.sp-body tbody td a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-body tbody td a:hover {
  color: var(--berry-dark);
}

/* Ensure consistent eyebrow styles */
.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ensure consistent button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--berry);
  color: #fff;
}

.btn-primary:hover {
  background: var(--berry-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185, 47, 99, 0.25);
}

.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--veil);
  transform: translateY(-2px);
}

/* Ensure consistent tag styles */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--veil);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--espresso);
  transition: background 0.2s ease;
}

.tag:hover {
  background: var(--line);
}



/* ============================================================
   Typography Consistency Improvements
   ============================================================ */

/* Add missing typography selectors */
.sp-header .sp-excerpt {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

/* Ensure consistent heading styles */
.sp-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.sp-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: clamp(28px, 4vw, 48px) 0 14px;
  line-height: 1.15;
}

.sp-body h3 {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.12rem;
  margin: clamp(22px, 3vw, 36px) 0 10px;
}

/* Ensure consistent paragraph styles */
.sp-body p {
  margin: 0 0 16px;
  line-height: 1.7;
}

/* Ensure consistent table styles */
.sp-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.92rem;
}

.sp-body thead th {
  background: var(--veil);
  text-align: left;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}

.sp-body tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sp-body tbody tr:hover {
  background: rgba(244, 232, 223, 0.35);
}

/* Ensure consistent link styles */
.sp-body tbody td a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-body tbody td a:hover {
  color: var(--berry-dark);
}

/* Ensure consistent eyebrow styles */
.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ensure consistent button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--berry);
  color: #fff;
}

.btn-primary:hover {
  background: var(--berry-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185, 47, 99, 0.25);
}

.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--veil);
  transform: translateY(-2px);
}

/* Ensure consistent tag styles */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--veil);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--espresso);
  transition: background 0.2s ease;
}

.tag:hover {
  background: var(--line);
}



/* ============================================================
   Mobile Responsive Improvements
   ============================================================ */

/* Base mobile styles */
@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }
  
  .hero, .verdict-layout, .trend-lab {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  
  .hero-media {
    min-height: 520px;
    border-radius: var(--radius);
  }
  
  .hero-content {
    padding: 40px 0;
  }
  
  .product-verdict {
    grid-template-columns: 1fr;
  }
  
  .product-photo {
    min-height: 420px;
  }
  
  .guide-grid {
    grid-template-columns: 1fr;
  }
  
  .trend-lab {
    gap: 32px;
  }
  
  .signal-table {
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .qv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sp-body table {
    font-size: 0.82rem;
  }
  
  .sp-body thead th, .sp-body tbody td {
    padding: 8px 10px;
  }
  
  .sp-header {
    padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 32px) clamp(16px, 2vw, 24px);
  }
  
  .sp-body {
    padding: 0 clamp(16px, 3vw, 32px) clamp(24px, 3vw, 40px);
  }
  
  .sp-quick-verdict {
    padding: 0 clamp(16px, 3vw, 32px);
  }
  
  .sp-cta {
    padding: 0 clamp(16px, 3vw, 32px);
  }
  
  .sp-footer {
    padding: clamp(16px, 2vw, 32px) clamp(16px, 3vw, 32px) clamp(32px, 4vw, 48px);
  }
  
  .archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .site-header, .site-footer, .section-kicker {
    flex-direction: column;
    align-items: stretch;
  }
  
  .nav-action, .footer-action {
    justify-content: center;
    width: 100%;
  }
  
  .hero {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 24px;
    padding-bottom: 32px;
  }
  
  .hero-media {
    min-height: 420px;
  }
  
  .hero-glass {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    padding: 16px;
  }
  
  h1 {
    font-size: clamp(3.3rem, 16vw, 4.8rem);
    margin-bottom: 20px;
  }
  
  .hero-text {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }
  
  .search-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }
  
  .search-row button {
    width: 100%;
    min-height: 52px;
  }
  
  .signal-sources {
    justify-content: center;
  }
  
  .product-heading, .sentiment {
    grid-template-columns: 1fr;
  }
  
  .product-heading {
    flex-direction: column;
  }
  
  .verdict-grid, .table-row {
    grid-template-columns: 1fr;
  }
  
  .table-row {
    align-items: start;
    gap: 6px;
    padding: 16px;
  }
  
  .guide-grid img {
    height: 250px;
  }
  
  .guide-grid div {
    padding: 20px;
  }
  
  .trend-card {
    padding: 24px;
  }
  
  .signal-table {
    font-size: 0.88rem;
  }
  
  .archive-grid {
    grid-template-columns: 1fr;
  }
  
  .archive-card {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .qv-grid {
    grid-template-columns: 1fr;
  }
  
  .sp-header h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  
  .sp-body h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  
  .sp-body h3 {
    font-size: 1.1rem;
  }
  
  .sp-body table {
    font-size: 0.78rem;
  }
  
  .sp-body thead th, .sp-body tbody td {
    padding: 6px 8px;
  }
  
  .guide-grid {
    gap: 16px;
  }
  
  .guide-grid article {
    border-radius: 6px;
  }
  
  .guide-grid img {
    height: 200px;
  }
  
  .guide-grid div {
    padding: 16px;
  }
  
  .guide-grid h3 {
    font-size: 1.2rem;
  }
  
  .trend-card {
    padding: 20px;
  }
  
  .trend-card h2 {
    font-size: 1.4rem;
  }
  
  .signal-table {
    font-size: 0.82rem;
  }
  
  .archive-card {
    padding: 16px;
  }
  
  .archive-card h3 {
    font-size: 1.1rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) {
  .product-verdict:hover {
    transform: none;
    box-shadow: 0 18px 58px rgba(67, 42, 34, 0.1);
  }
  
  .guide-grid article:hover {
    transform: none;
    box-shadow: 0 18px 58px rgba(67, 42, 34, 0.1);
  }
  
  .trend-card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .nav-action:hover {
    transform: none;
  }
  
  .footer-action:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .site-header, .site-footer, .nav-links, .nav-action, .footer-action {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 20px;
  }
  
  .hero-media {
    min-height: 300px;
  }
  
  .product-verdict, .guide-grid article, .trend-card, .signal-table {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .btn {
    border: 1px solid #000;
    background: transparent;
    color: #000;
  }
}



/* ============================================================
   SHARED: Single-Page Layout System
   ============================================================ */
.sp-hero {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 58px) clamp(32px, 5vw, 56px);
  background: linear-gradient(135deg, #fffaf4 0%, #f4e8df 100%);
  text-align: center;
}
.sp-hero-inner { max-width: 780px; margin: 0 auto; }
.sp-hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(185,47,99,0.1); color: var(--berry);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.sp-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08; margin: 0 0 16px; color: var(--ink);
}
.sp-hero-sub {
  max-width: 640px; margin: 0 auto 20px;
  color: var(--muted); font-size: clamp(0.95rem, 1.2vw, 1.1rem); line-height: 1.6;
}
.sp-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sp-meta-chip {
  padding: 5px 14px; border-radius: 999px;
  background: rgba(138,182,162,0.12); color: var(--sage-dark);
  font-size: 0.78rem; font-weight: 700;
}
.sp-hero-media {
  width: min(100%, 720px);
  aspect-ratio: 4 / 3;
  max-height: 560px;
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(185,47,99,0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(77,49,39,0.10);
}
.sp-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 3vw, 34px);
}
.guide-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 190px;
  background: linear-gradient(135deg, #f6e8df, #fff9f4);
}

@media (max-width: 640px) {
  .sp-hero-media {
    aspect-ratio: 4 / 3;
    margin-top: 20px;
    border-radius: 14px;
  }
}

.sp-section { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 58px); }
.sp-section-alt { background: #f9f1ea; }
.sp-container { max-width: 960px; margin: 0 auto; }
.sp-narrow { max-width: 720px; }
.sp-section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15; margin: 0 0 28px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.sp-prose { font-size: 1rem; line-height: 1.75; color: #443835; }
.sp-prose h2, .sp-prose h3 { font-family: "DM Sans", Arial, sans-serif; font-weight: 800; }
.sp-prose p { margin: 0 0 14px; }
.sp-prose ul { margin: 0 0 16px; padding-left: 20px; }
.sp-prose li { margin-bottom: 6px; }
.sp-prose strong { color: var(--ink); }
.sp-prose table { display: none; } /* hide raw tables since we render cards */

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 700; font-size: 0.92rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--berry); }

/* ============================================================
   ROUNDUP: Product Cards
   ============================================================ */
.roundup-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.roundup-card {
  position: relative;
  background: #fffefd;
  border: 1px solid #ead9cf;
  border-radius: 12px;
  padding: 24px 20px 20px;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.4s ease both;
}
.roundup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(67,42,34,0.12);
}
.roundup-card-rank {
  position: absolute; top: -10px; left: 20px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--berry); color: #fff;
  border-radius: 50%;
  font-weight: 900; font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(185,47,99,0.3);
}
.roundup-card-body { padding-top: 8px; }
.roundup-card-brand {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--sage-dark); margin-bottom: 4px;
}
.roundup-card-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: 1.1rem; line-height: 1.25;
  margin: 0 0 12px; color: var(--ink);
}
.roundup-card-rating {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.roundup-card-rating-text { font-weight: 800; font-size: 0.88rem; color: var(--ink); }
.roundup-card-reviews { font-size: 0.78rem; color: var(--muted); }
.roundup-card-benefit {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 0.88rem; color: #5a7d6d; line-height: 1.4;
}
.roundup-card-benefit svg { flex-shrink: 0; margin-top: 2px; }

.stars { display: inline-flex; gap: 1px; align-items: center; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ROUNDUP: Recommendation Cards
   ============================================================ */
.rec-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.rec-card {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 24px; transition: transform 0.25s, box-shadow 0.25s;
}
.rec-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(67,42,34,0.1); }
.rec-card-label {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(185,47,99,0.1); color: var(--berry);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 10px;
}
.rec-card-product {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: 1.08rem; margin: 0 0 8px; color: var(--ink);
}
.rec-card-reason { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* ============================================================
   FAQ (shared)
   ============================================================ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid #ead9cf; border-radius: 10px;
  background: #fffefd; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--berry); }
.faq-item summary {
  padding: 16px 20px; cursor: pointer; font-weight: 700; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--muted); transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
   COMPARISON: VS Layout
   ============================================================ */
.cmp-vs-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 20px; align-items: center;
}
.cmp-product-card {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 28px 24px; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cmp-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(67,42,34,0.1); }
.cmp-product-tag {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-weight: 900; font-size: 0.92rem; color: #fff;
  margin-bottom: 12px;
}
.cmp-tag-a { background: var(--berry); }
.cmp-tag-b { background: var(--sage-dark); }
.cmp-product-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: 1.2rem; margin: 0 0 14px; color: var(--ink);
}
.cmp-sentiment { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cmp-sentiment-bar {
  width: 100%; height: 8px; border-radius: 99px; background: #ead9cf; overflow: hidden;
}
.cmp-sentiment-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--sage), var(--sage-dark));
  transition: width 0.8s ease;
}
.cmp-sentiment span { font-size: 0.78rem; font-weight: 700; color: var(--sage-dark); }
.cmp-vs-badge {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  font-weight: 900; font-size: 1.1rem; letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(23,16,15,0.2);
}

/* Comparison table as cards */
.cmp-table-cards { display: grid; gap: 10px; }
.cmp-table-row {
  display: grid; grid-template-columns: 160px 1fr;
  border: 1px solid #ead9cf; border-radius: 10px; overflow: hidden;
  background: #fffefd; transition: border-color 0.2s;
}
.cmp-table-row:hover { border-color: var(--berry); }
.cmp-table-feature {
  display: flex; align-items: center;
  padding: 14px 16px; background: #f9f1ea;
  font-weight: 800; font-size: 0.82rem; color: var(--espresso);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.cmp-table-values { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-table-val { padding: 14px 16px; }
.cmp-val-a { border-right: 1px solid #ead9cf; }
.cmp-val-label {
  display: block; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 4px; opacity: 0.5;
}
.cmp-val-text { font-size: 0.92rem; color: var(--ink); font-weight: 600; }

/* Pros & Cons */
.cmp-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp-pc-col {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 24px; transition: transform 0.25s;
}
.cmp-pc-col:hover { transform: translateY(-3px); }
.cmp-pc-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: 1.1rem; margin: 0 0 16px; color: var(--ink);
}
.cmp-pc-block { margin-bottom: 16px; }
.cmp-pc-block:last-child { margin-bottom: 0; }
.cmp-pc-label {
  display: flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 10px;
}
.cmp-pc-pros .cmp-pc-label { color: var(--sage-dark); }
.cmp-pc-cons .cmp-pc-label { color: var(--berry); }
.cmp-pc-block ul { margin: 0; padding-left: 18px; }
.cmp-pc-block li { margin-bottom: 6px; font-size: 0.9rem; color: #5a5048; line-height: 1.5; }

/* Verdict card */
.cmp-verdict-card {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 28px; font-size: 1rem; line-height: 1.7; color: #443835;
}
.cmp-verdict-card p { margin: 0 0 12px; }
.cmp-verdict-card strong { color: var(--ink); }

/* ============================================================
   REDDIT: Sentiment Gauge
   ============================================================ */
.reddit-gauge-card {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 32px;
}
.reddit-gauge-ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.reddit-gauge-svg { width: 100%; height: 100%; }
.reddit-gauge-number {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 900; color: var(--ink);
}
.reddit-gauge-label strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.reddit-gauge-label span { color: var(--sage-dark); font-weight: 700; font-size: 0.92rem; }

/* Reddit cards grid */
.reddit-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.reddit-card {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 24px; transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.4s ease both;
}
.reddit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(67,42,34,0.1); }
.reddit-card-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%; font-weight: 900; font-size: 1rem; margin-bottom: 12px;
}
.reddit-card-love .reddit-card-icon { background: rgba(138,182,162,0.15); color: var(--sage-dark); }
.reddit-card-complaint .reddit-card-icon { background: rgba(185,47,99,0.12); color: var(--berry); }
.reddit-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: 1.05rem; margin: 0 0 8px; color: var(--ink);
}
.reddit-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* Reddit tips */
.reddit-tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reddit-tips-col {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 24px;
}
.reddit-tips-do { border-top: 3px solid var(--sage); }
.reddit-tips-dont { border-top: 3px solid var(--berry); }
.reddit-tips-col h3 {
  display: flex; align-items: center; gap: 8px;
  font-family: "DM Sans", Arial, sans-serif; font-weight: 800;
  font-size: 0.92rem; margin: 0 0 14px;
}
.reddit-tips-do h3 { color: var(--sage-dark); }
.reddit-tips-dont h3 { color: var(--berry); }
.reddit-tips-col ul { margin: 0; padding-left: 18px; }
.reddit-tips-col li { margin-bottom: 8px; font-size: 0.9rem; color: #5a5048; line-height: 1.5; }

/* Reddit analysis card */
.reddit-analysis-card {
  background: #fffefd; border: 1px solid #ead9cf; border-radius: 12px;
  padding: 28px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .cmp-vs-row { grid-template-columns: 1fr; gap: 12px; }
  .cmp-vs-badge { margin: 0 auto; }
  .cmp-pros-cons { grid-template-columns: 1fr; }
  .reddit-tips-grid { grid-template-columns: 1fr; }
  .cmp-table-row { grid-template-columns: 1fr; }
  .cmp-table-feature { padding: 10px 14px; }
  .cmp-table-values { grid-template-columns: 1fr; }
  .cmp-val-a { border-right: 0; border-bottom: 1px solid #ead9cf; }
  .reddit-gauge-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .roundup-cards { grid-template-columns: 1fr; }
  .rec-cards { grid-template-columns: 1fr; }
  .reddit-cards-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   Hero v2
   ============================================================ */
.hero-v2{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,0.95fr);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(28px,6vw,84px) clamp(18px,4vw,58px) clamp(40px,7vw,96px);background:linear-gradient(180deg,rgba(244,232,223,0.52) 0%,rgba(255,250,244,0) 62%)}
.hero-v2-left{max-width:720px}
.hero-v2-kicker{margin:0 0 14px;color:var(--berry);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero-v2-title{margin:0 0 18px;font-size:clamp(2.8rem,5.5vw,4.6rem);line-height:1.04;letter-spacing:-.02em}
.hero-v2-sub{margin:0 0 28px;color:var(--muted);max-width:56rem;font-size:clamp(1.02rem,1.25vw,1.18rem);line-height:1.7}
.hero-v2-search{margin:0 0 28px;background:var(--porcelain);border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:0 18px 56px rgba(67,42,34,.1)}
.hero-v2-search-row{display:grid;grid-template-columns:22px 1fr auto;gap:12px;align-items:center;background:var(--veil);border-radius:10px;padding:8px 10px 8px 14px}
.hero-v2-search-icon{width:20px;height:20px}
.hero-v2-search-row input{border:0;outline:0;background:transparent;color:var(--ink);font-size:.98rem;min-width:0}
.hero-v2-search-row input::placeholder{color:var(--muted);font-style:italic}
.hero-v2-search-row button{min-height:44px;border:0;border-radius:999px;padding:0 20px;background:var(--berry);color:#fff;font-weight:800;font-size:.92rem;transition:.2s transform,.2s background}
.hero-v2-search-row button:hover{background:var(--berry-dark);transform:translateY(-1px)}
.hero-v2-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:var(--porcelain);border:1px solid var(--line);border-radius:14px;padding:16px}
.hero-v2-stat{display:flex;flex-direction:column;gap:3px;text-align:center}
.hero-v2-stat strong{font-size:clamp(1.4rem,2.2vw,1.9rem);line-height:1}
.hero-v2-stat span{color:var(--muted);font-size:.82rem;font-weight:700}
.hero-v2-right{position:relative}
.hero-v2-img-wrap{position:relative;overflow:hidden;border-radius:24px;box-shadow:0 36px 96px rgba(67,42,34,.18);aspect-ratio:4/5;max-height:620px}
.hero-v2-img-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.hero-v2-float-card{position:absolute;left:18px;bottom:18px;display:flex;gap:12px;align-items:flex-start;max-width:280px;padding:16px;border-radius:16px;background:rgba(255,254,253,.92);border:1px solid var(--line);box-shadow:0 16px 44px rgba(67,42,34,.14);backdrop-filter:blur(8px)}
.hero-v2-float-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(138,182,162,.18)}
.hero-v2-float-card strong{display:block;font-size:.96rem;line-height:1.2}
.hero-v2-float-card span{color:var(--muted);font-size:.82rem;line-height:1.45}
@media (max-width:1060px){.hero-v2{grid-template-columns:1fr}.hero-v2-right{order:-1}.hero-v2-img-wrap{aspect-ratio:16/10;max-height:440px}}

/* ============================================================
   Section polish
   ============================================================ */
.section-kicker{max-width:720px;margin:0 auto 22px;text-align:center}
.section-kicker span{display:inline-block;margin-bottom:8px;color:var(--berry);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.section-kicker p{margin:0;color:var(--muted);font-size:1.02rem;line-height:1.7}
.section-title{text-align:center;margin-bottom:24px}
.section-title .eyebrow{margin-bottom:10px}
.section-title h2{margin:0}
.guide-grid article{position:relative;isolation:isolate;display:grid;grid-template-rows:auto 1fr;min-height:0;padding:0;background:var(--porcelain);color:var(--ink)}
.guide-grid div{position:relative;z-index:1}
.guide-grid article > div:not(.guide-media){padding:24px}
.guide-grid span{display:inline-block;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:rgba(185,47,99,.09);color:var(--berry);font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.guide-grid h3{color:var(--ink);font-size:clamp(1.35rem,2vw,1.75rem);margin:0 0 10px}
.guide-grid p{color:var(--muted);margin:0;font-size:.96rem;line-height:1.6}
.trend-card{text-align:center;max-width:780px;margin:0 auto 24px}
.signal-table .table-row{display:grid;grid-template-columns:1fr 1.2fr .8fr;gap:18px;padding:18px 22px;border-top:1px solid var(--line);align-items:center;font-size:.96rem}
.signal-table .table-head{background:var(--veil);font-weight:800;text-transform:uppercase;font-size:.82rem;letter-spacing:.04em;color:var(--muted)}
.signal-table .table-row a{color:var(--berry);font-weight:800}
@media (max-width:768px){.signal-table .table-row{grid-template-columns:1fr}.signal-table .table-row span:nth-child(2){display:none}}

/* ============================================================
   Archive cards
   ============================================================ */
.archive-page .sp-header{padding:clamp(24px,4vw,56px) clamp(18px,4vw,58px) 8px;text-align:center}
.archive-grid{padding:clamp(18px,4vw,58px) !important;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.archive-card{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--porcelain);box-shadow:0 10px 28px rgba(67,42,34,.08);transition:.25s transform,.25s box-shadow}
.archive-card:hover{transform:translateY(-4px);box-shadow:0 18px 46px rgba(67,42,34,.14)}
.archive-card .eyebrow{margin-bottom:2px}
.archive-card h3{margin:0 0 6px;font-size:1.18rem}
.archive-card p{margin:0;color:var(--muted);font-size:.94rem;line-height:1.6}

/* Archive card refinement */
.archive-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.archive-card-pill{padding:5px 10px;border-radius:999px;background:rgba(138,182,162,.12);color:var(--sage-dark);font-size:.76rem;font-weight:800}
.archive-card-cta{margin-top:auto;color:var(--berry);font-weight:800;font-size:.88rem}
.archive-card:focus{outline:2px solid var(--berry);outline-offset:3px}

/* Visual card media */
.archive-card-media{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:4/3;border:1px solid var(--line);border-radius:14px;margin:0 0 16px;padding:0;background:#fff}
.archive-card-media img{position:absolute;inset:18px;width:calc(100% - 36px);height:calc(100% - 36px);max-width:none;max-height:none;object-fit:contain;object-position:center;display:block;transition:none}
.archive-card:hover .archive-card-media img{transform:none}
.archive-card-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#f5e8df,#ead8cf);color:var(--berry)}
.archive-card-placeholder span{display:grid;place-items:center;width:64px;height:64px;border:1px solid currentColor;border-radius:50%;font-family:Georgia,serif;font-size:1.35rem;letter-spacing:.08em;background:rgba(255,255,255,.62)}
.guide-grid article .guide-media{position:relative;inset:auto;z-index:0;display:grid;place-items:center;aspect-ratio:16/10;padding:0;overflow:hidden;border-bottom:1px solid var(--line);border-radius:0;background:#fff}
.guide-grid article .guide-media img{position:absolute;inset:22px;width:calc(100% - 44px);height:calc(100% - 44px);max-width:none;max-height:none;object-fit:contain;object-position:center;display:block;transition:none}
.guide-grid article:hover .guide-media img{transform:none}

/* ============================================================
   Product Page Rich Content Styles
   ============================================================ */
.card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--espresso);
}
.card ul {
  padding-left: 20px;
}
.card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.tag-ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  margin: 2px 4px 2px 0;
}
.tag-warn {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffcc80;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  margin: 2px 4px 2px 0;
}

.pros-card h3 { color: #2e7d32; }
.cons-card h3 { color: #e65100; }

blockquote {
  border-left: 3px solid var(--berry);
  padding: 12px 16px;
  margin: 16px 0;
  color: var(--muted);
  font-style: italic;
  background: rgba(185, 47, 99, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.skin-type-tags {
  margin-top: 18px;
}

/* Archive page improvements */
.product-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s ease;
}
.product-card:hover {
  box-shadow: 0 4px 20px rgba(67, 42, 34, 0.12);
}
.product-card .tag-row {
  margin-top: 8px;
}

/* Responsive */


/* REVUEI EDITORIAL NAVIGATION REFINEMENT */
@media (min-width: 981px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 0;
  }
  .site-header .brand { justify-self: start; }
  .site-header .nav-links {
    justify-self: center;
    gap: 42px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .018em;
  }
  .site-header .nav-links a {
    line-height: 1.2;
    padding: 8px 0;
  }
  .site-header .nav-links a::after {
    bottom: 1px;
    height: 1px;
  }
  .site-header .nav-action {
    justify-self: end;
    padding: 11px 19px;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .012em;
  }
}


/* REVUEI PRODUCT DETAIL SYSTEM
   Scoped layout, type scale, cards and icon boundaries for every product page. */
body.single-rev_product .rvi-product { color: var(--ink, #17100f); }
body.single-rev_product .rvi-product-hero {
  display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  align-items: start; gap: clamp(32px, 6vw, 88px); max-width: 1240px;
  margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px) 64px;
}
body.single-rev_product .rvi-product-media {
  display: flex; position: relative; align-items: center; justify-content: center;
  min-height: 420px; padding: 28px; border: 1px solid var(--line, #ead9cf);
  border-radius: 24px; background: var(--porcelain, #fffefd);
}
body.single-rev_product .rvi-product-image {
  display: block; position: relative !important; z-index: 1 !important; width: 100% !important;
  max-width: 340px !important; height: 380px !important; max-height: 380px !important;
  margin: 0 auto; object-fit: contain;
}
body.single-rev_product .rvi-media-status { position: absolute; z-index: 2; left: 18px; bottom: 16px; padding: 6px 10px; border-radius: 999px; background: #f8efe9; color: var(--muted, #766864); font: 700 .72rem/1.2 DM Sans, sans-serif; }
body.single-rev_product .rvi-product-decision { min-width: 0; }
body.single-rev_product .rvi-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
body.single-rev_product .rvi-kicker, body.single-rev_product .rvi-verdict { padding: 7px 11px; border-radius: 999px; font: 800 .72rem/1.2 DM Sans, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
body.single-rev_product .rvi-kicker { background: #f8efe9; color: var(--muted, #766864); }
body.single-rev_product .rvi-verdict { background: #e9f3ee; color: #2d6657; }
body.single-rev_product #product-title { max-width: 760px; margin: 0; color: var(--ink, #17100f); font-size: clamp(2.45rem, 4.1vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; }
body.single-rev_product .rvi-evidence-spine { display: flex; align-items: center; gap: 16px; margin: 30px 0 22px; }
body.single-rev_product .rvi-score { display: grid !important; position: relative; flex: 0 0 120px; width: 120px !important; height: 120px !important; place-items: center; overflow: hidden; border-radius: 50%; background: var(--porcelain, #fffefd); }
body.single-rev_product .rvi-score svg { display: block !important; width: 120px !important; height: 120px !important; max-width: 120px !important; max-height: 120px !important; overflow: visible; }
body.single-rev_product .rvi-score svg circle { fill: none !important; stroke-width: 8 !important; transform: rotate(-90deg); transform-origin: 50% 50%; }
body.single-rev_product .rvi-score-track { stroke: var(--line, #ead9cf) !important; }
body.single-rev_product .rvi-score-value { stroke: var(--berry, #b92f63) !important; }
body.single-rev_product .rvi-score > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink, #17100f); }
body.single-rev_product .rvi-score strong { font: 800 1.7rem/1 DM Sans, sans-serif; }
body.single-rev_product .rvi-score small { margin-top: 3px; color: var(--muted, #766864); font: 700 .68rem/1 DM Sans, sans-serif; }
body.single-rev_product .rvi-evidence-copy { display: grid; gap: 3px; color: var(--muted, #766864); }
body.single-rev_product .rvi-evidence-copy strong { color: var(--ink, #17100f); font: 800 1.1rem/1.2 DM Sans, sans-serif; }
body.single-rev_product .rvi-data-label { color: var(--berry, #b92f63); font: 800 .72rem/1.2 DM Sans, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
body.single-rev_product .rvi-summary { max-width: 680px; margin: 0 0 16px; color: var(--muted, #766864); font-size: 1.02rem; line-height: 1.65; }
body.single-rev_product .rvi-buy-button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; background: var(--berry, #b92f63); color: #fff !important; font: 800 .92rem/1.2 DM Sans, sans-serif; text-decoration: none; }
body.single-rev_product .rvi-affiliate-note { max-width: 500px; margin: 10px 0 0; color: var(--muted, #766864); font-size: .78rem; line-height: 1.5; }
body.single-rev_product .rvi-quick-facts { max-width: 1240px; margin: 0 auto; padding: 8px clamp(20px, 4vw, 48px) 52px; }
body.single-rev_product .rvi-section-heading { margin-bottom: 20px; }
body.single-rev_product .rvi-section-heading > span { display: block; margin-bottom: 8px; color: var(--berry, #b92f63); font: 800 .74rem/1.2 DM Sans, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
body.single-rev_product .rvi-section-heading h2, body.single-rev_product .rvi-panel > h2 { margin: 0; color: var(--ink, #17100f); font-size: clamp(2rem, 3vw, 3.15rem); line-height: 1.08; letter-spacing: -.035em; }
body.single-rev_product .rvi-fact-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.single-rev_product .rvi-fact { display: flex !important; align-items: center; gap: 13px; min-width: 0; min-height: 126px !important; height: auto !important; padding: 18px !important; border: 1px solid var(--line, #ead9cf); border-radius: 16px; background: var(--porcelain, #fffefd); }
body.single-rev_product .rvi-fact svg { display: block !important; flex: 0 0 34px; width: 34px !important; height: 34px !important; min-width: 34px !important; max-width: 34px !important; max-height: 34px !important; overflow: visible; }
body.single-rev_product .rvi-fact svg * { vector-effect: non-scaling-stroke; }
body.single-rev_product .rvi-fact > span { min-width: 0; }
body.single-rev_product .rvi-fact small { display: block; color: var(--muted, #766864); font: 700 .72rem/1.2 DM Sans, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
body.single-rev_product .rvi-fact strong { display: block; margin-top: 5px; color: var(--ink, #17100f); font: 800 1rem/1.3 DM Sans, sans-serif; overflow-wrap: anywhere; }
body.single-rev_product .rvi-skin-types { margin-top: 24px; }
body.single-rev_product .rvi-skin-types > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.single-rev_product .rvi-skin-types > div > span { padding: 7px 11px; border: 1px solid #b7d8bd; border-radius: 999px; background: #f0f8f1; color: #2d6657; font: 700 .78rem/1.2 DM Sans, sans-serif; }
body.single-rev_product .rvi-content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); align-items: start; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) 72px; }
body.single-rev_product .rvi-content-main, body.single-rev_product .rvi-content-side { display: grid; align-content: start; gap: 24px; min-width: 0; }
body.single-rev_product .rvi-panel { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line, #ead9cf); border-radius: 20px; background: var(--porcelain, #fffefd); }
body.single-rev_product .rvi-prose, body.single-rev_product .rvi-panel p, body.single-rev_product .rvi-panel li { color: #493c37; font: 400 1rem/1.7 DM Sans, sans-serif; }
body.single-rev_product .rvi-prose > :first-child { margin-top: 0; }
body.single-rev_product .rvi-prose > :last-child { margin-bottom: 0; }
body.single-rev_product .rvi-pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.single-rev_product .rvi-pros, body.single-rev_product .rvi-cons { min-width: 0; }
body.single-rev_product .rvi-pros h2, body.single-rev_product .rvi-cons h2 { margin: 8px 0 16px; font-size: clamp(1.55rem, 2vw, 2.1rem); }
body.single-rev_product .rvi-pros ul, body.single-rev_product .rvi-cons ul { margin: 0; padding-left: 20px; }
body.single-rev_product .rvi-pros li, body.single-rev_product .rvi-cons li { margin: 0 0 10px; }
body.single-rev_product .rvi-sentiment-row { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 14px; align-items: center; margin: 14px 0; color: var(--ink, #17100f); font: 700 .9rem/1.3 DM Sans, sans-serif; }
body.single-rev_product .rvi-sentiment-row > div { height: 9px; overflow: hidden; border-radius: 999px; background: #f1e6de; }
body.single-rev_product .rvi-sentiment-row i { display: block; height: 100%; border-radius: inherit; background: #4f9b6a; }
body.single-rev_product .rvi-sentiment-row.is-negative i { background: #d76b56; }
@media (max-width: 920px) { body.single-rev_product .rvi-fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.single-rev_product .rvi-content-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { body.single-rev_product .rvi-product-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 36px; } body.single-rev_product .rvi-product-media { min-height: 320px; } body.single-rev_product .rvi-product-image { height: 290px !important; max-height: 290px !important; } body.single-rev_product .rvi-evidence-spine { align-items: flex-start; } body.single-rev_product .rvi-pros-cons { grid-template-columns: 1fr; } }
@media (max-width: 520px) { body.single-rev_product .rvi-fact-grid { grid-template-columns: 1fr; } body.single-rev_product .rvi-panel { padding: 20px; } }


/* REVUEI TOP RATED SECTION BALANCE */
.best-picks {
  padding: clamp(72px, 8vw, 112px) 0 clamp(78px, 9vw, 124px);
}
.best-picks .section-title {
  width: min(100% - 40px, 860px);
  margin: 0 auto 42px !important;
  text-align: center;
}
.best-picks .section-title .eyebrow {
  margin: 0 0 12px;
  color: var(--berry, #b92f63);
  font: 800 .8rem/1.2 DM Sans, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.best-picks .section-title h2 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink, #17100f);
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.best-picks .guide-grid {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
}
@media (max-width: 680px) {
  .best-picks { padding: 62px 0 76px; }
  .best-picks .section-title { margin-bottom: 30px !important; }
  .best-picks .section-title h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
}


/* Incomplete product records: replace an empty content column with a transparent evidence state. */
body.single-rev_product .rvi-content-grid.is-evidence-pending { grid-template-columns: 1fr; }
body.single-rev_product .rvi-content-grid.is-evidence-pending .rvi-content-main { display: block; }
body.single-rev_product .rvi-content-grid.is-evidence-pending .rvi-content-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.single-rev_product .rvi-data-pending-card { border-left: 4px solid var(--berry, #b92f63); background: #fff9f6; }
body.single-rev_product .rvi-data-pending-card p { max-width: 760px; margin: 0; }
@media (max-width: 700px) { body.single-rev_product .rvi-content-grid.is-evidence-pending .rvi-content-side { grid-template-columns: 1fr; } }

/* Reduce the stray pre-header line box by half on desktop without compressing the navigation. */
@media (min-width: 681px) {
  body > .site-header {
    margin-top: -13px;
  }
}

/* Product taxonomy navigation */
@media (min-width: 1061px) {
  .site-header .nav-links {
    gap: clamp(24px, 2.25vw, 42px);
  }

  .site-header .nav-menu-item {
    position: relative;
    display: flex;
    align-items: center;
  }

  .site-header .nav-menu-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .site-header .nav-menu-has-children > a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    order: 2;
    opacity: .65;
  }

  .site-header .nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 80;
    display: grid;
    min-width: 210px;
    padding: 10px;
    border: 1px solid rgba(234, 217, 207, .92);
    border-radius: 14px;
    background: rgba(255, 254, 253, .98);
    box-shadow: 0 18px 48px rgba(67, 42, 34, .16);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .site-header .nav-submenu::before {
    content: "";
    position: absolute;
    inset: -10px 0 auto;
    height: 12px;
  }

  .site-header .nav-submenu-wide {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    min-width: 390px;
  }

  .site-header .nav-submenu a {
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--espresso);
    font-size: .82rem;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
  }

  .site-header .nav-submenu a::after {
    display: none;
  }

  .site-header .nav-submenu a:hover,
  .site-header .nav-submenu a:focus-visible {
    color: var(--berry);
    background: var(--veil);
    transform: none;
    outline: none;
  }

  .site-header .nav-menu-has-children:hover > .nav-submenu,
  .site-header .nav-menu-has-children:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 1060px) {
  .site-header .nav-submenu {
    display: none;
  }
}

/* Beauty-review footer: quiet ash ground, clear routes, no e-commerce clutter. */
.site-footer {
  display: block;
  margin-top: clamp(48px, 7vw, 104px);
  padding: 0 clamp(18px, 2.5vw, 40px);
  background: linear-gradient(180deg, var(--veil) 0%, rgba(255, 250, 244, .98) 58%, var(--paper) 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(22px, 3vw, 48px);
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 54px) 0 clamp(34px, 4vw, 54px);
}

.footer-lead {
  max-width: 360px;
}

.footer-kicker {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-description {
  max-width: 330px;
  margin: 0 0 24px;
  color: #625b57;
  font-size: .94rem;
  line-height: 1.65;
}

.footer-text-link,
.footer-column a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.footer-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 800;
}

.footer-text-link span {
  color: var(--berry);
  font-size: 1.05rem;
}

.footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 13px;
}

.footer-column .footer-kicker {
  margin-bottom: 10px;
}

.footer-column a {
  color: #37312f;
  font-size: .91rem;
  line-height: 1.35;
}

.footer-text-link:hover,
.footer-text-link:focus-visible,
.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--berry);
  transform: translateX(2px);
}

.footer-text-link:focus-visible,
.footer-column a:focus-visible,
.footer-wordmark:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(23, 16, 15, .28);
}

.footer-wordmark {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-decoration: none;
}

.footer-bottom p {
  margin: 0;
  color: #645c58;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 42px;
  }

  .footer-lead {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .site-footer {
    margin-top: 56px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
    padding: 38px 0 42px;
  }

  .footer-lead {
    grid-column: 1 / -1;
  }

  .footer-column a {
    font-size: .86rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0 24px;
  }
}

/* Override the legacy dark-footer paragraph rule with readable Revuei tones. */
.site-footer .footer-kicker {
  margin: 0 0 8px;
  color: #8f244d;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.site-footer .footer-description {
  max-width: 330px;
  margin: 0 0 18px;
  color: #766864;
  font-size: .9rem;
  line-height: 1.55;
}

.site-footer .footer-text-link {
  color: #8f244d;
  font-size: .9rem;
  font-weight: 700;
}

.site-footer .footer-column a {
  color: #766864;
  font-size: .9rem;
  line-height: 1.55;
}

.site-footer .footer-wordmark {
  color: #332724;
}

.site-footer .footer-bottom p {
  color: #766864;
  font-size: .9rem;
  letter-spacing: 0;
  text-transform: none;
}
