/* ─────────────────────────────────────────────────────────────
   EloBeregner – Calculator styles
   Prefixed with .eb- to avoid conflicts with theme CSS.
───────────────────────────────────────────────────────────── */

:root {
  --eb-blue:        #004aad;
  --eb-blue-light:  #0066cc;
  --eb-green:       #20BF55;
  --eb-green-dark:  #17A34A;
  --eb-yellow:      #fbbf24;
  --eb-bg:          #FDFBF7;
  --eb-gray-50:     #f9fafb;
  --eb-gray-100:    #f3f4f6;
  --eb-gray-200:    #e5e7eb;
  --eb-gray-300:    #d1d5db;
  --eb-gray-400:    #9ca3af;
  --eb-gray-500:    #6b7280;
  --eb-gray-600:    #4b5563;
  --eb-gray-700:    #374151;
  --eb-gray-800:    #1f2937;
  --eb-gray-900:    #111827;
  --eb-shadow:      0 1px 3px rgba(0,0,0,.04), 0 8px 32px rgba(0,74,173,.08);
}

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

/* ── Loading overlay ─────────────────────────────────────── */
.eb-loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.eb-loading-overlay.show { display: flex; }
.eb-loading-box { padding: 40px; text-align: center; }
.eb-loading-spinner {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  border: 4px solid var(--eb-gray-200);
  border-top-color: var(--eb-green);
  border-radius: 50%;
  animation: eb-spin .8s linear infinite;
}
@keyframes eb-spin { to { transform: rotate(360deg); } }
.eb-loading-text    { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--eb-gray-900); margin: 0 0 4px; }
.eb-loading-subtext { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--eb-gray-500); margin: 0; }

/* ── Hero ────────────────────────────────────────────────── */
.eb-hero {
  background: linear-gradient(135deg, var(--eb-blue) 0, var(--eb-blue-light) 100%);
  padding: 48px 20px 60px;
  text-align: center;
}
.eb-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.15;
}
.eb-hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin: 0;
}

/* ── Card ────────────────────────────────────────────────── */
.eb-container {
  max-width: 680px;
  margin: -30px auto 0;
  padding: 0 16px 40px;
  position: relative;
  z-index: 10;
}
.eb-card {
  background: var(--eb-bg);
  border-radius: 24px;
  box-shadow: var(--eb-shadow);
  overflow: hidden;
}

/* ── Progress ────────────────────────────────────────────── */
.eb-progress-wrap { padding: 24px 32px 0; }
.eb-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.eb-steps::before {
  content: '';
  position: absolute;
  top: 16px; left: 40px; right: 40px;
  height: 2px;
  background: var(--eb-gray-200);
}
.eb-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.eb-step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: .85rem;
  transition: .3s;
  color: var(--eb-gray-400);
  border: 2px solid var(--eb-gray-200);
  background: var(--eb-bg);
}
.eb-step-item.active .eb-step-circle,
.eb-step-item.completed .eb-step-circle {
  background: var(--eb-green);
  border-color: var(--eb-green);
  color: #fff;
}
.eb-step-item.active .eb-step-circle { box-shadow: 0 4px 12px rgba(32,191,85,.3); }
.eb-step-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  color: var(--eb-gray-400);
  font-weight: 500;
  transition: color .3s;
}
.eb-step-item.active .eb-step-label    { color: var(--eb-gray-700); }
.eb-step-item.completed .eb-step-label { color: var(--eb-gray-500); }

/* ── Step panels ─────────────────────────────────────────── */
.eb-step { display: none; padding: 32px; }
.eb-step.active { display: block; }
.eb-step-header { text-align: center; margin-bottom: 28px; }
.eb-step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--eb-gray-900);
  margin: 0 0 6px;
}
.eb-step-desc {
  font-family: 'DM Sans', sans-serif;
  color: var(--eb-gray-500);
  font-size: .95rem;
  margin: 0;
}

/* ── Housing cards ───────────────────────────────────────── */
.eb-housing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.eb-housing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  background: #fff;
  border: 2px solid var(--eb-gray-200);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  transition: .2s;
}
.eb-housing-card:hover { border-color: var(--eb-gray-300); background: var(--eb-gray-50); }
.eb-housing-card.selected { border-color: var(--eb-green); background: rgba(32,191,85,.04); }
.eb-housing-icon { font-size: 28px; margin-bottom: 8px; color: var(--eb-blue); }
.eb-housing-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--eb-gray-800); margin-bottom: 2px; }
.eb-housing-sub   { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--eb-gray-500); }
@media (max-width: 580px) { .eb-housing-cards { grid-template-columns: 1fr; } }

