/* CompareDigest — Editorial Review & Comparison Design System */

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-strong: #eaeef2;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --brand: #133a52;
  --brand-soft: #e8f1f6;
  --cta: #0f766e;
  --cta-hover: #0d5e58;
  --cta-soft: #ecfdf5;
  --cta-border: #a7f3d0;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max-w: 1120px;
  --article-w: 840px;
  --font-serif: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Brand Theme Override: IM8 Health (Luxury Burgundy + Crimson + Warm Alabaster) */
body.theme-im8 {
  --bg: #fffdfb;
  --surface: #faf4ef;
  --surface-strong: #f2e6dc;
  --ink: #1f0d10;
  --body: #473236;
  --muted: #7a6166;
  --brand: #50000b;
  --brand-soft: #fae8ea;
  --cta: #a40011;
  --cta-hover: #7d000d;
  --cta-soft: #fdf2f3;
  --cta-border: #f3c4c9;
  --line: #ece0d8;
  --line-strong: #dcc8bc;
}

body.theme-im8 .btn-hot {
  background: linear-gradient(135deg, #a40011 0%, #cf1124 100%);
  border-color: #82000e;
  box-shadow: 0 6px 18px rgba(164, 0, 17, 0.28);
}

body.theme-im8 .btn-hot:hover {
  background: linear-gradient(135deg, #7d000d 0%, #a40011 100%);
  box-shadow: 0 10px 24px rgba(164, 0, 17, 0.38);
}

body.theme-im8 .offer-banner {
  background: linear-gradient(135deg, #50000b 0%, #820c1c 100%);
}

body.theme-im8 .site-footer {
  background: #23080c;
}

.hub-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.hub-feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.22s ease;
}

.hub-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.09);
  border-color: var(--line-strong);
}

.hub-feature-img {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hub-feature-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s var(--ease-out);
}

.hub-feature-card:hover .hub-feature-img img {
  transform: scale(1.04);
}

.hub-feature-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hub-feature-body h2 {
  font-size: 1.32rem;
  margin: 0;
}

.hub-feature-body p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--body);
  flex: 1;
}

.hub-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Coupon Portal Hub Hero & Live Search */
.hub-hero {
  padding: 44px 0 40px;
  background: radial-gradient(circle at 88% 18%, rgba(15, 118, 110, 0.08) 0%, rgba(19, 58, 82, 0.04) 42%, transparent 72%),
    linear-gradient(180deg, #f3f7fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.hub-spotlight-panel {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  min-width: 0;
  max-width: 100%;
}

.hub-hero-inner {
  max-width: 640px;
  min-width: 0;
}

.hub-spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hub-spotlight-head strong {
  font-size: 0.94rem;
  color: var(--ink);
}

.hub-spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-spotlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.2s var(--ease-out), border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.2s ease;
}

.hub-spotlight-item:hover {
  text-decoration: none;
  background: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.hub-spotlight-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.hub-spotlight-info {
  min-width: 0;
  flex: 1;
}

.hub-spotlight-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  min-width: 0;
}

.hub-spotlight-name .pill {
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-spotlight-offer {
  font-size: 0.82rem;
  color: var(--cta);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-spotlight-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px dashed var(--brand);
  color: var(--brand);
  flex-shrink: 0;
}

.hub-niche-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hub-niche-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.hub-niche-chip:hover {
  text-decoration: none;
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.hub-niche-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Floating Toast Notification */
.cd-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 16px);
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.24s var(--ease-out);
}

.cd-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hub-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 20px 0 18px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(19, 58, 82, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-search-bar:focus-within {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(19, 58, 82, 0.14);
}

.hub-search-icon {
  width: 19px;
  height: 19px;
  margin-left: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

.hub-search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink);
  outline: none;
}

.hub-search-clear {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.3rem;
  padding: 6px 12px;
  cursor: pointer;
}

.hub-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hub-quick-stats strong {
  color: var(--ink);
}

/* Hub Featured Brand Deal Cards */
.hub-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.hub-deal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.22s ease;
}

.hub-deal-card[hidden] {
  display: none;
}

.hub-deal-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hub-deal-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.48s var(--ease-out);
}

.hub-score-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.86);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.hub-niche-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.hub-deal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hub-deal-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9rem;
}

