/* Visual direction: Workshop Comfort — warm amber/brown palette with electric blue trust accents, generous whitespace, soft card depth, and purposeful motion. */
:root {
  --pw-primary: #D97706;
  --pw-primary-dark: #B45309;
  --pw-secondary: #92400E;
  --pw-accent: #3B82F6;
  --pw-accent-dark: #2563EB;
  --pw-background: #FFFBEB;
  --pw-surface: #FFFFFF;
  --pw-border: #E7E5E4;
  --pw-muted: #78716C;
  --pw-danger: #DC2626;
  --pw-success: #16A34A;
  --pw-warning: #F59E0B;
  --pw-foreground: #292524;
  --pw-dark: #292524;
  --pw-light: #FFFBEB;
  --pw-gradient-signature: linear-gradient(135deg, #D97706 0%, #92400E 100%);
  --pw-shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --pw-shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --pw-radius: 16px;
  --pw-transition: 150ms ease-out;
}
html {
  scroll-behavior: smooth;
}
*:focus-visible {
  outline: 2px solid var(--pw-accent);
  outline-offset: 2px;
}
.pw-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .pw-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .pw-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.pw-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .pw-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.pw-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pw-foreground);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .pw-section-title {
    font-size: 2.25rem;
  }
}
.pw-section-subtitle {
  color: var(--pw-muted);
  font-size: 1.125rem;
  max-width: 640px;
}
.pw-gradient-text {
  background: var(--pw-gradient-signature);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pw-hero-blobs {
  position: relative;
  overflow: hidden;
}
.pw-hero-blobs::before,
.pw-hero-blobs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.pw-hero-blobs::before {
  width: 500px;
  height: 500px;
  top: -120px;
  left: -120px;
  background: rgba(217, 119, 6, 0.18);
  animation: pw-blob-drift-1 20s ease-in-out infinite alternate;
}
.pw-hero-blobs::after {
  width: 400px;
  height: 400px;
  bottom: -120px;
  right: -120px;
  background: rgba(59, 130, 246, 0.18);
  animation: pw-blob-drift-2 20s ease-in-out infinite alternate;
}
@keyframes pw-blob-drift-1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 40px); }
}
@keyframes pw-blob-drift-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-40px, -60px); }
}
.pw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--pw-transition), filter var(--pw-transition), box-shadow var(--pw-transition);
  cursor: pointer;
  border: none;
}
.pw-btn:hover {
  filter: brightness(1.1);
}
.pw-btn:active {
  transform: scale(0.95);
}
.pw-btn-primary {
  background: var(--pw-gradient-signature);
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.3);
}
.pw-btn-accent {
  background-color: var(--pw-accent);
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}
.pw-btn-outline {
  background-color: transparent;
  border: 2px solid var(--pw-border);
  color: var(--pw-foreground);
}
.pw-btn-outline:hover {
  border-color: var(--pw-primary);
  color: var(--pw-primary);
}
.pw-card {
  background-color: var(--pw-surface);
  border-radius: var(--pw-radius);
  box-shadow: var(--pw-shadow-card);
  border: 1px solid var(--pw-border);
  overflow: hidden;
  transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
}
.pw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pw-shadow-card-hover);
}
.pw-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pw-badge-primary {
  background: var(--pw-gradient-signature);
  color: #ffffff;
}
.pw-badge-accent {
  background-color: var(--pw-accent);
  color: #ffffff;
}
.pw-badge-outline {
  background-color: var(--pw-background);
  color: var(--pw-secondary);
  border: 1px solid var(--pw-border);
}
.pw-stars {
  display: inline-flex;
  gap: 0.125rem;
  letter-spacing: -0.05em;
}
.pw-star-full {
  color: var(--pw-warning);
}
.pw-star-half {
  background: var(--pw-gradient-signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pw-star-empty {
  color: var(--pw-border);
}
.pw-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pw-gradient-signature);
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
}
.pw-rating-badge .pw-star-full,
.pw-rating-badge .pw-star-empty,
.pw-rating-badge .pw-star-half {
  color: #ffffff;
}
.pw-pros-cons dt {
  font-weight: 700;
  color: var(--pw-foreground);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pw-pros-list li::before {
  content: '✓';
  color: var(--pw-success);
  font-weight: 700;
  margin-right: 0.5rem;
}
.pw-cons-list li::before {
  content: '✕';
  color: var(--pw-danger);
  font-weight: 700;
  margin-right: 0.5rem;
}
.pw-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--pw-surface);
  border-radius: var(--pw-radius);
  overflow: hidden;
  border: 1px solid var(--pw-border);
}
.pw-table th,
.pw-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--pw-border);
}
.pw-table th {
  background-color: var(--pw-background);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--pw-foreground);
}
.pw-table tbody tr:nth-child(even) {
  background-color: rgba(255, 251, 235, 0.5);
}
.pw-table .pw-winner-cell {
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--pw-success);
  font-weight: 700;
}
.pw-check {
  color: var(--pw-success);
  font-weight: 700;
}
.pw-cross {
  color: var(--pw-danger);
  font-weight: 700;
}
.pw-table.mobile-stack thead {
  display: none;
}
.pw-table.mobile-stack,
.pw-table.mobile-stack tbody,
.pw-table.mobile-stack tr,
.pw-table.mobile-stack td {
  display: block;
  width: 100%;
}
.pw-table.mobile-stack tr {
  margin-bottom: 1rem;
  border: 1px solid var(--pw-border);
  border-radius: var(--pw-radius);
  overflow: hidden;
}
.pw-table.mobile-stack td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  border-bottom: 1px solid var(--pw-border);
}
.pw-table.mobile-stack td::before {
  content: attr(data-label);
  font-weight: 700;
  text-align: left;
  color: var(--pw-foreground);
}
@media (min-width: 768px) {
  .pw-table.mobile-stack thead {
    display: table-header-group;
  }
  .pw-table.mobile-stack tbody {
    display: table-row-group;
  }
  .pw-table.mobile-stack tr {
    display: table-row;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
  }
  .pw-table.mobile-stack td {
    display: table-cell;
    text-align: left;
    border-bottom: 1px solid var(--pw-border);
  }
  .pw-table.mobile-stack td::before {
    content: none;
  }
}
.pw-countdown {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
}
.pw-countdown span {
  background-color: var(--pw-dark);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 2ch;
  text-align: center;
}
.pw-notice {
  padding: 0.75rem 1rem;
  border-radius: var(--pw-radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.pw-notice-success {
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--pw-success);
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.pw-notice-error {
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--pw-danger);
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.pw-search-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(41, 37, 36, 0.6);
  backdrop-filter: blur(4px);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--pw-transition), visibility var(--pw-transition);
}
.pw-search-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.pw-search-panel {
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, 720px);
  background-color: var(--pw-surface);
  border-radius: var(--pw-radius);
  padding: 1.5rem;
  box-shadow: var(--pw-shadow-card-hover);
}
.pw-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.pw-mobile-nav.is-open {
  pointer-events: auto;
}
.pw-mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(41, 37, 36, 0.5);
  opacity: 0;
  transition: opacity var(--pw-transition);
}
.pw-mobile-nav.is-open .pw-mobile-nav-backdrop {
  opacity: 1;
}
.pw-mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(100% - 3rem, 360px);
  background-color: var(--pw-surface);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 300ms ease-in-out;
  padding: 1.5rem;
}
.pw-mobile-nav.is-open .pw-mobile-nav-panel {
  transform: translateX(0);
}
.pw-prose h2 {
  font-size: 1.875rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.pw-prose h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.pw-prose p {
  margin-bottom: 1.25rem;
  color: var(--pw-foreground);
}
.pw-prose ul,
.pw-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.pw-prose li {
  margin-bottom: 0.5rem;
}
.pw-prose blockquote {
  border-left: 4px solid var(--pw-primary);
  padding-left: 1rem;
  color: var(--pw-muted);
  font-style: italic;
}
.pw-affiliate-callout {
  background-color: var(--pw-background);
  border: 1px solid var(--pw-border);
  border-left: 4px solid var(--pw-primary);
  border-radius: var(--pw-radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.pw-skeleton {
  background-color: var(--pw-border);
  border-radius: var(--pw-radius);
  animation: pw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-hero-blobs::before,
  .pw-hero-blobs::after {
    animation: none;
    opacity: 0.4;
  }
  .pw-card {
    transition: none;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.pw-breadcrumbs {
  font-size: 0.875rem;
  color: var(--pw-muted);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pw-border);
  background-color: rgba(217, 119, 6, 0.04);
}
.pw-breadcrumbs nav > ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pw-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.pw-breadcrumbs a {
  color: rgba(41, 37, 36, 0.7);
  text-decoration: none;
  transition: color var(--pw-transition);
}
.pw-breadcrumbs a:hover {
  color: var(--pw-primary);
}
.pw-breadcrumbs li[aria-current="page"] span {
  color: var(--pw-foreground);
  font-weight: 500;
}
.pw-breadcrumbs .pw-breadcrumbs-separator {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  color: rgba(120, 113, 108, 0.6);
}
/* ───────────────────────────────────────────────────────────
   Interactive Comparison Tool + Smart Deal Countdowns
   ─────────────────────────────────────────────────────────── */

/* Sticky site-wide compare bar */
.pw-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--pw-surface);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--pw-border);
  transform: translateY(100%);
  transition: transform 250ms ease-out;
}
.pw-compare-bar.is-visible {
  transform: translateY(0);
}
@media (max-width: 639px) {
  .pw-compare-bar-text {
    display: none;
  }
}

/* Compare toggle pill button */
.pw-compare-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--pw-border);
  background: var(--pw-surface);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pw-foreground);
  cursor: pointer;
  transition: border-color var(--pw-transition), color var(--pw-transition), background var(--pw-transition);
}
.pw-compare-toggle:hover {
  border-color: var(--pw-primary);
  color: var(--pw-primary);
}
.pw-compare-toggle.is-selected {
  background: var(--pw-gradient-signature);
  color: #ffffff;
  border-color: transparent;
}
.pw-compare-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Selected card highlight */
.pw-compare-card-selected {
  outline: 2px solid var(--pw-primary);
  outline-offset: 2px;
}