/* ── Persons ─────────────────────────────────────────────── */
.eb-persons-section { margin-bottom: 24px; text-align: center; }
.eb-persons-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--eb-gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.eb-persons-selector { display: flex; align-items: center; justify-content: center; gap: 16px; }
.eb-persons-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: #fff;
  border: 2px solid var(--eb-gray-300);
  border-radius: 12px;
  color: var(--eb-gray-600);
  cursor: pointer;
  transition: .2s;
}
.eb-persons-btn:hover { border-color: var(--eb-blue); color: var(--eb-blue); background: var(--eb-gray-50); }
.eb-persons-btn svg { width: 20px; height: 20px; }
.eb-persons-display { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
.eb-persons-num   { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 700; color: var(--eb-gray-900); line-height: 1; }
.eb-persons-label { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--eb-gray-500); margin-top: 2px; }

/* ── Addons ──────────────────────────────────────────────── */
.eb-addons-section { margin-bottom: 16px; text-align: center; }
.eb-addons-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--eb-gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.eb-addon-toggles { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.eb-addon-toggle {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 2px solid var(--eb-gray-200);
  border-radius: 12px;
  cursor: pointer;
  flex: 1; max-width: 220px;
  transition: .2s;
}
.eb-addon-toggle:hover { border-color: var(--eb-gray-300); }
.eb-addon-toggle.active { border-color: var(--eb-green); background: rgba(32,191,85,.04); }
.eb-addon-icon  { font-size: 22px; flex-shrink: 0; color: var(--eb-blue); width: 28px; text-align: center; }
.eb-addon-text  { flex: 1; text-align: left; }
.eb-addon-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--eb-gray-800); display: block; }
.eb-addon-sub   { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--eb-gray-500); }
.eb-addon-check {
  width: 22px; height: 22px;
  border: 2px solid var(--eb-gray-300);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: .2s;
}
.eb-addon-toggle.active .eb-addon-check { background: var(--eb-green); border-color: var(--eb-green); }
.eb-addon-check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity .2s; }
.eb-addon-toggle.active .eb-addon-check svg { opacity: 1; }

/* ── kWh escape hatch ────────────────────────────────────── */
.eb-kwh-escape { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--eb-gray-200); }
.eb-kwh-escape-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--eb-gray-400);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  cursor: pointer; transition: color .2s; padding: 4px 0;
}
.eb-kwh-escape-btn:hover { color: var(--eb-blue); }
.eb-kwh-escape-btn svg { width: 14px; height: 14px; }

/* ── Slider ──────────────────────────────────────────────── */
.eb-consumption-section {
  background: var(--eb-bg);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.eb-slider-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.eb-slider-label { font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--eb-gray-500); }
.eb-slider-val { display: flex; align-items: baseline; gap: 4px; }
.eb-slider-num  { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--eb-gray-900); line-height: 1; }
.eb-slider-unit { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--eb-gray-500); font-weight: 500; margin-left: 4px; }
.eb-range {
  -webkit-appearance: none;
  width: 100%; height: 8px;
  background: linear-gradient(to right, #20BF55 0, #20BF55 var(--value-pct, 15%), #e5e7eb var(--value-pct, 15%), #e5e7eb 100%);
  border-radius: 100px;
  outline: 0; cursor: pointer;
}
.eb-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  background: #fff;
  border: 3px solid var(--eb-green);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(32,191,85,.3);
  transition: transform .2s, box-shadow .2s;
}
.eb-range::-webkit-slider-thumb:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(32,191,85,.4); }
.eb-range::-moz-range-thumb {
  width: 28px; height: 28px;
  background: #fff;
  border: 3px solid var(--eb-green);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(32,191,85,.3);
}
.eb-slider-ticks { display: flex; justify-content: space-between; margin-top: 12px; padding: 0 4px; }
.eb-slider-ticks span { font-family: 'DM Sans', sans-serif; font-size: .75rem; color: var(--eb-gray-400); }
.eb-helper-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.eb-helper-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--eb-gray-200);
  border-radius: 100px;
  color: var(--eb-gray-500);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 500;
  cursor: pointer; transition: .2s;
}
.eb-helper-btn:hover { border-color: var(--eb-blue); color: var(--eb-blue); }
.eb-helper-btn svg { width: 18px; height: 18px; }
.eb-manual-wrap { display: none; margin-top: 16px; }
.eb-manual-wrap.show { display: block; }
.eb-manual-inner { position: relative; max-width: 200px; margin: 0 auto; }
.eb-manual-input {
  width: 100%;
  padding: 14px 70px 14px 16px;
  background: #fff;
  border: 2px solid var(--eb-gray-300);
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--eb-gray-900);
  outline: 0; transition: border-color .2s; text-align: center;
}
.eb-manual-input:focus { border-color: var(--eb-green); }
.eb-manual-suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--eb-gray-500); font-weight: 500; pointer-events: none;
}