.hub-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cta);
}

.hub-deal-body h3 {
  font-size: 1.24rem;
  margin: 0;
}

.hub-deal-body h3 a {
  color: var(--ink);
}

.hub-deal-body h3 a:hover {
  color: var(--brand);
  text-decoration: none;
}

.hub-deal-body p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--body);
  flex: 1;
}

.hub-deal-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.hub-no-results {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  color: var(--body);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hub-load-more-wrap {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hub-load-more-wrap[hidden] {
  display: none;
}

.hub-results-count {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

.hub-no-results[hidden] {
  display: none;
}

.hub-no-results p {
  margin: 0;
}

/* Niche Directory Blocks */
.niche-directory {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.niche-block {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}

.niche-block[hidden] {
  display: none;
}

.niche-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.niche-block-head h3 {
  font-size: 1.25rem;
  margin: 0 0 4px;
}

.niche-block-head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.store-row-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.2s ease;
}

.store-row-thumb {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.store-row-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

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

.store-row-offer {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.store-row-info p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--body);
}

.store-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.niche-empty-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  font-size: 0.9rem;
  color: var(--muted);
}

.niche-empty-card p {
  margin: 0;
}

/* All-in-One Brand Page Hero Split & Benefits Grid */
.brand-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}

.brand-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.brand-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}

.benefit-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.2s ease;
}

.benefit-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--body);
}

@media (hover: hover) and (pointer: fine) {
  .hub-deal-card:hover,
  .store-row-card:hover,
  .benefit-card:hover,
  .trio-card:hover {
    transform: translateY(-4px);
    border-color: var(--cta-border);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09);
  }

  .hub-deal-card:hover .hub-deal-media img,
  .store-row-card:hover .store-row-thumb img,
  .trio-card:hover img {
    transform: scale(1.045);
  }
}

/* Brand Theme Override: Medly Wine Co. (Mediterranean Coastal Teal + Wine Berry + Warm Cream) */
body.theme-medly {
  --bg: #fffdf8;
  --surface: #fbf4e9;
  --surface-strong: #f2e5d3;
  --ink: #241e18;
  --body: #4a4036;
  --muted: #786a5c;
  --brand: #2d6670;
  --brand-soft: #e6f2f4;
  --cta: #8a3050;
  --cta-hover: #6c223d;
  --cta-soft: #fbf0f4;
  --cta-border: #e6bfd0;
  --line: #eadfce;
  --line-strong: #d8c8b2;
}

