/**
 * USA KANADA AUTO — style widgetu, zgodne z systemem projektowym motywu (docs/16-design.md §4.14).
 *
 *   - font systemowy (bez pobierania), bez wersalików i rozstrzelonych liter,
 *   - paleta: biel / #f5f5f7 / #1d1d1f + jedna czerwień z logo (#c8102e), tylko w akcji i w wyniku,
 *   - tokeny brane z motywu (--uka-akcent, --uka-grafit…) z wartościami zapasowymi, gdy widżet
 *     działa poza motywem,
 *   - promienie 12/18 px, przyciski-pigułki, pola 52 px z obramowaniem #86868b (3,6:1),
 *   - tekst nigdy mniejszy niż 17 px.
 *
 * Wszystko pod prefiksem .uka. Logika widżetu się nie zmienia — tylko wygląd.
 */

.uka {
  --uka-red:      var(--uka-akcent, #c8102e);
  --uka-red-dark: var(--uka-akcent-ciemny, #a50d26);
  --uka-red-soft: #fbeef0;
  --uka-ink:      var(--uka-grafit, #1d1d1f);
  --uka-ink-2:    var(--uka-tekst-3, #424245);
  --uka-muted:    var(--uka-tekst-2, #6e6e73);
  --uka-line:     #d2d2d7;
  --uka-line-2:   #e8e8ed;
  --uka-field:    var(--uka-linia-mocna, #86868b);
  --uka-bg:       var(--uka-tlo-2, #f5f5f7);
  --uka-white:    #ffffff;
  --uka-green:    #1d7a45;
  --uka-wa:       var(--uka-whatsapp, #25d366);

  --uka-r:   12px;
  --uka-r-l: 18px;
  --uka-pill: 980px;
  --uka-shadow: 0 2px 12px rgb(0 0 0 / .06);
  --uka-shadow-l: 0 20px 60px rgb(0 0 0 / .18);

  --uka-font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --uka-font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  font-family: var(--uka-font-body);
  font-size: 17px;
  color: var(--uka-ink);
  line-height: 1.5;
  --uka-ease: cubic-bezier(.28, .11, .32, 1);
}
.uka *, .uka *::before, .uka *::after { box-sizing: border-box; }
.uka .is-hidden { display: none !important; }

/* Wspólny kształt nagłówków sekcji — dokładnie jak na stronie. */
.uka h2, .uka h3, .uka .uka-h {
  font-family: var(--uka-font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

/* ── Układ kalkulatora ──────────────────────────────────────────────────── */
.uka-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) { .uka-calc { grid-template-columns: 1fr; gap: 18px; } }

.uka-calc__form {
  background: var(--uka-white);
  border: 1px solid var(--uka-line);
  border-radius: var(--uka-r-l);
  padding: 24px;
}
.uka-calc__out { position: sticky; top: 96px; }
@media (max-width: 980px) { .uka-calc__out { position: static; } }

/* ── Przełącznik trybu — zakładki z czerwoną krechą ─────────────────────── */
.uka-modes {
  display: flex; gap: 0; margin: -4px 0 22px;
  border-bottom: 1px solid var(--uka-line);
}
.uka-mode {
  flex: 1 1 auto; padding: 12px 14px 13px; cursor: pointer;
  border: 0; background: none; font: inherit;
  font-family: var(--uka-font-head);
  font-weight: 700; font-size: 17px; color: var(--uka-muted); position: relative;
  transition: color .18s var(--uka-ease);
}
.uka-mode::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--uka-red); transform: scaleX(0); transform-origin: center;
  transition: transform .28s var(--uka-ease);
}
.uka-mode:hover { color: var(--uka-ink); }
.uka-mode.is-on { color: var(--uka-ink); }
.uka-mode.is-on::after { transform: scaleX(1); }

/* ── Przełącznik kraju ──────────────────────────────────────────────────── */
.uka-seg { display: flex; gap: 10px; }
.uka-seg button {
  flex: 1; padding: 12px 10px; cursor: pointer; font: inherit;
  font-family: var(--uka-font-head);
  font-weight: 700; font-size: 17px; border: 1px solid var(--uka-line); border-radius: var(--uka-r);
  background: var(--uka-white); color: var(--uka-ink-2);
  transition: .18s var(--uka-ease);
}
.uka-seg button:hover { border-color: var(--uka-ink); }
.uka-seg button.is-on {
  border-color: var(--uka-red); color: var(--uka-red);
  box-shadow: inset 0 0 0 1px var(--uka-red);
}

/* ── Pola ───────────────────────────────────────────────────────────────── */
.uka-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
@media (max-width: 560px) { .uka-grid { grid-template-columns: 1fr; } }
.uka-f--full { grid-column: 1 / -1; }

.uka-f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.uka-f > span {
  font-family: var(--uka-font-head);
  font-size: 17px; font-weight: 700; color: var(--uka-ink-2);
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.uka-f .uka-val {
  font-family: var(--uka-font-head); color: var(--uka-red);
  font-size: 17px; font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.uka input[type=number], .uka input[type=text], .uka input[type=email], .uka select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--uka-line);
  border-radius: var(--uka-r); font: inherit; font-size: 17px;
  background: var(--uka-white); color: var(--uka-ink); min-height: 46px;
  transition: border-color .16s var(--uka-ease), box-shadow .16s var(--uka-ease);
}
.uka select {
  appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath fill='none' stroke='%23111' stroke-width='1.6' d='M1 1l4.5 4.5L10 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.uka input:focus, .uka select:focus {
  outline: none; border-color: var(--uka-red);
  box-shadow: 0 0 0 3px rgb(29 29 31 / .12);
}
.uka button:focus-visible, .uka a:focus-visible {
  outline: 2px solid var(--uka-red); outline-offset: 2px;
}
.uka-hint { font-size: 17px; color: var(--uka-muted); }
.uka-hint b { color: var(--uka-red); font-weight: 700; }

/* Suwak w stylistyce marki */
.uka input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px;
  background: transparent; cursor: pointer;
}
.uka input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--uka-red) var(--uka-fill, 0%), var(--uka-line) var(--uka-fill, 0%));
}
.uka input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--uka-line); }
.uka input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--uka-red); }
.uka input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px;
  background: var(--uka-white); border: 3px solid var(--uka-red); border-radius: 50%;
  transition: transform .12s var(--uka-ease), box-shadow .12s var(--uka-ease);
}
.uka input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; background: var(--uka-white);
  border: 3px solid var(--uka-red); border-radius: 50%;
}
.uka input[type=range]:active::-webkit-slider-thumb {
  transform: scale(1.15); box-shadow: 0 0 0 6px rgb(200 16 46 / .14);
}
.uka .uka-num { max-width: 190px; font-variant-numeric: tabular-nums; }

.uka-check { flex-direction: row; align-items: flex-start; gap: 11px; font-size: 17px; color: var(--uka-ink-2); }
.uka-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--uka-red); flex: 0 0 auto; }
.uka-check span { font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--uka-font-body); }
/* Blok zgód (Z2): kontakt, dwie opcjonalne zgody marketingowe, informacja RODO. */
.uka-consents { display: flex; flex-direction: column; gap: 10px; }
.uka-check--opt small { font-size: 15px; color: var(--uka-ink-2); }
.uka-notice { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--uka-ink-2); }
.uka-notice a { text-decoration: underline; }
/* Pole-pułapka antyspamu: poza ekranem, nie display:none (to boty rozpoznają). */
.uka-hp { position: absolute !important; left: -10000px !important; top: auto !important;
          width: 1px !important; height: 1px !important; overflow: hidden !important; }
