/* ============================================================================
   myenergy-funnel-theme.css
   Override visivo del funnel (upload + quiz + contact) per allinearlo
   all'estetica della hero section della landing.
   Caricato DOPO myenergy-comparatore.css — sovrascrive solo ciò che serve.
   Per tornare indietro: rimuovere questo file dall'HTML.
   ============================================================================ */

/* ============================================================================
   PROGRESS BAR — più sottile, glow più intenso
   ============================================================================ */
#myenergy-comparatore-root .me-progress {
  height: 4px;
  max-width: 820px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 auto 18px;
  box-shadow: none;
}

#myenergy-comparatore-root .me-progress-bar {
  background: linear-gradient(90deg, #20d44a 0%, #7be58c 100%);
  box-shadow:
    0 0 10px rgba(123, 229, 140, 0.70),
    0 0 28px rgba(32, 212, 74, 0.35);
}

/* ============================================================================
   FUNNEL BACKGROUND — identico alla hero ma con punto luce spostato
   ============================================================================ */
#myenergy-comparatore-root .me-funnel {
  background:
    radial-gradient(circle at 72% 18%, rgba(123, 229, 140, 0.32) 0%, transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(27, 181, 50, 0.20) 0%, transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(16, 32, 88, 0.18) 0%, transparent 60%),
    linear-gradient(120deg, #1bb532 0%, #159743 30%, #245a7a 68%, #102058 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* no overflow: hidden qui — gestito per step individuale */
}

/* ============================================================================
   STEP CARD — glass frosted con aura verde
   ============================================================================ */
#myenergy-comparatore-root .me-step {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-top: 2.5px solid rgba(27, 181, 50, 0.55);
  border-radius: 22px;
  box-shadow:
    0 32px 80px rgba(3, 12, 38, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.90) inset,
    0 0 0 1px rgba(27, 181, 50, 0.06) inset;
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  /* Assicura che la card non cresca oltre il viewport */
  max-height: calc(100dvh - 60px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Step con scroll interno solo se strettamente necessario (form manuale lungo) */
#myenergy-comparatore-root .me-step.me-step--scrollable {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================================
   EYEBROW — "Step N di 4" sopra il titolo
   ============================================================================ */
#myenergy-comparatore-root .me-step .me-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--me-green);
  margin-bottom: 8px;
  opacity: 0.85;
}

/* ============================================================================
   TITOLO H2 — parola-chiave con gradient text (come .me-grad-word hero)
   ============================================================================ */
#myenergy-comparatore-root .me-step h2 {
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #181e1a;
  margin-bottom: 6px;
}

/* Parola evidenziata dentro h2 — stessa tecnica .me-grad-word della hero */
#myenergy-comparatore-root .me-step h2 .me-grad-word {
  background: linear-gradient(92deg, #1bb532 0%, #4fd866 60%, #7be58c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================================
   SOTTOTITOLO — tinta verde-grigio invece di grigio neutro
   ============================================================================ */
#myenergy-comparatore-root .me-step-sub {
  font-size: 13.5px;
  font-weight: 500;
  color: #4a6250;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ── Manual form fields ── */
#myenergy-comparatore-root .me-form-grid {
  gap: 12px;
}
#myenergy-comparatore-root .me-form-grid.me-step-grid-0,
#myenergy-comparatore-root .me-form-grid.me-step-grid-2,
#myenergy-comparatore-root .me-form-grid.me-step-grid-3 {
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
#myenergy-comparatore-root .me-form-grid.me-step-grid-1 {
  grid-template-columns: 1fr 1fr 1fr;
}
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a6250;
  margin-bottom: 6px;
}
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field input,
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field select {
  background: #f7faf8;
  border: 1.5px solid rgba(27,181,50,0.18);
  color: #0f1a10;
  font-size: 15px;
  font-weight: 600;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
}
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field input:focus,
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field select:focus {
  border-color: #1bb532;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27,181,50,0.14);
  outline: none;
}
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field-hint {
  font-size: 11px;
  color: #7a9682;
  margin-top: 5px;
}
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field.is-error input,
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field.is-error select {
  border-color: #e04040;
  background: #fff8f8;
}
#myenergy-comparatore-root .me-form-grid:not(.me-contact-form) .me-field-error {
  color: #c43030;
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================================
   UPLOAD — drop zone
   ============================================================================ */