body.theme-medly .btn-hot {
  background: linear-gradient(135deg, #8a3050 0%, #b43c65 100%);
  border-color: #6e223d;
  box-shadow: 0 6px 18px rgba(138, 48, 80, 0.28);
}

body.theme-medly .btn-hot:hover {
  background: linear-gradient(135deg, #6c223d 0%, #8a3050 100%);
  box-shadow: 0 10px 24px rgba(138, 48, 80, 0.38);
}

body.theme-medly .pill-hot {
  background: #fbf0f4;
  color: #7a2644;
  border-color: #e6bfd0;
}

body.theme-medly .table-winner-tag {
  background: #8a3050;
}

body.theme-medly .score-fill {
  background: linear-gradient(90deg, #2d6670 0%, #8a3050 100%);
}

body.theme-medly .offer-banner {
  background: linear-gradient(135deg, #24555e 0%, #3d7c85 100%);
  box-shadow: 0 12px 30px rgba(45, 102, 112, 0.2);
}

body.theme-medly .site-footer {
  background: #1f2422;
}

body.theme-medly .deal-strip {
  border-color: #e6bfd0;
  background: linear-gradient(135deg, #fffaf4 0%, #f3f9fa 100%);
}

body.theme-medly .col-highlight {
  background: #f5fafb;
}

body.theme-medly .mobile-sticky-cta {
  border-top-color: #e6bfd0;
}

body.theme-medly .hero-visual-badge {
  background: rgba(45, 102, 112, 0.92);
}

.trio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.trio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.trio-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.trio-card-cap {
  padding: 10px 12px;
  font-size: 0.84rem;
  color: var(--body);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.trio-card-cap strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

section[id],
h2[id],
.niche-block[id] {
  scroll-margin-top: 124px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  overflow-x: clip;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.article-wrap {
  width: 100%;
  max-width: var(--article-w);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--body);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-niche-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Top Niche Sub-Bar (Visible on BOTH Desktop & Mobile directly under main nav) */
.niche-subbar {
  display: block;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.niche-subbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.niche-subbar-inner::-webkit-scrollbar {
  display: none;
}

.niche-subbar-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 4px;
  flex-shrink: 0;
}

.niche-subbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.niche-subbar-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

.niche-subbar-pill[aria-current="page"],
.niche-subbar-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  text-decoration: none;
}

.niche-subbar-pill[aria-current="page"] .nav-niche-dot,
.niche-subbar-pill.is-active .nav-niche-dot {
  background: #fff !important;
}

/* Brand Page Slim Section Sub-Navigation */
.brand-subnav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand-subnav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.brand-subnav-inner::-webkit-scrollbar {
  display: none;
}

.brand-subnav-inner a {
  color: var(--muted);
  white-space: nowrap;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.brand-subnav-inner a:hover,
.brand-subnav-inner a[aria-current="page"] {
  color: var(--cta);
  border-bottom-color: var(--cta);
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--cta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease-out);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cta);
  text-decoration: none;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lang-switcher:hover,
.lang-switcher:focus-within {
  border-color: var(--brand);
  background: #fff;
}

.lang-globe {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex-shrink: 0;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  padding-right: 16px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23344054' d='M1 1l4 4 4-4' stroke='%23344054' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill-opacity='0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.lang-select:focus {
  outline: none;
}

/* Mobile Hamburger Menu Button & Dropdown Drawer */
.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--brand-soft);
  border-color: var(--cta-border);
  color: var(--brand);
}

.menu-toggle svg {
  width: 19px;
  height: 19px;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 10px 16px 16px;
  gap: 2px;
}

.mobile-drawer-inner > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
}

.mobile-drawer-inner > a:hover,
.mobile-drawer-inner > a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.mobile-drawer-cta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mobile-drawer-cta .btn {
  width: 100%;
  min-height: 44px;
}

/* Hidden Google Translate host & clean suppression of default toolbar */
.sr-translate-host {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
  position: static !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

/* Disclosure strip */
.disclosure-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.81rem;
  color: var(--muted);
  padding: 8px 0;
}

.disclosure-bar p {
  margin: 0;
}

.disclosure-bar a {
  color: var(--body);
  text-decoration: underline;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.24;
  margin-top: 0;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 2.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.lead {
  font-size: 1.08rem;
  color: var(--body);
  max-width: 68ch;
  margin: 0 0 20px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand);
}

.pill-green {
  background: var(--cta-soft);
  color: var(--cta);
  border: 1px solid var(--cta-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.008em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(0) scale(0.985) !important;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-brand {
  background: var(--brand);
  color: #fff;
}

.btn-brand:hover {
  background: var(--cta-hover);
  color: #fff;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.88rem;
}

/* High-Converting Animated CTA Buttons (Theme-Isolated via CSS Variables) */
.btn-hot {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-hover) 100%);
  color: #fff;
  border-color: var(--cta-hover);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.btn-hot:hover {
  background: linear-gradient(135deg, var(--cta-hover) 0%, var(--cta) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.btn-pulse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: ctaPulseNeutral 2.4s ease-in-out infinite;
}

.btn-primary.btn-pulse {
  animation: ctaPulseNeutral 2.6s ease-in-out infinite;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -75%;
  width: 48%;
  height: 120%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.36) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: ctaShimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  animation: liveDotPulse 1.7s ease-out infinite;
  flex-shrink: 0;
}

.pill-hot {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--cta-border);
}

@keyframes ctaPulseNeutral {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18), 0 0 0 0 rgba(15, 23, 42, 0.16);
  }
  55% {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24), 0 0 0 8px rgba(15, 23, 42, 0);
  }
}

@keyframes ctaShimmer {
  0%, 58% {
    left: -75%;
  }
  100% {
    left: 145%;
  }
}

@keyframes liveDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Hero & Sections */
.hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}