/* Ostrzeżenie o strefach czystego transportu pod wynikiem. */
.uka-sct { margin-top: 12px; }
/* Pusty filtr w karuzeli — sekcja zostaje, żeby dało się wrócić do „Wszystkie". */
.uka-auc__pusto { margin: 8px 0; padding: 18px; color: var(--uka-ink-2); font-size: 17px; }
.uka-auc__pusto button { background: none; border: 0; padding: 0; color: var(--uka-red);
                         font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ── Usługi dodatkowe ───────────────────────────────────────────────────── */
.uka-addons { border: 1px solid var(--uka-line); border-radius: var(--uka-r-l); padding: 16px; margin: 0; }
.uka-addons legend {
  font-family: var(--uka-font-head);
  font-size: 17px; font-weight: 700; color: var(--uka-ink-2); padding: 0 8px;
}
/* Siatka zamiast flex-wrap — przy różnej długości etykiet flex zostawia
   poszarpane wiersze i lista wygląda na niedokończoną. */
.uka-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.uka-chip {
  position: relative; border: 1px solid var(--uka-line); background: var(--uka-white);
  border-radius: var(--uka-r); padding: 10px 13px; font: inherit; font-size: 17px;
  cursor: pointer; color: var(--uka-ink-2); text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  transition: .18s var(--uka-ease);
}
.uka-chip b { white-space: nowrap; }
.uka-chip b { color: var(--uka-red); font-weight: 700; font-variant-numeric: tabular-nums; }
.uka-chip:hover { border-color: var(--uka-ink); transform: translateY(-1px); }
.uka-chip.is-on { background: var(--uka-ink); border-color: var(--uka-ink); color: #fff; }
.uka-chip.is-on b { color: #ff8a8a; }

/* Kwota „odlatująca" po dodaniu usługi */
.uka-fly {
  position: fixed; z-index: 99999; pointer-events: none;
  font-family: var(--uka-font-head); font-weight: 700; font-size: 17px;
  color: var(--uka-red); animation: uka-fly .85s var(--uka-ease) forwards;
}
@keyframes uka-fly {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.9); }
  18%  { opacity: 1; transform: translate(-50%, -8px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -46px) scale(1); }
}

/* ── Panel wyniku ───────────────────────────────────────────────────────── */
.uka-out__card {
  background: var(--uka-white);
  border: 1px solid var(--uka-line);
  border-top: 4px solid var(--uka-red);
  border-radius: var(--uka-r-l);
  box-shadow: var(--uka-shadow);
  overflow: hidden;
}
.uka-out__head { padding: 22px 22px 18px; }
.uka-out__lead {
  font-family: var(--uka-font-head);
  font-size: 17px; font-weight: 700; color: var(--uka-muted);
  display: flex; align-items: center; gap: 8px;
}
.uka-out__big {
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: clamp(38px, 7vw, 54px); line-height: 1.02; letter-spacing: -.01em;
  margin: 6px 0 8px; font-variant-numeric: tabular-nums;
}
.uka-out__sub { font-size: 17px; color: var(--uka-muted); }

/* Kropka „przeliczam" */
.uka-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--uka-red);
  display: inline-block; opacity: 0; transition: opacity .2s;
}
.uka-live.is-on { opacity: 1; animation: uka-pulse 1s infinite; }
@keyframes uka-pulse { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.5); opacity: .45 } }

/* Pasek rozkładu kosztów */
.uka-split { display: flex; height: 10px; margin: 16px 0 10px; border-radius: 2px; overflow: hidden;
             background: var(--uka-line-2); }
.uka-split i {
  display: block; height: 100%; width: 0;
  transition: width .55s var(--uka-ease);
}
.uka-split i:nth-child(1) { background: #1d1d1f; }
.uka-split i:nth-child(2) { background: #6e6e73; }
.uka-split i:nth-child(3) { background: var(--uka-red); }
.uka-split i:nth-child(4) { background: #a1a1a6; }
.uka-split i:nth-child(5) { background: #d2d2d7; }
.uka-split i:nth-child(6) { background: #e0a800; }

.uka-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 17px; color: var(--uka-muted); }
.uka-legend span { display: flex; align-items: center; gap: 6px; }
.uka-legend em { width: 9px; height: 9px; border-radius: 2px; font-style: normal; display: inline-block; }

/* Oszczędność */
.uka-save { margin: 18px 22px 0; border: 1px solid var(--uka-line); border-radius: var(--uka-r); overflow: hidden; }
.uka-save__bar { height: 34px; background: var(--uka-bg); position: relative; }
.uka-save__bar i {
  position: absolute; inset: 0 auto 0 0; width: 0; background: var(--uka-green);
  transition: width .6s var(--uka-ease);
}
.uka-save__bar span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; font-size: 17px; font-weight: 600; color: var(--uka-ink);
  font-family: var(--uka-font-head); z-index: 1;
}
.uka-save__rows { padding: 12px; }
.uka-save__row { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; padding: 3px 0; }
.uka-save__row span { color: var(--uka-muted); }
.uka-save__row b { font-variant-numeric: tabular-nums; }
.uka-save__row--win { border-top: 1px solid var(--uka-line); margin-top: 6px; padding-top: 9px; font-size: 17px; }
.uka-save__row--win b { color: var(--uka-green); font-weight: 700; }

/* Kafle podatkowe */
.uka-out__mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--uka-line); border-top: 1px solid var(--uka-line);
  border-bottom: 1px solid var(--uka-line); margin-top: 18px;
}
.uka-out__mini > div { background: var(--uka-white); padding: 12px 14px; }
.uka-out__mini span {
  display: block; font-family: var(--uka-font-head);
  font-size: 17px; color: var(--uka-muted); font-weight: 700;
}
.uka-out__mini b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums;
                   font-family: var(--uka-font-head); }

/* Szczegóły */
.uka-toggle {
  width: 100%; background: var(--uka-white); border: 0; border-bottom: 1px solid var(--uka-line);
  color: var(--uka-ink-2); padding: 13px; font: inherit;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; cursor: pointer;
  transition: background .16s var(--uka-ease), color .16s var(--uka-ease);
}
.uka-toggle:hover { background: var(--uka-bg); color: var(--uka-red); }
.uka-toggle i { font-style: normal; display: inline-block; transition: transform .28s var(--uka-ease); }
.uka-toggle.is-open i { transform: rotate(180deg); }

.uka-details { max-height: 0; overflow: hidden; transition: max-height .38s var(--uka-ease); }
.uka-details.is-open { max-height: 2600px; overflow: auto; }
.uka-details__in { padding: 6px 22px 4px; }
.uka-grp { margin-bottom: 14px; }
.uka-grp__head {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--uka-font-head);
  font-size: 17px; font-weight: 700; padding: 10px 0 7px; border-bottom: 2px solid var(--uka-ink);
}
.uka-grp__head b { font-variant-numeric: tabular-nums; }
.uka-line {
  display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 17px;
  border-bottom: 1px solid var(--uka-line-2);
}
.uka-line span { color: var(--uka-ink-2); display: flex; flex-direction: column; }
.uka-line em { font-style: normal; font-size: 17px; color: var(--uka-muted); }
.uka-line b { white-space: nowrap; text-align: right; display: flex; flex-direction: column;
              font-weight: 600; font-variant-numeric: tabular-nums; }
.uka-line i { font-style: normal; font-size: 17px; color: var(--uka-muted); font-weight: 400; }

.uka .uka-cta { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; }
.uka-disc { font-size: 17px; color: var(--uka-muted); margin: 0; padding: 0 22px 20px; line-height: 1.5; }

/* ── Przyciski — obrysowe, jak na stronie ───────────────────────────────── */
.uka-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border-radius: var(--uka-r); font: inherit;
  font-family: var(--uka-font-head);
  font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none; text-align: center; min-height: 50px;
  border: 1px solid var(--uka-red); background: transparent; color: var(--uka-ink);
  position: relative; overflow: hidden;
  transition: color .22s var(--uka-ease), border-color .22s var(--uka-ease);
}
.uka-btn::before {
  content: ''; position: absolute; inset: 0; background: var(--uka-red);
  transform: scaleX(0); transform-origin: left; z-index: -1;
  transition: transform .3s var(--uka-ease);
}
.uka-btn > * { position: relative; }
.uka-btn:hover { color: #fff; }
.uka-btn:hover::before { transform: scaleX(1); }

.uka-btn--primary { background: var(--uka-red); color: #fff; border-color: var(--uka-red); }
.uka-btn--primary::before { background: var(--uka-ink); }
.uka-btn--primary:hover { border-color: var(--uka-ink); }
.uka-btn--primary[disabled] { opacity: .55; cursor: default; }
.uka-btn--primary[disabled]::before { display: none; }
.uka-btn--ghost { border-color: var(--uka-line); }
.uka-btn--ghost::before { background: var(--uka-ink); }
.uka-btn--ghost:hover { border-color: var(--uka-ink); }

/* ── Quiz ───────────────────────────────────────────────────────────────── */
.uka-quiz {
  background: var(--uka-white); border: 1px solid var(--uka-line);
  border-top: 4px solid var(--uka-red); border-radius: var(--uka-r-l);
  padding: 30px; max-width: 660px; margin: 0 auto; box-shadow: var(--uka-shadow);
}
.uka-quiz__bar { height: 3px; background: var(--uka-line-2); overflow: hidden; }
.uka-quiz__bar i { display: block; height: 100%; background: var(--uka-red);
                   transition: width .4s var(--uka-ease); }
.uka-quiz__count {
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; color: var(--uka-muted); margin: 12px 0 16px;
}
.uka-quiz__q { font-size: clamp(22px, 3.6vw, 30px); margin: 0 0 8px; }
.uka-quiz__sub { font-size: 17px; color: var(--uka-ink-2); margin: 0 0 22px; }
.uka-quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
@media (max-width: 520px) { .uka-quiz__opts { grid-template-columns: 1fr; } }
.uka-opt {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--uka-r);
  border: 1px solid var(--uka-line); background: var(--uka-white); font: inherit;
  font-size: 17px; font-weight: 500; cursor: pointer; text-align: left; min-height: 60px;
  position: relative; transition: .18s var(--uka-ease);
}
.uka-opt::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--uka-red); transform: scaleY(0); transition: transform .22s var(--uka-ease);
}
.uka-opt:hover { border-color: var(--uka-ink); transform: translateX(2px); }
.uka-opt:hover::after, .uka-opt.is-on::after { transform: scaleY(1); }
.uka-opt.is-on { border-color: var(--uka-red); background: var(--uka-red-soft); }
.uka-opt__i { font-size: 24px; line-height: 1; }
.uka-quiz__back {
  background: none; border: 0; color: var(--uka-muted); font: inherit;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; cursor: pointer; padding: 16px 0 0;
}
.uka-quiz__back:hover { color: var(--uka-red); }
.uka-quiz__done { text-align: center; padding: 10px 0; }
.uka-quiz__done h3 { font-size: 26px; margin: 16px 0 10px; }
.uka-quiz__done p { color: var(--uka-ink-2); font-size: 17px; margin: 0 0 18px; }
.uka-quiz__done .uka-btn { margin: 5px; }
.uka-quiz__tick {
  width: 58px; height: 58px; border: 3px solid var(--uka-green); color: var(--uka-green);
  display: grid; place-items: center; font-size: 30px; margin: 0 auto; border-radius: 50%;
  animation: uka-pop .4s var(--uka-ease);
}
@keyframes uka-pop { from { transform: scale(.6); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* ── Formularz kontaktowy ───────────────────────────────────────────────── */
.uka .uka-lead { display: grid; gap: 14px; }
.uka .uka-lead label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--uka-font-head);
  font-size: 17px; font-weight: 700; color: var(--uka-ink-2);
}
.uka .uka-lead .uka-check { flex-direction: row; }
.uka .uka-lead a { color: var(--uka-red); }
.uka-lead__err {
  background: var(--uka-red-soft); color: var(--uka-red-dark); border-left: 3px solid var(--uka-red);
  padding: 11px 13px; font-size: 17px;
}

