/**
 * PrintPartPicker Design System & Theme Styles
 * Mobile-First, Accessible, Light/Dark Modes
 */

:root {
  --ppp-primary: #F97316;
  --ppp-primary-hover: #EA580C;
  --ppp-primary-light: #FFEDD5;
  --ppp-primary-dark: #C2410C;

  --ppp-bg: #F8FAFC;
  --ppp-surface: #FFFFFF;
  --ppp-surface-subtle: #F1F5F9;
  --ppp-border: #E2E8F0;
  --ppp-text: #0F172A;
  --ppp-text-muted: #64748B;
  --ppp-text-light: #94A3B8;

  --ppp-success: #16A34A;
  --ppp-warning: #F59E0B;
  --ppp-error: #DC2626;
  --ppp-info: #0284C7;

  --ppp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --ppp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --ppp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);

  --ppp-radius-sm: 6px;
  --ppp-radius-md: 10px;
  --ppp-radius-lg: 16px;
  --ppp-radius-full: 9999px;

  --ppp-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ppp-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  --ppp-bg: #0B1120;
  --ppp-surface: #1E293B;
  --ppp-surface-subtle: #0F172A;
  --ppp-border: #334155;
  --ppp-text: #F8FAFC;
  --ppp-text-muted: #94A3B8;
  --ppp-text-light: #64748B;
  --ppp-primary-light: rgba(249, 115, 22, 0.15);
  --ppp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --ppp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --ppp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--ppp-font-sans);
  background-color: var(--ppp-bg);
  color: var(--ppp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: var(--ppp-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--ppp-primary-hover);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header & Navigation */
.ppp-header {
  background-color: var(--ppp-surface);
  border-bottom: 1px solid var(--ppp-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

.ppp-header-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ppp-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.ppp-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ppp-text);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1;
}

.ppp-brand-link:hover {
  color: var(--ppp-text);
}

.ppp-brand-name {
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
}

.ppp-brand-accent {
  color: var(--ppp-primary);
}

.ppp-logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.ppp-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  margin: 0 8px;
  min-width: 0;
}

.ppp-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.ppp-nav-menu li {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ppp-nav-menu a {
  color: var(--ppp-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--ppp-radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.ppp-nav-menu a:hover {
  color: var(--ppp-primary);
  background-color: var(--ppp-surface-subtle);
}

.ppp-nav-menu a.active,
.ppp-nav-menu a[aria-current="page"] {
  color: var(--ppp-primary);
  background-color: var(--ppp-primary-light);
  font-weight: 700;
}

.ppp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ppp-theme-toggle {
  background: var(--ppp-surface-subtle);
  border: 1px solid var(--ppp-border);
  color: var(--ppp-text);
  width: 38px;
  height: 38px;
  border-radius: var(--ppp-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

.ppp-theme-toggle:hover {
  border-color: var(--ppp-primary);
  color: var(--ppp-primary);
  transform: scale(1.05);
}

.ppp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--ppp-radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap !important;
  line-height: 1;
}

.ppp-btn-primary {
  background-color: var(--ppp-primary);
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2);
}

.ppp-btn-primary:hover {
  background-color: var(--ppp-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

.ppp-btn-secondary {
  background-color: var(--ppp-surface-subtle);
  color: var(--ppp-text) !important;
  border: 1px solid var(--ppp-border);
}

.ppp-btn-secondary:hover {
  border-color: var(--ppp-text-muted);
  background-color: var(--ppp-border);
}

.ppp-btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.ppp-nav-cta {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--ppp-radius-md);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.ppp-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--ppp-radius-sm);
  background: var(--ppp-surface-subtle);
  border: 1px solid var(--ppp-border);
  color: var(--ppp-text);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.ppp-mobile-toggle:hover {
  border-color: var(--ppp-primary);
}

.ppp-hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Accessible Mobile Navigation Drawer */
.ppp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--ppp-surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  overflow-y: auto;
  padding: 24px 20px;
  visibility: hidden;
  pointer-events: none;
}

.ppp-mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.ppp-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ppp-border);
}

.ppp-mobile-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ppp-text);
}

