/* ===================================================
   Reviews Page Styles — Ozark Prospectors
   Extends theme.css design tokens
   =================================================== */

/* === PAGE HERO === */
.page-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 16, 8, 0.85) 0%,
    rgba(26, 16, 8, 0.4) 50%,
    rgba(26, 16, 8, 0.1) 100%
  );
  display: flex;
  align-items: flex-end;
}
.page-hero-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
}
.review-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.review-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--stone);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.review-sub {
  font-size: 1.05rem;
  color: rgba(247, 243, 237, 0.75);
  max-width: 54ch;
  line-height: 1.6;
}

/* === ARTICLE CONTAINER === */
.review-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* === INTRO + TOC === */
.review-intro {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.review-intro-text { }
.intro-lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.review-intro-text p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.review-intro-text p:last-child { margin-bottom: 0; }

.toc-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
  position: sticky;
  top: 80px;
  box-shadow: 0 2px 12px rgba(61,43,31,0.07);
}
.toc-heading {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--sepia);
  margin-bottom: 1rem;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.toc-list li a {
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.2s;
  display: block;
  padding: 0.2rem 0;
}
.toc-list li a:hover { color: var(--amber); }
.toc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}

/* === SECTIONS === */
.review-section {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.review-section:last-of-type { border-bottom: none; }

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--amber);
  opacity: 0.5;
  font-weight: 700;
}
.section-heading {
  font-size: 1.4rem;
  color: var(--sepia);
  font-family: 'Playfair Display', serif;
}

/* === PRODUCT CARD === */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(61,43,31,0.06);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem 1.5rem;
  border-bottom: 1px solid var(--stone-dark);
}
.product-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}
.product-rank {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}
.product-meta { flex: 1; }
.product-brand {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.3rem;
}
.product-name {
  font-size: 1.2rem;
  color: var(--sepia);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.product-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-price-block {
  text-align: right;
  flex-shrink: 0;
}
.product-price {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sepia);
}
.product-store {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* === PRODUCT BODY === */
.product-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  padding: 0;
}
.product-image-col {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid var(--stone-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  background: var(--stone);
}
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.product-img-label {
  font-size: 0.72rem;
  color: rgba(247,243,237,0.9);
  text-align: center;
  font-weight: 500;
}
.product-affiliate-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.product-details-col {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* === SPECS TABLE === */
.product-specs { }
.specs-heading {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--stone-dark);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td:first-child {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem 0.4rem 0;
  white-space: nowrap;
  width: 40%;
}
.specs-table td:last-child {
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.4rem 0;
}

/* === PROS/CONS === */
.product-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pros, .cons { }
.product-pros-cons h5 { margin-bottom: 0.5rem; }
.pro-label, .con-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.pro-label {
  background: rgba(74,103,65,0.12);
  color: var(--moss);
}
.con-label {
  background: rgba(200,146,42,0.12);
  color: #8b6f47;
}
.product-pros-cons ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.product-pros-cons li {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--moss);
  font-weight: 600;
}
.cons li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #8b6f47;
  font-weight: 600;
}

/* === CTA BUTTONS === */
.product-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn-buy {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: var(--stone);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-buy:hover {
  background: #b07d22;
  transform: translateY(-1px);
}
.btn-buy:active { transform: translateY(0); }

.btn-buy-secondary {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-buy-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* === FAQ SECTION === */
.review-faq {
  padding: 4rem 0 2rem;
}
.faq-heading {
  font-size: 1.8rem;
  color: var(--sepia);
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--sepia);
  font-family: 'Playfair Display', serif;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--amber); }
.faq-q span { flex: 1; }
.faq-icon {
  flex-shrink: 0;
  color: var(--amber);
  transition: transform 0.3s;
}
.faq-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-open .faq-a { max-height: 400px; }
.faq-a p {
  padding-bottom: 1.2rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* === ARTICLE FOOTER CTA === */
.article-footer-cta {
  background: var(--stone-dark);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--sepia);
  margin-bottom: 0.7rem;
}
.cta-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.btn-buy-large {
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
}
.cta-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.cta-disclaimer a { color: var(--amber); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .review-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .toc-box { position: static; }
  .product-body { grid-template-columns: 1fr; }
  .product-image-col {
    border-right: none;
    border-bottom: 1px solid var(--stone-dark);
    flex-direction: row;
    align-items: center;
    padding: 1.2rem 1.5rem;
    gap: 1rem;
  }
  .product-img-placeholder { width: 100px; flex-shrink: 0; }
  .product-affiliate-note { text-align: left; }
}

@media (max-width: 600px) {
  .page-hero { height: 340px; }
  .review-container { padding: 0 1.5rem 4rem; }
  .product-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-price-block { text-align: left; }
  .product-pros-cons { grid-template-columns: 1fr; gap: 1rem; }
  .product-details-col { padding: 1.5rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn-buy,
  .cta-buttons .btn-buy-secondary { width: 100%; justify-content: center; }
}