/* EnVys – „Vaše úspora čeká“: připomínka uloženého výpočtu na ostatních stránkách (Fable, 28. 11. 2026; zadání Opus + Ondřej).
   BEM: ev-navrat (karta), ev-lista--navrat (proměněná spodní lišta), ev-navrat-hlavicka (tlačítko v hlavičce na PC), ev-navrat-okno (okno „Zavoláme vám“ mimo kalkulačku). */

/* ===== karta (stránky bez spodní lišty; na PC všude) ===== */
.ev-navrat { position: fixed; left: 10px; right: 10px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; background: #fff; border: 1.5px solid #e3ebe4; border-radius: 18px; box-shadow: 0 10px 30px rgba(27, 77, 62, .22); font-family: Poppins, sans-serif; color: #33403a; transition: transform .35s ease, opacity .35s ease; }
.ev-navrat--skryta, .ev-navrat--pryc { transform: translateY(130%); opacity: 0; pointer-events: none; }
html.ev-navrat-menu .ev-navrat, html.ev-navrat-menu .ev-lista--navrat { visibility: hidden; }   /* při otevřeném mobilním menu */
.ev-navrat__rada { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; padding-right: 20px; }
.ev-navrat__ik { flex: 0 0 40px; height: 40px; border-radius: 12px; background: #eef6ef; color: #2f7d4c; display: flex; align-items: center; justify-content: center; }
.ev-navrat__tx { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.ev-navrat__nad { display: block; font-size: 11px; color: #7a837e; white-space: nowrap; }
.ev-navrat__castka { display: inline; font-size: 15px; font-weight: 800; color: #1b4d3e; white-space: nowrap; }
.ev-navrat__odkaz { display: inline; margin-left: 8px; font-size: 11px; font-weight: 700; color: #2f7d4c; text-decoration: none; white-space: nowrap; }
.ev-navrat__odkaz:hover, .ev-navrat__odkaz:focus-visible { text-decoration: underline; }
.ev-navrat__btn { flex: 1 1 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: linear-gradient(to top, #ff632f, #ff7b17); color: #fff; font-family: inherit; font-weight: 800; font-size: 14px; white-space: nowrap; cursor: pointer; box-shadow: 0 6px 16px rgba(255, 123, 23, .3); }
.ev-navrat__btn:hover { filter: brightness(1.05); }
.ev-navrat__btn:focus-visible, .ev-navrat__x:focus-visible, .ev-navrat__odkaz:focus-visible { outline: 2px solid #2f7d4c; outline-offset: 2px; }
.ev-navrat__x { position: absolute; top: -9px; right: -6px; width: 24px; height: 24px; padding: 0; border-radius: 50%; background: #fff; border: 1.5px solid #e3ebe4; color: #7a837e; font: 16px/1 Poppins, sans-serif; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ev-navrat__x:hover { color: #1b4d3e; border-color: #9cc9a7; }

@media (min-width: 901px) {   /* PC: karta vpravo dole, vše v jednom řádku */
  .ev-navrat { left: auto; right: 24px; bottom: 24px; width: 490px; max-width: calc(100vw - 48px); flex-wrap: nowrap; padding: 12px 12px 12px 14px; }
  .ev-navrat__rada { padding-right: 0; }
  .ev-navrat__nad { white-space: normal; }
  .ev-navrat__castka { font-size: 17px; }
  .ev-navrat__odkaz { display: block; margin: 1px 0 0; }
  .ev-navrat__btn { flex: 0 0 auto; height: 46px; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .ev-navrat { transition: none; } }

/* ===== proměněná spodní lišta (mobil ≤ 900 px, stránky s .ev-lista) ===== */
@media (max-width: 900px) {
  .ev-lista--navrat { gap: 10px; }
  .ev-lista--navrat .ev-lista__castka { flex: 1 1 auto; min-width: 0; line-height: 1.2; text-decoration: none; }
  .ev-lista--navrat .ev-lista__castka small { display: block; font-size: 11.5px; font-weight: 700; color: #2f7d4c; white-space: nowrap; }
  .ev-lista--navrat .ev-lista__castka b { display: block; font-size: 16px; font-weight: 800; color: #1b4d3e; white-space: nowrap; }
  .ev-lista--navrat .ev-lista__btn--mail { flex: 0 0 auto; gap: 8px; padding: 0 14px; border: 0; font-family: inherit; font-size: 13.5px; font-weight: 800; white-space: nowrap; cursor: pointer; background: linear-gradient(to top, #ff632f, #ff7b17); color: #fff; box-shadow: 0 6px 16px rgba(255, 123, 23, .3); }
  .ev-lista--navrat.is-docked .ev-lista__btn--mail { background: linear-gradient(to top, #ff632f, #ff7b17); }
  .ev-lista--navrat .ev-lista__tel { display: none; }
  /* na tmavém CTA bloku (ukotvená lišta) musí být částka čitelná */
  .ev-dok--tmavy .ev-lista--navrat.is-docked .ev-lista__castka small, .ev-dok--tmavy .ev-lista--navrat.is-docked .ev-lista__castka b { color: #fff; }
}

/* ===== tlačítko v hlavičce na PC ===== */
.ev-navrat-hlavicka { white-space: nowrap; }

/* ===== okno „Zavoláme vám“ mimo kalkulačku (vzhled dává envys-kalkulator.css + envys-kalkulace.css, tady jen doplňky) ===== */
.ev-navrat-okno .kalk-modal-overlay { z-index: 10000; }
.ev-navrat-okno .kalk-modal-napoveda { order: 9; display: block; margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff3f3; color: #b4232c; font-size: 13px; line-height: 1.4; }
.ev-navrat-okno .ev-navrat-okno__chyba--prazdna { display: none; }
.ev-navrat-okno .kalk-modal-submit.ev-navrat-okno__odesila { opacity: .7; pointer-events: none; }
.ev-navrat-okno .kalk-volat-dik .kalk-modal { overflow-x: hidden; }
