/* KuchnieWOW Planer 2D 0.7.318 — nowy górny pasek (logo, Samouczek, etapy z biegnącą kreską) + wizualny wybór układu. © CREA. */

/* ===================== GÓRNY PASEK (komputer) ===================== */
@media (min-width:1100px){
  html body #kwStepNav.kw-stepnav{display:flex!important;align-items:center!important;gap:0!important;grid-template-columns:none!important;
    min-height:74px!important;padding:10px 22px!important;background:#111b1f!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  /* logo: KUCHNIE (cienkie) + WOW (grube), bez ramki */
  html body #kwStepNav .kw-brand-mark{order:1!important;flex:0 0 auto!important;width:auto!important;display:inline-flex!important;align-items:baseline!important;margin:0!important;padding:0 26px 0 6px!important;
    background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;
    font:400 34px/1 Inter,"Segoe UI",Arial,sans-serif!important;letter-spacing:.2px!important;white-space:nowrap!important}
  html body #kwStepNav .kw-brand-mark b{font-weight:900!important;color:#fff!important;background:none!important;padding:0!important;margin:0!important;border-radius:0!important;letter-spacing:.4px!important}
  html body #kwStepNav .kw-brand-mark:hover{opacity:.85}
  /* pionowe kreski między grupami */
  html body #kwStepNav .kw318-sep{order:var(--o);flex:0 0 1px;width:1px;height:42px;background:rgba(255,255,255,.22);margin:0 22px}
  /* Samouczek: czerwony przycisk z logo odtwarzania */
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn{order:3!important;flex:0 0 auto!important;max-width:none!important;min-width:0!important;overflow:visible!important;display:inline-flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:9px 20px 9px 16px!important;
    height:48px!important;width:auto!important;border:0!important;border-radius:9px!important;background:#e3241b!important;color:#fff!important;box-shadow:0 4px 14px rgba(227,36,27,.28)!important;cursor:pointer;transition:filter .15s,transform .15s}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-play{display:inline-flex!important;width:auto!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-play svg{width:34px!important;height:24px!important;display:block}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-play svg path:first-child{fill:#fff!important;stroke:none!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-play svg path:last-child{fill:#e3241b!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-txt small{display:none!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-txt{display:inline!important;max-width:none!important;overflow:visible!important;white-space:nowrap!important;width:auto!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-txt b{font:800 20px/1 Inter,"Segoe UI",Arial,sans-serif!important;color:#fff!important;letter-spacing:-.1px}
  /* etapy */
  html body #kwStepNav .kw-stepnav-list{order:5!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;flex:1 1 auto!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:22px!important;
    margin:0!important;padding:0!important;list-style:none!important;background:none!important;border:0!important;box-shadow:none!important;min-width:0!important}
  html body #kwStepNav .kw-stepnav-list>li{flex:0 1 auto!important;margin:0!important;padding:0!important;min-width:0!important;display:block!important}
  html body #kwStepNav .kw-stepnav-list>li::before,html body #kwStepNav .kw-stepnav-list>li::after{display:none!important}
  html body #kwStepNav .kw-stepnav-btn{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;
    height:50px!important;min-width:0!important;padding:0 30px!important;margin:0!important;border-radius:11px!important;
    background:#1e2a2e!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:none!important;color:#f2f5f4!important;opacity:1!important;cursor:pointer;
    transition:background .15s,border-color .15s,transform .15s;white-space:nowrap!important}
  html body #kwStepNav .kw-stepnav-btn:hover{background:#26343a!important;border-color:rgba(255,255,255,.16)!important}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-no{display:inline!important;width:auto!important;height:auto!important;min-width:0!important;padding:0!important;margin:0!important;
    background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;font:700 21px/1 Inter,"Segoe UI",Arial,sans-serif!important}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-txt{display:inline!important}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-txt b{font:600 21px/1 Inter,"Segoe UI",Arial,sans-serif!important;color:inherit!important;letter-spacing:-.1px}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-txt small{display:none!important}
  /* aktywny etap: żółta ramka + poświata + kreska biegnąca po obwodzie */
  html body #kwStepNav .kw-stepnav-btn.current,html body #kwStepNav .kw-stepnav-btn[aria-current="step"],html body #kwStepNav .kw-stepnav-btn.kw318-on{
    background:#141f23!important;border:2px solid #e8e200!important;color:#fff!important;box-shadow:0 0 0 1px rgba(232,226,0,.25),0 0 18px rgba(232,226,0,.28),inset 0 0 12px rgba(232,226,0,.08)!important}
  html body #kwStepNav .kw-stepnav-btn.done{color:#f2f5f4!important}
  html body #kwStepNav .kw-stepnav-actions{order:7!important;flex:0 0 auto!important;position:static!important;transform:none!important;margin-left:auto!important;display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
  html body #kwStepNav .kw-stepnav-next{height:50px!important;padding:0 22px!important;border-radius:9px!important;background:#ece600!important;color:#121c20!important;border:0!important;
    font:800 19px/1 Inter,"Segoe UI",Arial,sans-serif!important;box-shadow:0 4px 16px rgba(236,230,0,.25)!important;white-space:nowrap!important}
}
@media (min-width:1100px) and (max-width:1600px){
  html body #kwStepNav .kw-brand-mark{font-size:27px!important;padding-right:16px!important}
  html body #kwStepNav .kw318-sep{margin:0 14px}
  html body #kwStepNav .kw-stepnav-list{gap:10px!important}
  html body #kwStepNav .kw-stepnav-btn{padding:0 16px!important;height:44px!important;gap:8px!important}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-no,html body #kwStepNav .kw-stepnav-btn .kw-stepnav-txt b{font-size:17px!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn{height:44px!important;padding:8px 14px 8px 12px!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-txt b{font-size:17px!important}
  html body #kwStepNav .kw-stepnav-next{height:44px!important;font-size:16px!important;padding:0 16px!important}
}
@media (min-width:1100px) and (max-width:1320px){
  html body #kwStepNav .kw-brand-mark{font-size:22px!important}
  html body #kwStepNav .kw-stepnav-btn{padding:0 11px!important}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-no,html body #kwStepNav .kw-stepnav-btn .kw-stepnav-txt b{font-size:15px!important}
  html body #kwStepNav #kwTutorBtn.kw-tutor-btn .kw-tutor-txt b{font-size:15px!important}
}
/* biegnąca kreska (SVG wstawiane przez header-318.js) */
.kw318-beam{position:absolute;left:-2px;top:-2px;pointer-events:none;overflow:visible;z-index:2}
.kw318-beam rect{fill:none;stroke:#fffb9a;stroke-width:3;stroke-linecap:round;stroke-dasharray:16 84;filter:drop-shadow(0 0 4px #f4ee00) drop-shadow(0 0 9px rgba(244,238,0,.75));
  animation:kw318run 2.8s linear infinite}
