/* ============================================
   Product Cards
   ============================================ */

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0);
  transition: box-shadow var(--transition-base);
  pointer-events: none;
}

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

.product-card:hover::after {
  box-shadow: inset 0 0 0 2px rgba(8, 145, 178, 0.3);
}

.product-card-image {
  position: relative;
  background: var(--color-cream);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-image .placeholder-img {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-4);
}

.product-card-body {
  padding: var(--space-6);
}

.product-card-body h3 {
  margin-bottom: var(--space-2);
}

.product-card-body h3 a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.product-card-body h3 a:hover {
  color: var(--color-teal);
}

.product-card-summary {
  font-size: var(--text-sm);
  color: var(--color-text-medium);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

/* ============================================
   Featured Product Card (Homepage)
   ============================================ */

.featured-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 768px) {
  .featured-card {
    grid-template-columns: 260px 1fr;
    padding: var(--space-8);
    gap: var(--space-8);
  }
}

.featured-card.winner {
  border: 2px solid var(--color-teal);
  background: var(--color-white);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(8, 145, 178, 0.06);
}

.featured-card.winner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-electric);
}

.featured-card.winner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.featured-card .featured-image {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.featured-card .featured-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.featured-card .featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.featured-card .featured-excerpt {
  font-size: var(--text-base);
  color: var(--color-text-medium);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.featured-card .featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ============================================
   Ratings
   ============================================ */

.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.rating-score {
  font-weight: var(--font-extrabold);
  font-size: var(--text-sm);
  color: var(--color-white);
  background: var(--color-teal);
  padding: 5px 12px;
  border-radius: var(--radius-md);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rating-max {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-weight: var(--font-medium);
}

.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-gold);
}

.rating-stars .star {
  width: 16px;
  height: 16px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.rating-bar-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  min-width: 120px;
  color: var(--color-text-medium);
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--color-cream);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--gradient-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
  position: relative;
}

.rating-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.rating-bar-value {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  min-width: 36px;
  text-align: right;
  color: var(--color-teal-dark);
}

/* ============================================
   Badges
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 5px 14px;
  font-size: 0.6875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.badge-gold {
  background: var(--color-amber);
  color: var(--color-white);
}

.badge-green {
  background: var(--color-green);
  color: var(--color-white);
}

.badge-red {
  background: var(--color-red);
  color: var(--color-white);
}

.badge-gray {
  background: var(--color-cream);
  color: var(--color-text-medium);
  border: 1px solid var(--color-border);
}

/* ============================================
   Pros / Cons
   ============================================ */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: var(--space-8) 0;
}

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

.pros-list,
.cons-list {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
}

.pros-list {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.cons-list {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.pros-list h4,
.cons-list h4 {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pros-list h4 { color: #15803D; }
.cons-list h4 { color: #B91C1C; }

.pros-list ul,
.cons-list ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pros-list li,
.cons-list li {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-6);
  position: relative;
  color: var(--color-text-medium);
}

.pros-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: var(--font-black);
  font-size: var(--text-lg);
  line-height: 1.4;
}

.cons-list li::before {
  content: '\2212';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: var(--font-black);
  font-size: var(--text-lg);
  line-height: 1.4;
}

/* ============================================
   CTA Buttons
   ============================================ */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.cta-button-primary {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
}

.cta-button-primary:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8, 145, 178, 0.35);
  background: var(--color-teal-dark);
}

.cta-button-secondary {
  background: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.cta-button-secondary:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
}

.cta-button-sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
}

.cta-button-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.cta-button .arrow {
  transition: transform var(--transition-fast);
  font-size: 1.1em;
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   Verdict Box
   ============================================ */

.verdict-box {
  background: var(--color-white);
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin: var(--space-10) 0;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(8, 145, 178, 0.06);
  position: relative;
  overflow: hidden;
}

.verdict-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-electric);
}

