/* ===================================================================
   REVIEW PAGE STYLES - AirfryerWijzer.nl
   Visual, photo-driven review layout
   =================================================================== */

/* === REVIEW HERO === */
.review-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 2rem 1rem 3rem;
  color: #fff;
}

.review-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 768px) {
  .review-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
  }
}

.review-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  min-height: 300px;
}

.hero-product-img {
  max-height: 350px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.review-hero-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.review-hero-score {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.review-hero-score.score-excellent { background: #16a34a; }
.review-hero-score.score-good { background: #3b82f6; }
.review-hero-score.score-decent { background: #64748b; }

.score-big {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.score-small {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.8;
}

.review-hero-summary {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buy buttons */
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  min-width: 160px;
}

.btn-buy:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-bol { background: #0000C8; color: #fff; }
.btn-amazon { background: #FF9900; color: #111; }

.btn-buy.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 200px;
}

/* === PHOTO GALLERY === */
.review-gallery-section {
  padding: 2rem 0;
  background: #f8fafc;
}

.photo-gallery {
  max-width: 800px;
  margin: 0 auto;
}

.gallery-main {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  max-height: 400px;
  max-width: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.gallery-thumb:hover { border-color: #94a3b8; }
.gallery-thumb.active { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.3); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .gallery-thumb { width: 100px; height: 100px; }
}

/* === SPEC CARDS === */
.review-specs-section {
  padding: 3rem 0;
}

.review-specs-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.spec-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .spec-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .spec-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.spec-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
}

.spec-card:hover { transform: translateY(-2px); }

.spec-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.spec-card-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

/* === PROS & CONS === */
.review-proscons {
  padding: 3rem 0;
  background: #f8fafc;
}

.proscons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .proscons-grid { grid-template-columns: 1fr 1fr; }
}

.pros-card, .cons-card {
  border-radius: 16px;
  padding: 1.5rem;
}

.pros-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cons-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros-card h3 { color: #16a34a; margin-bottom: 1rem; font-size: 1.2rem; }
.cons-card h3 { color: #dc2626; margin-bottom: 1rem; font-size: 1.2rem; }

.pros-card ul, .cons-card ul {
  list-style: none;
  padding: 0;
}

.pros-card li, .cons-card li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pros-card li:last-child, .cons-card li:last-child { border-bottom: none; }

.pros-card li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.cons-card li::before { content: "✗ "; color: #dc2626; font-weight: 700; }

/* === PHOTO BREAKS between sections === */
.review-photo-break {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

.review-photo-break img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* === REVIEW ARTICLE CONTENT === */
.review-article-section {
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.review-article-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #3b82f6;
}

.review-article-section h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: #1e293b;
}

.review-article-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1rem;
}

/* === DETAILED SPECS === */
.review-detailed-specs {
  padding: 3rem 0;
  background: #f8fafc;
}

.review-detailed-specs h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.review-detailed-specs .specs-table {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.review-detailed-specs .specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.review-detailed-specs .specs-table tr:last-child td { border-bottom: none; }
.review-detailed-specs .specs-table tr:nth-child(even) { background: #f8fafc; }

/* === ALTERNATIVES === */
.review-alternatives {
  padding: 3rem 0;
}

.review-alternatives h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.alt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .alt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .alt-grid { grid-template-columns: repeat(3, 1fr); }
}

.alt-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.alt-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.alt-name {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.alt-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

/* === FAQ === */
.review-faq {
  padding: 3rem 0;
  background: #f8fafc;
}

.review-faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.review-faq .faq-item {
  max-width: 800px;
  margin: 0 auto;
}

/* === CONCLUSION === */
.review-conclusion {
  padding: 3rem 0;
}

.review-conclusion h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.review-conclusion p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1rem;
  max-width: 800px;
}

.review-conclusion .verdict-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  max-width: 800px;
}

.review-conclusion .verdict-box h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.review-conclusion .verdict-box ul {
  list-style: none;
  padding: 0;
}

.review-conclusion .verdict-box li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: #475569;
}

.review-conclusion .verdict-box li::before {
  content: "→ ";
  color: #3b82f6;
  font-weight: 700;
}

.final-buy-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: #f8fafc;
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumb a { color: #3b82f6; }
.breadcrumb span { color: #94a3b8; margin: 0 0.35rem; }

/* === FIX: Override data-reveal hidden state for review pages ===
   The main style.css sets [data-reveal] { opacity: 0; transform: translateY(30px) }
   which hides all content until IntersectionObserver fires. On review pages
   this causes empty-looking sections. Force all sections visible. */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}
[data-reveal].revealed {
  opacity: 1 !important;
  transform: none !important;
}