/* ── Modal ──────────────────────────────────────────────────────────────── */
.uka-modal {
  position: fixed; inset: 0; z-index: 99999; background: rgba(17, 17, 17, .72);
  display: grid; place-items: center; padding: 16px; overflow: auto;
  animation: uka-fade .18s ease;
}
@keyframes uka-fade { from { opacity: 0 } to { opacity: 1 } }
.uka-modal__box {
  background: #fff; border-top: 4px solid var(--uka-red); border-radius: var(--uka-r-l);
  padding: 28px; max-width: 470px; width: 100%; position: relative;
  box-shadow: var(--uka-shadow-l); color: var(--uka-ink);
  animation: uka-rise .28s var(--uka-ease);
}
@keyframes uka-rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.uka-modal__box--exit { max-width: 540px; text-align: center; }
.uka-modal__box h3 { font-size: 24px; margin: 0 0 10px; }
.uka-modal__sub { font-size: 17px; color: var(--uka-ink-2); margin: 0 0 20px; }
.uka-modal__trust { font-size: 17px; color: var(--uka-muted); text-align: center; margin: 6px 0 0; }
.uka-modal__x {
  position: absolute; top: 8px; right: 12px; background: none; border: 0;
  font-size: 30px; line-height: 1; color: #aaa; cursor: pointer; padding: 4px 8px;
}
.uka-modal__x:hover { color: var(--uka-red); }
.uka-modal .uka-cta { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 0; }
.uka-modal .uka-cta .uka-btn { flex: 1 1 190px; }

/* ── Pasek szybkiego kontaktu ───────────────────────────────────────────── */
.uka-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  display: none; gap: 1px; background: var(--uka-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .13);
  transform: translateY(100%); transition: transform .3s var(--uka-ease);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.uka-sticky.is-in { transform: translateY(0); }
@media (max-width: 900px) { .uka-sticky { display: flex; } }
.uka-sticky a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: #fff; padding: 10px 4px; text-decoration: none; color: var(--uka-ink);
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; min-height: 60px;
}
.uka-sticky__i { font-size: 18px; line-height: 1; }
.uka-sticky__cta {
  background: var(--uka-red) !important; color: #fff !important;
  flex: 1.5 !important; font-size: 17px !important;
}

