/*
 * Offerdy — offerdy.css
 * Main theme stylesheet enqueued via functions.php
 * Design System: Clear Market Premium
 *
 * Contents:
 * 01. Design Tokens
 * 02. Reset & Base
 * 03. Typography
 * 04. Layout
 * 05. Buttons
 * 06. Header & Nav
 * 07. Mobile Menu
 * 08. Hero
 * 09. Section Patterns
 * 10. Cards
 * 11. Blog
 * 12. Forms
 * 13. Footer
 * 14. Values (About)
 * 15. Search Hero & Predictive Search
 * 16. Category Strip
 * 17. Coupon Reveal (deal card footer)
 * 18. Deal Card v2
 * 19. Star Rating / Review / Compare Cards
 * 20. Filters
 * 21. Brand Hero (single-brand.php)
 * 22. Coupon Card (horizontal list — coupon-card.php)
 * 23. How To / Alert Box / Related Brands / Rating Widget
 * 24. Utilities & Animations
 * 25. Responsive
 */

/* ── 01. Design Tokens ──────────────────────────── */
:root {
  --navy:         #0B2447;
  --navy-mid:     #19376D;
  --navy-dark:    #071832;
  --emerald:      #00C49A;
  --emerald-mid:  #00A882;
  --emerald-bg:   #E6F9F4;

  --white:        #FFFFFF;
  --bg:           #F8FBFF;
  --bg-warm:      #F9FAFB;
  --text:         #0F172A;
  --text-mid:     #475569;
  --text-muted:   #94A3B8;
  --border:       #E2E8F0;
  --border-mid:   #CBD5E1;

  --red:          #EF4444;
  --red-bg:       #FEF2F2;

  --font:         system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm:    4px;
  --radius:       10px;
  --radius-lg:    16px;

  --shadow-xs:    0 1px 3px rgba(11,36,71,0.06);
  --shadow-sm:    0 2px 8px rgba(11,36,71,0.08), 0 1px 3px rgba(11,36,71,0.04);
  --shadow:       0 6px 24px rgba(11,36,71,0.1), 0 2px 6px rgba(11,36,71,0.05);
  --shadow-lg:    0 16px 48px rgba(11,36,71,0.13), 0 4px 12px rgba(11,36,71,0.07);

  --ease:         0.2s ease;

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 5rem;
}

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

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ── 03. Typography ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p { line-height: 1.75; color: var(--text-mid); }

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--emerald);
  margin-bottom: var(--s2);
}

/* ── 04. Layout ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1400px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }

/* ── 05. Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease),
              box-shadow var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  box-shadow: 0 4px 12px rgba(11,36,71,0.3);
}

.btn--accent {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn--accent:hover {
  background: var(--emerald-mid);
  border-color: var(--emerald-mid);
  box-shadow: 0 4px 12px rgba(0,196,154,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-mid);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--bg);
}

.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.btn--ghost:hover { color: var(--navy); transform: none; }

.btn--lg { font-size: 1rem; padding: 0.8125rem 1.625rem; }
.btn--sm { font-size: 0.75rem; padding: 0.4rem 0.875rem; }

/* ── 06. Header & Navigation ────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s3);
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

.site-logo {
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.site-logo span { color: var(--emerald); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-menu__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
  color: var(--navy);
  background: var(--bg);
}

.nav-menu__link.is-active { font-weight: 600; }

.header-cta { margin-left: var(--s2); }

/* WordPress nav menu overrides */
.nav-menu ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }

/* ── 07. Mobile Menu ────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: background var(--ease);
}

.menu-toggle:hover { background: var(--bg); }

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open .menu-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--s2) var(--s3) var(--s3);
}

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

.mobile-nav__list { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-nav__link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: var(--navy);
  background: var(--bg);
}

.mobile-nav__cta { margin-top: var(--s2); }

/* ── 08. Hero ───────────────────────────────────── */
.hero {
  padding: var(--s6) 0;
  background: var(--white);
}

.hero--bg { background: var(--bg); }
.hero--navy { background: var(--navy); }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s6);
}

.hero__eyebrow { margin-bottom: var(--s2); }

.hero__title {
  color: var(--navy);
  margin-bottom: var(--s2);
  text-wrap: balance;
}

