/* ==========================================
   CSS VARIABLES - THEME SYSTEM
   ========================================== */
/*
  Theme colors are now dynamically injected from config/sites.js
  See views/layouts/main.ejs for :root and [data-theme="dark"] variables
*/

:root {
  /* Non-color variables */
  --color-success: #4CAF50;
  --color-warning: #FF9800;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.25);
}

/* Site-specific theme colors are now dynamically injected via main.ejs */

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-icon {
  font-size: 32px;
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: scale(1.1);
}

.logo-text h1 {
  font-size: 20px;
  color: var(--color-primary);
}

.logo-text span {
  font-size: 12px;
  color: var(--color-text-secondary);
  display: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.nav-mobile.active {
  display: block;
}

.nav-mobile a,
.nav-mobile button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
  }

  .logo-text span {
    display: block;
  }

  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-icon {
  font-size: 80px;
  margin-bottom: 24px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.hero h2 .highlight {
  color: var(--color-primary);
}

.hero p {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background-color: var(--color-bg-secondary);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

@media (min-width: 768px) {
  .hero {
    padding: 140px 0 80px;
  }

  .hero-icon {
    font-size: 120px;
  }

  .hero h2 {
    font-size: 48px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==========================================
   CATEGORIES
   ========================================== */
.categories {
  padding: 60px 0;
  background-color: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--color-text-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.category-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.category-card h3 {
  font-size: 14px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .category-card {
    padding: 32px;
  }

  .category-card-icon {
    font-size: 48px;
  }

  .category-card h3 {
    font-size: 16px;
  }
}

/* ==========================================
   POSTS SECTION
   ========================================== */
.posts-section {
  padding: 60px 0;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header-row h2 {
  font-size: 24px;
}

.view-all-link {
  color: var(--color-primary);
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  text-decoration: underline;
}

.posts-featured {
  display: grid;
  gap: 24px;
}

.post-card-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card-featured a {
  display: block;
  height: 100%;
}

.post-card-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.post-card-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.post-card-featured h3 {
  color: white;
  font-size: 18px;
  margin-top: 12px;
}

.post-card-featured p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.post-card-small {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card-small:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-card-small a {
  display: flex;
  gap: 16px;
  padding: 12px;
}

.post-card-small-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.post-card-small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-small-content {
  flex: 1;
  min-width: 0;
}

.post-card-small h4 {
  font-size: 14px;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-small time {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

@media (min-width: 768px) {
  .view-all-link {
    display: flex;
  }

  .posts-featured {
    grid-template-columns: 1fr 1fr;
  }

  .posts-featured .post-card-featured:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
  }

  .posts-list {
    margin-top: 0;
  }

  .post-card-featured h3 {
    font-size: 20px;
  }
}

/* ==========================================
   BADGES
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.badge-list {
  background: linear-gradient(135deg, #10b981, #059669);
}

.badge-versus {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-video {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-single {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* ==========================================
   POSTS PAGE
   ========================================== */
.page-posts {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-secondary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--color-text-muted);
}

.page-title {
  font-size: 28px;
  margin-bottom: 24px;
}

.filters {
  margin-bottom: 32px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.filter-btn:hover {
  background-color: var(--color-bg-secondary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: white;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.filter-categories span {
  font-size: 14px;
  color: var(--color-text-muted);
}

.filter-categories a {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.filter-categories a:hover,
.filter-categories a.active {
  color: var(--color-primary);
  text-decoration: underline;
}

.posts-grid {
  display: grid;
  gap: 24px;
}

.post-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.post-card a {
  display: block;
}

.post-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.08);
}

.post-card-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.post-card-body {
  padding: 20px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-card-category {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

.post-card-date {
  font-size: 12px;
  color: var(--color-text-muted);
}

.post-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.post-card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .page-posts {
    padding: 120px 0 80px;
  }

  .page-title {
    font-size: 36px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================
   POST DETAIL
   ========================================== */
.page-post {
  min-height: 100vh;
}

.post-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  overflow: hidden;
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 0;
}

.post-hero h1 {
  color: white;
  font-size: 24px;
  margin-top: 12px;
}

.post-hero-meta {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-top: 8px;
}

.post-hero-simple {
  padding: 100px 0 40px;
  background-color: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.post-hero-simple .container {
  text-align: center;
  max-width: 800px;
}

.post-hero-simple .badge {
  margin-bottom: 16px;
}

.post-hero-simple h1 {
  font-size: 28px;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.post-hero-simple .post-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.post-hero-simple .post-hero-meta .separator {
  color: var(--color-text-muted);
}

.post-content {
  padding: 40px 0 60px;
}

.post-content .container {
  max-width: 800px;
}

.post-intro {
  margin-bottom: 40px;
}

.post-intro h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.post-intro p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.product-section {
  margin-bottom: 48px;
}

.product-section h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.product-section > p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* Single Product Review */
.single-product-review {
  margin-bottom: 40px;
}

.product-header {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-image-large {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-image-large img {
  width: 100%;
  height: auto;
  display: block;
}

.product-header-info {
  text-align: center;
}

.product-header-info h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.product-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star {
  font-size: 28px;
  line-height: 1;
}

.star-full {
  color: #FFB800;
}

.star-half {
  background: linear-gradient(90deg, #FFB800 50%, #D1D5DB 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.star-empty {
  color: #D1D5DB;
}

.rating-numbers {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.rating-score {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.rating-max {
  font-size: 18px;
  color: var(--color-text-secondary);
}

/* Affiliate Buttons */
.affiliate-buttons {
  margin: 24px 0;
}

.affiliate-buttons-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.affiliate-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-affiliate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border-color: var(--platform-color);
}

.btn-affiliate-primary {
  color: var(--platform-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-affiliate-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-affiliate-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-affiliate-primary:hover::before {
  opacity: 1;
}

.btn-affiliate-secondary {
  color: var(--platform-color);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-affiliate-secondary:hover {
  border-color: var(--platform-color);
  background-color: var(--color-bg-secondary);
  transform: translateY(-1px);
}

.btn-affiliate-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.btn-affiliate-icon-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  
}

.btn-affiliate-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.btn-affiliate-platform {
  font-size: 16px;
}

.btn-affiliate-badge {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.btn-affiliate-secondary .btn-affiliate-badge {
  background-color: var(--color-primary);
  color: white;
}

.affiliate-disclaimer {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

.rating-criteria {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.rating-criteria h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.criterion-item {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.criterion-item:last-child {
  margin-bottom: 0;
}

.criterion-name {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.criterion-bar {
  height: 8px;
  background-color: var(--color-bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.criterion-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.criterion-score {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

.key-features-section,
.user-experience,
.buying-verdict {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.key-features-section h4,
.user-experience h4,
.buying-verdict h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.feature-item {
  margin-bottom: 20px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item h5 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-item p,
.user-experience p,
.buying-verdict p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.product-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.product-card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  max-width: 250px;
  max-height: 250px;
}

@media (max-width: 767px) {
  .product-card-image img {
    max-width: 100%;
    max-height: 100%;
  }
}


.product-card-content {
  flex: 1;
}

.product-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-card-highlight {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.product-toggle-btn {
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.product-toggle-btn:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.product-toggle-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.toggle-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.product-details {
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card-desc {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.product-pros-cons {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.product-pros h5,
.product-cons h5 {
  font-size: 14px;
  margin-bottom: 8px;
}

.product-pros h5 {
  color: var(--color-success);
}

.product-cons h5 {
  color: var(--color-warning);
}

.product-pros li,
.product-cons li {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.product-pros li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-success);
}

.product-cons li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-warning);
}

/* Enhanced Pros/Cons for Single Product Review */
.product-pros-cons-single {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.product-pros-box,
.product-cons-box {
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.product-pros-box {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.03) 100%);
  border: 2px solid rgba(76, 175, 80, 0.2);
}

.product-cons-box {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 152, 0, 0.03) 100%);
  border: 2px solid rgba(255, 152, 0, 0.2);
}

.pros-cons-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pros-cons-icon {
  font-size: 24px;
  line-height: 1;
}

.product-pros-box h5 {
  font-size: 18px;
  color: var(--color-success);
  margin: 0;
  font-weight: 600;
}

.product-cons-box h5 {
  font-size: 18px;
  color: var(--color-warning);
  margin: 0;
  font-weight: 600;
}

.product-pros-box ul,
.product-cons-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-pros-box li,
.product-cons-box li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 12px;
}

.product-pros-box li:last-child,
.product-cons-box li:last-child {
  margin-bottom: 0;
}

.check-icon,
.cross-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-top: 2px;
}

.check-icon {
  background-color: var(--color-success);
  color: white;
}

.cross-icon {
  background-color: var(--color-warning);
  color: white;
}

/* Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 90;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.sticky-cta-info {
  flex: 1;
  min-width: 0;
}

.sticky-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.sticky-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.star-icon {
  font-size: 14px;
}

.rating-text {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.sticky-cta-btn {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

.sticky-cta-badge {
  background-color: var(--color-bg-secondary);
  padding: 8px 16px;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

/* Show sticky bar on scroll for mobile */
@media (max-width: 767px) {
  .sticky-cta-bar.show {
    display: block;
  }
}

.product-card .btn {
  width: 100%;
}

.post-outro {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  border-left: 4px solid var(--color-primary);
}

.post-outro > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 0;
}

.outro-affiliate-links {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.outro-affiliate-link {
  margin-bottom: 12px;
}

.outro-affiliate-link:last-child {
  margin-bottom: 0;
}

.outro-affiliate-link a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.outro-affiliate-link a::before {
  content: '🛒';
  font-size: 18px;
}

.outro-affiliate-link a:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.faq-section {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
}

.faq-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.faq-item {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.faq-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .post-hero {
    height: 50vh;
  }

  .post-hero-overlay {
    padding: 48px 0;
  }

  .post-hero h1 {
    font-size: 36px;
    max-width: 800px;
  }

  .post-hero-simple {
    padding: 120px 0 60px;
  }

  .post-hero-simple h1 {
    font-size: 40px;
  }

  .post-hero-simple .post-hero-meta {
    font-size: 16px;
  }

  .product-header {
    flex-direction: row;
    text-align: left;
  }

  .product-image-large {
    width: 300px;
    flex-shrink: 0;
  }

  .product-header-info {
    text-align: left;
  }

  .product-rating {
    flex-direction: row;
    justify-content: flex-start;
  }

  .rating-stars {
    gap: 6px;
  }

  .star {
    font-size: 32px;
  }

  .rating-numbers {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 2px solid var(--color-border);
  }

  .criterion-item {
    grid-template-columns: 150px 1fr 70px;
  }

  .product-card-inner {
    flex-direction: row;
  }

  .product-card-image {
    width: 200px;
    flex-shrink: 0;
  }

  .product-pros-cons {
    grid-template-columns: 1fr 1fr;
  }

  .product-pros-cons-single {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-cta-bar {
    display: none !important;
  }

  .product-card .btn {
    width: auto;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-icon {
  font-size: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  color: var(--color-text);
}

.footer-brand span {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer-desc {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 6px 0;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ==========================================
   VERSUS COMPARISON
   ========================================== */
.versus-comparison {
  margin: 32px 0;
}

.contenders-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .contenders-header {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.contender-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.contender-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contender-card img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.contender-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.comparison-table-wrapper {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.comparison-table-wrapper h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead th {
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table thead th:first-child {
  border-top-left-radius: var(--radius-md);
  width: 30%;
}

.comparison-table thead th:last-child {
  border-top-right-radius: var(--radius-md);
}

.comparison-table thead th:nth-child(2),
.comparison-table thead th:nth-child(3) {
  text-align: center;
  width: 35%;
}

.comparison-table tbody tr.comparison-row-feature {
  border-bottom: 1px solid var(--color-border);
}

.comparison-table tbody tr.comparison-row-feature:nth-child(4n+1) {
  background-color: var(--color-surface);
}

.comparison-table tbody tr.comparison-row-feature:nth-child(4n+3) {
  background-color: var(--color-bg-secondary);
}

.comparison-table tbody tr.comparison-row-comment {
  border-bottom: 2px solid var(--color-border);
}

.comparison-table tbody tr.comparison-row-comment:nth-child(4n+2) {
  background-color: var(--color-surface);
}

.comparison-table tbody tr.comparison-row-comment:nth-child(4n) {
  background-color: var(--color-bg-secondary);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 12px;
  vertical-align: middle;
}

.comparison-table td.feature-name {
  font-weight: 500;
  color: var(--color-text);
}

.comparison-table td.value-cell {
  text-align: center;
  position: relative;
  color: var(--color-text);
}

.comparison-table td.value-cell.winner {
  color: var(--color-text);
  font-weight: 600;
}

.comparison-table td.value-cell.winner::before {
  content: '✓';
  font-size: 20px;
  font-weight: bold;
  margin-right: 8px;
  color: #22c55e;
}

.comparison-table td.comment-cell {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-style: italic;
  padding: 10px 12px;
}

.winner-badge {
  display: none;
}

@media (max-width: 767px) {
  .comparison-table {
    font-size: 12px;
  }

  .comparison-table thead th,
  .comparison-table td {
    padding: 8px;
  }

  .comparison-table thead th:first-child {
    width: 25%;
  }

  .comparison-table thead th:nth-child(2),
  .comparison-table thead th:nth-child(3) {
    width: 37.5%;
  }
}

.scenario-winners-wrapper {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.scenario-winners-wrapper h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.scenario-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.scenario-table thead th {
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.scenario-table thead th:first-child {
  border-top-left-radius: var(--radius-md);
  width: 40%;
}

.scenario-table thead th:last-child {
  border-top-right-radius: var(--radius-md);
}

.scenario-table thead th:nth-child(2),
.scenario-table thead th:nth-child(3) {
  text-align: center;
  width: 30%;
}

.scenario-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.scenario-table tbody tr:nth-child(odd) {
  background-color: var(--color-surface);
}

.scenario-table tbody tr:nth-child(even) {
  background-color: var(--color-bg-secondary);
}

.scenario-table tbody tr:last-child {
  border-bottom: none;
}

.scenario-table td {
  padding: 12px;
  vertical-align: middle;
}

.scenario-table td.scenario-desc {
  font-size: 14px;
  color: var(--color-text);
}

.scenario-table td.scenario-cell {
  text-align: center;
  position: relative;
  min-height: 50px;
}

.scenario-table td.scenario-cell.winner::before {
  content: '✓';
  font-size: 28px;
  font-weight: bold;
  color: #22c55e;
  line-height: 1;
}

.scenario-table td.scenario-cell.draw::before {
  content: '—';
  font-size: 24px;
  font-weight: bold;
  color: #eab308;
  line-height: 1;
}

.draw-badge {
  display: none;
}

@media (max-width: 767px) {
  .scenario-table {
    font-size: 12px;
  }

  .scenario-table thead th,
  .scenario-table td {
    padding: 8px;
  }

  .scenario-table thead th:first-child {
    width: 35%;
  }

  .scenario-table thead th:nth-child(2),
  .scenario-table thead th:nth-child(3) {
    width: 32.5%;
  }
}

.final-verdict {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.final-verdict h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.final-verdict p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 32px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-number:hover:not(.active) {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination-number.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  font-weight: 600;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

@media (max-width: 640px) {
  .pagination {
    gap: 6px;
    margin: 32px 0 24px;
  }

  .pagination-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .pagination-number {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .pagination-ellipsis {
    min-width: 36px;
    height: 36px;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   POST TYPE: VIDEO
   ========================================== */

/* Video Section */
.video-section {
  margin-bottom: 32px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: #000;
  box-shadow: var(--shadow-md);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  margin-top: 16px;
  padding: 16px;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.video-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.video-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.channel-icon {
  font-size: 16px;
}

/* Video Chapters */
.video-chapters {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.video-chapters h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px 0;
}

.chapters-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.chapter-item:hover {
  background-color: var(--color-primary);
  color: white;
}

.chapter-item:hover .chapter-timestamp {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.chapter-timestamp {
  flex-shrink: 0;
  padding: 4px 8px;
  background-color: var(--color-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
  border-radius: 4px;
}

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

.chapter-item:hover .chapter-title {
  color: white;
}

/* Video Summary Section */
.video-summary-section {
  margin-bottom: 32px;
}

/* Summary Highlights */
.summary-highlights {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.summary-highlights h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px 0;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
}

.highlight-icon {
  flex-shrink: 0;
  font-size: 16px;
}

.highlight-list li span:last-child {
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
}

/* Summary Detailed Content */
.summary-detailed {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.summary-detailed h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px 0;
}

.detailed-content {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.8;
}

.detailed-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 24px 0 12px 0;
}

.detailed-content p {
  margin: 0 0 16px 0;
}

.detailed-content ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.detailed-content ul li {
  margin-bottom: 8px;
}

.detailed-content strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Products Mentioned */
.products-mentioned {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.products-mentioned h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

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

.product-mentioned-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.product-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
}

.product-info {
  flex: 1;
}

.product-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.product-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.product-timestamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background-color: #ff0000;
  color: white;
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-timestamp:hover {
  background-color: #cc0000;
  transform: scale(1.05);
}

.product-timestamp .timestamp-icon {
  font-size: 8px;
}

.product-verdict {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

/* Product Affiliate Links */
.product-affiliate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.product-affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background-color: var(--platform-color, var(--color-primary));
  color: white;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-affiliate-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.product-affiliate-btn .affiliate-icon-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* Video Outro */
.video-outro {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.outro-advice {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.outro-advice h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.outro-advice p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.outro-cta p {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}
