.reviews-page {
  --review-border: var(--item-border, rgba(255, 255, 255, 0.12));
  --review-panel: var(--bg-card, rgba(30, 41, 59, 0.72));
  --review-muted: var(--text-muted, #94a3b8);
  min-width: 0;
}

.home-nav-v3 a.active {
  color: var(--accent-sky, #38bdf8) !important;
}

.reviews-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px);
  background:
    radial-gradient(circle at 12% 16%, rgba(14, 165, 233, 0.2), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(20, 184, 166, 0.14), transparent 34%);
  border-bottom: 1px solid var(--review-border);
}

.reviews-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.reviews-kicker,
.review-buy-kicker {
  color: var(--accent-sky, #38bdf8);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.reviews-hero h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  color: var(--text-main, #f8fafc);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.reviews-hero h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--review-muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.reviews-trust-card,
.review-buy-panel {
  background: var(--review-panel);
  border: 1px solid var(--review-border);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(16px);
}

.reviews-trust-card {
  padding: clamp(22px, 4vw, 32px);
}

.reviews-trust-card > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--text-main, #f8fafc);
  font-size: 1.08rem;
}

.reviews-trust-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews-trust-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--review-muted);
}

.reviews-trust-card li span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: 11px;
  background: rgba(20, 184, 166, 0.1);
  color: #2dd4bf;
  font-size: 0.76rem;
  font-weight: 800;
}

.reviews-content-shell {
  padding-top: 36px;
  padding-bottom: 80px;
}

.affiliate-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding: 18px 20px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  background: rgba(14, 165, 233, 0.08);
}

.affiliate-disclosure-icon {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent-sky, #38bdf8);
  font-size: 0.72rem;
  font-weight: 800;
}

.affiliate-disclosure strong {
  display: block;
  color: var(--text-main, #f8fafc);
}

.affiliate-disclosure p {
  margin: 4px 0 0;
  color: var(--review-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 22px;
}

.reviews-search {
  position: relative;
  display: flex;
  flex: 1 1 360px;
  max-width: 520px;
  align-items: center;
}

.reviews-search svg {
  position: absolute;
  left: 16px;
  color: var(--review-muted);
  pointer-events: none;
}

.reviews-search input {
  appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 10px 76px 10px 48px;
  border: 1px solid var(--review-border);
  border-radius: 14px;
  outline: none;
  background: var(--review-panel);
  color: var(--text-main, #f8fafc);
  font: inherit;
}

.reviews-search input:focus {
  border-color: var(--accent-sky, #38bdf8);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.reviews-search kbd {
  position: absolute;
  right: 12px;
  padding: 3px 7px;
  border: 1px solid var(--review-border);
  border-radius: 7px;
  color: var(--review-muted);
  font: 600 0.7rem/1.2 inherit;
}

.reviews-filter-list {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: thin;
}

.review-filter {
  appearance: none;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--review-border);
  border-radius: 999px;
  background: transparent;
  color: var(--review-muted);
  font: 700 0.82rem/1.2 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.review-filter span {
  opacity: 0.72;
}

.review-filter:hover,
.review-filter.active {
  border-color: rgba(45, 212, 191, 0.46);
  background: rgba(20, 184, 166, 0.12);
  color: var(--text-main, #f8fafc);
}

.reviews-result-summary {
  margin: 0 0 16px;
  color: var(--review-muted);
  font-size: 0.9rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 0.62fr);
  overflow: hidden;
  border: 1px solid var(--review-border);
  border-radius: 22px;
  background: var(--review-panel);
  box-shadow: 0 14px 42px rgba(2, 6, 23, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.38);
}

.review-card.no-media {
  grid-template-columns: 1fr;
}

.review-card-media {
  display: block;
  min-height: 100%;
  background: rgba(15, 23, 42, 0.5);
}

.review-card-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.review-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
}

.review-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  color: #2dd4bf;
  font-size: 0.74rem;
  font-weight: 800;
}

.review-card-meta time {
  color: var(--review-muted);
  font-size: 0.78rem;
}

.review-card h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.35;
}

.review-card h2 a {
  color: var(--text-main, #f8fafc);
  text-decoration: none;
}

.review-card h2 a:hover {
  color: var(--accent-sky, #38bdf8);
}

.review-card-body > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 22px;
  color: var(--review-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.review-card-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--review-border);
}

.review-read-link,
.review-shop-link,
.reviews-state-card a,
.review-detail-back a {
  color: var(--accent-sky, #38bdf8);
  font-weight: 800;
  text-decoration: none;
}

.review-card-actions > div {
  text-align: right;
}

.review-card-actions small {
  display: block;
  margin-bottom: 3px;
  color: var(--review-muted);
  font-size: 0.68rem;
}

.review-shop-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
}

.reviews-state-card {
  display: grid;
  max-width: 680px;
  min-height: 300px;
  place-items: center;
  margin: 28px auto 0;
  padding: 48px 28px;
  border: 1px dashed var(--review-border);
  border-radius: 24px;
  background: var(--review-panel);
  text-align: center;
}

.reviews-state-card > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-sky, #38bdf8);
  font-size: 1.3rem;
  font-weight: 900;
}

.reviews-state-card h2 {
  margin: 18px 0 4px;
  color: var(--text-main, #f8fafc);
}

.reviews-state-card p {
  max-width: 500px;
  margin: 0 0 20px;
  color: var(--review-muted);
}

.reviews-state-card.error-state {
  border-color: rgba(248, 113, 113, 0.35);
}

.compact-state {
  min-height: 220px;
}

.review-detail-shell {
  padding-top: 30px;
  padding-bottom: 80px;
}

.reviews-breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--review-muted);
  font-size: 0.84rem;
}