#myenergy-comparatore-root .me-drop {
  border-color: rgba(27, 181, 50, 0.30);
  background: linear-gradient(180deg, #f8fff9 0%, #f2fcf4 100%);
  padding: 16px 14px 14px;
  border-radius: 16px;
}

#myenergy-comparatore-root .me-drop-icon {
  background: linear-gradient(135deg, rgba(27, 181, 50, 0.15) 0%, rgba(123, 229, 140, 0.18) 100%);
  color: var(--me-green);
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 18px;
  margin-bottom: 8px;
}

#myenergy-comparatore-root .me-drop-title {
  font-size: 15px;
  font-weight: 800;
  color: #181e1a;
  margin-bottom: 2px;
}

#myenergy-comparatore-root .me-drop-sub {
  font-size: 12px;
  color: #5a7062;
}

/* ============================================================================
   UPLOAD ACTIONS — icona con shadow, testo più bold
   ============================================================================ */
#myenergy-comparatore-root .me-upload-action {
  border-radius: 16px;
  border: 1.5px solid rgba(27, 181, 50, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
  min-height: 72px;
  padding: 12px 14px;
  transition:
    transform 150ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 150ms,
    box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

#myenergy-comparatore-root .me-upload-action:hover {
  border-color: rgba(27, 181, 50, 0.55);
  box-shadow: 0 8px 22px rgba(11, 26, 15, 0.10);
  transform: translateY(-3px);
}

#myenergy-comparatore-root .me-upload-action-primary {
  border-color: rgba(27, 181, 50, 0.40);
  background: linear-gradient(180deg, #ffffff 0%, #edfaf0 100%);
}

#myenergy-comparatore-root .me-upload-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, #20d44a 0%, #1bb532 100%);
  box-shadow: 0 5px 12px rgba(27, 181, 50, 0.34);
  font-size: 10px;
  letter-spacing: 0.04em;
}

#myenergy-comparatore-root .me-upload-action strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #181e1a;
  line-height: 1.2;
}

#myenergy-comparatore-root .me-upload-action small {
  font-size: 11px;
  color: #5a7062;
  line-height: 1.3;
}

/* ============================================================================
   SECURE BOX — tinta verde più calda
   ============================================================================ */
#myenergy-comparatore-root .me-secure-box {
  background: linear-gradient(135deg, rgba(27, 181, 50, 0.07) 0%, rgba(123, 229, 140, 0.09) 100%);
  border: 1px solid rgba(27, 181, 50, 0.22);
  border-radius: 14px;
  padding: 13px 15px;
  margin-top: 12px;
}

#myenergy-comparatore-root .me-secure-box strong {
  color: #1a6128;
  font-size: 13px;
}

#myenergy-comparatore-root .me-secure-box span,
#myenergy-comparatore-root .me-secure-box p {
  font-size: 12px;
  color: #3d6645;
  line-height: 1.45;
}

/* ============================================================================
   QUIZ OPTIONS — card più profonde, selected con accent verde pieno
   ============================================================================ */
#myenergy-comparatore-root .me-quiz-options {
  gap: 7px;
  margin-top: 10px;
}

#myenergy-comparatore-root .me-quiz-option {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  border: 1.5px solid rgba(27, 181, 50, 0.16);
  border-radius: 16px;
  padding: 11px 15px;
  min-height: 50px;
  box-shadow: 0 3px 10px rgba(11, 26, 15, 0.05);
  transition:
    border-color 150ms,
    transform 150ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1),
    background 250ms;
}

#myenergy-comparatore-root .me-quiz-option:hover {
  border-color: rgba(27, 181, 50, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 26, 15, 0.09);
}

#myenergy-comparatore-root .me-quiz-option-copy strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #181e1a;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

#myenergy-comparatore-root .me-quiz-option-copy small {
  font-size: 11.5px;
  color: #5a7062;
  line-height: 1.35;
}

/* Selected: border-top verde pieno come accent + background saturo */
#myenergy-comparatore-root .me-quiz-option.is-selected {
  border-color: rgba(27, 181, 50, 0.65);
  border-top-color: #1bb532;
  border-top-width: 2px;
  background: linear-gradient(135deg, rgba(27, 181, 50, 0.10) 0%, rgba(123, 229, 140, 0.13) 100%);
  box-shadow: 0 12px 32px rgba(27, 181, 50, 0.14);
}