.hero__title em { font-style: normal; color: var(--emerald); }

.hero--navy .hero__title { color: var(--white); }
.hero--navy .hero__title em { color: var(--emerald); }

.hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--s4);
}

.hero__actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

.page-hero {
  padding: 4rem 0 3.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero__title { margin-bottom: 0.75rem; }

.page-hero__subtitle {
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0;
}

/* ── 09. Section Patterns ───────────────────────── */
.section { padding: var(--s6) 0; }
.section--sm { padding: var(--s5) 0; }
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); }
.section--dark { background: var(--navy-dark); }

.section__header { margin-bottom: var(--s5); }
.section__header--center { text-align: center; }

.section__header--center .section__subtitle {
  margin: 0.75rem auto 0;
  max-width: 560px;
}

.section__title { color: var(--navy); margin-bottom: 0.5rem; }
.section--navy .section__title { color: var(--white); }

.section__subtitle { font-size: 1.0625rem; max-width: 560px; margin-top: 0.75rem; }
.section--navy .section__subtitle { color: rgba(255,255,255,0.6); }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: var(--s4) var(--s3);
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-item__n {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-item__n em { font-style: normal; color: var(--emerald); }
.stat-item__l { font-size: 0.875rem; color: var(--text-muted); }

.cta-banner {
  padding: var(--s6) 0;
  background: var(--navy);
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.cta-banner__sub { color: rgba(255,255,255,0.6); font-size: 1rem; margin-bottom: var(--s4); }
.cta-banner__actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); position: relative; }

.step-card { text-align: center; padding: var(--s3); }

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--emerald-bg);
  color: var(--emerald-mid);
  font-size: 1.125rem;
  font-weight: 900;
  border-radius: 50%;
  margin: 0 auto var(--s2);
  font-variant-numeric: tabular-nums;
}

.step-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step-card__text { font-size: 0.875rem; }

/* ── 10. Cards ──────────────────────────────────── */
.feature-card {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-mid);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--emerald-bg);
  border-radius: var(--radius);
  margin-bottom: var(--s2);
}

.feature-card__icon svg { color: var(--emerald-mid); }
.feature-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card__text { font-size: 0.875rem; line-height: 1.65; }

.service-card {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.service-card__badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-mid);
  background: var(--emerald-bg);
  padding: 3px 8px;
  border-radius: 100px;
  width: fit-content;
}

.service-card__title { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.service-card__text { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; flex: 1; }

.service-card__list { display: flex; flex-direction: column; gap: 0.5rem; padding-top: var(--s2); border-top: 1px solid var(--border); }

.service-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.service-card__list-item::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--emerald);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.pricing-card {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}

.pricing-card--featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald), var(--shadow);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__tier { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.pricing-card__price { font-size: 2.25rem; font-weight: 900; color: var(--navy); letter-spacing: -0.035em; line-height: 1; margin-bottom: 0.25rem; }
.pricing-card__period { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: var(--s3); }
.pricing-card__divider { border: none; border-top: 1px solid var(--border); margin: var(--s3) 0; }
.pricing-card__features { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: var(--s4); }

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.pricing-card__feature-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-bg);
  border-radius: 50%;
  color: var(--emerald-mid);
}

.testimonial-card {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card__quote::before { content: '\201C'; }
.testimonial-card__quote::after  { content: '\201D'; }

.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--border); }

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.testimonial-card__role { font-size: 0.75rem; color: var(--text-muted); }

.team-card { text-align: center; padding: var(--s3); }

.team-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--s2);
}

.team-card__name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.8125rem; color: var(--emerald-mid); font-weight: 500; margin-bottom: 0.5rem; }
.team-card__bio { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

.deal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-mid);
}

.deal-card__img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  position: relative;
  flex-shrink: 0;
}

