/* Design tokens — colors, type, spacing, motion */
:root {
  /* color: ink + neutrals */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-2: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --border: var(--line);
  --paper: #fffaf1;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --card: #ffffff;
  /* color: brand */
  --gum: #0f766e;
  --gum-dark: #115e59;
  --gum-soft: #f0fdfa;
  --gold: #f59e0b;
  --sky: #e0f2fe;
  /* color: status */
  --ok-bg: #ecfdf5;
  --ok-fg: #047857;
  --info-bg: var(--sky);
  --info-fg: #0369a1;
  --warn-bg: #fffbeb;
  --warn-fg: #b45309;

  /* radius + shadow */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 14px 36px rgba(15, 23, 42, 0.10);
  --shadow-pop: 0 18px 45px rgba(15, 23, 42, 0.10);

  /* spacing scale (rem, 4px-based) — use these instead of one-off clamps */
  --space-1: 0.25rem; /* 4 */
  --space-2: 0.5rem;  /* 8 */
  --space-3: 0.75rem; /* 12 */
  --space-4: 1rem;    /* 16 */
  --space-5: 1.5rem;  /* 24 */
  --space-6: 2rem;    /* 32 */
  --space-7: 2.5rem;  /* 40 */
  --space-8: 3.5rem;  /* 56 */
  --space-9: 5rem;    /* 80 */

  /* fluid layout rhythm — tightened to convert faster */
  --section-y: clamp(2.25rem, 5vw, 4.25rem);
  --hero-pad-y: clamp(2.5rem, 6vw, 5rem);
  --container-px: clamp(1.1rem, 4vw, 2rem);
  --prose-width: 42rem;
  --sidebar-min: 300px;
  --sidebar-max: 360px;
  --gap-grid: clamp(1.1rem, 2vw, 1.5rem);
  --gap-layout: clamp(1.5rem, 3vw, 2.25rem);

  /* sticky offset — header height + breathing room */
  --header-h: 3.75rem;
  --sticky-top: calc(var(--header-h) + 1rem);

  /* type scale */
  --fs-h1: clamp(2rem, 5.5vw, 3.75rem);
  --fs-h2: clamp(1.55rem, 3vw, 2.15rem);
  --fs-h3: 1.22rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.08rem, 1.4vw, 1.22rem);
  --fs-small: 0.92rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 36rem),
    linear-gradient(180deg, #fffaf1 0%, var(--surface) 55%, #ffffff 100%);
  line-height: 1.6;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gum);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1001;
  padding: 0.65rem 1.1rem;
  background: var(--gum);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; top: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  padding: 0.85rem 0;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.04em;
  font-size: 1.32rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  justify-content: flex-end;
  align-items: center;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  line-height: 1.3;
  transition: color .15s, background-color .15s, box-shadow .15s;
}

nav a:hover, nav a:focus-visible {
  color: var(--gum-dark);
  background: white;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.nav-icon {
  font-size: 0.95em;
  opacity: 0.85;
  width: 1.1em;
  text-align: center;
}

.hero {
  padding: var(--hero-pad-y) 0 var(--space-7);
}

.hero + .section {
  padding-top: var(--space-6);
}

.compact-hero {
  padding-bottom: var(--space-6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--gum-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 22ch;
  margin: var(--space-4) 0 var(--space-4);
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
  margin: 0 0 var(--space-4);
}

h3 {
  font-size: var(--fs-h3);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.025em;
}

.lead {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin: 0;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
  max-width: 40rem;
}

.muted a {
  color: var(--gum-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-actions, .chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: var(--gum);
  color: white;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  font-size: 0.98rem;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color .15s, box-shadow .15s, transform .15s;
}

.button:hover { background: var(--gum-dark); }
.button:active { transform: translateY(1px); }

.button.secondary {
  background: white;
  color: var(--gum-dark);
  border: 1px solid var(--line-strong);
}
.button.secondary:hover { background: var(--surface); border-color: var(--gum); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.3;
}

.section { padding: var(--section-y) 0; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

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

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.deal-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.25rem, 2.2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}

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

/* Visible focus on the card itself when its stretched-link is keyboard-focused */
.deal-card:focus-within {
  outline: 3px solid var(--gum);
  outline-offset: 3px;
}

.deal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.brand-logo-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-initial {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gum);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(245, 158, 11, 0.10));
}

.deal-card-header .deal-meta { margin-bottom: 0; justify-content: flex-end; }

.deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-fg);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.badge.gold { background: var(--warn-bg); color: var(--warn-fg); }
.badge.blue { background: var(--info-bg); color: var(--info-fg); }
.badge-with-icon { gap: 0.4rem; }
.cat-icon { font-size: 0.95em; opacity: 0.9; }