#myenergy-comparatore-root .me-quiz-option.is-selected .me-quiz-check {
  border-color: var(--me-green);
  background: linear-gradient(135deg, #1bb532 0%, #20d44a 100%);
  color: #fff;
  width: 26px;
  height: 26px;
  transform: scale(1.06);
  box-shadow: 0 3px 10px rgba(27, 181, 50, 0.38);
}

#myenergy-comparatore-root .me-quiz-option.is-selected .me-quiz-check path {
  stroke: #fff;
}

/* Check non-selected */
#myenergy-comparatore-root .me-quiz-option .me-quiz-check {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(27, 181, 50, 0.28);
  background: rgba(27, 181, 50, 0.04);
}

/* ============================================================================
   CTA "CONTINUA" — come il bottone hero (verde chiaro + testo scuro)
   ============================================================================ */
#myenergy-comparatore-root .me-step-nav .me-btn-primary {
  background: linear-gradient(135deg, #20d44a 0%, #7be58c 100%);
  color: #08240f;
  box-shadow: 0 8px 24px rgba(32, 212, 74, 0.36), 0 2px 6px rgba(8, 36, 15, 0.22);
  min-height: 54px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

#myenergy-comparatore-root .me-step-nav .me-btn-primary::before {
  background: linear-gradient(135deg, #7be58c 0%, #c8ffd4 100%);
}

#myenergy-comparatore-root .me-step-nav .me-btn-primary:hover {
  box-shadow: 0 12px 30px rgba(32, 212, 74, 0.44), 0 3px 8px rgba(8, 36, 15, 0.26);
}

/* Sticky nav mobile — sfondo leggermente tintato */
@media (max-width: 719px) {
  #myenergy-comparatore-root .me-step-nav {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.98) 22%,
        rgba(248, 255, 250, 0.99) 100%);
  }
}

/* ============================================================================
   LINK "Non ho la bolletta" — più discreto
   ============================================================================ */
#myenergy-comparatore-root .me-manual-link {
  color: #1bb532;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #1bb532;
  background: none;
  border: none;
  cursor: pointer;
}

#myenergy-comparatore-root .me-manual-link:hover {
  color: #0d8a24;
  text-decoration-color: #0d8a24;
}

/* Il link è fuori dalla card (nel .me-funnel direttamente) */
#myenergy-comparatore-root .me-manual-link-wrap {
  margin-top: 12px;
}

/* ============================================================================
   FILE CHIP — già buono, leggero raffinamento
   ============================================================================ */
#myenergy-comparatore-root .me-file-chip {
  background: linear-gradient(180deg, #ffffff 0%, #f4fcf5 100%);
  border: 1.5px solid rgba(27, 181, 50, 0.26);
  border-top-color: rgba(27, 181, 50, 0.50);
  box-shadow: 0 12px 36px rgba(11, 26, 15, 0.09);
  border-radius: 18px;
}

#myenergy-comparatore-root .me-file-chip .me-file-meta {
  color: #1a6128;
}

/* ============================================================================
   ADD PHOTO BTN
   ============================================================================ */
#myenergy-comparatore-root .me-add-photo-btn {
  border-color: rgba(27, 181, 50, 0.40);
  background: rgba(27, 181, 50, 0.06);
  border-radius: 14px;
  color: #1a6128;
  font-weight: 700;
  font-size: 13.5px;
}

#myenergy-comparatore-root .me-add-photo-btn:hover {
  background: rgba(27, 181, 50, 0.12);
  border-color: rgba(27, 181, 50, 0.60);
}

/* ============================================================================
   CONTACT STEP — header band verde (già esiste me-contact-head)
   ============================================================================ */
#myenergy-comparatore-root .me-contact-head {
  background: linear-gradient(135deg, rgba(27, 181, 50, 0.12) 0%, rgba(123, 229, 140, 0.10) 100%);
  border-bottom: 1px solid rgba(27, 181, 50, 0.16);
}

#myenergy-comparatore-root .me-contact-head h2 {
  color: #181e1a;
}

/* ============================================================================
   INPUT / FORM — bordi più caldi
   ============================================================================ */
#myenergy-comparatore-root .me-input,
#myenergy-comparatore-root .me-select,
#myenergy-comparatore-root .me-textarea {
  border-color: rgba(27, 181, 50, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f9fefb 100%);
  color: #181e1a;
}