/* Mini-belka z kwotą, gdy panel wyniku wyjedzie poza ekran (mobile) */
.uka-peek {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9997;
  background: var(--uka-ink); color: #fff; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0));
  transform: translateY(100%); transition: transform .3s var(--uka-ease);
}
.uka-peek.is-in { transform: translateY(0); }
@media (max-width: 980px) { .uka-peek { display: flex; } }
.uka-peek small {
  display: block; font-family: var(--uka-font-head);
  font-size: 17px; opacity: .65; font-weight: 700;
}
.uka-peek b { font-family: var(--uka-font-head); font-size: 21px; font-variant-numeric: tabular-nums; }
.uka-peek .uka-btn { min-height: 40px; padding: 9px 16px; font-size: 17px; border-color: #fff; color: #fff; }
.uka-peek .uka-btn::before { background: var(--uka-red); }
.uka-sticky.is-in ~ .uka-peek.is-in { bottom: 60px; padding-bottom: 11px; }

/* ── Pasek zaufania ─────────────────────────────────────────────────────── */
.uka-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0; }
.uka-trust > div {
  display: flex; align-items: center; gap: 9px; background: var(--uka-white);
  border: 1px solid var(--uka-line); border-radius: var(--uka-r); padding: 10px 16px;
  font-family: var(--uka-font-head);
  font-size: 17px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .uka *, .uka *::before, .uka *::after,
  .uka-modal, .uka-modal__box, .uka-fly {
    transition-duration: .01ms !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── Wybór pojazdu (VIN + marka/model/rocznik) ──────────────────────────── */
.uka-vp { display: grid; gap: 14px; }
.uka-vp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .uka-vp__grid { grid-template-columns: 1fr; } }
.uka-vp input[name=vin] {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  text-transform: uppercase; font-size: 17px;
}
.uka-vp__badge {
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; color: #fff; background: var(--uka-green);
  padding: 3px 9px; border-radius: 2px; white-space: nowrap;
}
.uka-hint--ok        { color: var(--uka-green); font-weight: 500; }
.uka-hint--ok-local  { color: var(--uka-ink-2); }
.uka-hint--err       { color: var(--uka-red); font-weight: 500; }
.uka-hint--checking  { color: var(--uka-muted); }
.uka-hint--checking::after {
  content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
  border-radius: 50%; background: var(--uka-red); animation: uka-pulse 1s infinite;
}
.uka-vp__toggle {
  justify-self: start; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; color: var(--uka-muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.uka-vp__toggle:hover { color: var(--uka-red); }

/* ── Kosztorys naprawy ──────────────────────────────────────────────────── */
.uka-quote { border: 1px solid var(--uka-line); border-top: 3px solid var(--uka-ink); background: #fff; }
.uka-quote__head { padding: 16px 18px; border-bottom: 1px solid var(--uka-line); }
.uka-quote__head h4 {
  margin: 0 0 4px; font-family: var(--uka-font-head);
  font-weight: 700; font-size: 17px;
}
.uka-quote__head span { font-size: 17px; color: var(--uka-muted); }
.uka-quote table { width: 100%; border-collapse: collapse; font-size: 17px; }
.uka-quote th {
  text-align: left; font-family: var(--uka-font-head);
  font-size: 17px; color: var(--uka-muted); font-weight: 700;
  padding: 9px 10px; border-bottom: 1px solid var(--uka-line); background: var(--uka-bg);
}
.uka-quote td { padding: 8px 10px; border-bottom: 1px solid var(--uka-line-2); }
.uka-quote td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.uka-quote tr.maybe td { color: var(--uka-muted); font-style: italic; }
.uka-quote tfoot td { font-weight: 700; border-top: 2px solid var(--uka-ink); border-bottom: 0; }
.uka-quote__note { padding: 12px 18px; font-size: 17px; color: var(--uka-muted); }
.uka-quote__note li { margin-bottom: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
 * KARUZELA AUKCJI
 *
 * Przewijanie natywne (scroll-snap), nie skryptem. Powód: na telefonie natywny
 * scroll ma bezwładność i gumkę systemu, których żaden JS nie odtworzy wiernie,
 * a przy okazji działa czytnik ekranu i klawiatura. Skrypt tylko dosuwa
 * strzałkami i podświetla kropki.
 * ═══════════════════════════════════════════════════════════════════════════ */

.uka-auc { --uka-card: 300px; }

.uka-auc__top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 14px;
}
.uka-auc__title { font-size: 22px; }
.uka-auc__sub { margin: 4px 0 0; font-size: 17px; color: var(--uka-muted); }

.uka-auc__nav { display: flex; gap: 8px; flex: 0 0 auto; }
.uka-auc__arrow {
  width: 44px; height: 44px; flex: 0 0 44px;
  border: 1px solid var(--uka-line); background: #fff; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--uka-ink);
  border-radius: var(--uka-r); transition: border-color .18s, color .18s, background .18s;
}
.uka-auc__arrow:hover:not([disabled]) { border-color: var(--uka-red); color: var(--uka-red); }
.uka-auc__arrow[disabled] { opacity: .3; cursor: default; }

/* Filtry — poziomo przewijalne na wąskim ekranie, żeby nie łamały się na 3 rzędy. */
.uka-auc__filters {
  display: flex; gap: 8px; margin-bottom: 14px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.uka-auc__filters::-webkit-scrollbar { display: none; }
.uka-auc__filter {
  flex: 0 0 auto; padding: 9px 14px; min-height: 40px;
  border: 1px solid var(--uka-line); background: #fff; cursor: pointer;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; color: var(--uka-ink-2);
  border-radius: var(--uka-r); transition: all .18s var(--uka-ease); white-space: nowrap;
}
.uka-auc__filter:hover { border-color: var(--uka-ink); }
.uka-auc__filter.is-on { background: var(--uka-ink); border-color: var(--uka-ink); color: #fff; }

.uka-auc__viewport { position: relative; }
.uka-auc__track {
  display: flex; gap: 16px; column-gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 2px 2px 6px;
  /* Margines na krawędziach, żeby ostatnia karta nie kleiła się do ekranu. */
  scroll-padding-left: 2px;
}
.uka-auc__track::-webkit-scrollbar { display: none; }
.uka-auc__track:focus-visible { outline: 2px solid var(--uka-red); outline-offset: 3px; }

.uka-auc__card {
  flex: 0 0 var(--uka-card); scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--uka-line);
  border-radius: var(--uka-r); overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--uka-ease);
}
.uka-auc__card:hover { border-color: var(--uka-ink); box-shadow: var(--uka-shadow); }

.uka-auc__photo { position: relative; aspect-ratio: 16 / 10; background: var(--uka-bg); }
.uka-auc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uka-auc__nophoto {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--uka-font-head); font-size: 34px; font-weight: 700;
  color: #c8c8c8; background: var(--uka-bg);
}
.uka-auc__badge {
  position: absolute; left: 0; top: 10px;
  background: var(--uka-green); color: #fff; padding: 5px 10px;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; }
.uka-auc__badge--dmg { background: var(--uka-ink); }

.uka-auc__body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.uka-auc__name {
  margin: 0; font-family: var(--uka-font-head);
  font-weight: 700; font-size: 17px; line-height: 1.2;
}
.uka-auc__meta { margin: -4px 0 0; font-size: 17px; color: var(--uka-muted); }
.uka-auc__rows { display: grid; gap: 6px; margin-top: auto; }
.uka-auc__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 17px; color: var(--uka-ink-2);
}
.uka-auc__row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.uka-auc__row--main {
  border-top: 1px solid var(--uka-line-2); padding-top: 8px;
  font-family: var(--uka-font-head);
  font-size: 17px; color: var(--uka-muted);
}
.uka-auc__row--main b { font-family: var(--uka-font-body); font-size: 18px; color: var(--uka-ink); }
.uka-auc__row--main .uka-auc__range { font-size: 17px; }
.uka-auc__row--mkt { font-size: 17px; color: var(--uka-muted); }
.uka-auc__cta { width: 100%; min-height: 44px; }

/* Szkielet ładowania — utrzymuje wysokość, żeby strona nie skakała. */
.uka-auc__card.is-skeleton { pointer-events: none; }
.uka-auc__card.is-skeleton .uka-auc__photo,
.uka-auc__card.is-skeleton .uka-auc__body i {
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
  background-size: 400% 100%; animation: uka-shimmer 1.4s infinite;
}
.uka-auc__card.is-skeleton .uka-auc__body { gap: 8px; }
.uka-auc__card.is-skeleton .uka-auc__body i { display: block; height: 12px; border-radius: 2px; }
.uka-auc__card.is-skeleton .uka-auc__body i:nth-child(2) { width: 70%; }
.uka-auc__card.is-skeleton .uka-auc__body i:nth-child(3) { width: 45%; height: 26px; }
@keyframes uka-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.uka-auc__dots { display: none; gap: 6px; justify-content: center; margin-top: 12px; }
.uka-auc__dots i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--uka-line);
  transition: background .2s, width .2s;
}
.uka-auc__dots i.is-on { background: var(--uka-red); width: 18px; border-radius: 3px; }

/* ── Karuzela na telefonie ──────────────────────────────────────────────── */
@media (max-width: 720px) {
  .uka-auc { --uka-card: 78vw; }
  .uka-auc__card { max-width: 320px; }
  .uka-auc__title { font-size: 19px; }
  .uka-auc__dots { display: flex; }
  /* Karta ma dotykać krawędzi ekranu — inaczej na 360 px robi się ciasno. */
  .uka-auc__track { padding-left: 0; padding-right: 16px; }
}
/* Na dotyku strzałki są zbędne — palec robi to lepiej i szybciej. */
@media (hover: none) and (pointer: coarse) {
  .uka-auc__nav { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * BRAMKA — widok zablokowany
 * ═══════════════════════════════════════════════════════════════════════════ */

.uka-out__card--locked .uka-out__head { padding-bottom: 18px; }
.uka-out__big--range {
  font-size: clamp(24px, 5.2vw, 36px); letter-spacing: -.01em; white-space: nowrap;
}

.uka-lock {
  border-top: 1px solid var(--uka-line);
  background: linear-gradient(180deg, var(--uka-bg), #fff);
  padding: 18px;
}
.uka-lock__list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 9px; }
.uka-lock__list li {
  position: relative; padding-left: 26px; font-size: 17px; color: var(--uka-ink-2);
}
.uka-lock__list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 8px; border-left: 2px solid var(--uka-red);
  border-bottom: 2px solid var(--uka-red); transform: rotate(-45deg);
}
.uka-lock__cta { width: 100%; min-height: 48px; }
.uka-lock__note { margin: 10px 0 0; font-size: 17px; color: var(--uka-muted); text-align: center; }

/* Sygnał „liczę" — przygaszenie zamiast podmiany liczby na inną nieprawdę. */
.uka-out__card.is-pending { opacity: .72; transition: opacity .12s; }

.uka-flash {
  background: var(--uka-green); color: #fff; padding: 11px 14px;
  font-size: 17px; font-weight: 500; border-radius: var(--uka-r);
  margin-bottom: 10px; transition: opacity .5s, transform .5s var(--uka-ease);
}
.uka-flash.is-out { opacity: 0; transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .uka-auc__card.is-skeleton .uka-auc__photo,
  .uka-auc__card.is-skeleton .uka-auc__body i { animation: none; }
  .uka-flash { transition: none; }
}

/* ── Opis pojazdu po polsku, ostrzeżenia, termin licytacji ──────────────── */

.uka-auc__opis {
  margin: 0; font-size: 17px; line-height: 1.45; color: var(--uka-ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

.uka-auc__warn {
  align-self: flex-start; border: 1px solid var(--uka-line); background: #fff;
  padding: 5px 10px; min-height: 32px; cursor: pointer; border-radius: var(--uka-r);
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; color: var(--uka-ink-2);
  transition: border-color .18s, color .18s;
}
.uka-auc__warn:hover { border-color: var(--uka-ink); }
.uka-auc__warn--uwaga   { border-color: #d8a300; color: #8a6800; background: #fffbf0; }
.uka-auc__warn--powazne { border-color: var(--uka-red); color: var(--uka-red-dark); background: var(--uka-red-soft); }
.uka-auc__warn--blokada { border-color: var(--uka-ink); background: var(--uka-ink); color: #fff; }

/* Termin licytacji na zdjęciu — prawdziwy, nie wymyślony licznik. */
.uka-auc__sale {
  position: absolute; right: 0; bottom: 0;
  background: rgba(17, 17, 17, .86); color: #fff; padding: 5px 10px;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; }
.uka-auc__sale.is-soon { background: var(--uka-red); }

.uka-auc__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.uka-auc__watch { min-height: 44px; padding-inline: 12px; white-space: nowrap; }
.uka-auc__watch.is-on { border-color: var(--uka-green); color: var(--uka-green); }
@media (max-width: 380px) {
  .uka-auc__actions { grid-template-columns: 1fr; }
}

/* Lista ostrzeżeń w oknie */
.uka-warns { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.uka-warn {
  border-left: 3px solid var(--uka-line); padding: 10px 0 10px 13px;
  display: grid; gap: 3px;
}
.uka-warn b {
  font-family: var(--uka-font-head);
  font-size: 17px; }
.uka-warn span { font-size: 17px; line-height: 1.5; color: var(--uka-ink-2); }
.uka-warn--uwaga   { border-left-color: #d8a300; }
.uka-warn--ok      { border-left-color: #3d7f74; }
.uka-warn--powazne { border-left-color: var(--uka-red); }
.uka-warn--blokada { border-left-color: var(--uka-ink); background: var(--uka-bg); }

.uka-modal__sub--stop {
  background: var(--uka-red-soft); border-left: 3px solid var(--uka-red);
  padding: 11px 13px; color: var(--uka-red-dark); font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
 * WYSZUKIWARKA — pierwszy krok lejka
 * ═══════════════════════════════════════════════════════════════════════════ */

.uka-szuk__top { margin-bottom: 18px; }
.uka-szuk__top .uka-auc__sub { max-width: 62ch; }

.uka-szuk__form {
  background: var(--uka-white); border: 1px solid var(--uka-line);
  border-top: 3px solid var(--uka-ink); padding: 18px; margin-bottom: 20px;
}
.uka-szuk__row { display: flex; gap: 10px; align-items: flex-end; }
.uka-szuk__text { flex: 1; min-width: 0; }
.uka-szuk__go { flex: 0 0 auto; min-height: 46px; padding-inline: 26px; }

.uka-szuk__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.uka-szuk__more { margin-top: 14px; border-top: 1px solid var(--uka-line-2); padding-top: 12px; }
.uka-szuk__more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--uka-font-head); font-weight: 700;
  font-size: 17px; color: var(--uka-muted);
  min-height: 32px;
}
.uka-szuk__more summary::-webkit-details-marker { display: none; }
.uka-szuk__more summary::before { content: "+"; font-size: 17px; line-height: 1; }
.uka-szuk__more[open] summary::before { content: "−"; }
.uka-szuk__more summary:hover { color: var(--uka-red); }
.uka-szuk__more .uka-grid { margin-top: 14px; }

.uka-szuk__count { font-size: 17px; color: var(--uka-muted); margin-bottom: 12px; }
.uka-szuk__count b { color: var(--uka-ink); font-size: 17px; }

.uka-szuk__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
/* W siatce karta nie ma stałej szerokości — rozciąga się na kolumnę. */
.uka-auc__card--grid { flex: 1 1 auto; }

.uka-szuk__more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.uka-szuk__load { min-height: 48px; padding-inline: 32px; }

.uka-szuk__pusto {
  border: 1px dashed var(--uka-line); padding: 26px 20px; text-align: center;
  color: var(--uka-muted); font-size: 17px;
}
.uka-szuk__pusto a { color: var(--uka-red); font-weight: 600; }

@media (max-width: 560px) {
  .uka-szuk__form { padding: 14px; }
  .uka-szuk__row { flex-direction: column; align-items: stretch; }
  .uka-szuk__go { width: 100%; }
  .uka-szuk__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * GALERIA ZDJĘĆ W KARCIE
 *
 * Ludzie kupują oczami, a przy aucie po szkodzie zdjęcia są jedynym dowodem,
 * jak poważna jest ta szkoda. Jedno ujęcie z przodu potrafi ukryć rozbity tył.
 * ═══════════════════════════════════════════════════════════════════════════ */

.uka-gal { position: absolute; inset: 0; }
.uka-gal__tor {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.uka-gal__tor::-webkit-scrollbar { display: none; }
.uka-gal__tor img {
  flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: cover; scroll-snap-align: start; display: block;
  cursor: zoom-in; background: var(--uka-bg);
}

.uka-gal__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 44px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .88); color: var(--uka-ink);
  font-size: 22px; line-height: 1; opacity: 0;
  transition: opacity .18s, background .18s;
}
.uka-gal__nav--prev { left: 0; }
.uka-gal__nav--next { right: 0; }
.uka-auc__card:hover .uka-gal__nav,
.uka-gal__nav:focus-visible { opacity: 1; }
.uka-gal__nav:hover { background: #fff; }

.uka-gal__licznik {
  position: absolute; right: 8px; top: 8px;
  background: rgba(17, 17, 17, .82); color: #fff; padding: 3px 8px;
  font-size: 17px; font-variant-numeric: tabular-nums; border-radius: 2px;
  pointer-events: none;
}
.uka-gal__kropki {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; gap: 4px; justify-content: center; pointer-events: none;
}
.uka-gal__kropki i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .55); transition: background .2s, width .2s;
}
.uka-gal__kropki i.is-on { background: #fff; width: 14px; border-radius: 3px; }

/* Liczba zdjęć w wierszu danych — drugi sposób wejścia w galerię. */
.uka-auc__foty {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--uka-red); text-decoration: underline;
  text-underline-offset: 2px;
}
.uka-auc__foty:hover { color: var(--uka-red-dark); }

/* Na dotyku strzałki są zbędne — palec przewija lepiej. */
@media (hover: none) and (pointer: coarse) {
  .uka-gal__nav { display: none; }
}

/* ── Podgląd pełnoekranowy ──────────────────────────────────────────────── */

.uka-modal__box--lupa {
  max-width: min(1180px, 96vw); width: 100%; padding: 0; background: #0d0d0f;
}
.uka-modal__box--lupa .uka-modal__body { padding: 0; }
.uka-modal__box--lupa .uka-modal__x { color: #fff; z-index: 3; }

.uka-lupa__scena { position: relative; background: #000; }
.uka-lupa__tor {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.uka-lupa__tor::-webkit-scrollbar { display: none; }
.uka-lupa__slajd {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; place-items: center; height: min(74vh, 680px);
}
.uka-lupa__slajd img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.uka-lupa__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 76px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1;
  transition: background .18s;
}
.uka-lupa__nav:hover { background: rgba(255, 255, 255, .28); }
.uka-lupa__nav--prev { left: 0; }
.uka-lupa__nav--next { right: 0; }

.uka-lupa__licznik {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px;
  background: rgba(0, 0, 0, .62); color: #fff; padding: 4px 12px;
  font-size: 17px; font-variant-numeric: tabular-nums; border-radius: 2px;
}

.uka-lupa__mini {
  display: flex; gap: 6px; padding: 10px;
  overflow-x: auto; scrollbar-width: thin; background: #141417;
}
.uka-lupa__kafel {
  flex: 0 0 84px; height: 58px; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: #000; opacity: .55;
  transition: opacity .18s, border-color .18s;
}
.uka-lupa__kafel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uka-lupa__kafel:hover { opacity: .85; }
.uka-lupa__kafel.is-on { opacity: 1; border-color: var(--uka-red); }

.uka-lupa__stopka {
  margin: 0; padding: 12px 16px; color: #c8c8cc; font-size: 17px;
  background: #0d0d0f; border-top: 1px solid #232327;
}

@media (max-width: 720px) {
  .uka-lupa__slajd { height: 62vh; }
  .uka-lupa__nav { width: 40px; height: 60px; font-size: 24px; }
  .uka-lupa__kafel { flex: 0 0 64px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .uka-gal__nav, .uka-gal__kropki i, .uka-lupa__kafel { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * SYSTEM PROJEKTOWY (docs/16 §4.11–4.14) — nadpisania wyglądu, bez zmian logiki
 * ═══════════════════════════════════════════════════════════════════════════ */

/* Nagłówki: font systemowy, ciasny tracking, bez wersalików. */
.uka h2, .uka h3, .uka .uka-h { font-family: var(--uka-font-head); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.uka-auc__title { font-size: clamp(22px, 1.243rem + .563vw, 28px); }
.uka-f > span, .uka-addons legend, .uka .uka-lead label, .uka-quiz__count, .uka-grp__head,
.uka-out__lead, .uka-out__mini span, .uka-toggle, .uka-quiz__back, .uka-vp__toggle, .uka-szuk__more summary,
.uka-mode, .uka-seg button, .uka-auc__filter, .uka-warn b, .uka-quote th, .uka-save__bar span {
  font-family: var(--uka-font-body); font-weight: 500; color: var(--uka-ink-2);
}
.uka-f > span, .uka .uka-lead label { font-weight: 600; color: var(--uka-ink); }

/* Pola: 52 px, promień 12, obramowanie 3,6:1, fokus grafitowy 2 px. */
.uka input[type=number], .uka input[type=text], .uka input[type=email], .uka input[type=tel], .uka input[type=search], .uka select, .uka textarea {
  min-height: 52px; padding: 12px 16px; border: 1px solid var(--uka-field); border-radius: var(--uka-r);
  font-size: 17px; background-color: var(--uka-white);
}
.uka select { padding-right: 40px; background-position: right 16px center; }
.uka input:focus, .uka select:focus, .uka textarea:focus { border-color: var(--uka-ink); box-shadow: 0 0 0 1px var(--uka-ink); outline: none; }
.uka input:focus-visible, .uka select:focus-visible { outline: 2px solid var(--uka-fokus, #0071e3); outline-offset: 2px; }
.uka button:focus-visible, .uka a:focus-visible { outline: 2px solid var(--uka-fokus, #0071e3); outline-offset: 3px; }
.uka-f .uka-val { font-family: var(--uka-font-head); color: var(--uka-ink); font-weight: 600; }
.uka input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--uka-ink) var(--uka-fill, 0%), var(--uka-line) var(--uka-fill, 0%)); }
.uka input[type=range]::-moz-range-progress { background: var(--uka-ink); }
.uka input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12px; border: 0; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .3), 0 0 0 .5px rgb(0 0 0 / .1); }
.uka input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .3); }
.uka input[type=range] { height: 44px; }
.uka-check input { width: 20px; height: 20px; accent-color: var(--uka-ink); }

/* Przełączniki: segmenty jak w iOS. */
.uka-modes { border: 0; background: var(--uka-bg); border-radius: var(--uka-r); padding: 4px; gap: 4px; margin: 0 0 24px; }
.uka-mode { border-radius: 9px; padding: 10px 12px; min-height: 44px; color: var(--uka-ink-2); }
.uka-mode::after { content: none; }
.uka-mode.is-on { background: #fff; color: var(--uka-ink); box-shadow: 0 1px 4px rgb(0 0 0 / .12); font-weight: 600; }
.uka-seg { gap: 4px; background: var(--uka-bg); border-radius: var(--uka-r); padding: 4px; }
.uka-seg button { border: 0; border-radius: 9px; min-height: 44px; background: transparent; }
.uka-seg button.is-on { background: #fff; color: var(--uka-ink); box-shadow: 0 1px 4px rgb(0 0 0 / .12); font-weight: 600; }
.uka-chip { border-radius: var(--uka-r); min-height: 48px; border-color: var(--uka-line); }
.uka-chip:hover { transform: none; border-color: var(--uka-ink); }
.uka-chip b { color: var(--uka-ink); }
.uka-chip.is-on b { color: #fff; }
.uka-addons { border-radius: var(--uka-r-l); border-color: var(--uka-line); }
.uka-calc__form { border: 0; padding: 0; background: transparent; }

/* Przyciski: pigułki, bez wypełniania od lewej. */
.uka-btn {
  border-radius: var(--uka-pill); font-family: var(--uka-font-body); font-weight: 600; font-size: 17px;
  min-height: 48px; padding: 12px 24px; overflow: visible;
  border: 1px solid currentColor; color: var(--uka-ink); background: transparent;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
.uka-btn::before { content: none; }
.uka-btn:hover { background: var(--uka-ink); border-color: var(--uka-ink); color: #fff; }
.uka-btn:active { transform: scale(.98); }
.uka-btn--primary { background: var(--uka-red); border-color: var(--uka-red); color: #fff; }
.uka-btn--primary:hover { background: var(--uka-red-dark); border-color: var(--uka-red-dark); color: #fff; }
.uka-btn--ghost { border-color: var(--uka-ink); }
.uka-btn[href*="wa.me"] { background: var(--uka-wa); border-color: var(--uka-wa); color: var(--uka-ink); }
.uka-btn[href*="wa.me"]:hover { background: #1fbf5b; border-color: #1fbf5b; color: var(--uka-ink); }

/* Wynik: „cena na gotowo” jak liczba w specyfikacji. */
.uka-out__card { border: 0; border-radius: var(--uka-r-l); background: var(--uka-bg); box-shadow: none; }
.uka-out__head { padding: 28px 28px 20px; }
.uka-out__big { font-family: var(--uka-font-head); font-size: clamp(36px, 1.81rem + 1.878vw, 56px); font-weight: 700; letter-spacing: -.02em; color: var(--uka-red); }
.uka-out__sub, .uka-disc, .uka-legend, .uka-hint, .uka-line em, .uka-line i { color: var(--uka-muted); }
.uka-out__mini { background: var(--uka-line); border: 0; }
.uka-out__mini > div { background: var(--uka-bg); padding: 16px 20px; }
.uka-out__mini b { font-family: var(--uka-font-head); font-size: 22px; }
.uka-toggle { background: transparent; border-bottom-color: var(--uka-line); min-height: 52px; color: var(--uka-ink); }
.uka-toggle:hover { background: rgb(0 0 0 / .03); color: var(--uka-ink); }
.uka-details__in, .uka .uka-cta, .uka-disc { padding-inline: 28px; }
.uka-grp__head { border-bottom: 1px solid var(--uka-ink); color: var(--uka-ink); font-weight: 600; }
.uka-line { padding: 10px 0; border-bottom-color: var(--uka-line); }
.uka-save { border-radius: var(--uka-r); border-color: var(--uka-line); background: #fff; }
.uka-split { border-radius: 999px; height: 8px; }
.uka-lock { background: transparent; border-top-color: var(--uka-line); padding: 24px 28px; }
.uka-lock__list li::before { border-color: var(--uka-ink); }
.uka-peek { background: rgb(29 29 31 / .92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.uka-peek b { font-family: var(--uka-font-head); font-size: 24px; }
.uka-peek .uka-btn { min-height: 44px; border-color: #fff; color: #fff; }

/* Quiz i formularz. */
.uka-quiz { border: 0; border-radius: var(--uka-r-l); box-shadow: none; padding: clamp(20px, 4vw, 40px); background: var(--uka-white); }
.uka-quiz__bar { height: 4px; border-radius: 2px; background: var(--uka-line-2); }
.uka-quiz__bar i { background: var(--uka-ink); border-radius: 2px; }
.uka-quiz__q { font-size: clamp(24px, 1.303rem + 2vw, 36px); letter-spacing: -.016em; }
.uka-opt { border-radius: var(--uka-r); border-color: var(--uka-line); min-height: 64px; font-size: 17px; }
.uka-opt::after { content: none; }
.uka-opt:hover { transform: none; border-color: var(--uka-ink); }
.uka-opt.is-on { border-color: var(--uka-ink); background: var(--uka-bg); box-shadow: inset 0 0 0 1px var(--uka-ink); }
.uka-quiz__back { min-height: 44px; color: var(--uka-ink-2); text-decoration: underline; text-underline-offset: .2em; }
.uka-quiz__tick { border-color: var(--uka-ink); color: var(--uka-ink); }
.uka-lead__err { border-radius: var(--uka-r); }
.uka-modal { background: rgb(0 0 0 / .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.uka-modal__box { border-top: 0; border-radius: 28px; padding: clamp(24px, 5vw, 40px); }
.uka-modal__x { width: 44px; height: 44px; top: 12px; right: 12px; border-radius: 50%; background: var(--uka-bg); color: var(--uka-ink); font-size: 24px; display: grid; place-items: center; padding: 0; }

/* Karuzela i wyszukiwarka: duże zdjęcie, cena jak „spec”. */
.uka-auc { --uka-card: 320px; }
.uka-auc__card { border: 0; border-radius: var(--uka-r-l); background: var(--uka-bg); }
.uka-auc__card:hover { box-shadow: none; }
.uka-auc__photo { aspect-ratio: 4 / 3; }
.uka-auc__body { padding: 20px; gap: 12px; }
.uka-auc__name { font-family: var(--uka-font-head); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.uka-auc__row--main { border-top: 0; padding-top: 4px; flex-direction: column; align-items: flex-start; gap: 0; font-family: var(--uka-font-body); color: var(--uka-muted); }
.uka-auc__row--main b { font-family: var(--uka-font-head); font-size: clamp(28px, 1.5rem + 1vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--uka-ink); order: -1; }
.uka-auc__row--main .uka-auc__range { font-size: 24px; }
.uka-auc__badge, .uka-auc__sale { border-radius: 980px; left: 12px; top: 12px; padding: 4px 12px; font-family: var(--uka-font-body); font-weight: 600; }
.uka-auc__badge { background: rgb(255 255 255 / .9); color: var(--uka-ink); }
.uka-auc__badge--dmg { background: rgb(29 29 31 / .85); color: #fff; }
.uka-auc__sale { left: auto; right: 12px; top: auto; bottom: 12px; }
.uka-auc__arrow { border-radius: 50%; border: 0; background: var(--uka-bg); }
.uka-auc__arrow:hover:not([disabled]) { background: var(--uka-line-2); color: var(--uka-ink); }
.uka-auc__filter { border-radius: 980px; min-height: 44px; padding: 8px 16px; border-color: var(--uka-line); }
.uka-auc__warn { border-radius: 980px; min-height: 36px; font-family: var(--uka-font-body); font-weight: 500; }
.uka-auc__dots i.is-on { background: var(--uka-ink); }
.uka-szuk__form { border: 0; border-radius: var(--uka-r-l); background: var(--uka-bg); padding: clamp(16px, 3vw, 28px); }
.uka-szuk__go { min-height: 52px; }
.uka-szuk__pusto { border-radius: var(--uka-r-l); border-color: var(--uka-line); }
.uka-gal__licznik, .uka-lupa__licznik { border-radius: 980px; }
.uka-lupa__kafel.is-on { border-color: #fff; }
.uka-quote { border: 0; border-radius: var(--uka-r-l); background: var(--uka-bg); overflow: hidden; }
.uka-trust > div { border-radius: 980px; font-family: var(--uka-font-body); font-weight: 500; }
.uka-flash { border-radius: var(--uka-r); }

/* Pasek kontaktu (telefon): biały, rozmyty, trzy pigułki — Zadzwoń · WhatsApp · Wyceń. */
.uka-sticky {
  gap: 8px; padding: 8px max(12px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgb(251 251 253 / .82); box-shadow: none; border-top: 1px solid rgb(0 0 0 / .08);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .uka-sticky { background: #fbfbfd; } }
@media (max-width: 1023px) { .uka-sticky { display: flex; } }
.uka-sticky a {
  flex: 1 1 0; flex-direction: row; gap: 6px; min-height: 48px; padding: 0 10px; border-radius: 980px;
  background: #fff; color: var(--uka-ink); border: 1px solid var(--uka-line);
  font-family: var(--uka-font-body); font-size: 17px; font-weight: 600; white-space: nowrap;
}
.uka-sticky a[data-a="whatsapp"] { background: var(--uka-wa); border-color: var(--uka-wa); color: var(--uka-ink); }
.uka-sticky__i { font-size: 0; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--uka-sticky-ikona) center / contain no-repeat; mask: var(--uka-sticky-ikona) center / contain no-repeat; }
.uka-sticky a[data-a="call"] { --uka-sticky-ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.uka-sticky a[data-a="whatsapp"] { --uka-sticky-ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.6-.3z'/%3E%3C/svg%3E"); }
.uka-sticky__cta { background: var(--uka-red) !important; border-color: var(--uka-red) !important; color: #fff !important; flex: 1 1 0 !important; font-size: 17px !important; }
.uka-sticky.is-in ~ .uka-peek.is-in { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 419px) { .uka-sticky a { padding: 0 6px; } .uka-sticky__i { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .uka-sticky, .uka-peek, .uka-btn, .uka-opt, .uka-quiz__tick { transition: none !important; animation: none !important; }
  .uka-sticky, .uka-peek { transform: none !important; }
  .uka-sticky:not(.is-in), .uka-peek:not(.is-in) { visibility: hidden; }
}

/* Telefon: siatka kalkulatora nie może być szersza niż ekran; cele dotyku ≥ 44 px. */
@media (max-width: 980px) { .uka-calc { grid-template-columns: minmax(0, 1fr); } }
.uka-calc__form, .uka-calc__out { min-width: 0; }
.uka-mode { white-space: normal; min-width: 0; }
.uka-chips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.uka-vp__toggle { min-height: 44px; display: inline-flex; align-items: center; }
.uka-check input { width: 24px; height: 24px; margin-top: 0; }
.uka-sticky { gap: 6px; padding-inline: 8px; }
.uka-sticky a { min-width: 0; letter-spacing: -.01em; }
@media (max-width: 419px) { .uka-sticky a { padding: 0 4px; } }
.uka-hint b { color: var(--uka-ink); }

/* Runda 2 (docs/16 §4.14): brak kwoty (limit, tryb testowy) to szary „— zł”, nie czerwone „0 zł”.
   WhatsApp w karcie i w widżetach: ciemna pigułka z zieloną ikoną — pełna zieleń tylko w pasku pod kciukiem. */
.uka-out__big--pusty { color: var(--uka-muted); }
.uka .uka-btn[href*="wa.me"], .uka .uka-btn[href*="wa.me"]:hover { background: var(--uka-ink); border-color: var(--uka-ink); color: #fff; }
.uka .uka-btn[href*="wa.me"]:hover { opacity: .85; }
.uka .uka-btn[href*="wa.me"]::before {
  content: ""; position: static; inset: auto; transform: none; z-index: auto; width: 20px; height: 20px; flex: none; background: var(--uka-wa);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Quiz: bez ramek w ramce i bez kolorowych emoji — jasne pigułki 56 px. */
.uka-opt { border: 0; background: var(--uka-bg); border-radius: 18px; min-height: 56px; padding: 14px 20px; }
.uka-opt:hover { border: 0; background: var(--uka-line-2); }
.uka-opt.is-on { background: var(--uka-ink); color: #fff; box-shadow: none; }
.uka-opt__i { display: none; }
/* Przedział kwot nie może wyjść poza kartę; trzy stawki w jednym rzędzie (bez pustej komórki). */
.uka-out__big--range { font-size: clamp(28px, 1.2rem + 1.2vw, 40px); white-space: normal; }
.uka-out__mini:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }


/* Runda 3 (docs/16 §4.14): formularz jak produkt, nie jak urząd. */
/* Podstawowe pola na wierzchu, reszta w „Dokładniej” (natywne <details>, działa bez JS). */
.uka-wiecej { display: block; border-block: 1px solid var(--uka-line); }
.uka-wiecej > summary {
  list-style: none; cursor: pointer; min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5em;
  padding: 12px 40px 12px 0; position: relative; font-size: 17px; font-weight: 600; color: var(--uka-ink);
}
.uka-wiecej > summary::-webkit-details-marker { display: none; }
.uka-wiecej > summary span { font-weight: 400; color: var(--uka-muted); }
.uka-wiecej > summary::before, .uka-wiecej > summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .2s ease-out;
}
.uka-wiecej > summary::after { transform: rotate(90deg); }
.uka-wiecej[open] > summary::after { transform: rotate(0); }
.uka-wiecej > .uka-grid { padding: 8px 0 24px; align-items: start; }
.uka-grid { align-items: start; }
/* Marka · model · rocznik: model dostaje więcej miejsca, tekst opcji się nie urywa. */
@media (min-width: 561px) { .uka-vp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 8.5rem; } }
.uka select { text-overflow: ellipsis; }
.uka-vp input[name=vin]::placeholder { font-family: var(--uka-font-body); text-transform: none; letter-spacing: 0; color: var(--uka-muted); opacity: 1; }
/* Wykończenie pod klucz: lista z przełącznikami, bez ramek wokół pozycji. */
.uka-addons { border: 0; border-radius: 0; padding: 0; }
.uka-addons legend { padding: 0 0 4px; font-weight: 600; color: var(--uka-ink); }
.uka-chips { gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.uka-chip, .uka-chip:hover, .uka-chip.is-on {
  width: 100%; min-height: 56px; border: 0; border-bottom: 1px solid var(--uka-line); border-radius: 0; background: none;
  padding: 10px 0 10px 60px; color: var(--uka-ink); transform: none; box-shadow: none;
}
.uka-chip::before, .uka-chip::after { content: ""; position: absolute; top: 50%; border-radius: 99px; transition: transform .2s ease-out, background-color .2s ease-out; }
.uka-chip::before { left: 0; width: 46px; height: 28px; margin-top: -14px; background: #fff; box-shadow: inset 0 0 0 1px var(--uka-field); }
.uka-chip::after { left: 3px; width: 22px; height: 22px; margin-top: -11px; background: var(--uka-field); }
.uka-chip.is-on::before { background: var(--uka-ink); box-shadow: none; }
.uka-chip.is-on::after { background: #fff; transform: translateX(18px); }
.uka-chip b, .uka-chip.is-on b { color: var(--uka-ink); font-weight: 600; }
/* Wynik: liczba jak specyfikacja; przedział też duży. */
.uka-out__big, .uka-out__big--range { font-size: clamp(36px, 1.81rem + 1.878vw, 56px); line-height: 1.05; font-variant-numeric: tabular-nums; text-wrap: balance; }
@media (min-width: 981px) { .uka-out__big--range { font-size: clamp(32px, 1rem + 1.6vw, 44px); } }
/* Notki: tekst na jasnym tle, bez kolorowej kreski; czerwień tylko dla poważnych i dla kwoty oszczędności. */
.uka-warn, .uka-warn--uwaga, .uka-warn--ok, .uka-warn--blokada { border-left: 0; border-radius: 18px; background: var(--uka-bg); padding: 16px 20px; }
.uka-out__card .uka-warn { background: #fff; }
.uka-warn--powazne { border-left: 3px solid var(--uka-red); border-radius: 0 18px 18px 0; padding: 16px 20px; }
.uka-warn b { color: var(--uka-ink); }
.uka-warn__kwota { color: var(--uka-red); font-weight: 600; font-variant-numeric: tabular-nums; }
/* Belka z kwotą stoi nad paskiem kontaktu (nie pod nim): kontakt zawsze pod kciukiem. */
body:has(.uka-sticky.is-in) .uka-peek.is-in { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: 11px; }
.uka-peek small { font-family: var(--uka-font-body); font-weight: 500; opacity: .75; }
.uka-peek b { font-size: 21px; }
.uka-peek .uka-btn { padding: 8px 16px; white-space: nowrap; }
/* Quiz: pasek postępu z pierwszym krokiem już wypełnionym (1 z 4 = 25%), kafle 56 px. */
.uka-quiz__bar { display: flex; height: 4px; border-radius: 2px; background: var(--uka-line-2); overflow: hidden; }
.uka-quiz__bar::before { content: ""; flex: 0 0 25%; background: var(--uka-ink); }
.uka-quiz__bar i { border-radius: 0 2px 2px 0; }
.uka-opt { min-height: 56px; font-size: 17px; font-weight: 500; border-radius: 16px; }

/* Runda 4: wynik bez „karty w karcie” — notka o cle bez własnego tła, tylko linia; dwie korzyści zamiast czterech. */
.uka-out__card .uka-warn, .uka-out__card .uka-warn--uwaga, .uka-out__card .uka-warn--ok { background: none; border-radius: 0; border-top: 1px solid rgb(0 0 0 / .08); padding: 16px 0 0; }
.uka-out__card .uka-sct { margin: 16px 28px 0 !important; }
.uka-lock__list { gap: 12px; }

/* ── Wyszukiwarka i karta auta: przepływ klienta (filtry, VIN, szczegóły) ──
   Telefon jako punkt wyjścia: 320 px bez poziomego przewijania, cele dotyku ≥ 44 px. */
.uka-szuk__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.uka-auc__card, .uka-auc__body { min-width: 0; }
.uka-auc__name { overflow-wrap: anywhere; }
.uka-auc__open {
  all: unset; cursor: pointer; display: inline; font: inherit; color: inherit;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em;
}
.uka-auc__open:hover { text-decoration-color: currentColor; }
.uka-auc__open:focus-visible { outline: 2px solid var(--uka-ink); outline-offset: 2px; border-radius: 2px; }
.uka-auc__nophoto {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px; text-align: center; cursor: pointer; color: #86868b;
}
.uka-auc__nophoto svg { width: 96px; height: auto; color: #d2d2d7; }
.uka-auc__nophoto b { font-size: 22px; color: #86868b; letter-spacing: .04em; }
.uka-auc__nophoto span { font-family: var(--uka-font-body); font-size: 15px; font-weight: 400; color: var(--uka-muted); max-width: 22ch; }
.uka-auc__demo {
  position: absolute; right: 8px; bottom: 8px; background: #fff; color: var(--uka-ink);
  font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--uka-line);
}
.uka-auc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.uka-auc__tag {
  font-size: 15px; line-height: 1.3; padding: 3px 9px; border-radius: 999px;
  background: var(--uka-bg); color: var(--uka-ink-2, #424245);
}
.uka-auc__tag--ok { background: #e8f5ec; color: #14532d; }
.uka-auc__tag--uwaga { background: #fff6e0; color: #6b4e00; }
.uka-auc__row small { font-size: 14px; color: var(--uka-muted); font-family: var(--uka-font-body); }
.uka-auc__actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.uka-auc__actions2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.uka-auc__actions2 .uka-btn, .uka-auc__cta { min-height: 44px; width: 100%; }

.uka-szuk__bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 14px; }
.uka-szuk__filtry { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.uka-szuk__runs { align-self: end; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.uka-szuk__reset, .uka-szuk__link {
  background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-size: 17px;
  color: var(--uka-ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.uka-szuk__vin { margin-top: 10px; border-top: 1px solid var(--uka-line-2, #e5e5ea); padding-top: 12px; }
.uka-szuk__vin summary { cursor: pointer; font-size: 17px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.uka-szuk__vin .uka-grid { margin: 12px 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.uka-szuk__lookup:empty { display: none; }
.uka-szuk__lookup { margin: 0 0 18px; }
.uka-szuk__lk-t { font-size: 17px; color: var(--uka-muted); margin: 0 0 10px; }
.uka-szuk__vinres { background: #fff; border: 1px solid var(--uka-line); border-radius: var(--uka-r-m, 18px); padding: 18px; display: grid; gap: 10px; }
.uka-szuk__hint { display: block; font-size: 15px; margin-top: 4px; }
.uka-szuk__hint--demo { color: #6b4e00; }
.uka-szuk__pusto p { margin: 0 0 12px; }
.uka-szuk__pusto .uka-btn { min-height: 48px; max-width: 100%; white-space: normal; }
.uka-szuk__alt { margin-top: 12px !important; }

.uka-modal__box--det { max-width: 720px; }
.uka-det { display: grid; gap: 12px; }
.uka-det__foto { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--uka-bg); }
.uka-det__foto img, .uka-det__zoom { width: 100%; height: 100%; object-fit: cover; display: block; }
.uka-det__zoom { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.uka-det__zoom:focus-visible { outline: 3px solid var(--uka-ink); outline-offset: -3px; }
.uka-det__tytul { margin: 4px 0 0; overflow-wrap: anywhere; }
.uka-det__demo { margin: 0; padding: 10px 12px; background: #fff6e0; color: #6b4e00; border-radius: 10px; font-size: 15px; }
.uka-det__cena { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 17px; color: var(--uka-muted); }
.uka-det__cena b { font-size: 22px; color: var(--uka-ink); font-variant-numeric: tabular-nums; }
.uka-det__akcje { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px; margin: 6px 0; }
.uka-det__akcje .uka-btn { min-height: 48px; width: 100%; }
.uka-det__dane { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 20px; }
.uka-det__dane div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--uka-line-2, #e5e5ea); font-size: 17px; }
.uka-det__dane dt { color: var(--uka-muted); }
.uka-det__dane dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.uka-det__obj { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.uka-det__obj li { display: grid; gap: 2px; font-size: 17px; }
.uka-det__obj span { color: var(--uka-ink-2, #424245); }
.uka-auc__zrodlo { color: var(--uka-ink); font-weight: 600; font-size: 17px; }
.uka-lead textarea { width: 100%; font: inherit; font-size: 17px; border: 1px solid #86868b; border-radius: 12px; padding: 12px; box-sizing: border-box; }

@media (max-width: 400px) {
  .uka-auc__actions2 { grid-template-columns: 1fr; }
  .uka-det__dane div { flex-direction: column; gap: 2px; }
  .uka-det__dane dd { text-align: left; }
}

/* Okno szczegółów auta: co może zmienić kwotę i podstawa prawna (te same dane co teaser /quote). */
.uka-det__flagi { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.uka-det__flagi li { font-size: 17px; line-height: 1.45; color: var(--uka-ink-2, #424245); overflow-wrap: anywhere; }
.uka-det__flagi b { color: var(--uka-ink); white-space: nowrap; }
.uka-det__flagi small { display: block; font-size: 15px; color: var(--uka-muted); }
.uka-det__prawo { margin: 4px 0 12px; }
.uka-det__prawo summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 17px; font-weight: 600; color: var(--uka-ink); }
.uka-det__prawo summary:focus-visible { outline: 2px solid var(--uka-ink); outline-offset: 2px; }
.uka-det__prawo p, .uka-det__prawo li { font-size: 15px; line-height: 1.45; color: var(--uka-ink-2, #424245); overflow-wrap: anywhere; }
.uka-det__prawo ul { margin: 0; padding-left: 18px; }

/* ── Podstawa prawna pozycji i warianty niepewności (docs/18) ─────────────
 * Dyskretnie: „§ podstawa" rozwijane natywnym <details> — działa z klawiatury
 * i czytnikiem ekranu. Cel dotyku ≥ 24 px (WCAG 2.2, 2.5.8), tekst ≥ 15 px. */
.uka-pod { margin-top: 2px; }
.uka-pod summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; min-width: 24px;
  cursor: pointer; list-style: none; font-size: 15px; color: var(--uka-muted);
}
.uka-pod summary::-webkit-details-marker { display: none; }
.uka-pod summary:focus-visible { outline: 2px solid var(--uka-ink); outline-offset: 2px; }
.uka-pod__ikona { font-weight: 700; }
.uka-pod small { display: block; font-size: 15px; line-height: 1.45; color: var(--uka-ink-2); overflow-wrap: anywhere; }
.uka-niep summary {
  cursor: pointer; min-height: 44px; display: flex; align-items: center;
  font-size: 17px; font-weight: 600; color: var(--uka-ink);
}
.uka-niep summary:focus-visible { outline: 2px solid var(--uka-ink); outline-offset: 2px; }
.uka-niep .uka-warn { display: grid; gap: 4px; }
.uka-niep__kwota { white-space: nowrap; margin-left: 6px; }
.uka-niep__pod { font-size: 15px; color: var(--uka-muted); overflow-wrap: anywhere; }
.uka-firma { margin-top: 12px; }
.uka-niep summary { list-style: none; gap: 10px; }
.uka-niep summary::-webkit-details-marker { display: none; }
.uka-niep summary::after { content: '+'; margin-left: auto; font-size: 22px; line-height: 1; }
.uka-niep[open] summary::after { content: '–'; }
/* Cele dotyku ≥ 44 px (kciuk, persona 40+): tytuł karty, ostrzeżenia, „Więcej filtrów", checkbox. */
.uka-auc__open { display: block; padding: 10px 0; margin: -10px 0; min-height: 44px; box-sizing: border-box; }
.uka-auc__warn { min-height: 44px; }
.uka-szuk__more summary { min-height: 44px; }
.uka-szuk__runs input[type=checkbox] { width: 28px; height: 28px; flex: 0 0 28px; }