.deal-card__pct {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.deal-card__body { padding: var(--s2) var(--s2) var(--s3); flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.deal-card__brand { font-size: 0.6875rem; color: var(--text-muted); font-weight: 500; }
.deal-card__name { font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.35; }

.deal-card__prices { display: flex; align-items: baseline; gap: 0.375rem; margin-top: auto; padding-top: 0.5rem; }
.deal-card__now { font-size: 1.0625rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.deal-card__was { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }

.deal-card__saved {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--emerald-bg);
  color: var(--emerald-mid);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  margin-top: 0.375rem;
  width: fit-content;
  font-variant-numeric: tabular-nums;
}

.deal-card__cta {
  display: block;
  text-align: center;
  padding: 0.5625rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--ease), color var(--ease);
  flex-shrink: 0;
}

.deal-card:hover .deal-card__cta { background: var(--navy); color: var(--white); }

/* ── 11. Blog ───────────────────────────────────── */
.blog-post-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
  padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: var(--s4);
  transition: box-shadow var(--ease);
}

.blog-post-featured:hover { box-shadow: var(--shadow); }

.blog-post-featured__img {
  height: 280px;
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.blog-post-featured__cat {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-mid);
  background: var(--emerald-bg);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: var(--s2);
}

.blog-post-featured__title { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.3; }
.blog-post-featured__title a { transition: color var(--ease); }
.blog-post-featured__title a:hover { color: var(--emerald-mid); }
.blog-post-featured__excerpt { font-size: 0.9375rem; margin-bottom: var(--s3); line-height: 1.7; }
.blog-post-featured__meta { font-size: 0.8125rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.blog-post-featured__meta-sep { opacity: 0.4; }

.blog-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.blog-card__img {
  height: 180px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.blog-card__body { padding: var(--s3); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-card__cat { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--emerald-mid); background: var(--emerald-bg); padding: 3px 9px; border-radius: 100px; width: fit-content; }
.blog-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 0.25rem; }
.blog-card__title a:hover { color: var(--emerald-mid); }
.blog-card__excerpt { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card__meta { font-size: 0.75rem; color: var(--text-muted); margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }

.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--s4); }

.filter-pill {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination { display: flex; align-items: center; gap: 0.375rem; justify-content: center; margin-top: var(--s5); flex-wrap: wrap; }

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  cursor: pointer;
  padding: 0 0.5rem;
}

.pagination__btn:hover,
.pagination__btn.is-active,
.page-numbers.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* WordPress paginate_links() output */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 0.5rem;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.page-numbers:hover { background: var(--bg); }
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── 12. Forms ──────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6875rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,36,71,0.1);
}

.form-textarea { resize: vertical; min-height: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-submit { margin-top: var(--s2); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s6);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--s4); }
.contact-item { display: flex; gap: var(--s2); align-items: flex-start; }

.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--emerald-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-mid);
}

.contact-item__label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.25rem; }
.contact-item__value { font-size: 0.9375rem; font-weight: 600; color: var(--navy); }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

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

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--ease);
}

.faq-trigger:hover { background: var(--bg); }

.faq-trigger__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: transform var(--ease), background var(--ease);
}

.faq-item.is-open .faq-trigger__icon { transform: rotate(45deg); background: var(--emerald-bg); color: var(--emerald-mid); }

.faq-body { display: none; padding: 0 var(--s4) var(--s3); }
.faq-body p { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.75; }
.faq-item.is-open .faq-body { display: block; }

/* ── 13. Footer ─────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: var(--s6) 0 var(--s4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s6);
  margin-bottom: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__logo {
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand__logo span { color: var(--emerald); }

.footer-brand__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 240px;
}

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }

.footer-nav-col__title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s2);
}

.footer-nav-col__list { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-nav-col__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}

.footer-nav-col__link:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
}

.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: var(--s3); }

.footer-legal__link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--ease);
}

.footer-legal__link:hover { color: rgba(255,255,255,0.7); }

/* WordPress nav menu in footer */
.footer-nav .menu { display: flex; flex-direction: column; gap: 0.625rem; list-style: none; margin: 0; padding: 0; }
.footer-nav .menu a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--ease); }
.footer-nav .menu a:hover { color: var(--white); }

/* ── 14. Values (About page) ────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }

.value-item {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}

.value-item__num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--emerald-bg);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 2px var(--emerald);
}

.value-item__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.375rem; }
.value-item__text { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ── 15. Search Hero & Predictive Search ─────────── */
.search-hero {
  background: var(--navy);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.search-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 70% -10%, rgba(0,196,154,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 110%, rgba(25,55,109,0.6) 0%, transparent 50%);
  pointer-events: none;
}