#myenergy-comparatore-root .me-input:focus,
#myenergy-comparatore-root .me-select:focus,
#myenergy-comparatore-root .me-textarea:focus {
  border-color: rgba(27, 181, 50, 0.65);
  box-shadow: 0 0 0 3px rgba(27, 181, 50, 0.14);
}

/* ============================================================================
   CHOICE CARD (step iniziale scelta modalità)
   ============================================================================ */
#myenergy-comparatore-root .me-choice-card {
  border-color: rgba(27, 181, 50, 0.20);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  border-radius: 18px;
}

#myenergy-comparatore-root .me-choice-card:hover {
  border-color: rgba(27, 181, 50, 0.50);
  box-shadow: 0 12px 32px rgba(11, 26, 15, 0.10);
  transform: translateY(-3px);
}

#myenergy-comparatore-root .me-choice-card.is-primary {
  background:
    linear-gradient(#fff, #f5fef6) padding-box,
    linear-gradient(120deg, #1bb532, #7be58c 70%) border-box;
}

/* ============================================================================
   RESPONSIVE — nessuno step scrollabile
   Strategia: ridurre padding e font-size progressivamente
   per far stare tutto nel viewport senza scroll
   ============================================================================ */

/* ---- Viewport alto (≥ 700px) — configurazione standard ---- */
@media (min-height: 700px) {
  #myenergy-comparatore-root .me-funnel {
    padding: 18px 14px 20px;
  }

  #myenergy-comparatore-root .me-step {
    padding: 22px 20px 20px;
  }
}

/* ---- Viewport medio (500px–699px) — tutto più compatto ---- */
@media (min-height: 500px) and (max-height: 699px) {
  #myenergy-comparatore-root .me-funnel {
    padding: 10px 12px 12px;
    justify-content: flex-start;
    padding-top: 8px;
  }

  #myenergy-comparatore-root .me-progress {
    margin-bottom: 10px;
  }

  #myenergy-comparatore-root .me-step {
    padding: 14px 16px 14px;
    border-radius: 18px;
  }

  #myenergy-comparatore-root .me-step h2 {
    font-size: clamp(15px, 3.4vw, 20px);
    margin-bottom: 4px;
  }

  #myenergy-comparatore-root .me-step-sub {
    font-size: 12px;
    margin-bottom: 10px;
  }

  #myenergy-comparatore-root .me-quiz-options {
    gap: 5px;
    margin-top: 8px;
  }

  #myenergy-comparatore-root .me-quiz-option {
    padding: 9px 13px;
    min-height: 44px;
    border-radius: 13px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy strong {
    font-size: 12.5px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy small {
    display: none;
    /* nasconde la riga descrittiva su viewport basso */
  }

  #myenergy-comparatore-root .me-upload-action {
    min-height: 60px;
    padding: 10px 12px;
  }

  #myenergy-comparatore-root .me-upload-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  #myenergy-comparatore-root .me-drop {
    padding: 12px 12px 10px;
    border-radius: 13px;
  }

  #myenergy-comparatore-root .me-drop-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
    margin-bottom: 6px;
  }

  #myenergy-comparatore-root .me-step-nav .me-btn-primary {
    min-height: 46px;
    font-size: 14px;
  }

  #myenergy-comparatore-root .me-step-nav {
    margin-top: 12px;
  }

  #myenergy-comparatore-root .me-secure-box {
    margin-top: 8px;
    padding: 10px 13px;
  }

  #myenergy-comparatore-root .me-manual-link-wrap {
    margin-top: 8px;
  }
}