@keyframes kw318run{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
@media (prefers-reduced-motion:reduce){.kw318-beam rect{animation:none;stroke-dasharray:none;stroke:#e8e200;filter:none}}
@media (max-width:1099px){.kw318-sep{display:none!important}}

/* ===================== WIZUALNY WYBÓR UKŁADU ===================== */
html body .kw-layout-chooser.kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout){position:relative!important;display:block!important;width:100%!important;margin:2px 0 6px!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:0!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;height:auto!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button{all:unset;box-sizing:border-box!important;cursor:pointer!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;
  min-height:98px!important;padding:10px 6px 11px!important;border-radius:14px!important;background:#243034!important;border:1.5px solid rgba(255,255,255,.2)!important;color:#fff!important;
  font:800 14.5px/1.1 Inter,"Segoe UI",Arial,sans-serif!important;text-align:center!important;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s!important;box-shadow:none!important;width:auto!important;height:auto!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button:hover{border-color:rgba(255,255,255,.45)!important;transform:translateY(-1px)!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button:focus-visible{outline:3px solid #6aa6ff!important;outline-offset:2px!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button.active{background:#e3df00!important;border-color:#e3df00!important;color:#121c20!important;box-shadow:0 6px 18px rgba(227,223,0,.25)!important}
html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .kw318-ico{display:block!important;width:100%!important;max-width:118px!important;height:auto!important;overflow:visible!important}
html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .kw318-ico .bar{fill:#fff!important}
html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .kw318-ico text{fill:#a9b6b8!important;font:800 13px Inter,"Segoe UI",Arial,sans-serif!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button.active .kw318-ico .bar{fill:#121c20!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button.active .kw318-ico text{fill:#4a5300!important}
/* dotychczasowa podpowiedź „Wybierz układ kuchni →” jako mała strzałka pod kartami */
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .kw-layout-hint{position:absolute!important;left:50%!important;bottom:-13px!important;transform:translateX(-50%)!important;z-index:3!important;width:26px!important;height:26px!important;min-height:0!important;padding:0!important;
  border-radius:50%!important;background:#fff!important;border:1.5px solid #121c20!important;color:#121c20!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 2px 6px rgba(0,0,0,.25)!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .kw-layout-hint>span{display:none!important}
 html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .kw-layout-hint svg{width:14px!important;height:14px!important;flex:0 0 14px!important;transform:rotate(90deg)!important}
@media (max-width:520px){
   html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards{gap:6px!important}
   html body .kw318-layout:is(#kw318a,.kw318-layout):is(#kw318b,.kw318-layout) .segmented.kw318-cards>button{min-height:78px!important;font-size:12px!important;padding:8px 3px 9px!important;border-radius:11px!important}
}
/* 0.7.343: menu kroków NIERUCHOME i zawsze w jednej linii bez nachodzenia.
   Rozmiar przycisków i miejsce na „Wróć/Dalej” ustawia five-steps.js (mierzy prawdziwe szerokości). */
@media (min-width:1000px){
  html body #kwStepNav .kw-stepnav-list{flex:0 1 auto!important;gap:var(--kw343-gap,8px)!important;min-width:0!important}
  html body #kwStepNav .kw-stepnav-list>li{flex:0 0 auto!important}
  html body #kwStepNav .kw-stepnav-btn{padding:0 var(--kw343-pad,14px)!important;gap:var(--kw343-in,7px)!important;height:var(--kw343-h,46px)!important}
  html body #kwStepNav .kw-stepnav-btn .kw-stepnav-no,html body #kwStepNav .kw-stepnav-btn .kw-stepnav-txt b{font-size:var(--kw343-fs,18px)!important;white-space:nowrap!important}
  html body #kwStepNav .kw-stepnav-actions{justify-content:flex-end!important;flex-shrink:0!important}
}
/* ostateczność przy wąskim ekranie: „Samouczek” jako sama ikona (nadal klikalny, z podpowiedzią) */
html body #kwStepNav.kw343-tight .kw-tutor-txt{display:none!important}
html body #kwStepNav.kw343-tight .kw-tutor-btn{padding-left:12px!important;padding-right:12px!important;gap:0!important}