.search-hero__inner { position: relative; z-index: 1; }

.search-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.search-hero__eyebrow::before,
.search-hero__eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: rgba(255,255,255,0.15);
}

.search-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.search-hero__title em { font-style: normal; color: var(--emerald); }

.search-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto 1.25rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  padding: 7px 7px 7px 16px;
  gap: 0.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.12);
  transition: box-shadow var(--ease);
}

.search-bar:focus-within {
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 0 0 3px rgba(0,196,154,0.4);
}

.search-bar__icon { flex-shrink: 0; color: var(--text-muted); pointer-events: none; }

.search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  font-family: var(--font);
  min-width: 0;
  line-height: 1.5;
}

.search-bar__input::placeholder { color: var(--text-muted); }

.search-bar__btn {
  flex-shrink: 0;
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.625rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.search-bar__btn:hover { background: var(--emerald-mid); transform: translateY(-1px); }
.search-bar__btn:active { transform: translateY(0); }

.header-search {
  position: relative;
  flex: 1;
  max-width: 260px;
  display: none;
}

.header-search__input {
  width: 100%;
  padding: 0.4375rem 0.75rem 0.4375rem 2.125rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
  line-height: 1.4;
}

.header-search__input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,36,71,0.08);
  background: var(--white);
}

.header-search__input::placeholder { color: var(--text-muted); }

.header-search__icon {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 300;
  text-align: left;
  border: 1px solid var(--border);
}

.search-dropdown--compact {
  border-radius: 10px;
  min-width: 340px;
}

.search-dropdown__section { padding: 0.375rem 0; }
.search-dropdown__section + .search-dropdown__section { border-top: 1px solid var(--border); }

.search-dropdown__label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.5rem 1rem 0.25rem;
}

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5625rem 1rem;
  cursor: pointer;
  transition: background 0.12s;
  text-decoration: none;
  color: inherit;
  border: none;
  background: transparent;
  width: 100%;
  font-family: var(--font);
}

.search-suggestion:hover,
.search-suggestion.is-active { background: var(--bg); }

.search-suggestion__icon {
  font-size: 1.125rem;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.search-suggestion__info { flex: 1; min-width: 0; }

.search-suggestion__text {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.search-suggestion__text mark {
  background: var(--emerald-bg);
  color: var(--emerald-mid);
  border-radius: 2px;
  padding: 0 2px;
  font-style: normal;
}

.search-suggestion__sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion__badge {
  flex-shrink: 0;
  background: var(--red-bg);
  color: var(--red);
  font-size: 0.625rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.search-suggestion__pill {
  flex-shrink: 0;
  font-size: 0.625rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 100px;
}

.search-dropdown__footer {
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.search-dropdown__footer a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--ease);
}

.search-dropdown__footer a:hover { color: var(--emerald-mid); }

.search-dropdown__empty {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.search-trending {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.search-trending__label { font-weight: 500; }

.search-trending a {
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color var(--ease), border-color var(--ease);
  padding-bottom: 1px;
}

.search-trending a:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ── 16. Category Strip ─────────────────────────── */
.cat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.cat-strip__inner {
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.75rem var(--s3);
  max-width: 1200px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}

.cat-strip__inner::-webkit-scrollbar { display: none; }

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
  text-decoration: none;
  line-height: 1;
}

.cat-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg);
}

.cat-chip.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(11,36,71,0.25);
}

/* ── 17. Coupon Reveal (deal card footer) ────────── */
.deal-card__footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.coupon-reveal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 0.75rem;
}

.coupon-reveal__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease), transform var(--ease);
  letter-spacing: 0.01em;
}

.coupon-reveal__btn:hover { background: var(--navy-mid); transform: translateY(-1px); }

.coupon-reveal__code {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Courier New', monospace;
  background: var(--emerald-bg);
  border: 1.5px dashed var(--emerald-mid);
  border-radius: var(--radius-sm);
  padding: 0.4375rem 0.5rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  user-select: all;
  text-transform: uppercase;
}

.coupon-reveal__code.is-visible { display: flex; }

.coupon-reveal__code:hover { background: var(--emerald); color: var(--white); border-color: var(--emerald); }

.coupon-reveal__code.is-copied {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  border-style: solid;
  cursor: default;
}