/* Comparison table */
.pw-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pw-border);
  border-radius: var(--pw-radius);
  background: var(--pw-surface);
}
.pw-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}
.pw-compare-table th,
.pw-compare-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--pw-border);
  text-align: left;
}
.pw-compare-table th:first-child,
.pw-compare-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--pw-surface);
  z-index: 1;
  font-weight: 700;
  min-width: 120px;
  border-right: 1px solid var(--pw-border);
}
.pw-compare-table th {
  background: var(--pw-background);
  text-align: center;
}
.pw-compare-table th img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 8px;
}
.pw-compare-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--pw-border);
  background: var(--pw-surface);
  color: var(--pw-muted);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background var(--pw-transition), color var(--pw-transition);
}
.pw-compare-remove:hover {
  background: var(--pw-danger);
  color: #ffffff;
  border-color: transparent;
}

/* Urgent countdown styling (<24h) */
.pw-countdown.is-urgent {
  color: var(--pw-danger);
  font-weight: 700;
  animation: pw-countdown-pulse 1s ease-in-out infinite;
}
.pw-countdown.is-urgent::before {
  content: '⚠ ';
}
@keyframes pw-countdown-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-countdown.is-urgent {
    animation: none;
  }
}

/* Expired deal card state */
.pw-deal-expired img {
  filter: grayscale(1);
  opacity: 0.6;
}
.pw-deal-expired .pw-deal-cta-area .pw-btn {
  background: var(--pw-muted);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}