/* Public coverage page — flat, neutral; colours come from --afx-accent / --afx-ink */
.afx-cov {
  --afx-accent: #4e4feb;
  --afx-ink: #111827;
  --afx-muted: #6b7280;
  --afx-line: #e5e7eb;
  max-width: 1080px;
  margin: 0 auto 40px;
  color: var(--afx-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
.afx-cov *, .afx-cov *::before, .afx-cov *::after { box-sizing: border-box; }
.afx-cov-hero {
  margin-bottom: 28px;
  padding: 32px 32px 30px;
  border: 1px solid var(--afx-line);
  border-top: 4px solid var(--afx-accent);
  border-radius: 14px;
  background: #fff;
}
.afx-cov-eyebrow { display: block; margin-bottom: 8px; color: var(--afx-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.afx-cov-hero h1 { margin: 0 0 8px; color: var(--afx-ink); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.afx-cov-hero p { margin: 0; max-width: 640px; color: var(--afx-muted); font-size: 15.5px; line-height: 1.6; }
.afx-cov-step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.afx-cov-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--afx-ink); color: #fff; font-size: 12px;
}
.afx-cov-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 28px; }
.afx-cov-type {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 16px;
  border: 1px solid var(--afx-line); border-radius: 12px;
  background: #fff; color: var(--afx-ink);
  text-align: left; cursor: pointer;
  transition: border-color .15s;
}
.afx-cov-type:hover { border-color: #9ca3af; }
.afx-cov-type.is-active { border-color: var(--afx-accent); outline: 2px solid var(--afx-accent); outline-offset: -2px; }
.afx-cov-type-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 4px; border-radius: 10px;
  background: var(--afx-type-soft); color: var(--afx-type);
}
.afx-cov-type-label { font-size: 14.5px; font-weight: 650; }
.afx-cov-type-count { font-size: 12px; color: var(--afx-muted); }
.afx-cov-results-head { margin: 26px 0 14px; }
.afx-cov-results-head h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.afx-cov-results-head p { margin: 0; color: var(--afx-muted); font-size: 14px; }
.afx-cov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.afx-cov-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border: 1px solid var(--afx-line); border-top: 3px solid var(--afx-accent);
  border-radius: 12px; background: #fff;
}
.afx-cov-card-name { font-size: 16px; font-weight: 700; }
.afx-cov-card-details { margin: 10px 0 0; padding: 0; list-style: none; color: var(--afx-muted); font-size: 13px; }
.afx-cov-card-details li { position: relative; padding: 3px 0 3px 18px; }
.afx-cov-card-details li::before { content: "✓"; position: absolute; left: 0; color: var(--afx-accent); font-weight: 700; }
.afx-cov-card-price { display: flex; align-items: baseline; gap: 4px; margin-top: auto; padding-top: 16px; }
.afx-cov-amount { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.afx-cov-per { color: var(--afx-muted); font-size: 13px; }
.afx-cov-card-setup { margin-top: 2px; color: var(--afx-muted); font-size: 12px; }
.afx-cov-order {
  display: block; margin-top: 16px; padding: 11px 14px;
  border-radius: 8px; background: var(--afx-accent);
  color: #fff !important; font-size: 14px; font-weight: 600;
  text-align: center; text-decoration: none !important;
  transition: opacity .15s;
}
.afx-cov-order:hover { opacity: .9; }
.afx-cov-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 22px; }
.afx-cov-pager:empty { display: none; }
.afx-cov-page {
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--afx-line); border-radius: 8px;
  background: #fff; color: var(--afx-ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .15s;
}
.afx-cov-page:hover:not(:disabled) { border-color: #9ca3af; }
.afx-cov-page.is-active { border-color: var(--afx-accent); background: var(--afx-accent); color: #fff; }
.afx-cov-page:disabled { opacity: .45; cursor: default; }
.afx-cov-empty { padding: 28px; border: 1px dashed #d1d5db; border-radius: 12px; color: var(--afx-muted); text-align: center; }
@media (max-width: 600px) {
  .afx-cov-hero { padding: 24px 20px; }
  .afx-cov-hero h1 { font-size: 24px; }
}
