/* Venus Reviews structural polish */

:root {
  --space-4xl: 5rem;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(25, 18, 35, 0.9) 0%, rgba(35, 24, 45, 0.78) 48%, rgba(35, 24, 45, 0.34) 100%),
    url("/images/hero-banner---a0d189fc-d321-4faa-8ebe-5ed40610a487.jpg") center right / cover no-repeat;
  border-bottom: 1px solid rgba(255, 107, 157, 0.18);
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: clamp(5rem, 9vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
}

.home-hero .container {
  width: 100%;
}

.home-hero .hero-content {
  max-width: 720px;
  text-align: left;
}

.page-hero {
  padding: var(--space-3xl) 0;
}

.eyebrow {
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: flex-start;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: var(--space-lg) 0 var(--space-xl);
}

.hero-trust span {
  background: rgba(12, 9, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
}

.hero-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--color-light);
}

.hero-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-light);
}

.compact-grid {
  align-items: stretch;
}

.reviews-header {
  align-items: center;
  display: flex;
  gap: var(--space-xl);
  justify-content: space-between;
  text-align: left;
}

.reviews-header h2 {
  margin-bottom: var(--space-sm);
}

.reviews-header p {
  margin: 0;
}

.reviews-header .btn {
  flex: 0 0 auto;
}

.rating-pill {
  align-self: flex-start;
  background: rgba(183, 110, 121, 0.14);
  border: 1px solid rgba(183, 110, 121, 0.3);
  border-radius: 999px;
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
  padding: 0.25rem 0.65rem;
  text-transform: uppercase;
}

.product-card-meta span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--color-text-light);
  font-size: 0.8125rem;
  padding: 0.25rem 0.65rem;
}

/* The homepage rating row also carried .rating-row, whose only live rule lived in
   testimonials-section.css. That file is gone, so the flex layout it contributed is
   folded in here. gap and the bottom margin take the values .rating-row won on load
   order, so the rendered result is unchanged. */
.product-rating-row {
  display: flex;
  align-items: center;
  color: var(--color-secondary);
  font-size: 0.9rem;
  gap: var(--space-sm);
  margin: -0.25rem 0 var(--space-md);
}

