/* Product Page Styles */

/* Product Hero Section */
.product-hero {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-hero-bg) 100%);
  padding: 40px 0 60px;
  position: relative;
}

.product-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-hero-text h1 {
  color: var(--color-text-light);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.product-date {
  color: var(--color-text-light);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.green-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.tried-tested-badge {
  background-color: var(--color-text-light);
  padding: 16px 24px;
  border-radius: 8px;
  text-align: center;
  max-width: 200px;
}

.badge-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.badge-title span {
  color: var(--color-yellow);
}

.badge-subtitle {
  font-size: 10px;
  color: #64748b;
  letter-spacing: 0.5px;
  margin: 4px 0 8px;
}

.badge-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.badge-stars img {
  width: 16px;
  height: 16px;
}

/* Article Content */
.article-content {
  padding: 40px 0;
  background-color: var(--color-bg-white);
}

.article-intro {
  margin-bottom: 32px;
}

.article-intro p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.article-intro ul {
  margin: 16px 0 16px 24px;
}

.article-intro ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.advertiser-disclosure {
  font-size: 12px;
  color: var(--color-blue);
  text-align: right;
  margin-bottom: 16px;
  cursor: pointer;
}

.advertiser-disclosure span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  text-align: center;
  line-height: 12px;
  font-size: 10px;
  margin-right: 4px;
}

/* Product Cards - NEW 4-Column Layout */
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  background-color: var(--color-bg-white);
  position: relative;
}

.product-card.featured {
  border: 2px solid #f97316;
  border-left: 4px solid #f97316;
}

.product-card-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.product-rank {
  display: inline-block;
  background-color: #f97316;
  color: var(--color-text-light);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 0 0 8px 0;
}

.product-rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1e293b;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 0 0 8px 0;
}

/* 4-Column Grid Layout */
.product-card-body {
  display: grid;
  grid-template-columns: 180px 1fr 180px 200px;
  gap: 0;
  padding: 0;
  min-height: 280px;
}

/* Column 1: Product Image */
.product-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-right: 1px solid #e5e7eb;
}

.product-image-link {
  display: block;
  margin-bottom: 16px;
}

.product-image {
  max-width: 140px;
  height: auto;
}

.brand-logo {
  max-width: 100px;
  height: 28px;
  object-fit: contain;
}

.overall-score {
  display: none;
}

/* Column 2: Pros/Cons List */
.product-middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  border-right: 1px solid #e5e7eb;
}

.pros-cons-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-dark);
}

.pros-cons-list li:last-child {
  margin-bottom: 0;
}

.pros-cons-list li img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Column 3: Score Section */
.product-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-right: 1px solid #e5e7eb;
  text-align: center;
}

.score-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 8px;
}

.score-value {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.score-stars img {
  width: 18px;
  height: 18px;
}

.score-users {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  max-width: 140px;
}

/* Column 4: CTA Section */
.product-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.sale-badge {
  background-color: #f97316;
  color: var(--color-text-light);
  font-size: 10px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.visit-site-btn {
  display: block;
  width: 100%;
  background-color: var(--color-yellow);
  color: var(--color-dark-blue);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 30px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.visit-site-btn:hover {
  background-color: #e6a61f;
}

.visit-site-btn.secondary {
  background-color: var(--color-yellow);
  color: var(--color-dark-blue);
}

.visit-site-btn.secondary:hover {
  background-color: #e6a61f;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-top: 16px;
}

.product-shipping {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* Hide old product-right in new layout */
.product-right {
  display: none;
}

/* Stats Section */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 0;
  background-color: #f1f5f9;
  margin: 40px 0;
  border-radius: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-text {
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.stat-number {
  font-weight: 700;
}

/* Our #1 Pick Card */
.pick-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
  background-color: var(--color-bg-white);
}

.pick-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pick-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.pick-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.pick-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
}

.pick-left h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.pick-pros,
.pick-cons {
  list-style: none;
  margin-bottom: 20px;
}

.pick-pros li,
.pick-cons li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.pick-pros li svg,
.pick-cons li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pick-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pick-right img {
  max-width: 180px;
}

/* Article Detail Content */
.article-detail {
  margin: 40px 0;
}

.article-detail p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.article-detail ul {
  margin: 16px 0 16px 24px;
}

.article-detail ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin: 32px 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-blue);
  color: var(--color-text-light);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: #1565a0;
}

.cta-offer {
  margin-top: 12px;
  font-size: 14px;
  color: #64748b;
}

.cta-offer span {
  color: var(--color-yellow);
  font-weight: 700;
}

/* Author Box */
.author-box {
  display: flex;
  gap: 16px;
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-title {
  font-size: 13px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.author-title strong {
  color: var(--color-yellow);
}

.author-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.author-stars img {
  width: 16px;
  height: 16px;
}

.author-bio {
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

/* About Our Reviews */
.about-reviews {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
}

.about-reviews h3 {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 20px;
}

.about-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.about-item img {
  width: 60px;
  height: auto;
}

.about-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.how-we-rate {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.how-we-rate h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.how-we-rate h4 span {
  color: var(--color-yellow);
}

.how-we-rate ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}

.how-we-rate ul li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .product-card-body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .product-left {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .product-middle {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .product-score {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .product-hero-text h1 {
    font-size: 22px;
  }

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

  .product-left,
  .product-middle,
  .product-score {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .product-cta {
    border-bottom: none;
  }

  .stats-section {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .pick-body {
    grid-template-columns: 1fr;
  }

  .pick-right {
    order: -1;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .product-hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .product-hero-text {
    max-width: 60%;
  }

  .product-hero-text h1 {
    font-size: 32px;
  }
}