.verdict-box::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.verdict-box h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.verdict-box .verdict-rating {
  font-size: var(--text-4xl);
  font-weight: var(--font-black);
  color: var(--color-teal);
  margin-bottom: var(--space-3);
  letter-spacing: -0.04em;
}

.verdict-box .verdict-summary {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  color: var(--color-text-medium);
}

.verdict-box .verdict-who {
  background: var(--color-cream);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-border);
}

.verdict-box .verdict-who h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.verdict-box .verdict-who p {
  font-size: var(--text-sm);
  color: var(--color-text-medium);
  margin-bottom: 0;
}

/* ============================================
   Spec Table
   ============================================ */

.spec-table {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0;
}

.spec-table th,
.spec-table td {
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  background: var(--color-cream);
  font-weight: var(--font-semibold);
  width: 40%;
  color: var(--color-text-light);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.spec-table td {
  color: var(--color-text-dark);
  font-weight: var(--font-medium);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background: var(--color-teal-light);
}

/* ============================================
   Disclosure Banner
   ============================================ */

.disclosure {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

/* ============================================
   Breadcrumbs
   ============================================ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

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

.breadcrumb a:hover {
  color: var(--color-teal);
}

.breadcrumb .separator {
  color: var(--color-medium-gray);
}

.breadcrumb .current {
  color: var(--color-text-dark);
  font-weight: var(--font-medium);
}

/* ============================================
   FAQ Accordion
   ============================================ */

.faq-section {
  margin: var(--space-8) 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--color-white);
}

.faq-item:hover {
  border-color: var(--color-teal);
}

.faq-item.active {
  border-color: var(--color-teal);
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  text-align: left;
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-dark);
}

.faq-question:hover {
  background: var(--color-teal-light);
}

.faq-question .faq-icon {
  font-size: var(--text-base);
  color: var(--color-teal);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-4);
  width: 28px;
  height: 28px;
  background: var(--color-teal-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-teal);
  color: var(--color-white);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-medium);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   Trust Signals
   ============================================ */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: var(--color-teal-light);
  border-radius: var(--radius-xl);
  margin: var(--space-8) 0;
  border: 1px solid rgba(8, 145, 178, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-teal-dark);
  font-weight: var(--font-semibold);
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.trust-item .trust-icon {
  font-size: var(--text-base);
  color: var(--color-teal);
}

/* ============================================
   Author Bio
   ============================================ */

.author-bio {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  margin: var(--space-10) 0;
  border: 1px solid var(--color-border);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-medium-gray);
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.author-info .author-title {
  font-size: var(--text-sm);
  color: var(--color-teal);
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
}

.author-info p {
  font-size: var(--text-sm);
  color: var(--color-text-medium);
  margin-bottom: 0;
}

/* ============================================
   Article Meta
   ============================================ */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-6);
}

.article-meta time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ============================================
   Sticky Mobile CTA
   ============================================ */

.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(10, 22, 40, 0.1);
  padding: var(--space-3) var(--space-5);
  z-index: var(--z-mobile-cta);
}

.sticky-mobile-cta.visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.sticky-mobile-cta .product-name {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-mobile-cta .cta-button {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none !important;
  }
}

/* ============================================
   Table of Contents (Sidebar)
   ============================================ */

.toc {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
}

.toc h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-3);
  color: var(--color-text-light);
}

.toc ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.toc a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-medium);
  padding: var(--space-2) var(--space-3);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.toc a:hover,
.toc a.active {
  color: var(--color-teal);
  border-left-color: var(--color-teal);
  background: var(--color-white);
}

/* ============================================
   Quick Specs (Sidebar Widget)
   ============================================ */

.quick-specs {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-top: var(--space-4);
  border: 1px solid var(--color-border);
}

.quick-specs h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-3);
  color: var(--color-text-light);
}

.quick-specs dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.quick-specs dt {
  font-weight: var(--font-medium);
  color: var(--color-text-light);
}

.quick-specs dd {
  color: var(--color-text-dark);
  font-weight: var(--font-semibold);
}