.ppp-mobile-drawer-close {
  background: var(--ppp-surface-subtle);
  border: 1px solid var(--ppp-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ppp-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.ppp-mobile-drawer-close:hover {
  color: var(--ppp-primary);
  border-color: var(--ppp-primary);
}

.ppp-mobile-nav {
  flex: 1 1 auto;
  padding: 16px 0;
}

.ppp-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.ppp-mobile-nav-list a {
  display: block;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ppp-text);
  border-radius: var(--ppp-radius-sm);
  text-decoration: none;
  white-space: nowrap !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ppp-mobile-nav-list a:hover {
  background-color: var(--ppp-surface-subtle);
  color: var(--ppp-primary);
}

.ppp-mobile-nav-list a.active,
.ppp-mobile-nav-list a[aria-current="page"] {
  background-color: var(--ppp-primary-light);
  color: var(--ppp-primary);
  font-weight: 700;
}

.ppp-mobile-drawer-footer {
  padding-top: 16px;
  border-top: 1px solid var(--ppp-border);
}

.ppp-mobile-cta {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--ppp-radius-md);
  white-space: nowrap !important;
}

.ppp-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ppp-mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.ppp-drawer-open {
  overflow: hidden;
}

/* Hero Section */
.ppp-hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, var(--ppp-surface) 0%, var(--ppp-bg) 100%);
  text-align: center;
  border-bottom: 1px solid var(--ppp-border);
}

.ppp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--ppp-primary-light);
  color: var(--ppp-primary-dark);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--ppp-radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ppp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin: 0 auto 20px;
}

.ppp-hero-desc {
  font-size: 1.15rem;
  color: var(--ppp-text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

.ppp-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections & Grid */
.ppp-section {
  padding: 60px 0;
}

.ppp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.ppp-section-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ppp-section-subtitle {
  color: var(--ppp-text-muted);
  font-size: 1rem;
  margin-top: 4px;
}

.ppp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .ppp-grid-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .ppp-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .ppp-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ppp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .ppp-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .ppp-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Product Card */
.ppp-card {
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-border);
  border-radius: var(--ppp-radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ppp-card:hover {
  transform: translateY(-4px);
  border-color: var(--ppp-primary);
  box-shadow: var(--ppp-shadow-md);
}

.ppp-card-thumb {
  height: 180px;
  background-color: var(--ppp-surface-subtle);
  border-radius: var(--ppp-radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ppp-card-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.ppp-card-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ppp-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.ppp-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ppp-text);
}

.ppp-card-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--ppp-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.ppp-spec-row {
  display: flex;
  justify-content: space-between;
}

.ppp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--ppp-border);
}

.ppp-card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ppp-text);
}

/* Badges */
.ppp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--ppp-radius-sm);
}

.ppp-badge-success {
  background-color: rgba(22, 163, 74, 0.12);
  color: var(--ppp-success);
}

.ppp-badge-warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--ppp-warning);
}

.ppp-badge-error {
  background-color: rgba(220, 38, 38, 0.12);
  color: var(--ppp-error);
}

/* Build Planner */
.ppp-builder-workspace {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: flex-start;
  margin-top: 30px;
}

.ppp-builder-slots {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ppp-slot-card {
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-border);
  border-radius: var(--ppp-radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.15s ease;
}

.ppp-slot-card:hover {
  border-color: var(--ppp-border);
}

.ppp-slot-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ppp-slot-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--ppp-radius-md);
  background-color: var(--ppp-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ppp-primary);
  font-size: 1.25rem;
}

.ppp-slot-title {
  font-weight: 600;
  font-size: 1rem;
}

.ppp-slot-subtitle {
  font-size: 0.85rem;
  color: var(--ppp-text-muted);
}

.ppp-builder-summary {
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-border);
  border-radius: var(--ppp-radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
  box-shadow: var(--ppp-shadow-sm);
}

.ppp-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ppp-summary-total {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ppp-primary);
  margin-bottom: 20px;
}

/* Comparison Table */
.ppp-compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--ppp-radius-lg);
  border: 1px solid var(--ppp-border);
  background: var(--ppp-surface);
}

.ppp-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ppp-compare-table th,
.ppp-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ppp-border);
}

.ppp-compare-table tr:last-child td {
  border-bottom: none;
}

.ppp-compare-table tr.is-diff {
  background-color: var(--ppp-primary-light);
}