.reviews-breadcrumb a {
  color: var(--accent-sky, #38bdf8);
  text-decoration: none;
}

.review-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  margin-bottom: 32px;
}

.review-detail-hero.no-media {
  grid-template-columns: minmax(0, 900px);
}

.review-detail-copy h1 {
  margin: 18px 0;
  color: var(--text-main, #f8fafc);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.review-detail-lead {
  margin: 0 0 20px;
  color: var(--review-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.review-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--review-muted);
  font-size: 0.86rem;
}

.review-detail-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid var(--review-border);
  border-radius: 24px;
  background: var(--review-panel);
}

.review-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

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

.review-verdict-card {
  padding: 22px;
  border: 1px solid var(--review-border);
  border-radius: 18px;
  background: var(--review-panel);
}

.review-verdict-card.positive {
  border-color: rgba(52, 211, 153, 0.28);
}

.review-verdict-card.caution {
  border-color: rgba(251, 191, 36, 0.28);
}

.review-verdict-card h2 {
  margin: 0 0 12px;
  color: var(--text-main, #f8fafc);
  font-size: 1rem;
}

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

.review-verdict-card li + li {
  margin-top: 8px;
}

.review-content {
  color: var(--text-main, #f8fafc);
  font-size: 1rem;
  line-height: 1.82;
}

.review-content h2,
.review-content h3,
.review-content h4 {
  margin: 1.7em 0 0.6em;
  color: var(--text-main, #f8fafc);
  line-height: 1.35;
}

.review-content p,
.review-content ul,
.review-content blockquote {
  margin: 0 0 1.2em;
}

.review-content ul {
  padding-left: 24px;
}

.review-content blockquote {
  padding: 14px 18px;
  border-left: 3px solid var(--accent-sky, #38bdf8);
  border-radius: 0 12px 12px 0;
  background: rgba(56, 189, 248, 0.08);
  color: var(--review-muted);
}

.review-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.12);
}

.review-buy-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
}

.review-buy-panel h2 {
  margin: 10px 0 18px;
  color: var(--text-main, #f8fafc);
  font-size: 1.25rem;
  line-height: 1.4;
}

.review-price span,
.review-price strong {
  display: block;
}

.review-price span,
.review-price-note,
.review-sponsored-note,
.review-buy-panel small {
  color: var(--review-muted);
  font-size: 0.78rem;
}

.review-price strong {
  margin-top: 4px;
  color: var(--text-main, #f8fafc);
  font-size: 1.45rem;
}

.review-sponsored-note {
  margin: 18px 0 8px;
}

.review-buy-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.25);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.review-buy-button:hover {
  transform: translateY(-2px);
}

.review-detail-back {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--review-border);
}

.featured-reviews-section {
  padding: 68px 0;
  background: var(--bg-main, #0f172a);
}

.featured-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.featured-review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--review-border);
  border-radius: 20px;
  background: var(--review-panel);
}

.featured-review-card h3 {
  margin: 14px 0 10px;
  color: var(--text-main, #f8fafc);
}

.featured-review-card p {
  color: var(--review-muted);
}

.featured-review-card > a {
  margin-top: auto;
  color: var(--accent-sky, #38bdf8);
  font-weight: 800;
  text-decoration: none;
}

.reviews-page a:focus-visible,
.reviews-page button:focus-visible,
.reviews-page input:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.75);
  outline-offset: 3px;
}

[data-theme="light"] .review-category,
[data-theme="light"] .reviews-kicker,
[data-theme="light"] .review-buy-kicker {
  color: #0f766e;
}

[data-theme="light"] .review-category {
  border-color: #99f6e4;
  background: #ccfbf1;
}

[data-theme="light"] .affiliate-disclosure {
  border-color: #bae6fd;
  background: #f0f9ff;
}

[data-theme="light"] .affiliate-disclosure-icon {
  background: #e0f2fe;
  color: #0369a1;
}

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

  .featured-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .reviews-hero-layout,
  .review-detail-hero,
  .review-detail-layout {
    grid-template-columns: 1fr;
  }

  .review-detail-media {
    max-height: 460px;
  }

  .review-buy-panel {
    position: static;
  }

  .reviews-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-search {
    flex-basis: auto;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .reviews-content-shell,
  .review-detail-shell {
    padding-bottom: 56px;
  }

  .affiliate-disclosure,
  .review-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-card {
    grid-template-columns: 1fr;
  }

  .review-card-media img {
    min-height: 220px;
    max-height: 320px;
  }

  .review-card-actions > div {
    width: 100%;
    text-align: left;
  }

  .review-shop-link {
    justify-content: space-between;
    width: 100%;
  }

  .review-verdict-grid,
  .featured-reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .review-buy-button {
    transition: none;
  }
}