.rating-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.rating-stars {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.rating-stars .star-base {
  display: block;
  height: 1.1em;
  width: auto;
}

.rating-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.rating-stars-fill .star-fill {
  display: block;
  height: 1.1em;
  width: auto;
  flex-shrink: 0;
}

.rating-value {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.product-card-excerpt,
.product-card-updated {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-card-updated {
  margin: calc(var(--space-sm) * -0.25) 0 var(--space-md);
}

.section-band {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 107, 157, 0.12), transparent 34rem),
    linear-gradient(180deg, #21182b 0%, #261b33 54%, #1e1729 100%);
  border-bottom: 1px solid rgba(255, 107, 157, 0.18);
  border-top: 1px solid rgba(255, 107, 157, 0.28);
  box-shadow: inset 0 18px 42px rgba(0, 0, 0, 0.18);
  color: #fff7fb;
}

.feature-strip {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.mini-privacy-grid {
  margin: 0;
  text-align: left;
}

.mini-privacy-grid .privacy-item {
  background: linear-gradient(180deg, rgba(59, 45, 70, 0.92), rgba(52, 40, 63, 0.96));
  border: 1px solid rgba(255, 107, 157, 0.24);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  padding: var(--space-lg);
}

.recommendation-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.recommendation-tile {
  background: linear-gradient(180deg, rgba(59, 45, 70, 0.92), rgba(52, 40, 63, 0.96));
  border: 1px solid rgba(255, 107, 157, 0.24);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 150px;
  padding: var(--space-xl);
  text-decoration: none;
}

.recommendation-tile strong {
  color: #fff7fb;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.recommendation-tile span {
  color: #ded2e3;
}

.recommendation-tile:hover {
  border-color: rgba(183, 110, 121, 0.35);
  transform: translateY(-2px);
}

.newsletter {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 157, 0.2), transparent 24rem),
    linear-gradient(180deg, rgba(59, 45, 70, 0.95), rgba(52, 40, 63, 0.98));
  border: 1px solid rgba(255, 107, 157, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  margin: var(--space-xl) auto 0;
  max-width: 980px;
  padding: var(--space-2xl);
}

.intro-content {
  margin: 0 auto var(--space-2xl);
  max-width: 760px;
  text-align: center;
}

.narrow-container {
  max-width: 900px;
}

.article-shell {
  background: var(--color-surface, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.article-content h1:first-child {
  display: none;
}

.article-content p {
  font-size: 1.0625rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (max-width: 980px) {
  .home-hero {
    background:
      linear-gradient(180deg, rgba(25, 18, 35, 0.92) 0%, rgba(35, 24, 45, 0.78) 56%, rgba(35, 24, 45, 0.6) 100%),
      url("/images/hero-banner---a0d189fc-d321-4faa-8ebe-5ed40610a487.jpg") center bottom / cover no-repeat;
  }

  .home-hero .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .reviews-header {
    align-items: center;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .reviews-header p {
    margin: 0 auto;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 460px;
  }

  .hero-actions,
  .article-actions {
    flex-direction: column;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-actions .btn,
  .article-actions .btn {
    width: 100%;
  }
}


/* Product detail pages */
.product-detail {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.product-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-breadcrumb a,
.product-next-prev a {
  color: var(--color-primary, #0096ff);
  text-decoration: none;
}

.product-breadcrumb a:hover,
.product-next-prev a:hover {
  text-decoration: underline;
}

.product-page-header {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.product-page-header h1 {
  margin: 0.25rem 0 0.75rem;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
}

.product-page-header p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-hero-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.product-gallery {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem;
}

.main-image-container {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 560px;
  min-height: 360px;
  background: #111224;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-draft-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #d97706;
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.thumbnail:hover {
  border-color: var(--color-primary, #6c5ce7);
  opacity: 1 !important;
}

.thumbnail.active {
  border-color: var(--color-primary, #6c5ce7);
  opacity: 1 !important;
}

.image-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.image-nav button {
  padding: 0.5rem 1rem;
  background: var(--color-surface, #f5f3ff);
  border: 1px solid var(--color-border, #e8e5f0);
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.image-nav button:hover {
  background: var(--color-primary, #6c5ce7);
  color: white;
}

#imageCounter {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.product-summary-panel {
  display: grid;
  gap: 1rem;
}

.product-badge,
.product-micro-note {
  margin: 0;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 150, 255, 0.12);
  border: 1px solid rgba(0, 150, 255, 0.25);
  color: rgba(255, 255, 255, 0.86);
}

.product-badge {
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.buyer-notes,
.where-to-buy,
.pros-cons > div {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.buyer-notes h2,
.where-to-buy h3,
.pros-cons h3 {
  margin: 0 0 1rem;
  color: #fff;
}

.buyer-notes-grid,
.pros-cons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.buyer-notes-grid h3 {
  margin: 0 0 0.35rem;
  color: var(--color-primary, #0096ff);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.buyer-notes-grid p,
.where-to-buy p,
.pros-cons li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

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

.product-review-body {
  max-width: 780px;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.75;
}

.product-review-body h1,
.product-review-body h2,
.product-review-body h3 {
  color: #fff;
  line-height: 1.15;
}

.product-review-body h1 {
  font-size: 2rem;
}

.product-review-body h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.product-review-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.06);
}

.product-review-body th,
.product-review-body td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.product-review-body th {
  color: #fff;
}

.product-next-prev {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.product-next-prev > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Product Cards on List Page */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--color-border, #e8e5f0);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

/* Product Info Grid */
.product-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-info > div {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  border-radius: 8px;
}

.product-info h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.5rem;
}

.product-info p,
.product-info .rating-display {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
}

.product-info .rating-stars .star-base,
.product-info .rating-stars .star-fill {
  height: 1.6em;
}

.old-product-info-rating {
  font-size: 1.35rem;
}

/* Responsive */
@media (max-width: 768px) {
  .product-detail {
    width: min(100% - 1rem, 1120px);
    padding-top: 1rem;
  }

  .product-hero-detail,
  .buyer-notes-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .product-page-header h1 {
    font-size: 2.35rem;
  }

  .main-image-container {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .main-image-container img {
    height: 100%;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .product-next-prev > div {
    flex-direction: column;
  }
}

/* Tags - one chip component shared by the /tags/ index and the tag rows on
   product cards, so a tag looks the same everywhere it appears. */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Both the surface and the label stay theme-neutral, and --color-secondary is
   spent on the hover border instead. The picker swings that accent from cyan to
   emerald to amber to magenta, and as label text it drops under the 4.5:1 AA
   floor on dark-rose (3.16), deep-violet (3.71) and light (3.64) at this size.
   --color-text is >=11.9:1 on every theme, so the hierarchy comes from scale
   and containment rather than from washed-out colour. */
.tag-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.tag-chip:hover,
a.tag-chip:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

/* --color-text again rather than --color-text-light, which is a dark slate on
   neon-cyber and lands at 3.60:1 there. */
.tag-chip-count {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  min-width: 1.5rem;
  padding: 0.2rem 0.4rem;
  text-align: center;
}

/* Compact variant for the tag row inside a product card. */
.product-card-tags .tag-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
}

.products-empty {
  color: var(--color-text);
  font-size: 1.05rem;
  padding: var(--space-3xl) 0;
  text-align: center;
}