.section {
  padding: 36px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

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

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

/* Home Featured Grid */
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

.featured-story {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.featured-story .story-kicker {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.side-picks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-pick-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.side-pick-card h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.side-pick-card p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--body);
}

/* Category Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--surface-strong);
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active,
.filter-btn.is-active:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.card[hidden] {
  display: none;
}

.card-cat {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0 0 16px;
  font-size: 0.93rem;
  color: var(--body);
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

/* Verdict Comparison Box */
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 18px;
}

.verdict-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verdict-card.is-winner {
  border: 2px solid var(--cta);
  background: #fffaf9;
}

.verdict-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.verdict-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 2px;
}

.verdict-sub {
  font-size: 0.88rem;
  color: var(--muted);
}

.score-badge {
  flex-shrink: 0;
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.is-winner .score-badge {
  background: var(--cta-soft);
  border-color: var(--cta-border);
}

.score-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.is-winner .score-num {
  color: var(--cta);
}

.score-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.verdict-points {
  margin: 0;
  padding-left: 18px;
  font-size: 0.93rem;
}

.verdict-points li {
  margin-bottom: 6px;
}

.verdict-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.micro-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Comparison Table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  font-size: 0.94rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

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

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 24%;
}

.col-highlight {
  background: #fdf6f5;
}

/* Pros / Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.box-pros,
.box-cons {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.box-pros {
  border-top: 3px solid var(--cta);
}

.box-cons {
  border-top: 3px solid var(--warn);
}

.box-pros ul,
.box-cons ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.94rem;
}

.box-pros li,
.box-cons li {
  margin-bottom: 6px;
}

/* Coupon Cards */
.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0;
}

.coupon-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 230px;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
}

.coupon-card.is-featured {
  border: 2px solid var(--cta);
  background: #fcfffd;
}

.coupon-badge-box {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-align: center;
  border: 1px dashed var(--line-strong);
}

.is-featured .coupon-badge-box {
  background: var(--cta-soft);
  border-color: var(--cta);
}

.coupon-big {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}

.is-featured .coupon-big {
  color: var(--cta);
}

.coupon-small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.coupon-body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.coupon-body p {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.coupon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.coupon-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.code-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px dashed var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

/* Callout Banner */
.offer-banner {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--cta-hover) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 28px 0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.offer-banner h3 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.offer-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  max-width: 54ch;
}

.offer-banner .btn-primary {
  background: #fff;
  color: var(--brand);
}

.offer-banner .btn-primary:hover {
  background: var(--surface);
  color: var(--ink);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 0.95rem;
  color: var(--body);
  max-width: 72ch;
}

/* Sticky Offer Bar (Scroll-Reveal — never clashes above the fold) */
body.has-sticky-cta {
  padding-bottom: 78px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--cta-border);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
  padding: 10px 16px;
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--ease-out), opacity 0.22s ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-sticky-cta[hidden] {
  display: none;
}

.sticky-inner {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-sticky-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.3;
}

.mobile-sticky-info strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.mobile-sticky-info [data-coupon-text] {
  display: inline-block;
  margin: 0 4px;
}

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

.sticky-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
}

.sticky-close:hover {
  color: var(--ink);
}

/* Mid-Page Deal Strip */
.deal-strip {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 2px solid var(--cta-border);
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.deal-strip-copy h3 {
  margin: 4px 0 4px;
  font-size: 1.08rem;
  color: var(--ink);
}

.deal-strip-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

.deal-strip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 4-Way Competitor Comparison Extras */
.compare-table.is-wide {
  min-width: 740px;
}

.compare-table.is-wide td:first-child {
  width: 18%;
}

.table-winner-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #a40011;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 10px;
}

.rival-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rival-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rival-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  padding: 3px 8px;
  border-radius: 999px;
}

.rival-card h3 {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  margin: 0;
}

.rival-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

.rival-verdict {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--cta);
  font-weight: 600;
}

/* Detailed IM8 Product Review & Score Breakdown */
.review-scorecard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--cta-border);
  border-radius: var(--radius-lg);
  background: #fff;
  margin: 20px 0 26px;
}

.overall-score-box {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--cta-soft);
  border: 1px solid var(--cta-border);
}

.overall-score-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cta);
  line-height: 1;
}

.overall-score-max {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

.star-row {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 1rem;
  margin: 6px 0 4px;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.score-bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.score-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #50000b 0%, #a40011 100%);
}

/* 30-Day Experience Timeline */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}