/* ---- Viewport molto basso (< 500px, es. tastiera aperta) ---- */
@media (max-height: 499px) {
  #myenergy-comparatore-root .me-funnel {
    padding: 6px 10px 8px;
    justify-content: flex-start;
  }

  #myenergy-comparatore-root .me-progress {
    margin-bottom: 6px;
    height: 3px;
  }

  #myenergy-comparatore-root .me-step {
    padding: 10px 14px 10px;
    border-radius: 14px;
    border-top-width: 2px;
  }

  #myenergy-comparatore-root .me-step h2 {
    font-size: 14px;
    margin-bottom: 2px;
  }

  #myenergy-comparatore-root .me-step .me-eyebrow {
    font-size: 9px;
    margin-bottom: 4px;
  }

  #myenergy-comparatore-root .me-step-sub {
    font-size: 11px;
    margin-bottom: 8px;
  }

  #myenergy-comparatore-root .me-quiz-options {
    gap: 4px;
    margin-top: 6px;
  }

  #myenergy-comparatore-root .me-quiz-option {
    padding: 8px 12px;
    min-height: 38px;
    border-radius: 11px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy strong {
    font-size: 12px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy small {
    display: none;
  }

  #myenergy-comparatore-root .me-quiz-option .me-quiz-check {
    width: 20px;
    height: 20px;
  }

  #myenergy-comparatore-root .me-step-nav {
    margin-top: 8px;
  }

  #myenergy-comparatore-root .me-step-nav .me-btn-primary {
    min-height: 40px;
    font-size: 13.5px;
    padding: 10px 16px;
  }

  #myenergy-comparatore-root .me-upload-action {
    min-height: 52px;
    padding: 8px 10px;
  }

  #myenergy-comparatore-root .me-upload-action-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 9px;
  }

  #myenergy-comparatore-root .me-secure-box {
    display: none;
    /* su viewport molto basso si nasconde */
  }

  #myenergy-comparatore-root .me-manual-link-wrap {
    margin-top: 6px;
  }

  #myenergy-comparatore-root .me-drop {
    padding: 9px 10px 8px;
  }

  #myenergy-comparatore-root .me-drop-icon {
    width: 26px;
    height: 26px;
    font-size: 13px;
    margin-bottom: 4px;
  }

  #myenergy-comparatore-root .me-drop-title {
    font-size: 13px;
  }

  #myenergy-comparatore-root .me-drop-sub {
    font-size: 11px;
  }
}

/* ============================================================================
   RESPONSIVE LARGHEZZA — mobile ≤ 719px
   ============================================================================ */
@media (max-width: 719px) {
  #myenergy-comparatore-root .me-funnel {
    padding: 14px 12px 16px;
  }

  #myenergy-comparatore-root .me-step {
    padding: 20px 18px 18px;
    border-radius: 20px;
  }

  #myenergy-comparatore-root .me-upload-action {
    /* ripristino layout verticale mobile */
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    text-align: center;
    gap: 5px;
    padding: 12px 10px;
    min-height: 76px;
  }

  #myenergy-comparatore-root .me-upload-action-icon {
    grid-row: auto;
  }

  #myenergy-comparatore-root .me-step-nav {
    /* Sticky nav mobile — regolato */
    margin-top: 16px;
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: -18px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* ============================================================================
   RESPONSIVE LARGHEZZA — desktop ≥ 720px
   ============================================================================ */
@media (min-width: 720px) {
  #myenergy-comparatore-root .me-funnel {
    padding: 32px 22px 36px;
  }

  #myenergy-comparatore-root .me-step {
    padding: 40px 52px 40px;
    border-radius: 26px;
  }

  #myenergy-comparatore-root .me-step h2 {
    font-size: clamp(22px, 3.2vw, 30px);
  }

  #myenergy-comparatore-root .me-step-sub {
    font-size: 14px;
    margin-bottom: 16px;
  }

  #myenergy-comparatore-root .me-quiz-option {
    padding: 14px 18px;
    min-height: 56px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy strong {
    font-size: 14.5px;
  }

  #myenergy-comparatore-root .me-upload-action {
    min-height: 80px;
    padding: 14px 16px;
  }

  #myenergy-comparatore-root .me-upload-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 11px;
  }

  #myenergy-comparatore-root .me-step-nav .me-btn-primary {
    min-height: 56px;
    font-size: 16px;
  }

  /* Su desktop sticky nav non serve — padding normale */
  #myenergy-comparatore-root .me-step-nav {
    position: static;
    margin: 22px 0 0 0;
    padding: 0;
    background: none;
    z-index: auto;
  }
}

/* ============================================================================
   DESKTOP GRANDE ≥ 1024px — massima espressività
   ============================================================================ */
@media (min-width: 1024px) {
  #myenergy-comparatore-root .me-funnel {
    padding: 36px 28px 40px;
  }

  #myenergy-comparatore-root .me-step {
    padding: 46px 60px 46px;
    max-width: 820px;
  }

  #myenergy-comparatore-root .me-quiz-options {
    gap: 9px;
  }

  #myenergy-comparatore-root .me-quiz-option {
    padding: 15px 20px;
    min-height: 60px;
    border-radius: 18px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy strong {
    font-size: 15px;
  }

  #myenergy-comparatore-root .me-quiz-option-copy small {
    font-size: 12.5px;
  }
}