/* ── Situation cards ─────────────────────────────────────── */
.eb-situation-grid { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }
.eb-situation-card {
  background: #fff; border: 2px solid var(--eb-gray-200);
  border-radius: 14px; padding: 14px 16px;
  text-align: left; cursor: pointer; width: 100%;
  transition: .2s;
}
.eb-situation-card:hover  { border-color: var(--eb-gray-300); background: var(--eb-gray-50); }
.eb-situation-card.active { border-color: var(--eb-green); background: rgba(32,191,85,.05); }
.eb-sit-main { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--eb-gray-900); font-size: 15px; margin-bottom: 3px; }
.eb-sit-sub  { font-family: 'DM Sans', sans-serif; color: var(--eb-gray-600); font-size: 12px; line-height: 1.4; }

/* ── Email step ──────────────────────────────────────────── */
.eb-email-section { text-align: center; }
.eb-email-card {
  background: #fff; border: 1px solid var(--eb-gray-200);
  border-radius: 16px; padding: 28px 24px;
  max-width: 560px; margin: 0 auto;
}
.eb-email-icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--eb-blue) 0, var(--eb-blue-light) 100%);
  border-radius: 14px; margin-bottom: 16px;
}
.eb-email-icon-box svg { width: 24px; height: 24px; color: #fff; }
.eb-email-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--eb-gray-100);
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--eb-gray-500); margin-bottom: 12px;
}
.eb-email-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--eb-gray-900); margin: 0 0 6px; }
.eb-email-desc  { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--eb-gray-500); margin: 0 0 20px; line-height: 1.5; }
.eb-email-form-area { max-width: 360px; margin: 0 auto; }
.eb-email-input {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 2px solid var(--eb-gray-300);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--eb-gray-900);
  outline: 0; transition: border-color .2s; margin-bottom: 12px;
}
.eb-email-input:focus { border-color: var(--eb-green); }
.eb-consent-box { display: none; margin-bottom: 16px; text-align: left; }
.eb-consent-box.show { display: block; }
.eb-consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; background: var(--eb-gray-50);
  border: 1px solid var(--eb-gray-200); border-radius: 10px; cursor: pointer;
}
.eb-consent-check { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
.eb-consent-check input { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.eb-consent-box-ui {
  width: 20px; height: 20px; background: #fff;
  border: 2px solid var(--eb-gray-300); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.eb-consent-check input:checked + .eb-consent-box-ui { background: var(--eb-green); border-color: var(--eb-green); }
.eb-consent-box-ui svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.5); transition: .15s; }
.eb-consent-check input:checked + .eb-consent-box-ui svg { opacity: 1; transform: scale(1); }
.eb-consent-text { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--eb-gray-600); line-height: 1.5; }
.eb-consent-text a { color: var(--eb-blue); text-decoration: underline; }
.eb-email-perks { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.eb-email-perk  {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--eb-gray-600); font-size: 13px; font-family: 'DM Sans', sans-serif;
}
.eb-email-perk svg { width: 16px; height: 16px; color: var(--eb-green); flex-shrink: 0; }
.eb-skip-wrap { border-top: 1px solid var(--eb-gray-200); padding-top: 16px; }
.eb-skip-link {
  display: inline-block; padding: 10px 16px;
  color: var(--eb-gray-500); font-size: 13px;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  text-decoration: none; border-radius: 8px; transition: .2s;
}
.eb-skip-link:hover { color: var(--eb-gray-700); background: var(--eb-gray-100); }