.coupon-reveal__copy {
  flex-shrink: 0;
  display: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--ease), border-color var(--ease);
}

.coupon-reveal__copy.is-visible { display: flex; }
.coupon-reveal__copy:hover { color: var(--navy); border-color: var(--navy); }

.no-code-tag {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
}

/* ── 18. Deal Card v2 ───────────────────────────── */
.deal-card--v2 {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
}

.deal-card--v2:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-mid);
}

.deal-card--v2 .deal-card__img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  flex-shrink: 0;
}

.deal-card--v2 .deal-card__body {
  padding: 0.875rem 0.875rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.deal-card--featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald);
}

.deal-card__badges { display: flex; align-items: center; gap: 0.375rem; flex-wrap: wrap; }

.deal-card__cat {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-mid);
  background: var(--emerald-bg);
  padding: 2px 7px;
  border-radius: 100px;
}

.deal-card__cat:hover { color: var(--emerald-mid); }

.deal-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--emerald-mid);
}

.deal-card__title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.deal-card__desc { font-size: 0.8125rem; color: var(--text-mid); line-height: 1.55; }

.deal-card__meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem; }

.deal-card__expiry {
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.deal-card__expiry--urgent { color: var(--red); font-weight: 600; }

.deal-card__badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.deal-card__badge--featured {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 19. Star Rating / Review / Compare Cards ────── */
.stars {
  display: inline-flex;
  gap: 1px;
  font-size: 0.875rem;
  line-height: 1;
  color: #F59E0B;
}

.stars--sm { font-size: 0.75rem; }
.stars--lg { font-size: 1.125rem; }

.review-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}

.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.review-card__img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  flex-shrink: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.review-card__body { padding: var(--s3); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.review-card__rating { display: flex; align-items: center; gap: 0.5rem; }
.review-card__score { font-size: 0.875rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.review-card__count { font-size: 0.75rem; color: var(--text-muted); }

.review-card__category {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-mid);
  background: var(--emerald-bg);
  padding: 2px 8px;
  border-radius: 100px;
  width: fit-content;
}

.review-card__title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.review-card__verdict { font-size: 0.8125rem; color: var(--text-mid); line-height: 1.65; flex: 1; }

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s2);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.review-card__verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}

.review-card__verdict-badge--great { background: var(--emerald-bg); color: var(--emerald-mid); }
.review-card__verdict-badge--good  { background: #EFF6FF; color: #3B82F6; }
.review-card__verdict-badge--mixed { background: #FFF7ED; color: #F97316; }

.review-card__read { font-size: 0.8125rem; font-weight: 600; color: var(--navy); transition: color var(--ease); }
.review-card__read:hover { color: var(--emerald-mid); }

.compare-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: transform var(--ease), box-shadow var(--ease);
}

.compare-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.compare-card__head { display: flex; align-items: stretch; gap: 0.5rem; }

.compare-card__item {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-card__item.is-winner { background: var(--emerald-bg); border-color: var(--emerald); }
.compare-card__emoji { font-size: 1.75rem; display: block; margin-bottom: 0.25rem; line-height: 1; }
.compare-card__item-name { font-size: 0.6875rem; font-weight: 700; color: var(--navy); }
.compare-card__item-price { font-size: 0.625rem; color: var(--text-muted); margin-top: 0.1rem; font-variant-numeric: tabular-nums; }

.compare-card__vs {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-card__title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.compare-card__summary { font-size: 0.8125rem; color: var(--text-mid); line-height: 1.65; }

.compare-card__winner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--emerald-bg);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.compare-card__winner-label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--emerald-mid); }
.compare-card__winner-name { font-size: 0.8125rem; font-weight: 700; color: var(--navy); }
.compare-card__read { font-size: 0.8125rem; font-weight: 600; color: var(--navy); transition: color var(--ease); margin-left: auto; }
.compare-card__read:hover { color: var(--emerald-mid); }

/* ── 20. Filters ────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s4);
}

.filter-bar__label { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

.filter-bar__sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.filter-select {
  font-size: 0.8125rem;
  font-family: var(--font);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3125rem 0.625rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
}

.filter-select:focus { border-color: var(--navy); }

.deal-count { font-size: 0.8125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.deal-count strong { color: var(--navy); font-weight: 700; }

/* ── 21. Brand Hero (single-brand.php) ──────────── */
.brand-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.brand-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  flex-wrap: wrap;
}