.timeline-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.timeline-step {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.timeline-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

/* Customer Ratings & Verified Feedback */
.rating-summary-box {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  margin: 18px 0 20px;
}

.rating-big {
  text-align: center;
}

.rating-big-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.rating-big-sub {
  font-size: 0.84rem;
  color: var(--muted);
}

.dist-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dist-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--body);
}

.dist-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
}

.dist-fill {
  height: 100%;
  border-radius: 999px;
  background: #f59e0b;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 12px;
}

.review-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}

.reviewer-tag {
  font-size: 0.76rem;
  color: var(--cta);
  font-weight: 600;
}

.review-card h4 {
  font-size: 0.98rem;
  margin: 0;
}

.review-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

.review-plan-tag {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */
/* Product & Editorial Photography Frames */
.hero-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0 0 18px;
  background: var(--surface);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1368 / 1120;
  object-fit: cover;
  object-position: center 15%;
}

.hero-visual-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(80, 0, 11, 0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.editorial-figure {
  margin: 20px 0 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.editorial-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.editorial-figure figcaption {
  padding: 10px 16px;
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.kit-showcase {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  margin: 22px 0 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cta-border);
  background: linear-gradient(135deg, #fffaf8 0%, #f8ede6 100%);
}

.kit-showcase-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.kit-showcase-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.media-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}

.media-pair-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.media-pair-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
}

.media-pair-card.is-contain img {
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.media-pair-cap {
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--body);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.kit-pair-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kit-pair-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

/* Kit Showcase Collage (Co-Founder + Official Welcome Kit) */
.kit-showcase-collage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kit-collage-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.kit-collage-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.35s ease;
}

.kit-collage-main:hover img {
  transform: scale(1.03);
}

.kit-collage-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(80, 0, 11, 0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.kit-collage-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kit-collage-sub img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kit-collage-sub img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(80, 0, 11, 0.12);
}

/* IM8 People & Scientific Advisory Board Cards */
.people-section-head {
  margin-top: 30px;
  margin-bottom: 14px;
}

.people-section-head p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--body);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}

.people-grid.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.people-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.people-card:hover {
  transform: translateY(-4px);
  border-color: var(--cta-border);
  box-shadow: 0 12px 26px rgba(80, 0, 11, 0.1);
}

.people-photo {
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.people-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.35s ease;
}

.people-card:hover .people-photo img {
  transform: scale(1.04);
}

.people-info {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.people-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 2px;
}

.people-name {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.22;
}

.people-role {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Home Sidebar Mini Team Strip */
.side-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}

.side-team-item {
  text-align: center;
}

.side-team-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 5px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.side-team-item:hover img {
  transform: translateY(-2px);
  border-color: var(--cta);
}

.side-team-name {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.side-team-tag {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.2;
}

.kit-showcase-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 6px 0 8px;
}

.kit-showcase-body p {
  margin: 0 0 12px;
  font-size: 0.93rem;
}

.kit-showcase-body ul {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 0.91rem;
}

.kit-showcase-body li {
  margin-bottom: 5px;
}

.verdict-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 2px 0;
}

.verdict-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 15%;
}

.card-thumb {
  margin: -22px -22px 14px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--surface);
}

.card-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 18%;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0 32px;
  margin-top: 48px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 7px;
}

.footer-col a {
  color: #d0d5dd;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  font-size: 0.82rem;
  color: #98a2b3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-vault-row {
  margin-top: 4px;
  padding-left: 16px;
  line-height: 1;
}