.deal-card h3 { margin: 0 0 var(--space-2); }

.deal-desc {
  color: var(--muted-2);
  margin: 0.5rem 0 var(--space-4);
  line-height: 1.55;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Stretched link for full-card click target; action button sits above via z-index */
.deal-stretch-link { text-decoration: none; color: inherit; font-weight: 800; }
.deal-stretch-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius);
}
.deal-stretch-link:focus { outline: none; }

.deal-reward {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gum-dark);
  margin: 0 0 var(--space-4);
  line-height: 1.4;
}

.deal-reward i { opacity: 0.65; font-size: 0.85em; }

.deal-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 var(--space-3);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ok-fg);
  letter-spacing: 0.02em;
}
.deal-verified i { font-size: 0.85em; }

.reviewer-line {
  margin: var(--space-4) 0 0;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.5;
}
.reviewer-line a { color: var(--gum-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.reviewer-line i { color: var(--ok-fg); margin-right: 0.1rem; }

.pillar-link {
  margin: var(--space-5) 0 0;
  padding: 0.85rem 1rem;
  background: var(--gum-soft);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.pillar-link i { color: var(--gum); margin-right: 0.35rem; }
.pillar-link a { color: var(--gum-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }


.deal-card-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
  margin-top: auto;
}

.deal-card-actions .button {
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  justify-content: center;
}

.deal-details-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
  position: relative;
  z-index: 1;
}
.deal-details-link:hover { color: var(--gum-dark); }

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.content-card--article { padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.content-card > *:first-child { margin-top: 0; }

/* Long-form readability */
.prose {
  max-width: var(--prose-width);
  color: var(--ink-soft);
}
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.prose h3 {
  font-size: 1.18rem;
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;
}
.prose p { margin: 0 0 1.25em; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.35rem; }
.prose li { margin-bottom: 0.5em; line-height: 1.65; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gum-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0 1.25rem; }

.coupon-hero { padding: clamp(2.75rem, 6vw, 4rem) 0 var(--space-6); }
.coupon-hero .lead { margin-top: var(--space-2); }

.coupon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--sidebar-min), var(--sidebar-max));
  gap: var(--gap-layout);
  align-items: start;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: var(--gap-layout);
  align-items: start;
  margin-bottom: var(--space-7);
}

.category-deals-heading { margin-top: var(--space-7); }

.sticky-card { position: sticky; top: var(--sticky-top); }

.fact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.1rem 0 1.5rem;
}

.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.fact strong { color: var(--muted); font-size: 0.78rem; font-weight: 700; flex: 0 0 38%; text-transform: uppercase; letter-spacing: 0.04em; }
.fact span { text-align: right; line-height: 1.45; font-size: 0.95rem; font-weight: 600; color: var(--ink); }

.sticky-card .button { width: 100%; margin-top: var(--space-4); padding: 1rem 1.2rem; font-size: 1rem; }

.trust-panel, .related-offers {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.trust-panel h2, .related-offers h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.check-list { display: grid; gap: 0.65rem; margin-top: 1rem; }
.check-list span { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink-soft); line-height: 1.5; }
.check-list span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-fg);
  font-weight: 900;
  font-size: 0.75rem;
}