.brand-hero__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.brand-hero__info { flex: 1; min-width: 0; }

.brand-hero__name {
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
}

.brand-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 0.875rem;
}

.brand-hero__rating { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; }
.brand-hero__score { font-weight: 800; color: var(--navy); }
.brand-hero__votes { color: var(--text-muted); font-size: 0.8125rem; }

.brand-hero__verified-count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald-mid);
  background: var(--emerald-bg);
  padding: 3px 10px;
  border-radius: 100px;
}

.brand-hero__updated { font-size: 0.8125rem; color: var(--text-muted); }

.brand-hero__actions { display: flex; gap: 0.625rem; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  padding: 0.875rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__current { color: var(--text); font-weight: 500; }

/* Brand stats strip */
.brand-stats {
  display: flex;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.brand-stat { display: flex; flex-direction: column; gap: 0.2rem; }

.brand-stat__n {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.brand-stat__n em { font-style: normal; color: var(--emerald); }
.brand-stat__l { font-size: 0.75rem; color: var(--text-muted); }

.brand-stat + .brand-stat {
  padding-left: var(--s4);
  border-left: 1px solid var(--border);
}

/* ── 22. Coupon Card (horizontal — coupon-card.php) ─ */
.coupon-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--s4);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.coupon-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font);
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
}

.coupon-tab:hover { color: var(--navy); }

.coupon-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.coupon-tab__count {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--bg);
  color: var(--text-muted);
  padding: 1px 7px;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
}

.coupon-tab.is-active .coupon-tab__count {
  background: var(--navy);
  color: var(--white);
}

.coupon-list { display: flex; flex-direction: column; gap: 1rem; }

.coupon-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), border-color var(--ease);
}

.coupon-card:hover { box-shadow: var(--shadow); border-color: var(--border-mid); }

.coupon-card.is-featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald);
}

/* Left discount column */
.coupon-card__discount {
  width: 88px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem;
  background: var(--navy);
  gap: 0.25rem;
  text-align: center;
}

.coupon-card__discount--deal { background: var(--emerald-mid); }
.coupon-card__discount--free { background: #7C3AED; }

.coupon-card__pct {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.coupon-card__pct-label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}

/* Middle content */
.coupon-card__body {
  flex: 1;
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.coupon-card__badges {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.coupon-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 100px;
}

.coupon-card__badge--verified { background: var(--emerald-bg); color: var(--emerald-mid); }
.coupon-card__badge--code     { background: #EFF6FF; color: #3B82F6; }
.coupon-card__badge--deal     { background: #FEF9C3; color: #854D0E; }
.coupon-card__badge--free     { background: #F5F3FF; color: #7C3AED; }
.coupon-card__badge--exclusive{ background: var(--navy); color: var(--white); }

.coupon-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.coupon-card__desc {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.coupon-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.125rem;
}

.coupon-card__expiry {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.coupon-card__expiry--urgent { color: var(--red); font-weight: 600; }
.coupon-card__uses { font-size: 0.75rem; color: var(--text-muted); }

/* Right action column */
.coupon-card__action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 1rem;
  gap: 0.5rem;
  min-width: 164px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  background: var(--bg);
}

/* Get Code button */
.btn-get-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease), transform var(--ease);
  width: 100%;
  letter-spacing: -0.01em;
}

.btn-get-code:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* Get Deal button */
.btn-get-deal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease), transform var(--ease);
  width: 100%;
  text-decoration: none;
}

.btn-get-deal:hover { background: var(--emerald-mid); transform: translateY(-1px); }

/* Code reveal area */
.code-reveal-area { display: none; flex-direction: column; gap: 0.375rem; width: 100%; }
.code-reveal-area.is-open { display: flex; }

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  background: var(--white);
  border: 2px dashed var(--emerald);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.625rem;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.code-box:hover { background: var(--emerald-bg); }
.code-box.is-copied { background: var(--emerald); border-color: var(--emerald); border-style: solid; }

.code-box__text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: all;
  line-height: 1;
}