.footer-vault-dot {
  display: inline-block;
  color: #98a2b3;
  opacity: 0.28;
  font-size: 0.82rem;
  letter-spacing: 2px;
  padding: 2px 6px 2px 0;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-vault-dot:hover {
  opacity: 0.75;
  color: #fff;
  text-decoration: none;
}

/* Interactive Hover Micro-Interactions (Pointer Devices) */
.card,
.side-pick-card,
.verdict-card,
.rival-card,
.review-card,
.timeline-card,
.coupon-card,
.kit-showcase,
.media-pair-card,
.featured-story {
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.22s ease;
}

.hero-visual img,
.card-thumb img,
.verdict-thumb img,
.kit-showcase-img img,
.kit-pair-thumbs img,
.media-pair-card img {
  transition: transform 0.48s var(--ease-out);
  will-change: transform;
}

.code-chip {
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.2s ease, transform 0.18s var(--ease-out);
}

.compare-table tbody tr {
  transition: background-color 0.16s ease;
}

.faq-item summary {
  transition: color 0.18s ease;
}

.faq-item summary::after {
  transition: transform 0.24s var(--ease-out), color 0.18s ease;
}

.filter-btn {
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.mobile-swipe-hint {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 8px;
  align-items: center;
  gap: 6px;
}

/* Mobile Portrait Head-to-Head Interactive Comparison Deck (replaces cramped wide table) */
.mobile-compare-deck {
  display: none;
  margin: 14px 0 18px;
}

.mcomp-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.mcomp-tabs::-webkit-scrollbar {
  display: none;
}

.mcomp-tab {
  flex: 1 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--body);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.mcomp-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.mcomp-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.mcomp-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.mcomp-head-cell {
  padding: 10px 12px;
  font-family: var(--font-serif);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
}

.mcomp-head-cell.is-winner {
  background: var(--brand-soft);
  color: var(--brand);
  border-right: 1px solid var(--line);
}

.mcomp-row {
  border-bottom: 1px solid var(--line);
}

.mcomp-row:last-child {
  border-bottom: none;
}

.mcomp-factor {
  padding: 7px 12px 4px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--surface);
}

.mcomp-vals {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mcomp-val {
  padding: 8px 12px 11px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--body);
}

.mcomp-val.is-winner {
  background: var(--cta-soft);
  border-right: 1px solid var(--line);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px) scale(1.015);
  }

  .btn:hover .btn-arrow {
    transform: translateX(5px);
  }

  .btn-primary:hover,
  .btn-brand:hover {
    box-shadow: 0 10px 22px rgba(80, 0, 11, 0.24);
  }

  .btn-outline:hover {
    box-shadow: 0 6px 16px rgba(31, 13, 16, 0.08);
    border-color: var(--brand);
    color: var(--brand);
  }

  .card:hover,
  .side-pick-card:hover,
  .rival-card:hover,
  .review-card:hover,
  .timeline-card:hover,
  .coupon-card:hover,
  .media-pair-card:hover {
    transform: translateY(-4px);
    border-color: var(--cta-border);
    box-shadow: 0 14px 32px rgba(80, 0, 11, 0.09);
  }

  .verdict-card:hover,
  .kit-showcase:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(80, 0, 11, 0.11);
  }

  .hero-visual:hover img,
  .card:hover .card-thumb img,
  .verdict-card:hover .verdict-thumb img,
  .kit-showcase:hover .kit-showcase-img img,
  .kit-pair-thumbs img:hover,
  .media-pair-card:hover img {
    transform: scale(1.045);
  }

  .compare-table tbody tr:hover td {
    background: var(--cta-soft);
  }

  .code-chip:hover {
    border-color: var(--cta);
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
  }

  .faq-item summary:hover {
    color: var(--cta);
  }

  .faq-item summary:hover::after {
    color: var(--cta);
    transform: scale(1.15);
  }

  .filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(31, 13, 16, 0.1);
  }

  .lang-switcher:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 0, 11, 0.1);
  }
}

