/* ============================================================
   Engineer Directory — Public Styles
   ============================================================ */

:root {
  --ed-blue:        #1a3a6b;
  --ed-blue-light:  #2a5298;
  --ed-orange:      #e8640a;
  --ed-orange-dk:   #c4520a;
  --ed-green:       #16a34a;
  --ed-yellow:      #f59e0b;
  --ed-bg:          #f8fafc;
  --ed-border:      #e5e7eb;
  --ed-text:        #111827;
  --ed-muted:       #6b7280;
  --ed-radius:      8px;
  --ed-shadow:      0 2px 12px rgba(0,0,0,0.07);
  --ed-shadow-md:   0 4px 24px rgba(0,0,0,0.10);
}

/* ── Utilities ────────────────────────────────────────────── */
.ed-dir-container,
.ed-single-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.2rem;
  border-radius: var(--ed-radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.ed-btn--primary  { background: #1a3a6b; color: #fff; border-color: #1a3a6b; }
.ed-btn--primary  svg { color: #fff; fill: #fff; }
.ed-btn--primary:hover { background: #15305a; border-color: #15305a; color: #fff; }
.ed-btn--outline  { background: transparent; border-color: var(--ed-blue); color: var(--ed-blue); }
.ed-btn--outline:hover { background: var(--ed-blue); color: #fff; }
.ed-btn--ghost    { background: transparent; border-color: var(--ed-border); color: var(--ed-muted); }
.ed-btn--ghost:hover { border-color: var(--ed-blue); color: var(--ed-blue); }
.ed-btn--sm   { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.ed-btn--lg   { padding: 0.8rem 1.6rem; font-size: 1rem; }
.ed-btn--block { width: 100%; justify-content: center; }
.ed-btn--disabled { background: var(--ed-border); color: var(--ed-muted); border-color: var(--ed-border); cursor: default; }

/* ── Directory Hero ───────────────────────────────────────── */
.ed-directory-hero {
  background: linear-gradient(135deg, var(--ed-blue) 0%, var(--ed-blue-light) 100%);
  padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px);
  color: #fff;
}
.ed-directory-hero__title { margin: 0 0 12px; font-size: clamp(1.75rem, 4vw, 2.5rem); color: #fff; }
.ed-directory-hero__sub   { margin: 0; opacity: 0.85; font-size: 1.05rem; max-width: 560px; }

/* ── Filters ──────────────────────────────────────────────── */
.ed-filters {
  background: #fff;
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius);
  padding: 20px;
  margin: 24px 0;
  box-shadow: var(--ed-shadow);
}
.ed-filters__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.ed-filters__field { display: flex; flex-direction: column; gap: 5px; }
.ed-filters__field label { font-size: 0.75rem; font-weight: 600; color: var(--ed-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ed-filters__field input,
.ed-filters__field select {
  border: 1px solid var(--ed-border);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  width: 100%;
  background: #fff;
  color: var(--ed-text);
  transition: border-color 0.15s;
  height: 42px;
}
.ed-filters__field input:focus,
.ed-filters__field select:focus { border-color: var(--ed-blue); outline: none; box-shadow: 0 0 0 3px rgba(26,58,107,0.1); }
.ed-filters__submit { display: flex; gap: 8px; align-items: center; padding-top: 20px; }
.ed-filters__clear { font-size: 0.82rem; color: var(--ed-muted); text-decoration: underline; white-space: nowrap; }
.ed-filters__clear:hover { color: var(--ed-blue); }
.ed-filters .ed-btn svg { width: 16px; height: 16px; }

/* ── Results header ───────────────────────────────────────── */
.ed-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 2px;
}
.ed-results-count { font-size: 0.875rem; color: var(--ed-muted); font-weight: 500; }
.ed-results-sort  { font-size: 0.8rem; color: var(--ed-muted); }

/* ── Listing grid ─────────────────────────────────────────── */
.ed-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

/* ── Listing card ─────────────────────────────────────────── */
.edc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.edc-card:hover { box-shadow: 0 4px 20px rgba(26,58,107,0.1); transform: translateY(-2px); border-color: #bfdbfe; }
.edc-card--featured { border-color: #f59e0b; border-width: 2px; box-shadow: 0 2px 12px rgba(245,158,11,0.1); }
.edc-card__featured-ribbon {
  position: absolute; top: -1px; right: 14px;
  background: #f59e0b; color: #78350f;
  font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 0 0 8px 8px;
}

.edc-card__logo { flex-shrink: 0; }
.edc-card__logo a { display: block; }
.edc-card__logo img {
  width: 56px; height: 56px; border-radius: 10px;
  object-fit: contain; border: 1px solid #e2e8f0;
  background: #f8fafc; padding: 3px; display: block;
}
.edc-card__initials {
  width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(135deg, #1a3a6b 0%, #2e5bb8 100%);
  color: #fff; font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.03em; text-transform: uppercase;
}

.edc-card__body { flex: 1; min-width: 0; }
.edc-card__top { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 2px; flex-wrap: wrap; }
.edc-card__name { margin: 0; font-size: 0.975rem; font-weight: 700; line-height: 1.3; flex: 1; min-width: 0; }
.edc-card__name a { color: #0f172a; text-decoration: none; }
.edc-card__name a:hover { color: #1a3a6b; }
.edc-card__status { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }

.edc-verified-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; background: #ecfdf5; color: #065f46;
  border-radius: 20px; font-size: 0.68rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}

.edc-card__tagline {
  font-size: 0.82rem; color: #64748b; margin: 0 0 8px;
  line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edc-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.edc-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }

.edc-tag {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
  background: #eff6ff; color: #1e40af; border: 1px solid #dbeafe;
  white-space: nowrap;
}
.edc-tag--more { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }

.edc-card__region {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: #94a3b8;
}
.edc-card__stars { font-size: 0.75rem; color: #374151; display: inline-flex; align-items: center; gap: 3px; }
.edc-muted { color: #94a3b8; }

.edc-card__cta { flex-shrink: 0; align-self: center; }
.edc-btn-view {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; background: #1a3a6b; color: #fff;
  border-radius: 8px; font-size: 0.78rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: background 0.15s;
}
.edc-btn-view:hover { background: #15305a; color: #fff; }

/* ── Pagination ───────────────────────────────────────────── */
.ed-pagination { margin: 24px 0 40px; text-align: center; }
.ed-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--ed-border);
  border-radius: 6px;
  margin: 0 3px;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ed-text);
  transition: all 0.15s;
}
.ed-pagination .page-numbers.current,
.ed-pagination .page-numbers:hover { background: var(--ed-blue); color: #fff; border-color: var(--ed-blue); }
.ed-pagination .page-numbers.dots { border: none; width: auto; }

/* ── No results ───────────────────────────────────────────── */
.ed-no-results { padding: 60px 20px; text-align: center; color: var(--ed-muted); grid-column: 1/-1; }

/* ── Directory CTA band ───────────────────────────────────── */
.ed-list-cta {
  background: linear-gradient(135deg, var(--ed-blue) 0%, var(--ed-blue-light) 100%);
  border-radius: var(--ed-radius);
  padding: clamp(24px, 4vw, 40px);
  margin: 32px 0 48px;
  color: #fff;
}
.ed-list-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ed-list-cta h3 { margin: 0 0 6px; color: #fff; font-size: 1.25rem; }
.ed-list-cta p  { margin: 0; opacity: 0.85; }
.ed-list-cta__buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Single listing ───────────────────────────────────────── */
/* Old single listing CSS removed — see rich listing block at bottom of file */

/* Old contact/review form CSS removed — see rich listing block at bottom */

/* ── Pricing table ────────────────────────────────────────── */
.ed-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 24px 0; }
.ed-pricing-card {
  background: #fff;
  border: 2px solid var(--ed-border);
  border-radius: var(--ed-radius);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.ed-pricing-card:hover { box-shadow: var(--ed-shadow-md); }
.ed-pricing-card--popular { border-color: var(--ed-orange); }
.ed-pricing-card--current { border-color: var(--ed-blue); }
.ed-pricing-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ed-orange); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 3px 12px; border-radius: 20px; white-space: nowrap;
}
.ed-pricing-card__badge--current { background: var(--ed-blue); }
.ed-pricing-card__header { text-align: center; margin-bottom: 16px; }
.ed-pricing-card__header h3 { margin: 0 0 8px; font-size: 1rem; color: var(--ed-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ed-price { font-size: 2.25rem; font-weight: 800; color: var(--ed-blue); }
.ed-price-period { font-size: 0.9rem; color: var(--ed-muted); }
.ed-pricing-card__features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.ed-pricing-feature { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: 0.85rem; line-height: 1.4; }
.ed-pricing-feature svg { flex-shrink: 0; margin-top: 2px; }
.ed-pricing-feature--yes svg { color: var(--ed-green); }
.ed-pricing-feature--no { color: var(--ed-muted); }
.ed-pricing-feature--no svg { color: #d1d5db; }
.ed-pricing-card__cta { margin-top: auto; }

/* ── Account wrap ─────────────────────────────────────────── */
.ed-account-wrap h2 { color: var(--ed-blue); }
.ed-account-listing-card { background: #fff; border: 1px solid var(--ed-border); border-radius: var(--ed-radius); padding: 24px; margin-bottom: 24px; }
.ed-account-listing-card__header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.ed-account-listing-card__header h3 { margin: 0 0 6px; }
.ed-account-listing-card__actions { display: flex; gap: 8px; }
.ed-account-listing-card__expiry { padding: 10px 14px; background: var(--ed-bg); border-radius: 6px; font-size: 0.875rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ed-expiry--warning { color: var(--ed-orange); font-weight: 600; }

/* Tier badge (My Account) */
.ed-tier-badge--free     { background: #f3f4f6; color: #374151; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.ed-tier-badge--standard { background: #dbeafe; color: #1d4ed8; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.ed-tier-badge--pro      { background: #ede9fe; color: #6d28d9; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.ed-tier-badge--featured { background: #fef3c7; color: #92400e; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* Account stats */
.ed-account-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin-top: 16px; }
.ed-account-stat { text-align: center; }
.ed-account-stat__value { display: block; font-size: 1.75rem; font-weight: 800; color: var(--ed-blue); }
.ed-account-stat__label { display: block; font-size: 11px; color: var(--ed-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* Analytics */
.ed-analytics-period { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.ed-period-btn { padding: 6px 14px; border: 1px solid var(--ed-border); border-radius: 6px; font-size: 0.83rem; text-decoration: none; color: var(--ed-muted); }
.ed-period-btn--active { background: var(--ed-blue); color: #fff; border-color: var(--ed-blue); }
.ed-analytics-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin-bottom: 24px; }
.ed-analytics-stat { background: var(--ed-bg); border: 1px solid var(--ed-border); border-radius: 8px; padding: 16px; text-align: center; }
.ed-analytics-stat__value { display: block; font-size: 2rem; font-weight: 800; color: var(--ed-blue); line-height: 1; }
.ed-analytics-stat__label { display: block; font-size: 11px; color: var(--ed-muted); margin-top: 4px; }
.ed-analytics-chart-wrap { background: #fff; border: 1px solid var(--ed-border); border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.ed-analytics-chart-wrap h3 { margin: 0 0 16px; font-size: 0.9rem; color: var(--ed-muted); }
.ed-analytics-sources { background: #fff; border: 1px solid var(--ed-border); border-radius: 8px; padding: 20px; }
.ed-analytics-sources h3 { margin: 0 0 12px; font-size: 0.95rem; }

/* ── Checkbox grid (Step 3 disciplines/regions) ──────────── */
.ed-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  margin-top: 10px;
  border: 1px solid var(--ed-border);
  border-radius: 10px;
  overflow: hidden;
}
.ed-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ed-border);
  border-right: 1px solid var(--ed-border);
  background: #fff;
  transition: background 0.12s;
  user-select: none;
}
.ed-checkbox-label:hover { background: #f0f4ff; }
.ed-checkbox-label input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--ed-blue);
  cursor: pointer;
}
.ed-checkbox-label:has(input:checked) {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

/* Upsell */
.ed-account-upsell { background: #fff8f5; border: 1px solid #fed7aa; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.ed-account-upsell p { margin: 0 0 12px; font-size: 0.9rem; }

/* Leads table */
.ed-leads-table .ed-lead--unread td { font-weight: 600; }
.ed-lead-message { max-width: 260px; }

/* Reviews summary */
.ed-reviews-summary { display: flex; align-items: center; gap: 16px; background: var(--ed-bg); border-radius: 8px; padding: 16px 20px; margin-bottom: 20px; }
.ed-reviews-summary__score { display: flex; align-items: baseline; gap: 2px; }
.ed-reviews-summary__number { font-size: 2.5rem; font-weight: 800; color: var(--ed-blue); line-height: 1; }
.ed-reviews-summary__max    { font-size: 1rem; color: var(--ed-muted); }
.ed-reviews-summary__stars  { display: flex; gap: 2px; margin-bottom: 4px; }
.ed-reviews-summary__count  { font-size: 0.8rem; color: var(--ed-muted); }

/* Listing edit form */
.ed-listing-edit-form { background: #fff; border: 1px solid var(--ed-border); border-radius: var(--ed-radius); padding: 24px; }
.ed-listing-edit-form h3 { margin: 0 0 16px; color: var(--ed-blue); font-size: 1rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .ed-filters__row { grid-template-columns: 1fr 1fr 1fr; }
  .ed-filters__submit { grid-column: 1/-1; }
  .ed-listing-grid { grid-template-columns: 1fr; }
  .edc-card__cta { align-self: flex-end; margin-top: 8px; }
  .edc-card { flex-wrap: wrap; }
  .ed-form-row--2 { grid-template-columns: 1fr; }
  .ed-pricing-grid { grid-template-columns: 1fr; }
  .ed-pricing-page__grid { grid-template-columns: repeat(2, 1fr); }
  .ed-list-cta__inner { flex-direction: column; }
  .ed-single-hero__inner { grid-template-columns: 1fr; }
  .ed-single-hero__logo  { display: none; }
}

@media (max-width: 600px) {
  /* Filters: stack to 2-col then 1-col */
  .ed-filters__row {
    grid-template-columns: 1fr 1fr;
  }
  .ed-filters__field:last-of-type,
  .ed-filters__submit {
    grid-column: 1 / -1;
  }

  /* Card: stack logo + content vertically, full-width CTA */
  .edc-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .edc-card__logo {
    align-self: flex-start;
  }
  .edc-card__body {
    width: 100%;
  }
  .edc-card__tagline {
    white-space: normal;
  }
  .edc-card__cta {
    width: 100%;
    margin-top: 4px;
    align-self: stretch;
  }
  .edc-btn-view {
    width: 100%;
    justify-content: center;
  }

  /* Pagination */
  .ed-pagination {
    gap: 4px;
  }
  .ed-pagination .page-numbers {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
}

/* ── Post-checkout welcome banner ─────────────────────────── */
.ed-welcome-banner {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
  border-radius: var(--ed-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #065f46;
}
.ed-welcome-banner p { margin: 0; font-size: 1rem; }

/* ── Pricing page ─────────────────────────────────────────── */
/* ── Pricing page — hero + cards ─────────────────────────── */

.ed-pricing-page {
  width: 100%;
  overflow: hidden;
}

/* Hero */
.ed-pricing-hero {
  position: relative;
  background: linear-gradient(160deg, #0f2347 0%, #1a3a6b 55%, #1e4a8a 100%);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem 0;
  overflow: hidden;
}
.ed-pricing-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.ed-pricing-hero__inner { position: relative; max-width: 720px; margin: 0 auto; padding-bottom: 2.5rem; }
.ed-pricing-hero__eyebrow {
  display: inline-block;
  background: rgba(232,100,10,0.18);
  border: 1px solid rgba(232,100,10,0.45);
  color: #f8a76a;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 1rem;
}
.ed-pricing-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.15;
  margin: 0 0 1rem;
}
.ed-pricing-hero__lead {
  color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.7;
  margin: 0 auto 1.5rem; max-width: 560px;
}
.ed-pricing-hero__pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.ed-pricing-hero__pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
}
.ed-pricing-hero__pill svg { color: #6ee7b7; flex-shrink: 0; }
.ed-pricing-hero__wave { display: block; line-height: 0; margin-top: -1px; }
.ed-pricing-hero__wave svg { width: 100%; height: 48px; display: block; }

/* Pricing body — grey background section containing cards */
.ed-pricing-body {
  background: #f8fafc;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3.5rem);
}

/* 4-column cards grid */
.ed-pricing-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
}

/* Individual plan card */
.ed-pp-card {
  background: #fff;
  border: 1.5px solid var(--ed-border);
  border-radius: 14px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ed-pp-card:hover { box-shadow: var(--ed-shadow-md); transform: translateY(-3px); }
.ed-pp-card--popular {
  border-color: var(--ed-orange);
  box-shadow: 0 4px 20px rgba(232,100,10,0.12);
}

.ed-pp-card__popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ed-orange); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}

.ed-pp-card__header { text-align: center; margin-bottom: 20px; }
.ed-pp-card__name {
  margin: 0 0 10px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ed-muted);
}
.ed-pp-price { font-size: 2.5rem; font-weight: 800; color: var(--ed-blue); line-height: 1; }
.ed-pp-period { font-size: 0.9rem; color: var(--ed-muted); display: block; margin-top: 2px; }
.ed-pp-card__tagline { font-size: 0.875rem; color: var(--ed-muted); margin: 10px 0 0; }

.ed-pp-card .ed-btn { margin-bottom: 20px; }

.ed-pp-card__features {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--ed-border); padding-top: 16px;
  flex: 1;
}
.ed-pp-feature { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.85rem; line-height: 1.4; }
.ed-pp-feature--yes svg { color: var(--ed-green); flex-shrink: 0; }
.ed-pp-feature--no { color: #d1d5db; }
.ed-pp-feature--no svg { flex-shrink: 0; }

/* Reassurance bar */
.ed-pricing-reassurance {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px;
  background: #fff; border: 1px solid var(--ed-border); border-radius: 12px;
  padding: 20px 28px; max-width: 780px; margin: 0 auto;
}
.ed-reassurance-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ed-muted); }
.ed-reassurance-item svg { color: var(--ed-blue); flex-shrink: 0; }

/* Pricing body */
/* ── Register form ────────────────────────────────────────── */
.ed-register-wrap { max-width: 760px; margin: 0 auto; padding: 32px 0 60px; }

.ed-reg-header { margin-bottom: 32px; }
.ed-reg-header__tier { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.ed-reg-change-plan   { font-size: 0.82rem; color: var(--ed-muted); text-decoration: underline; }
.ed-reg-change-plan:hover { color: var(--ed-blue); }

.ed-reg-tier-badge {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 700;
}
.ed-reg-tier-badge--free     { background: #f3f4f6; color: #374151; }
.ed-reg-tier-badge--standard { background: #dbeafe; color: #1d4ed8; }
.ed-reg-tier-badge--pro      { background: #ede9fe; color: #6d28d9; }
.ed-reg-tier-badge--featured { background: #fef3c7; color: #92400e; }

/* Progress bar */
.ed-reg-progress {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}
.ed-reg-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 72px; /* fixed width so dots stay evenly spaced */
}
.ed-reg-progress__dot  {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ed-border); color: var(--ed-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; transition: all 0.2s;
}
.ed-reg-progress__label { font-size: 11px; color: var(--ed-muted); white-space: nowrap; }
.ed-reg-progress__step--done   .ed-reg-progress__dot { background: var(--ed-green); color: #fff; }
.ed-reg-progress__step--active .ed-reg-progress__dot { background: var(--ed-blue); color: #fff; box-shadow: 0 0 0 4px rgba(26,58,107,0.15); }
.ed-reg-progress__step--active .ed-reg-progress__label { color: var(--ed-blue); font-weight: 600; }
.ed-reg-progress__line {
  flex: 1;
  height: 2px;
  background: var(--ed-border);
  min-width: 16px;
  margin-top: 15px; /* aligns with centre of the 32px dot */
  align-self: flex-start;
  transition: background 0.2s;
}
.ed-reg-progress__line--done { background: var(--ed-green); }

/* Steps */
.ed-reg-form-wrap { background: #fff; border: 1px solid var(--ed-border); border-radius: 12px; padding: clamp(24px,4vw,40px); box-shadow: var(--ed-shadow); }
.ed-reg-step { display: none; }
.ed-reg-step--active { display: block; }
.ed-reg-step h2 { margin: 0 0 6px; color: var(--ed-blue); font-size: 1.4rem; }
.ed-reg-step__intro { color: var(--ed-muted); margin: 0 0 24px; font-size: 0.95rem; }
.ed-field-hint  { color: var(--ed-muted); font-size: 0.82rem; margin: 0 0 5px; }
.ed-char-count  { font-size: 0.78rem; color: var(--ed-muted); display: block; text-align: right; margin-top: 3px; }
.ed-req { color: var(--ed-orange); }

.ed-form-field--required label::after { content: ' *'; color: var(--ed-orange); }

.ed-reg-step .ed-form-field { margin-bottom: 20px; }
.ed-reg-step .ed-form-field label { display: block; font-size: 0.9rem; font-weight: 600; color: #374151; margin-bottom: 4px; }
.ed-reg-step input[type=text],
.ed-reg-step input[type=email],
.ed-reg-step input[type=url],
.ed-reg-step input[type=tel],
.ed-reg-step textarea,
.ed-reg-step select {
  width: 100%; border: 1px solid var(--ed-border); border-radius: 8px;
  padding: 0.65rem 0.9rem; font-size: 0.95rem; font-family: inherit;
  color: var(--ed-text); background: #fff; transition: border-color 0.15s;
}
.ed-reg-step input:focus,
.ed-reg-step textarea:focus { border-color: var(--ed-blue); outline: none; box-shadow: 0 0 0 3px rgba(26,58,107,0.1); }
.ed-input--error { border-color: #dc2626 !important; }

.ed-checkbox-grid--3col { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ed-checkbox-grid--2col { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Step section dividers */
.ed-form-section {
  margin-bottom: 28px;
}
.ed-form-section-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.ed-form-section-head label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
}
.ed-form-section-divider {
  border: none;
  border-top: 2px solid #f3f4f6;
  margin: 24px 0;
}

.ed-reg-step__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ed-border); }
.ed-reg-step__nav--final { margin-top: 16px; }
.ed-reg-error { color: #dc2626; font-size: 0.875rem; margin-top: 8px; }

/* Review summary */
.ed-review-summary { background: var(--ed-bg); border: 1px solid var(--ed-border); border-radius: 10px; padding: 20px 24px; margin-bottom: 24px; }
.ed-review-summary__tier { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ed-review-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ed-review-table th { text-align: left; width: 130px; padding: 7px 0; color: var(--ed-muted); font-weight: 600; vertical-align: top; }
.ed-review-table td { padding: 7px 0; border-bottom: 1px solid var(--ed-border); }
.ed-review-table tr:last-child td { border-bottom: none; }
.ed-review-edit-hint { font-size: 0.82rem; color: var(--ed-muted); margin: 12px 0 0; }
.ed-link-btn { background: none; border: none; padding: 0; color: var(--ed-blue); text-decoration: underline; cursor: pointer; font-size: inherit; }

.ed-reg-submit-area { margin-bottom: 12px; }
.ed-submit-note { font-size: 0.8rem; color: var(--ed-muted); margin: 10px 0 0; display: flex; align-items: center; gap: 5px; }
.ed-submit-note svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .ed-pricing-page__grid { grid-template-columns: 1fr; }
  .ed-reg-progress__label { display: none; }
  .ed-reg-step__nav .ed-btn { width: auto; }
}

/* ── Listing type cards (register form step 1) ────────────── */
.ed-listing-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.ed-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 2px solid var(--ed-border);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  position: relative; /* contain the absolutely-positioned input */
}
.ed-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.ed-type-card:hover { border-color: var(--ed-blue); background: #f0f4ff; }
.ed-type-card--selected { border-color: var(--ed-blue); background: #eff6ff; }
.ed-type-card--selected .ed-type-card__label { color: var(--ed-blue); font-weight: 700; }
.ed-type-card__icon  { font-size: 1.75rem; line-height: 1; }
.ed-type-card__label { font-size: 0.78rem; font-weight: 600; color: #374151; line-height: 1.3; }


/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE LISTING PAGE  
   ═══════════════════════════════════════════════════════════════════════════ */

/* Banners */
.ed-banner { padding: 13px 20px; font-size: 0.875rem; border-left: 4px solid; }
.ed-banner--success { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.ed-banner--warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.ed-banner--warning a { color: #92400e; font-weight: 600; }

/* Cover strip */
.ed-cover-strip {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a3a6b 0%, #2e5bb8 55%, #e8640a 100%);
}
.ed-cover-strip--photo { background-size: cover; background-position: center; }

/* ── Listing page outer wrapper ── */
.edl-page-wrap {
  background: #f1f5f9;
  min-height: 60vh;
  width: 100%;
}
.ed-sl-outer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── Profile card (full-width, pulls up over cover) ── */
.ed-profile-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: -56px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  margin-bottom: 28px;
}
.ed-profile-card__logo { flex-shrink: 0; }
.ed-profile-card__logo img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: contain;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  padding: 4px;
  display: block;
}
.ed-logo-initials {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a3a6b, #2e5bb8);
  color: #fff;
  font-size: 2.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.05em;
}
.ed-profile-card__body { flex: 1; min-width: 0; }
.ed-profile-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.ed-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ed-badge--type     { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.ed-badge--featured { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.ed-badge--verified { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

.ed-profile-card__name {
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.2;
}
.ed-profile-card__tagline {
  color: #64748b;
  font-size: 0.975rem;
  margin: 0 0 14px;
  line-height: 1.5;
}
.ed-profile-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #64748b;
  align-items: center;
}
.ed-pcm-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ed-pcm-item svg { flex-shrink: 0; color: #1a3a6b; }
.ed-pcm-item--stars svg { color: inherit; }
.ed-pcm-item--stars strong { color: #0f172a; }
.ed-pcm-muted { color: #94a3b8; }

.ed-profile-card__cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* ── Two-column grid ── */
.ed-sl-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.ed-sl-main    { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ed-sl-sidebar { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* ── Content sections ── */
.ed-sl-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
}
.ed-sl-section__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a3a6b;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ed-sl-section__count {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.ed-sl-prose { font-size: 0.95rem; line-height: 1.8; color: #374151; }
.ed-sl-prose p { margin: 0 0 0.875em; }

/* Services */
.ed-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.ed-services-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 12px;
}
.ed-svc-check { color: #10b981; flex-shrink: 0; }

/* Tags */
.ed-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.ed-tag {
  display: inline-block;
  padding: 5px 12px;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid #dbeafe;
}
.ed-tag--green { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.ed-tag--sm    { font-size: 0.73rem; padding: 4px 10px; }

/* Certifications */
.ed-cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 2px solid #1a3a6b;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a3a6b;
}
.ed-cert-badge svg { color: #10b981; }

/* Portfolio */
.ed-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.ed-portfolio-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ed-portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.ed-portfolio-item:hover img { transform: scale(1.05); }

/* Video */
.ed-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.ed-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Map */
.ed-map-addr { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: #64748b; margin: 0 0 12px; }
.ed-map-addr svg { color: #1a3a6b; flex-shrink: 0; }
.ed-map-frame { border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; }
.ed-map-frame iframe { display: block; }

/* Reviews */
.ed-reviews-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.ed-review-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 20px; }
.ed-review-card__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.ed-review-stars { display: flex; gap: 2px; }
.ed-review-meta { font-size: 0.8rem; color: #64748b; }
.ed-review-meta strong { color: #0f172a; }
.ed-review-body { font-size: 0.875rem; color: #374151; line-height: 1.7; margin: 0; }
.ed-muted-text { color: #94a3b8; font-size: 0.875rem; }

/* Review form */
.ed-review-form { border-top: 1px solid #f1f5f9; padding-top: 22px; margin-top: 22px; }
.ed-review-form h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 14px; color: #0f172a; }
.ed-review-form__fields { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }

/* Star picker */
.ed-star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; }
.ed-star-picker input { display: none; }
.ed-star-picker label { font-size: 1.75rem; color: #d1d5db; cursor: pointer; transition: color 0.1s; line-height: 1; }
.ed-star-picker label:hover,
.ed-star-picker label:hover ~ label,
.ed-star-picker input:checked ~ label { color: #e8640a; }

/* Form fields */
.ed-field {
  display: block;
  width: 100%;
  padding: 9px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}
.ed-field:focus { outline: none; border-color: #1a3a6b; box-shadow: 0 0 0 3px rgba(26,58,107,0.1); }
.ed-form-msg { font-size: 0.82rem; margin: 8px 0 0; min-height: 1.2em; }
.ed-form-msg--ok  { color: #065f46; }
.ed-form-msg--err { color: #dc2626; }

/* ── Sidebar ── */
.ed-sb-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}
.ed-sb-card h3 { font-size: 0.95rem; font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.ed-sb-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0 0 12px;
}
.ed-sb-card--contact { border-top: 3px solid #1a3a6b; }
.ed-sb-card--upgrade { border: 2px solid #e8640a; }
.ed-sb-card--upgrade h4 { color: #e8640a; }
.ed-sb-card--upgrade p { font-size: 0.83rem; color: #64748b; margin: 0 0 14px; line-height: 1.5; }

/* Contact form inside sidebar */
#ed-contact-form { display: flex; flex-direction: column; gap: 9px; }

/* Locked state */
.ed-contact-locked {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background: #fffbeb;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #92400e;
  margin-bottom: 12px;
}
.ed-contact-locked svg { flex-shrink: 0; margin-top: 1px; }

/* Contact list */
.ed-contact-list { list-style: none; margin: 14px 0 0; padding: 0; }
.ed-contact-list li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; padding: 7px 0; border-top: 1px solid #f1f5f9; }
.ed-contact-list li svg { color: #1a3a6b; flex-shrink: 0; }
.ed-contact-list a { color: #1a3a6b; text-decoration: none; font-weight: 600; word-break: break-all; }
.ed-contact-list a:hover { text-decoration: underline; }

/* Quick facts */
.ed-quick-facts { margin: 0; }
.ed-quick-facts dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; font-weight: 700; margin-top: 10px; }
.ed-quick-facts dt:first-child { margin-top: 0; }
.ed-quick-facts dd { margin: 3px 0 0; font-size: 0.9rem; color: #0f172a; font-weight: 600; }

/* Back link */
.ed-back-link { margin: 4px 0 0; }
.ed-back-link a { font-size: 0.83rem; color: #64748b; text-decoration: none; }
.ed-back-link a:hover { color: #1a3a6b; text-decoration: underline; }

/* ── Buttons (duplicate block removed — canonical definitions at top of file) ── */

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 3 CHECKBOX FIX — proper inline layout
   ───────────────────────────────────────────────────────────────────────────── */
.ed-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.ed-checkbox-grid--2col { grid-template-columns: repeat(2, 1fr); }

.ed-checkbox-grid .ed-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  transition: background 0.12s;
  cursor: pointer;
  font-size: 0.875rem;
  color: #374151;
  user-select: none;
}
/* remove border from last-in-row items & last row */
.ed-checkbox-grid .ed-checkbox-item:nth-child(3n)   { border-right: none; }
.ed-checkbox-grid--2col .ed-checkbox-item:nth-child(2n) { border-right: none; }
.ed-checkbox-grid .ed-checkbox-item:hover { background: #f8fafc; }

.ed-checkbox-grid .ed-checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #1a3a6b;
  cursor: pointer;
  margin: 0;
}
.ed-checkbox-grid .ed-checkbox-item input:checked + span { color: #1a3a6b; font-weight: 600; }
.ed-checkbox-grid .ed-checkbox-item input:checked { outline: none; }

/* Group labels above grids */
.ed-field-group { margin-bottom: 28px; }
.ed-field-group__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.ed-field-group__hint { font-size: 0.8rem; color: #94a3b8; margin: 0 0 10px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .ed-sl-grid { grid-template-columns: 1fr; }
  .ed-sl-sidebar { order: -1; }
}
@media (max-width: 720px) {
  .ed-cover-strip { height: 130px; }
  .ed-profile-card { flex-wrap: wrap; margin-top: -30px; padding: 20px; }
  .ed-profile-card__cta { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .ed-checkbox-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-checkbox-grid .ed-checkbox-item:nth-child(3n) { border-right: 1px solid #e2e8f0; }
  .ed-checkbox-grid .ed-checkbox-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .ed-profile-card__logo img,
  .ed-logo-initials { width: 72px; height: 72px; }
  .ed-checkbox-grid { grid-template-columns: 1fr; }
  .ed-checkbox-grid .ed-checkbox-item { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MY ACCOUNT — WooCommerce nav reskin + edacc components
   ═══════════════════════════════════════════════════════════════════════════ */

/* WC Account layout enhancement */
.woocommerce-MyAccount-navigation {
  width: 220px !important;
  flex-shrink: 0 !important;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
.woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none !important; }
.woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  padding: 11px 18px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  text-decoration: none !important;
  transition: background 0.12s, color 0.12s !important;
}
.woocommerce-MyAccount-navigation ul li a:hover {
  background: #f8fafc !important;
  color: #1a3a6b !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
  background: #eff6ff !important;
  color: #1a3a6b !important;
  font-weight: 700 !important;
  border-right: 3px solid #1a3a6b !important;
}
.woocommerce-MyAccount-navigation .ed-nav-divider {
  height: 1px; background: #e2e8f0; margin: 6px 0; display: block;
}

/* My Account — override theme page-body + hide theme title */
.woocommerce-account .page-body {
  max-width: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  padding: 0 !important;
}
.woocommerce-account .page-hero { display: none !important; }

/* All plugin pages — override theme's 820px page-body constraint */
.ed-plugin-page .page-body,
.ed-page-single-listing .page-body {
  max-width: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* WC account — kill the default sidebar layout, we handle it ourselves */
.woocommerce-account .woocommerce {
  display: block !important;
  width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-MyAccount-content {
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}

/* ── Full-bleed hero (ed-fullbleed-hero) — renders outside ct-container ── */
.ed-fullbleed-hero {
  background: linear-gradient(135deg, #0f2347 0%, #1a3a6b 65%, #1e4a8a 100%);
  position: relative; overflow: hidden;
  width: 100%;
}
.ed-fullbleed-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
}
/* ct-container inside hero keeps content max-width + centred */
.ed-fbhero__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: 0;
}

/* Login variant — centred */
.ed-fullbleed-hero--login .ed-fbhero__inner { justify-content: center; text-align: center; flex-direction: column; }
.ed-fbhero__eyebrow {
  display: inline-block;
  background: rgba(232,100,10,0.18); border: 1px solid rgba(232,100,10,0.45);
  color: #f8a76a; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 14px; border-radius: 20px; margin-bottom: 0.85rem;
}
.ed-fbhero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800; color: #fff; line-height: 1.2;
}
.ed-fbhero__lead {
  margin: 0; color: rgba(255,255,255,0.65); font-size: 0.95rem;
  padding-bottom: 1.5rem;
}

/* Account variant — left-aligned identity + right button */
.ed-fbhero__identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ed-fbhero__avatar {
  width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, #2e4a8a, #4a6db5);
  border: 2px solid rgba(255,255,255,0.22);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.ed-fbhero__avatar img { width: 100%; height: 100%; object-fit: contain; }
.ed-fbhero__avatar span { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.ed-fbhero__title--name {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  margin-bottom: 4px !important;
}
.ed-fbhero__sub { margin: 0; font-size: 0.84rem; color: rgba(255,255,255,0.62); }
.ed-fbhero__verified { color: #6ee7b7; font-weight: 600; }
.ed-fbhero__viewbtn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9) !important; text-decoration: none !important;
  font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.ed-fbhero__viewbtn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); color: #fff !important; }
.ed-fbhero__wave { display: block; line-height: 0; }
.ed-fbhero__wave svg { width: 100%; height: 36px; display: block; }

/* Page body on account pages — light grey bg to match wave fill */
.woocommerce-account .page-body,
.woocommerce-account:not(.logged-in) .page-body {
  background: #f8fafc;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem) !important;
}

/* ── ed-accdash: dashboard grid ── */
.ed-accdash { padding: 0; }
.ed-accdash__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-bottom: 0;
}
.ed-accdash__card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.4rem 1.5rem 1.25rem;
  text-decoration: none !important; color: inherit !important;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.ed-accdash__card:hover {
  box-shadow: 0 8px 28px rgba(26,58,107,0.11);
  border-color: #93b4dd; transform: translateY(-2px);
  text-decoration: none !important;
}
.ed-accdash__card--highlight { border-color: #e8640a; background: linear-gradient(135deg, #fff 70%, #fff7f3 100%); }
.ed-accdash__card--highlight:hover { border-color: #c9520a; }
.ed-accdash__card--locked { opacity: 0.68; background: #f8fafc; }
.ed-accdash__card--locked:hover { transform: none; box-shadow: none; border-color: #e2e8f0; }
.ed-accdash__card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: #eef2fa; color: #1a3a6b;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.ed-accdash__card--highlight .ed-accdash__card-icon { background: #fde8d8; color: #c9520a; }
.ed-accdash__card-body { flex: 1; }
.ed-accdash__card-title { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: #1a2a3a; display: flex; align-items: center; gap: 8px; }
.ed-accdash__lock {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.68rem; font-weight: 600; color: #94a3b8;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  padding: 2px 7px; border-radius: 20px;
}
.ed-accdash__card-desc { margin: 0; font-size: 0.85rem; color: #64748b; line-height: 1.5; }
.ed-accdash__card-cta {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 1.1rem;
  font-size: 0.83rem; font-weight: 700; color: #1a3a6b;
}
.ed-accdash__card--highlight .ed-accdash__card-cta { color: #c9520a; }
.ed-accdash__card--locked .ed-accdash__card-cta { color: #94a3b8; }
.ed-accdash__wc-links { margin-top: clamp(1.5rem, 3vw, 2rem); }
.ed-accdash__wc-links-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: #94a3b8; margin: 0 0 0.75rem;
}
.ed-accdash__wc-links-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-accdash__wc-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 9px 16px; font-size: 0.85rem; font-weight: 600; color: #334155 !important;
  text-decoration: none !important; transition: border-color 0.15s, background 0.15s;
}
.ed-accdash__wc-link svg { opacity: 0.55; }
.ed-accdash__wc-link:hover { border-color: #93b4dd; background: #f0f5fb; color: #1a3a6b !important; }
.ed-accdash__wc-link--danger { color: #dc2626 !important; }
.ed-accdash__wc-link--danger:hover { border-color: #fca5a5; background: #fef2f2; color: #b91c1c !important; }
.ed-accdash__no-listing { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; }
.ed-accdash__no-listing-icon {
  width: 72px; height: 72px; border-radius: 50%; background: #eef2fa; color: #1a3a6b;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
}
.ed-accdash__no-listing h2 { font-size: 1.3rem; color: #1a2a3a; margin: 0 0 0.6rem; }
.ed-accdash__no-listing p { color: #64748b; margin: 0 0 1.5rem; font-size: 0.95rem; }
.ed-accdash__create-btn {
  display: inline-block; background: #e8640a; color: #fff !important;
  font-weight: 700; font-size: 0.95rem; padding: 12px 28px; border-radius: 8px;
  text-decoration: none !important; transition: background 0.15s;
}
.ed-accdash__create-btn:hover { background: #c9520a; }

/* ── ed-loginwrap: login/register form layout ── */
.ed-loginwrap { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); }
.ed-loginwrap__cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 820px; margin: 0 auto;
}
.ed-loginwrap__col {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.ed-loginwrap__col-title { margin: 0 0 1rem; font-size: 1.15rem; font-weight: 800; color: #1a2a3a; }
.ed-loginwrap__col-lead { margin: -0.25rem 0 1.25rem; font-size: 0.88rem; color: #64748b; }
.ed-lf__field { margin-bottom: 1.1rem; }
.ed-lf__field label { display: block; font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 5px; }
.ed-lf__req { color: #e8640a; }
.ed-lf__field input[type="text"],
.ed-lf__field input[type="email"],
.ed-lf__field input[type="password"] {
  width: 100%; padding: 10px 13px; font-size: 0.9rem;
  border: 1.5px solid #d1d5db; border-radius: 8px;
  background: #f9fafb; color: #1a2a3a;
  transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box;
}
.ed-lf__field input:focus { outline: none; border-color: #1a3a6b; box-shadow: 0 0 0 3px rgba(26,58,107,0.1); background: #fff; }
.ed-lf__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; font-size: 0.83rem; }
.ed-lf__remember { display: flex; align-items: center; gap: 7px; color: #4b5563; cursor: pointer; }
.ed-lf__forgot { color: #1a3a6b; font-weight: 600; text-decoration: none; }
.ed-lf__forgot:hover { text-decoration: underline; }
.ed-lf__hint { font-size: 0.82rem; color: #64748b; margin-bottom: 1.1rem; padding: 8px 12px; background: #f8fafc; border-radius: 6px; border: 1px solid #e2e8f0; }
.ed-lf__submit {
  width: 100%; padding: 11px; background: #1a3a6b; color: #fff;
  border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s;
}
.ed-lf__submit:hover { background: #0f2347; }
.ed-loginwrap__col--register .ed-lf__submit { background: #e8640a; }
.ed-loginwrap__col--register .ed-lf__submit:hover { background: #c9520a; }

/* WC notices */
.woocommerce-account .woocommerce-notices-wrapper { margin-bottom: 1rem; }
/* WC account — kill sidebar layout */
.woocommerce-account .woocommerce { display: block !important; width: 100% !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-MyAccount-content { width: 100% !important; padding: 0 !important; float: none !important; }

@media (max-width: 680px) {
  .ed-loginwrap__cols { grid-template-columns: 1fr; }
  .ed-fbhero__viewbtn { display: none; }
}


.edacc-wrap { display: flex; flex-direction: column; gap: 20px; }

/* Hero card */
.edacc-hero {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 4px solid #1a3a6b;
}
.edacc-hero__identity { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.edacc-hero__logo {
  width: 56px; height: 56px;
  border-radius: 10px; object-fit: contain;
  border: 2px solid #e2e8f0; flex-shrink: 0;
}
.edacc-hero__initials {
  width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #1a3a6b, #2e5bb8);
  color: #fff; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.edacc-hero__info { min-width: 0; }
.edacc-hero__name { margin: 0 0 2px; font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.edacc-hero__tagline { margin: 0 0 8px; font-size: 0.82rem; color: #64748b; }
.edacc-hero__badges { display: flex; flex-wrap: wrap; gap: 5px; }

.edacc-tier-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.edacc-tier-badge--free     { background: #f1f5f9; color: #475569; }
.edacc-tier-badge--standard { background: #eff6ff; color: #1d4ed8; }
.edacc-tier-badge--pro      { background: #f5f3ff; color: #6d28d9; }
.edacc-tier-badge--featured { background: #fef3c7; color: #92400e; }

.edacc-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}
.edacc-status--verified  { background: #ecfdf5; color: #065f46; }
.edacc-status--unverified{ background: #fffbeb; color: #92400e; }
.edacc-status--active    { background: #ecfdf5; color: #065f46; }
.edacc-status--expiring  { background: #fef2f2; color: #991b1b; }

.edacc-hero__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Stats row */
.edacc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.edacc-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}
.edacc-stat__num { display: block; font-size: 2rem; font-weight: 800; color: #1a3a6b; line-height: 1; margin-bottom: 4px; }
.edacc-stat__label { font-size: 0.78rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Alerts */
.edacc-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: 10px;
  font-size: 0.875rem; line-height: 1.5;
}
.edacc-alert--warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.edacc-alert--warning a { color: #92400e; font-weight: 700; text-decoration: underline; }
.edacc-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.edacc-alert svg { flex-shrink: 0; margin-top: 2px; }

/* Section card */
.edacc-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
.edacc-section__head {
  padding: 20px 28px 16px;
  border-bottom: 1px solid #f1f5f9;
}
.edacc-section__head h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: #0f172a; }
.edacc-section__head p  { margin: 0; font-size: 0.82rem; color: #94a3b8; }

/* Form inside section */
.edacc-form { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.edacc-form__grid { display: grid; gap: 16px; }
.edacc-form__grid--2 { grid-template-columns: 1fr 1fr; }
.edacc-form__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.edacc-form__footer { padding-top: 8px; border-top: 1px solid #f1f5f9; }

.edacc-field { display: flex; flex-direction: column; gap: 5px; }
.edacc-field label { font-size: 0.82rem; font-weight: 700; color: #374151; }
.edacc-field input,
.edacc-field textarea,
.edacc-field select {
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  box-sizing: border-box;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}
.edacc-field input:focus,
.edacc-field textarea:focus { outline: none; border-color: #1a3a6b; box-shadow: 0 0 0 3px rgba(26,58,107,0.1); }
.edacc-hint { font-weight: 400; color: #94a3b8; font-size: 0.78rem; margin-left: 4px; }
.edacc-req  { color: #dc2626; }

/* Checkbox groups */
.edacc-checkgroup { display: flex; flex-direction: column; gap: 10px; }
.edacc-checkgroup__head { display: flex; align-items: baseline; gap: 10px; }
.edacc-checkgroup__label { font-size: 0.875rem; font-weight: 700; color: #374151; }
.edacc-checkgroup__hint  { font-size: 0.78rem; color: #94a3b8; }

.edacc-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.edacc-checkbox-grid--2col { grid-template-columns: repeat(2, 1fr); }

.edacc-check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #374151;
  cursor: pointer;
  transition: background 0.1s;
  user-select: none;
}
.edacc-check-item:hover { background: #f8fafc; }
.edacc-checkbox-grid .edacc-check-item:nth-child(3n) { border-right: none; }
.edacc-checkbox-grid--2col .edacc-check-item:nth-child(2n) { border-right: none; }
.edacc-check-item input[type="checkbox"] {
  width: 15px; height: 15px; flex-shrink: 0;
  accent-color: #1a3a6b; cursor: pointer; margin: 0;
}
.edacc-check-item input:checked + span { color: #1a3a6b; font-weight: 600; }

/* Upgrade nudge bar */
.edacc-upgrade-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, #1a3a6b 0%, #1e4a8a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.edacc-upgrade-nudge strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.edacc-upgrade-nudge p { margin: 0; font-size: 0.85rem; opacity: 0.8; }

/* Buttons */
.edacc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700; cursor: pointer;
  text-decoration: none; border: 2px solid transparent;
  transition: all 0.15s; font-family: inherit; white-space: nowrap; line-height: 1.3;
}
.edacc-btn--lg     { padding: 11px 24px; font-size: 0.925rem; }
.edacc-btn--primary{ background: #1a3a6b; color: #fff; border-color: #1a3a6b; }
.edacc-btn--primary:hover { background: #15305a; }
.edacc-btn--ghost  { background: transparent; color: #374151; border-color: #cbd5e1; }
.edacc-btn--ghost:hover  { border-color: #94a3b8; color: #0f172a; }
.edacc-btn--orange { background: #e8640a; color: #fff; border-color: #e8640a; }
.edacc-btn--orange:hover { background: #c9540a; }
.edacc-btn--danger { background: #dc2626; color: #fff; border-color: #dc2626; }

/* Simple analytics/leads/reviews placeholder pages */
.edacc-simple-msg {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  color: #64748b;
}
.edacc-simple-msg h3 { color: #0f172a; margin: 0 0 8px; }
.edacc-simple-msg p  { margin: 0 0 20px; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 860px) {
  .woocommerce-account .woocommerce { flex-direction: column !important; }
  .woocommerce-MyAccount-navigation { width: 100% !important; }
  .woocommerce-MyAccount-navigation ul { display: flex !important; flex-wrap: wrap !important; border-radius: 10px !important; }
  .woocommerce-MyAccount-navigation ul li { border-right: 1px solid #f1f5f9 !important; border-bottom: none !important; }
  .edacc-stats { grid-template-columns: 1fr 1fr; }
  .edacc-form__grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .edacc-hero { flex-direction: column; }
  .edacc-stats { grid-template-columns: 1fr; }
  .edacc-form__grid--2,
  .edacc-form__grid--3 { grid-template-columns: 1fr; }
  .edacc-checkbox-grid { grid-template-columns: 1fr 1fr; }
  .edacc-checkbox-grid .edacc-check-item:nth-child(3n) { border-right: 1px solid #e2e8f0; }
  .edacc-checkbox-grid .edacc-check-item:nth-child(2n) { border-right: none; }
  .edacc-checkbox-grid--2col .edacc-check-item:nth-child(2n) { border-right: none; }
  .edacc-upgrade-nudge { text-align: center; justify-content: center; }
}

/* ── WooCommerce form override on account pages ─────────────
   WC injects its own .form-row styles which break our layout */
.woocommerce-MyAccount-content .edacc-form p.form-row,
.woocommerce-MyAccount-content .edacc-form .form-row {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}
.woocommerce-MyAccount-content .edacc-field input,
.woocommerce-MyAccount-content .edacc-field textarea,
.woocommerce-MyAccount-content .edacc-field select {
  width: 100% !important;
  padding: 9px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 0.875rem !important;
  background: #fff !important;
  box-shadow: none !important;
  margin: 0 !important;
  height: auto !important;
  box-sizing: border-box !important;
}
.woocommerce-MyAccount-content .edacc-field input:focus,
.woocommerce-MyAccount-content .edacc-field textarea:focus {
  border-color: #1a3a6b !important;
  box-shadow: 0 0 0 3px rgba(26,58,107,0.1) !important;
  outline: none !important;
}
.woocommerce-MyAccount-content .edacc-section {
  background: #fff !important;
}
/* WC clears after form-row which breaks our grid */
.woocommerce-MyAccount-content .edacc-form__grid::after,
.woocommerce-MyAccount-content .edacc-form::after {
  display: none !important;
  content: none !important;
}
/* WC nav list-style interference */
.woocommerce-MyAccount-navigation ul {
  padding-left: 0 !important;
  list-style: none !important;
}

/* ── Upgrade / Plans grid ──────────────────────────────────── */
.edacc-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #e2e8f0;
}

.edacc-plan {
  padding: 24px 20px;
  border-right: 1px solid #e2e8f0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.edacc-plan:last-child { border-right: none; }
.edacc-plan--current { background: #f8fafc; }
.edacc-plan--popular { background: #fff; border-top: 3px solid #e8640a; margin-top: -3px; }

.edacc-plan__ribbon {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: #e8640a; color: #fff;
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 0 0 8px 8px;
  white-space: nowrap;
}
.edacc-plan__ribbon--current {
  background: #1a3a6b;
}

.edacc-plan__head {
  margin-bottom: 16px;
  padding-top: 8px;
  text-align: center;
}
.edacc-plan__name {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
}
.edacc-plan__price { line-height: 1; }
.edacc-plan__price strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.edacc-plan__price span {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.edacc-plan__features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.edacc-plan__feat {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 5px 0;
  border-bottom: 1px solid #f8fafc;
}
.edacc-plan__feat svg { flex-shrink: 0; margin-top: 2px; }
.edacc-plan__feat--yes { color: #1e293b; }
.edacc-plan__feat--yes svg { color: #059669; }
.edacc-plan__feat--no { color: #cbd5e1; }
.edacc-plan__feat--no svg { color: #cbd5e1; }

.edacc-plan__cta { margin-top: auto; text-align: center; }
.edacc-plan__current-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a3a6b;
  padding: 8px 0;
}
.edacc-plan__downgrade {
  display: block;
  font-size: 0.75rem;
  color: #cbd5e1;
  padding: 8px 0;
}
.edacc-btn--block { display: block; width: 100%; text-align: center; }

@media (max-width: 960px) {
  .edacc-plans { grid-template-columns: repeat(2, 1fr); }
  .edacc-plan { border-bottom: 1px solid #e2e8f0; }
}
@media (max-width: 500px) {
  .edacc-plans { grid-template-columns: 1fr; }
  .edacc-plan { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CLAIM LISTING — banner + success notice
   ═══════════════════════════════════════════════════════════════════════════ */

.ed-claim-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ee 100%);
  border: 1.5px solid #f5c28a;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.ed-claim-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.ed-claim-banner__body {
  flex: 1;
  min-width: 200px;
}
.ed-claim-banner__body strong {
  display: block;
  color: #1a2a3a;
  font-size: 1rem;
  margin-bottom: 4px;
}
.ed-claim-banner__body p {
  margin: 0;
  color: #6b7280;
  font-size: 0.88rem;
}
.ed-claim-banner__btn {
  flex-shrink: 0;
  display: inline-block;
  background: #e8640a;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s;
  white-space: nowrap;
}
.ed-claim-banner__btn:hover { background: #c9520a; }

.ed-claim-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 20px;
}
.ed-claim-success > span {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.ed-claim-success strong {
  display: block;
  color: #166534;
  margin-bottom: 2px;
}
.ed-claim-success > div {
  color: #15803d;
  font-size: 0.88rem;
}

/* Admin: onboarding table badges */
.ed-tiny-badge--verified {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE AREA BUSINESS — toggle + listing display
   ═══════════════════════════════════════════════════════════════════════════ */

/* Toggle switch wrapper */
.ed-sab-toggle-wrap { margin: 4px 0 8px; }
.ed-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.ed-toggle-label:has(input:checked) {
  border-color: #1a3a6b;
  background: #f0f5fb;
}
.ed-toggle-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #1a3a6b;
  cursor: pointer;
}
.ed-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ed-toggle-text strong { color: #1a2a3a; font-size: 0.95rem; }
.ed-toggle-text span   { color: #6b7280; font-size: 0.85rem; line-height: 1.4; }

/* SAB location display on single listing */
.ed-sab-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.ed-sab-badge {
  display: inline-block;
  background: #f0f5fb;
  color: #1a3a6b;
  border: 1px solid #c3d9ef;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.ed-sab-areas {
  color: #6b7280;
  font-size: 0.88rem;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CLAIMED / UNCLAIMED BADGES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Profile card badges (single listing page) */
.ed-badge--claimed {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.ed-badge--unclaimed {
  background: #fafafa;
  color: #9ca3af;
  border: 1px dashed #d1d5db;
  font-style: italic;
}

/* Listing card badges */
.edc-claimed-badge,
.edc-unclaimed-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.6;
}
.edc-claimed-badge {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.edc-unclaimed-badge {
  background: #f9fafb;
  color: #9ca3af;
  border: 1px dashed #d1d5db;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR CLAIM CARD
   ═══════════════════════════════════════════════════════════════════════════ */

.ed-sb-card--claim {
  border: 1.5px solid #f5c28a;
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ee 100%);
  text-align: center;
}
.ed-claim-sb__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}
.ed-sb-card--claim h4 {
  color: #1a2a3a;
  margin: 0 0 8px;
  font-size: 1rem;
}
.ed-sb-card--claim p {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.ed-claim-sb__domain {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem !important;
  color: #374151 !important;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 6px !important;
}
.ed-claim-sb__domain strong {
  color: #1a3a6b;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHONE NUMBER REVEAL
   ═══════════════════════════════════════════════════════════════════════════ */

/* Inline variant (sidebar contact list) */
.ed-phone-reveal--inline {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: #1a3a6b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-align: left;
}
.ed-phone-reveal--inline:hover { text-decoration: underline; }
.ed-phone-tap {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 400;
  font-style: italic;
}
.ed-phone-reveal--shown .ed-phone-tap {
  color: #e8640a;
  font-style: normal;
  font-weight: 600;
}

/* Masked digits styling */
.ed-phone-display { letter-spacing: 0.01em; }

/* ── Profile Completion Checklist ─────────────────────────────────────────── */
.ed-completion-card { background:#fff; border:1.5px solid #e2e8f0; border-radius:14px; overflow:hidden; margin:24px 0; box-shadow:0 2px 12px rgba(0,0,0,0.05); }
.ed-completion-card__header { padding:20px 24px 16px; border-bottom:1px solid #f1f5f9; background:linear-gradient(135deg,#f8faff 0%,#f0f5fb 100%); }
.ed-completion-card__title-wrap { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.ed-completion-card__title { margin:0; font-size:1rem; font-weight:700; color:#1a2a3a; }
.ed-completion-card__pct { font-size:1.5rem; font-weight:800; color:#1a3a6b; line-height:1; }
.ed-completion-bar { height:8px; background:#e2e8f0; border-radius:99px; overflow:hidden; margin-bottom:10px; }
.ed-completion-bar__fill { height:100%; background:linear-gradient(90deg,#1a3a6b 0%,#e8640a 100%); border-radius:99px; transition:width 0.6s ease; }
.ed-completion-card__sub { margin:0; font-size:0.82rem; color:#64748b; }
.ed-completion-list { list-style:none; margin:0; padding:8px 0; }
.ed-completion-item { display:flex; align-items:center; gap:10px; padding:10px 24px; border-bottom:1px solid #f8fafc; transition:background 0.1s; }
.ed-completion-item:last-child { border-bottom:none; }
.ed-completion-item--done { opacity:0.55; }
.ed-completion-item:not(.ed-completion-item--done):hover { background:#f8faff; }
.ed-completion-item__icon { flex-shrink:0; }
.ed-completion-item--done .ed-completion-item__icon { color:#10b981; }
.ed-completion-item:not(.ed-completion-item--done) .ed-completion-item__icon { color:#d1d5db; }
.ed-completion-item__label { flex:1; font-size:0.875rem; color:#374151; }
.ed-completion-item--done .ed-completion-item__label { text-decoration:line-through; color:#94a3b8; }
.ed-completion-item__link { color:#1a3a6b; text-decoration:none; font-weight:600; }
.ed-completion-item__link:hover { text-decoration:underline; }
.ed-completion-item__pts { font-size:0.72rem; font-weight:700; color:#94a3b8; white-space:nowrap; }
.ed-completion-item--done .ed-completion-item__pts { color:#10b981; }

/* ── Discipline Landing Pages — region cross-links ────────────────────────── */
.ed-hero-region-links { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid rgba(255,255,255,0.15); }
.ed-hero-region-links__label { font-size:0.8rem; color:rgba(255,255,255,0.7); font-weight:600; text-transform:uppercase; letter-spacing:0.05em; white-space:nowrap; }
.ed-hero-region-link { display:inline-block; padding:3px 10px; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2); border-radius:20px; color:#fff; font-size:0.78rem; font-weight:600; text-decoration:none; transition:background 0.15s,border-color 0.15s; white-space:nowrap; }
.ed-hero-region-link:hover { background:rgba(255,255,255,0.22); border-color:rgba(255,255,255,0.4); color:#fff; }

/* ── Logo Upload Widget ───────────────────────────────────────────────────── */
.edacc-logo-field { margin-bottom:20px; }
.ed-logo-upload-wrap { display:flex; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.ed-logo-drop-zone { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; width:160px; height:100px; border:2px dashed #cbd5e1; border-radius:10px; background:#f8fafc; cursor:pointer; transition:border-color 0.15s,background 0.15s; text-align:center; padding:8px; }
.ed-logo-drop-zone:hover, .ed-logo-drop-zone.ed-logo-drag-over { border-color:#1a3a6b; background:#f0f5fb; }
.ed-logo-drop-zone p { margin:0; font-size:0.78rem; color:#64748b; line-height:1.3; }
.ed-logo-preview { position:relative; display:inline-flex; }
.ed-logo-remove { position:absolute; top:-8px; right:-8px; width:22px; height:22px; border-radius:50%; border:none; background:#dc2626; color:#fff; font-size:14px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
.ed-logo-remove:hover { background:#b91c1c; }
.ed-logo-status { color:#10b981; }
.ed-logo-status--error { color:#dc2626; }

/* ── Taxonomy Landing Page Description Block ─────────────────────────────── */
.ed-tax-description { margin: 48px 0 0; }
.ed-tax-description__inner { background: #fff; border: 1px solid var(--ed-border-md, rgba(26,58,107,0.18)); border-radius: var(--ed-radius-lg, 12px); padding: 36px 40px; box-shadow: 0 2px 12px rgba(26,58,107,0.06); }
.ed-tax-description__heading { font-size: 1.25rem; font-weight: 800; color: var(--ed-blue, #1a3a6b); margin: 0 0 16px; font-family: 'Nunito', sans-serif; }
.ed-tax-description__inner h2,
.ed-tax-description__inner h3 { font-size: 1.1rem; font-weight: 700; color: var(--ed-text, #0e1e35); margin: 1.4em 0 0.5em; }
.ed-tax-description__inner h2:first-child,
.ed-tax-description__inner h3:first-child { margin-top: 0; }
.ed-tax-description__inner p { color: var(--ed-text-soft, #3d5068); line-height: 1.8; margin: 0 0 1em; }
.ed-tax-description__inner p:last-child { margin-bottom: 0; }
.ed-tax-description__inner ul,
.ed-tax-description__inner ol { color: var(--ed-text-soft, #3d5068); line-height: 1.75; margin: 0 0 1em; padding-left: 1.4em; }
.ed-tax-description__inner li { margin-bottom: 0.35em; }
.ed-tax-description__inner a { color: #1a3a6b; text-decoration: underline; }
.ed-tax-description__inner a:hover { color: #e8640a; }
.ed-tax-description__inner strong { color: #0e1e35; }