.copy-box {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1.05rem;
  border: 1px dashed rgba(15, 118, 110, 0.4);
  border-radius: var(--radius-sm);
  background: var(--gum-soft);
}
.copy-box strong { color: var(--gum-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.copy-box code { overflow-wrap: anywhere; font-size: 1rem; font-weight: 800; color: var(--ink); }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-grid);
  margin-top: 1rem;
}

.mini-card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: var(--surface);
  transition: background .15s, border-color .15s, transform .15s;
}
.mini-card:hover { background: #fff; border-color: rgba(15, 118, 110, 0.3); transform: translateY(-1px); }
.mini-card span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

.empty-category { margin-top: 0.5rem; padding: clamp(1.75rem, 4vw, 2.5rem); }
.empty-category-lead { margin-bottom: 0.65rem; color: var(--ink); }
.category-intro { margin-bottom: 1.5rem; }
.category-intro + h2 { margin-top: 0; }

.footer {
  margin-top: var(--space-9);
  padding: var(--space-7) 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.footer p { max-width: 52rem; line-height: 1.6; margin: 0 0 0.85rem; }
.footer p.muted-fine { color: var(--muted); font-size: 0.88rem; }
.footer strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 0.6rem; }

@media (max-width: 850px) {
  /* Header stays as a row; nav wraps to its own line below the brand */
  nav { flex-basis: 100%; justify-content: flex-start; gap: 0.3rem 0.4rem; }
  nav a { padding: 0.45rem 0.75rem; font-size: 0.88rem; }

  .section-heading { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
  .grid, .coupon-layout, .category-layout, .mini-grid { grid-template-columns: 1fr; }
  .sticky-card { position: static; }

  .hero { padding-top: clamp(2rem, 6vw, 3rem); padding-bottom: var(--space-5); }
  .lead { font-size: 1.04rem; }
  .hero-actions, .chips { gap: 0.55rem; margin-top: var(--space-5); }
  .hero-actions .button { width: 100%; padding: 0.85rem 1.1rem; }

  .fact { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .fact span { text-align: left; }
  .fact strong { flex: none; }

  .footer { margin-top: var(--space-7); padding: 1.75rem 0 2rem; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.18rem; gap: 0.55rem; }
  .brand-icon { width: 32px; height: 32px; border-radius: 9px; }
  nav a { padding: 0.4rem 0.65rem; font-size: 0.85rem; }
  .deal-card { padding: 1.1rem; }
  .deal-card-header { gap: 0.5rem; }
  .content-card { padding: 1.25rem 1.15rem; }
  h2 { font-size: clamp(1.45rem, 5.5vw, 1.8rem); }
  .copy-box { padding: 0.8rem 0.9rem; }
  .filter-chips { gap: 0.4rem; }
  .filter-chip { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .deal-card:hover, .mini-card:hover { transform: none; }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--gum-dark); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* FAQ block on deal pages */
.faq-block {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.faq-block h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0.5rem 0 1.1rem; }
.faq-list { display: grid; gap: 0.85rem; margin: 0; }
.faq-list dt {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.faq-list dd {
  margin: 0 0 0.45rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.65;
}
.faq-list dd:last-child { border-bottom: 0; padding-bottom: 0; }

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th {
  background: var(--surface-2);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.9rem;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table a { color: var(--gum-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .compare-table { font-size: 0.86rem; display: block; overflow-x: auto; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.55rem; }
}

/* Footer link nav */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
}
.footer-links a { color: var(--gum-dark); font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links span { color: var(--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;
}

/* List page filter bar */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: var(--space-5);
}
.filter-search {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.filter-search::placeholder { color: var(--muted); }
.filter-search:hover { border-color: var(--gum); }
.filter-search:focus {
  outline: none;
  border-color: var(--gum);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-chip {
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.filter-chip:hover { border-color: var(--gum); color: var(--gum-dark); }
.filter-chip.is-active {
  background: var(--gum-dark);
  border-color: var(--gum-dark);
  color: #fff;
}
.filter-empty {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 720px) {
  .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .filter-search { max-width: 320px; }
}