/* ============================================================================
   ANIMAZIONE STEP — identica alla hero (fade + slide su)
   ============================================================================ */
@keyframes me-funnel-step-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#myenergy-comparatore-root .me-step {
  animation: me-funnel-step-enter 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ============================================================================
   REPORT — Grafico "Analisi dei Costi e Convenienza"
   Quando MyEnergy vince, la barra verde diventa più impattante visivamente.
   ============================================================================ */

/* Container barre: più alto per dare respiro verticale */
#myenergy-comparatore-root .me-chart-bars-container {
  height: 220px;
  gap: 72px;
  max-width: 380px;
  border-bottom: 2px solid rgba(27, 181, 50, 0.18);
  padding-bottom: 0;
  margin-bottom: 0;
  position: relative;
}

/* Linea tratteggiata orizzontale al livello del valore MyEnergy (decorativa) */
#myenergy-comparatore-root .me-chart-bars-container::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(27, 181, 50, 0.25) 20%,
      rgba(27, 181, 50, 0.25) 80%,
      transparent 100%);
  pointer-events: none;
}

/* Colonna singola — più larga e centrata */
#myenergy-comparatore-root .me-chart-bar-col {
  width: 100px;
}

/* Barra corrente (competitor) — grigio più spento per far risaltare la verde */
#myenergy-comparatore-root .me-chart-bar-visual.is-current {
  width: 62px;
  background: #d0d8e4;
  border-radius: 10px 10px 0 0;
  opacity: 0.72;
}

/* Barra MyEnergy — gradient luminoso, shadow verde, più larga */
#myenergy-comparatore-root .me-chart-bar-visual.is-myenergy {
  width: 62px;
  background: linear-gradient(180deg, #20d44a 0%, #1bb532 55%, #159743 100%);
  border-radius: 10px 10px 0 0;
  box-shadow:
    0 -6px 24px rgba(32, 212, 74, 0.45),
    0 0 0 1px rgba(32, 212, 74, 0.20) inset;
  position: relative;
}

/* Glow superiore sulla barra MyEnergy (pulsar sottile) */
#myenergy-comparatore-root .me-chart-bar-visual.is-myenergy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}

/* Valore €  della barra MyEnergy — verde e più grande */
#myenergy-comparatore-root .me-chart-bar-col:last-child .me-chart-bar-value {
  color: #1a6128;
  font-size: 17px;
}

/* Valore € competitor — grigio spento */
#myenergy-comparatore-root .me-chart-bar-col:first-child .me-chart-bar-value {
  color: #8d9baa;
  font-size: 15px;
}

/* Label MyEnergy — verde */
#myenergy-comparatore-root .me-chart-bar-col:last-child .me-chart-bar-label {
  color: #1bb532;
  font-weight: 800;
}

/* Badge risparmio — più prominente, da pill a card */
#myenergy-comparatore-root .me-chart-comparison-save-badge {
  background: linear-gradient(135deg, #20d44a 0%, #1bb532 100%);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow:
    0 6px 20px rgba(27, 181, 50, 0.40),
    0 2px 6px rgba(11, 26, 15, 0.18);
  letter-spacing: -0.01em;
  margin-top: 22px;
}

/* Freccia saving che punta in giù visivamente */
#myenergy-comparatore-root .me-chart-comparison-save-badge::before {
  content: '↓ ';
  opacity: 0.85;
}

/* ---- Animazione di entrata barre al momento del reveal ---- */
@keyframes me-bar-rise {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

#myenergy-comparatore-root .me-chart-bar-visual {
  animation: me-bar-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#myenergy-comparatore-root .me-chart-bar-visual.is-myenergy {
  animation-delay: 0.18s;
  /* la barra verde entra leggermente dopo */
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  #myenergy-comparatore-root .me-chart-bars-container {
    gap: 44px;
    height: 180px;
    max-width: 280px;
  }

  #myenergy-comparatore-root .me-chart-bar-col {
    width: 80px;
  }

  #myenergy-comparatore-root .me-chart-bar-visual.is-current,
  #myenergy-comparatore-root .me-chart-bar-visual.is-myenergy {
    width: 52px;
  }

  #myenergy-comparatore-root .me-chart-comparison-save-badge {
    font-size: 13px;
    padding: 9px 18px;
  }
}