/* ── Navigation ──────────────────────────────────────────── */
.eb-nav {
  display: flex; gap: 12px;
  padding: 20px 32px;
  background: var(--eb-gray-50);
  border-top: 1px solid var(--eb-gray-200);
}
.eb-btn-back {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 20px;
  background: #fff; border: 1px solid var(--eb-gray-200);
  border-radius: 12px; color: var(--eb-gray-600);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: .2s;
}
.eb-btn-back:hover { border-color: var(--eb-gray-300); background: var(--eb-gray-50); }
.eb-btn-back svg { width: 16px; height: 16px; }
.eb-btn-next {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--eb-green) 0, var(--eb-green-dark) 100%);
  border: none; border-radius: 14px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: .3s;
  position: relative; overflow: hidden;
}
.eb-btn-next::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.eb-btn-next:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(32,191,85,.35); }
.eb-btn-next:hover::before { left: 100%; }
.eb-btn-next svg { width: 20px; height: 20px; transition: transform .2s; }
.eb-btn-next:hover svg { transform: translateX(4px); }
.eb-disclaimer {
  padding: 16px 32px 20px;
  background: #fff; border-top: 1px solid var(--eb-gray-100);
}
.eb-disclaimer p {
  font-family: 'DM Sans', sans-serif; color: var(--eb-gray-500);
  font-size: .8rem; line-height: 1.6; text-align: center; margin: 0;
}

/* ── Trust badges ────────────────────────────────────────── */
.eb-trust-badges { display: flex; justify-content: center; gap: 2rem; padding: 24px 16px 40px; }
.eb-badge { display: flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; color: var(--eb-gray-500); font-size: .85rem; }
.eb-badge svg { width: 20px; height: 20px; color: var(--eb-green); }
@media (max-width: 580px) { .eb-trust-badges { flex-direction: column; align-items: center; gap: 12px; } }

/* ── Result section ──────────────────────────────────────── */
.eb-result-section { display: none; background: var(--eb-bg); }
.eb-result-section.show { display: block; }