.code-box.is-copied .code-box__text { color: var(--white); }

.code-box__copy {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-mid);
}

.code-box.is-copied .code-box__copy { color: rgba(255,255,255,0.8); }

.code-box__hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
}

/* Success rate bar */
.success-rate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.success-bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.success-bar__fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 2px;
}

/* ── 23. How To / Alert Box / Related Brands / Rating Widget ─ */
.how-to {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--s4);
}

.how-to__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s3);
}

.how-to__steps { display: flex; flex-direction: column; gap: var(--s2); }

.how-to__step { display: flex; align-items: flex-start; gap: 0.75rem; }

.how-to__num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.how-to__step-title { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.how-to__step-text { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }

.alert-box {
  background: var(--emerald-bg);
  border: 1px solid var(--emerald);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

.alert-box__icon { font-size: 1.5rem; flex-shrink: 0; }
.alert-box__text { flex: 1; min-width: 200px; }
.alert-box__title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.alert-box__sub { font-size: 0.8125rem; color: var(--text-muted); }

.related-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: var(--s3) var(--s2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--ease), border-color var(--ease);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.related-brand:hover { box-shadow: var(--shadow-sm); border-color: var(--border-mid); }

.related-brand__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.related-brand__name { font-size: 0.8125rem; font-weight: 700; color: var(--navy); }
.related-brand__count { font-size: 0.6875rem; color: var(--text-muted); }

.coupon-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--s5);
  align-items: start;
}

.rating-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s3);
  text-align: center;
}

.rating-widget__score {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.rating-widget__votes { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.375rem; margin-bottom: var(--s2); }

.rating-bars { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: var(--s2); }
.rating-bar-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; }
.rating-bar-row__label { color: var(--text-muted); width: 12px; text-align: right; flex-shrink: 0; }
.rating-bar-row__bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.rating-bar-row__fill { height: 100%; background: #F59E0B; border-radius: 2px; }
.rating-bar-row__count { color: var(--text-muted); width: 20px; flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* Email alert form in sidebar */
.alert-form { display: flex; flex-direction: column; gap: 0.625rem; margin-top: var(--s2); }
.alert-form__input {
  width: 100%;
  padding: 0.5625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--ease);
}
.alert-form__input:focus { border-color: var(--navy); }
.alert-form__btn {
  width: 100%;
  padding: 0.5625rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease);
}
.alert-form__btn:hover { background: var(--navy-mid); }

/* ── 24. Utilities & Animations ─────────────────── */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-emerald { color: var(--emerald); }
.text-muted { color: var(--text-muted); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

/* WordPress alignment classes */
.alignleft  { float: left; margin: 0 var(--s3) var(--s2) 0; }
.alignright { float: right; margin: 0 0 var(--s2) var(--s3); }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--text-muted); text-align: center; margin-top: 0.375rem; }

/* ── 25. Responsive ─────────────────────────────── */
@media (min-width: 768px) {
  .header-search { display: block; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .coupon-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --s6: 3.5rem;
    --s5: 2.5rem;
  }

  .nav-menu,
  .header-cta { display: none; }

  .menu-toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--s4); }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }

  .stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .blog-post-featured { grid-template-columns: 1fr; }
  .blog-post-featured__img { height: 200px; }

  .form-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .pricing-card--featured { margin-top: 1.5rem; }
  .cta-banner__actions { flex-direction: column; align-items: center; }

  .search-hero { padding: 3rem 0 2.5rem; }
  .search-bar { padding: 5px 5px 5px 14px; }
  .search-bar__btn { padding: 0.5625rem 1rem; font-size: 0.875rem; }
}

@media (max-width: 640px) {
  .coupon-card { flex-direction: column; }
  .coupon-card__discount { width: 100%; flex-direction: row; padding: 0.625rem 1rem; justify-content: flex-start; gap: 0.5rem; }
  .coupon-card__action { min-width: auto; border-left: none; border-top: 1px solid var(--border); }
  .brand-stat + .brand-stat { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: var(--s2); }
  .brand-stats { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  :root { --s6: 2.5rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  h1 { font-size: 1.875rem; }
  .search-bar__btn span { display: none; }
  .cat-strip__inner { padding: 0.625rem var(--s2); }
}