/* Calculators */
.ppp-calc-card {
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-border);
  border-radius: var(--ppp-radius-lg);
  padding: 28px;
  margin-bottom: 30px;
}

.ppp-form-group {
  margin-bottom: 16px;
}

.ppp-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ppp-text);
}

.ppp-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ppp-border);
  border-radius: var(--ppp-radius-md);
  background-color: var(--ppp-surface);
  color: var(--ppp-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.ppp-form-control:focus {
  outline: none;
  border-color: var(--ppp-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.ppp-calc-results {
  background-color: var(--ppp-surface-subtle);
  border-radius: var(--ppp-radius-md);
  padding: 20px;
  margin-top: 24px;
}

/* Footer */
.ppp-footer {
  background-color: var(--ppp-surface);
  border-top: 1px solid var(--ppp-border);
  padding: 60px 0 30px;
  margin-top: auto;
}

.ppp-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.ppp-footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ppp-text);
}

.ppp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ppp-footer-links a {
  color: var(--ppp-text-muted);
  font-size: 0.9rem;
}

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

.ppp-footer-disclosure {
  font-size: 0.825rem;
  color: var(--ppp-text-muted);
  line-height: 1.5;
  padding: 20px 0;
  border-top: 1px solid var(--ppp-border);
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1140px) {
  .ppp-main-nav {
    display: none !important;
  }

  .ppp-mobile-toggle {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .ppp-builder-workspace {
    grid-template-columns: 1fr;
  }

  .ppp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .ppp-nav-actions .ppp-nav-cta {
    display: none !important;
  }

  .ppp-brand-link {
    font-size: 1.15rem;
  }

  .ppp-logo-svg {
    width: 32px;
    height: 32px;
  }

  .ppp-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .ppp-brand-name {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Comparison Matrix Engine
   ========================================================================== */
.ppp-compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-border);
  border-radius: var(--ppp-radius-lg);
  box-shadow: var(--ppp-shadow-sm);
  position: relative;
  margin-bottom: 40px;
}

.ppp-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  table-layout: fixed;
  min-width: 780px;
}

.ppp-compare-table th,
.ppp-compare-table td {
  padding: 16px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--ppp-border);
  border-right: 1px solid var(--ppp-border-subtle);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ppp-compare-table th:last-child,
.ppp-compare-table td:last-child {
  border-right: none;
}

/* Sticky first column for specification labels */
.ppp-compare-table th:first-child,
.ppp-compare-table td:first-child {
  width: 240px;
  min-width: 240px;
  max-width: 260px;
  position: sticky;
  left: 0;
  background: var(--ppp-surface);
  z-index: 2;
  font-weight: 700;
  color: var(--ppp-text);
  box-shadow: 2px 0 5px rgba(0,0,0,0.03);
}

.ppp-compare-table thead th:first-child {
  z-index: 3;
  background: var(--ppp-surface-2);
}

.ppp-compare-table thead th {
  background: var(--ppp-surface-2);
  border-bottom: 2px solid var(--ppp-border);
  vertical-align: top;
}

.ppp-compare-header-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ppp-compare-thumb-wrap {
  width: 100%;
  height: 140px;
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-border-subtle);
  border-radius: var(--ppp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
}

.ppp-compare-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ppp-compare-thumb-placeholder {
  font-size: 3rem;
  opacity: 0.6;
}

.ppp-compare-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ppp-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ppp-compare-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.ppp-compare-title a {
  color: var(--ppp-text);
  text-decoration: none;
}

.ppp-compare-title a:hover {
  color: var(--ppp-primary);
}

.ppp-compare-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ppp-primary);
}

.ppp-compare-price-na {
  font-size: 0.85rem;
  color: var(--ppp-text-muted);
  font-weight: 600;
}

.ppp-spec-row:nth-child(even) td:not(:first-child) {
  background: rgba(0, 0, 0, 0.015);
}

.ppp-spec-row.is-diff {
  background-color: var(--ppp-primary-light);
}

.ppp-spec-row.is-diff td:first-child {
  background-color: var(--ppp-surface);
  border-left: 3px solid var(--ppp-primary);
}

/* Build Planner Pricing Badges */
.ppp-price-unpriced-badge {
  font-size: 0.75rem;
  color: var(--ppp-text-muted);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