/* Responsive — Tablet & Mobile First Polish */
@media (max-width: 900px) {
  .home-hero-grid,
  .hub-hero-grid,
  .hub-featured-grid,
  .hub-deals-grid,
  .niche-stores-grid,
  .brand-hero-split,
  .benefits-grid,
  .cards-grid,
  .verdict-grid,
  .pros-cons-grid,
  .rival-grid,
  .timeline-grid,
  .trio-gallery,
  .reviews-grid,
  .review-scorecard,
  .rating-summary-box,
  .kit-showcase,
  .media-pair-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .people-grid,
  .people-grid.is-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .coupon-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .coupon-badge-box {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
}

@media (max-width: 820px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
    gap: 10px;
    min-height: 54px;
  }

  .logo {
    font-size: 1.15rem;
    gap: 8px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  /* Hide desktop nav strip on mobile — show hamburger drawer + top niche sub-bar */
  .nav-links {
    display: none;
  }

  .niche-subbar-inner {
    padding: 7px 16px;
  }

  .niche-subbar-label {
    display: none;
  }

  .niche-subbar-pill {
    font-size: 0.79rem;
    padding: 4px 11px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .lang-switcher {
    padding: 5px 9px;
    gap: 5px;
  }

  .lang-select {
    font-size: 0.82rem;
    font-weight: 600;
  }

  .disclosure-bar {
    font-size: 0.72rem;
    line-height: 1.38;
    padding: 5px 0;
  }

  .disclosure-bar p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero {
    padding: 16px 0 20px;
  }

  .section {
    padding: 24px 0;
  }

  h1 {
    font-size: 1.52rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 1.28rem;
    line-height: 1.25;
  }

  .featured-story,
  .verdict-card,
  .kit-showcase,
  .review-scorecard,
  .rating-summary-box,
  .coupon-card,
  .offer-banner,
  .deal-strip {
    padding: 15px;
  }

  .lead {
    font-size: 0.94rem;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  .meta-row {
    gap: 6px 10px;
    font-size: 0.8rem;
    margin-bottom: 14px;
  }

  .hero-visual {
    margin-bottom: 14px;
  }

  .hero-visual img {
    aspect-ratio: 1368 / 1200;
    object-position: center top;
  }

  /* Put badge cleanly under the photo on portrait mobile so it NEVER covers faces or products */
  .hero-visual-badge {
    position: static;
    display: flex;
    width: 100%;
    border-radius: 0;
    background: var(--brand);
    padding: 7px 12px;
    font-size: 0.76rem;
    justify-content: center;
  }

  /* Thumb-friendly full-width primary CTAs on mobile */
  .featured-story .btn,
  .verdict-actions .btn,
  .deal-strip-actions,
  .deal-strip-actions .btn,
  .kit-showcase-body .btn,
  .offer-banner .btn,
  .coupon-cta .btn {
    width: 100%;
    min-height: 46px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Portrait Mobile: swap wide 4-brand table for clean Head-to-Head Interactive Deck */
  .mobile-compare-deck {
    display: block;
  }

  .table-scroll.has-mobile-deck,
  .mobile-swipe-hint.has-mobile-deck {
    display: none;
  }

  .mobile-swipe-hint {
    display: inline-flex;
  }

  .table-scroll {
    -webkit-overflow-scrolling: touch;
  }

  .compare-table {
    min-width: 520px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 11px;
    font-size: 0.84rem;
  }

  .card-thumb {
    margin: -22px -22px 14px;
  }

  .card-thumb img {
    height: 195px;
  }

  .hub-deal-code-row,
  .store-row-card {
    grid-template-columns: 1fr;
  }

  .hub-hero {
    padding: 20px 0 24px;
  }

  .hub-hero-grid {
    gap: 18px;
  }

  .hub-hero-inner .pill {
    font-size: 0.74rem;
    padding: 4px 10px;
    margin-bottom: 10px !important;
  }

  .hub-search-bar {
    margin: 14px 0 12px;
    border-radius: 12px;
  }

  .hub-search-input {
    font-size: 16px;
    padding: 11px 10px;
  }

  .hub-quick-stats {
    gap: 6px 14px;
    font-size: 0.8rem;
  }

  .hub-spotlight-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .hub-spotlight-head {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .hub-spotlight-item {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 9px 10px;
  }

  .hub-spotlight-thumb {
    width: 40px;
    height: 40px;
  }

  .hub-spotlight-name {
    font-size: 0.85rem;
    gap: 5px;
    white-space: nowrap;
  }

  .hub-spotlight-offer {
    font-size: 0.76rem;
  }

  .hub-spotlight-code {
    font-size: 0.68rem;
    padding: 3px 6px;
  }

  .hub-niche-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 12px;
    padding-bottom: 2px;
  }

  .hub-niche-strip::-webkit-scrollbar {
    display: none;
  }

  .hub-niche-chip {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 4px 10px;
  }

  .hub-deal-media img {
    height: 190px;
  }

  .hub-deal-body {
    padding: 15px;
    gap: 8px;
  }

  .hub-deal-body h3 {
    font-size: 1.12rem;
  }

  .niche-block {
    padding: 15px;
    border-radius: 14px;
  }

  .store-row-thumb img {
    height: 170px;
  }

  .brand-hero-cta .btn {
    width: 100%;
    min-height: 46px;
  }

  /* Mobile Sticky Bottom Bar with iOS Safe Area */
  body.has-sticky-cta {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-cta {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .sticky-inner {
    gap: 8px;
  }

  .mobile-sticky-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: block;
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .mobile-sticky-info > div {
    min-width: 0;
    width: 100%;
  }

  .mobile-sticky-info strong {
    display: block;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-sticky-info span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--muted);
  }

  .mobile-sticky-info span strong {
    display: inline;
    font-size: 0.76rem;
  }

  .sticky-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .sticky-actions .btn {
    padding: 8px 11px;
    min-height: 38px;
    font-size: 0.79rem;
    white-space: nowrap;
  }

  .sticky-close {
    padding: 4px;
    font-size: 1.1rem;
  }

  .sticky-hide-mobile,
  .mobile-sticky-info .sticky-hide-mobile {
    display: none;
  }
}

/* Mobile Landscape Mode (holding phone sideways: e.g. 844x390, 812x375, 932x430) */
@media (orientation: landscape) and (max-height: 540px) {
  .container {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }

  /* Keep header slim and non-blocking on short landscape screens */
  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: nowrap;
    min-height: 46px;
    padding: 6px 0;
    gap: 12px;
  }

  .logo {
    font-size: 1.05rem;
    order: 0;
    flex-shrink: 0;
  }

  .logo-mark {
    width: 26px;
    height: 26px;
    font-size: 0.76rem;
  }

  .nav-links {
    display: flex;
    order: 0;
    width: auto;
    flex: 1;
    border-top: none;
    padding: 0;
    gap: 14px;
    font-size: 0.84rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }

  .lang-switcher {
    order: 0;
    margin-left: 0;
    padding: 3px 8px;
  }

  .disclosure-bar {
    font-size: 0.72rem;
    padding: 5px 0;
  }

  .hero {
    padding: 14px 0 18px;
  }

  .section {
    padding: 20px 0;
  }

  h1 {
    font-size: 1.42rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .lead {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  /* Use balanced 2-column grids when phone is held horizontally */
  .home-hero-grid {
    grid-template-columns: 1.2fr 0.88fr;
    gap: 16px;
  }

  .cards-grid,
  .verdict-grid,
  .pros-cons-grid,
  .reviews-grid,
  .kit-showcase,
  .media-pair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rival-grid,
  .timeline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .review-scorecard,
  .rating-summary-box {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .coupon-card {
    grid-template-columns: 120px minmax(0, 1fr) 190px;
    gap: 14px;
    padding: 14px 16px;
  }

  .coupon-badge-box {
    text-align: center;
    display: block;
  }

  /* Keep hero/product visuals nicely proportioned for landscape viewing */
  .hero-visual img {
    aspect-ratio: 16 / 9;
    max-height: 220px;
    object-fit: cover;
    object-position: center 18%;
  }

  .hero-visual-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    top: auto;
    width: auto;
    border-radius: 999px;
    background: var(--brand);
    padding: 4px 10px;
    font-size: 0.72rem;
  }

  .verdict-thumb img,
  .card-thumb img {
    height: 145px;
    aspect-ratio: auto;
  }

  .kit-showcase-img img {
    max-height: 240px;
  }

  /* Full 4-brand table fits cleanly in landscape — hide portrait deck */
  .mobile-compare-deck {
    display: none;
  }

  .table-scroll.has-mobile-deck {
    display: block;
  }

  .compare-table.is-wide {
    min-width: 680px;
  }

  .compare-table th,
  .compare-table td {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  /* Buttons sit cleanly inline in landscape */
  .featured-story .btn,
  .deal-strip-actions,
  .deal-strip-actions .btn,
  .kit-showcase-body .btn,
  .offer-banner .btn {
    width: auto;
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.86rem;
  }

  /* Slim unobtrusive bottom bar in landscape */
  body.has-sticky-cta {
    padding-bottom: 54px;
  }

  .mobile-sticky-cta {
    padding: 6px max(14px, env(safe-area-inset-right, 0px)) 6px max(14px, env(safe-area-inset-left, 0px));
  }

  .mobile-sticky-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
  }

  .mobile-sticky-info > div {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
  }

  .sticky-actions .btn {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