/* ── Result hero banner ───────────────────────────────────── */
.eb-result-hero {
  background: linear-gradient(150deg, #003a99 0%, #0057cc 60%, #0069e0 100%);
  padding: 48px 20px 56px; text-align: center;
}
.eb-result-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.3); border-radius: 50%;
  margin-bottom: 20px;
  animation: eb-pop .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes eb-pop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.eb-result-icon-wrap svg { width: 26px; height: 26px; color: #fff; }
.eb-result-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800;
  color: #fff; margin: 0 0 10px; letter-spacing: -.02em;
}
.eb-result-subtitle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: rgba(255,255,255,.8); margin: 0;
  background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 99px;
}
.eb-result-subtitle svg { width: 14px; height: 14px; color: #fcd34d; }
.eb-result-container {
  max-width: 860px; margin: -32px auto 0; padding: 0 16px 60px; position: relative;
}

/* ── Winner card ─────────────────────────────────────────── */
.eb-winner-card {
  background: #fff; border-radius: 20px;
  border: 2px solid #20BF55;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 20px 48px rgba(0,74,173,.10);
  overflow: hidden;
  animation: eb-fade-up .4s both;
}
.eb-winner-header {
  display: flex; align-items: center; gap: 10px;
  background: #20BF55; color: #fff;
  padding: 11px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .01em;
}
.eb-winner-header svg { flex-shrink: 0; }
.eb-winner-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; gap: 20px; flex-wrap: wrap;
}
.eb-winner-brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.eb-logo-box {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; padding: 8px;
  background: #fafafa; border: 1px solid #e5e7eb; border-radius: 14px;
  flex-shrink: 0;
}
.eb-logo { max-height: 44px; max-width: 48px; object-fit: contain; display: block; }
.eb-logo-initials {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 800; color: var(--eb-blue);
}
.eb-logo-initials--sm { font-size: 12px; width: auto; height: auto; }
.eb-winner-info { display: flex; flex-direction: column; gap: 5px; }
.eb-winner-name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800;
  color: #111827; margin: 0; letter-spacing: -.01em;
}
.eb-winner-rating { display: flex; align-items: center; gap: 5px; }
.eb-winner-rating-num { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: #6b7280; }
.eb-green-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f0fdf4; color: #16a34a;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px; border: 1px solid #bbf7d0;
}
.eb-winner-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.eb-winner-meta { display: flex; align-items: center; gap: 0; }
.eb-detail-item  { display: flex; flex-direction: column; gap: 3px; padding: 0 20px; }
.eb-detail-item:first-child { padding-left: 0; }
.eb-detail-sep   { width: 1px; height: 40px; background: #e5e7eb; }
.eb-detail-label {
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700;
  color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; margin: 0;
}
.eb-detail-val {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700;
  color: #1f2937; margin: 0;
}
.eb-price-block { text-align: right; }
.eb-price-label {
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700;
  color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 3px;
}
.eb-price-val {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; font-weight: 800;
  color: #111827; line-height: 1; margin: 0; letter-spacing: -.02em;
}
.eb-price-suffix { font-size: 16px; font-weight: 500; color: #6b7280; }

/* Actions area */
.eb-winner-actions { padding: 0 28px 28px; }

/* Savings strip */
.eb-savings-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #f0fdf4; border: 1px solid #86efac; border-radius: 12px;
  margin-bottom: 18px;
}
.eb-savings-icon {
  width: 36px; height: 36px; background: #16a34a; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.eb-savings-text { flex: 1; min-width: 0; }
.eb-savings-headline { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: #166534; line-height: 1.3; margin: 0; }
.eb-savings-headline strong { color: #14532d; }
.eb-savings-sub { font-family: 'DM Sans', sans-serif; font-size: 12px; color: #4b7c5f; margin: 2px 0 0; }

/* CTA button — !important guards against theme link-color overrides */
.eb-cta {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 10px !important; width: 100% !important;
  padding: 17px 24px !important;
  background: #20BF55 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important; font-weight: 700 !important;
  border-radius: 14px !important; text-decoration: none !important;
  transition: background .2s, box-shadow .2s, transform .2s !important;
  position: relative; overflow: hidden; cursor: pointer !important;
  border: none !important; outline: none !important;
  box-shadow: 0 4px 12px rgba(32,191,85,.30) !important;
}
.eb-cta:hover, .eb-cta:focus {
  background: #17A34A !important; color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(32,191,85,.40) !important;
  text-decoration: none !important;
}
.eb-cta span { color: #ffffff !important; }
.eb-cta svg { color: #ffffff !important; transition: transform .2s; }
.eb-cta:hover svg { transform: translateX(4px); }
.eb-cta-reassurance {
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: #9ca3af;
  text-align: center; margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.eb-cta-reassurance span { display: inline-flex; align-items: center; gap: 5px; }
.eb-cta-reassurance svg { color: #20BF55; }

/* Pros/cons */
.eb-pros-cons { border-top: 1px solid #e5e7eb; background: #fafafa; }
.eb-pc-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .eb-pc-grid { grid-template-columns: 3fr 1px 2fr; } }
.eb-pc-col  { padding: 24px 28px; }
.eb-pc-sep  { display: none; background: #e5e7eb; }
@media (min-width: 640px) { .eb-pc-sep { display: block; } }
.eb-pc-sep-h { height: 1px; background: #e5e7eb; }
@media (min-width: 640px) { .eb-pc-sep-h { display: none; } }
.eb-pc-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .875rem; margin: 0 0 14px; color: #374151; }
.eb-pc-cons .eb-pc-title { font-size: .8125rem; color: #6b7280; font-weight: 600; margin-bottom: 10px; }
.eb-pc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.eb-pc-list li { font-family: 'DM Sans', sans-serif; font-size: .875rem; color: #374151; display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.eb-pc-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.eb-pc-list li svg.pc-pro { color: #16a34a; }
.eb-pc-list li svg.pc-con { color: #d1d5db; }
.eb-review-link-wrap { padding: 12px 28px 16px; border-top: 1px solid #e5e7eb; }
.eb-review-link {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  background: none !important; color: #6b7280 !important;
  font-family: 'DM Sans', sans-serif !important; font-size: 13px !important; font-weight: 500 !important;
  text-decoration: none !important; transition: color .2s !important;
}
.eb-review-link:hover { color: var(--eb-blue) !important; text-decoration: none !important; }
.eb-review-link svg { width: 14px; height: 14px; }

/* ── Alt/Extra provider list ─────────────────────────────── */
.eb-alt-section, .eb-extra-section {
  background: #fff; border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(0,74,173,.07);
  overflow: hidden; margin-bottom: 20px;
}
.eb-alt-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid #f3f4f6;
}
.eb-alt-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: #111827; margin: 0; }
.eb-alt-count { font-family: 'DM Sans', sans-serif; font-size: 13px; color: #9ca3af; }
.eb-alt-list  { display: flex; flex-direction: column; }
.eb-alt-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid #f3f4f6; transition: background .15s;
}
.eb-alt-row:last-child { border-bottom: none; }
.eb-alt-row:hover { background: #fafafa; }
.eb-alt-left, .eb-alt-right { display: flex; align-items: center; gap: 14px; }
.eb-alt-rank {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; color: #6b7280;
}
.eb-alt-logo-box {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 38px; padding: 5px 10px;
  background: #fafafa; border: 1px solid #e5e7eb; border-radius: 9px;
  flex-shrink: 0;
}
.eb-alt-logo  { max-height: 22px; max-width: 52px; width: auto; height: auto; object-fit: contain; display: block; }
.eb-alt-name  { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: #374151; }
@media (max-width: 560px) { .eb-alt-name { display: none; } }
.eb-alt-price { text-align: right; }
.eb-alt-price-val   { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700; color: #111827; }
.eb-alt-price-label { font-family: 'DM Sans', sans-serif; font-size: 12px; color: #9ca3af; }

/* Alt CTA button */
.eb-alt-cta {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  padding: 9px 16px !important; background: #20BF55 !important;
  border: none !important; border-radius: 10px !important;
  color: #ffffff !important; font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important;
  text-decoration: none !important; transition: background .2s !important; cursor: pointer !important;
  white-space: nowrap !important;
}
.eb-alt-cta:hover, .eb-alt-cta:focus {
  background: #17A34A !important; color: #ffffff !important; text-decoration: none !important;
}
.eb-alt-cta svg { color: #ffffff !important; width: 14px; height: 14px; }

/* Info tooltip */
.eb-info-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: #e5e7eb;
  border: none; border-radius: 50%;
  color: #6b7280; font-size: 11px; font-weight: 700;
  font-style: italic; font-family: Georgia, serif; cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.eb-info-btn:hover { background: #d1d5db; }
.eb-info-tooltip {
  position: absolute; bottom: calc(100% + 8px); right: -8px;
  background: #1f2937; color: #fff;
  padding: 10px 12px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; font-style: normal;
  white-space: nowrap; opacity: 0; visibility: hidden;
  transition: opacity .15s; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.eb-info-tooltip::after {
  content: ''; position: absolute; top: 100%; right: 14px;
  border: 5px solid transparent; border-top-color: #1f2937;
}
.eb-info-btn:hover .eb-info-tooltip { opacity: 1; visibility: visible; }
.eb-tt-row { display: flex; justify-content: space-between; gap: 16px; }
.eb-tt-row + .eb-tt-row { margin-top: 4px; }
.eb-tt-label { color: #9ca3af; }
.eb-tt-val   { font-weight: 600; }

/* ── Disclosures & recalc ────────────────────────────────── */
.eb-affiliate-disclosure {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; background: #f9fafb;
  border: 1px solid #e5e7eb; border-radius: 12px;
  margin-bottom: 12px;
}
.eb-affiliate-disclosure svg { width: 18px; height: 18px; flex-shrink: 0; color: #d1d5db; margin-top: 2px; }
.eb-affiliate-disclosure p { font-family: 'DM Sans', sans-serif; font-size: 12px; line-height: 1.6; color: #6b7280; margin: 0; }
.eb-affiliate-disclosure strong { color: #4b5563; }
.eb-recalc-wrap { padding-top: 16px; text-align: center; }
.eb-recalc-link {
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  padding: 11px 22px !important; color: #4b5563 !important;
  font-family: 'DM Sans', sans-serif !important; font-size: 14px !important; font-weight: 600 !important;
  border: 1px solid #d1d5db !important; border-radius: 10px !important;
  text-decoration: none !important; transition: all .2s !important; background: #fff !important;
}
.eb-recalc-link:hover { color: #111827 !important; border-color: #9ca3af !important; text-decoration: none !important; }
.eb-recalc-link svg { width: 15px; height: 15px; color: #6b7280 !important; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  .eb-winner-top { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
  .eb-winner-right { width: 100%; justify-content: space-between; padding-top: 16px; border-top: 1px solid #e5e7eb; }
  .eb-winner-meta { gap: 0; }
  .eb-detail-item { padding: 0 16px; }
  .eb-price-block { text-align: left; }
  .eb-price-val   { font-size: 44px; }
  .eb-winner-actions { padding: 0 20px 20px; }
  .eb-pc-col { padding: 18px 20px; }
  .eb-review-link-wrap { padding: 10px 20px 14px; }
}

@keyframes eb-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.eb-card, .eb-hero-title, .eb-hero-subtitle { animation: eb-fade-up .5s both; }
.eb-hero-subtitle { animation-delay: .1s; }
.eb-card { animation-delay: .2s; }
