/* KuchnieWOW Planer 2D 0.7.342 — krok 5 „Akcesoria”. © CREA. */
#kw342-acc{display:none}
html.kw-staged[data-kw-ux-step="5"][data-kw-step] #planner-settings>.drawingwrap,html.kw-staged[data-kw-ux-step="5"][data-kw-step] #project-summary,html.kw-staged[data-kw-ux-step="5"][data-kw-step] #kwDockInfo,html.kw-staged[data-kw-ux-step="5"][data-kw-step] #selection,html.kw-staged[data-kw-ux-step="5"][data-kw-step] #kwSideDock{display:none!important}
html.kw-staged[data-kw-ux-step="5"][data-kw-step] #kw342-acc{display:block;grid-column:1/-1;width:100%;box-sizing:border-box;background:#fff;border-radius:18px;padding:20px 22px 24px;color:#17252b;font-family:Inter,"Segoe UI",Arial,sans-serif;min-height:520px}
.kw342-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.kw342-head small{font-size:11px;letter-spacing:.08em;font-weight:800;color:#6b7b80}
.kw342-head h2{margin:2px 0 4px;font-size:26px;font-weight:900;line-height:1.15}
.kw342-head p{margin:0;font-size:14px;color:#4c5d62}
.kw342-sum{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px}
.kw342-next{all:unset;cursor:pointer;background:#f0e600;color:#17252b;font-weight:800;font-size:15px;padding:11px 18px;border-radius:11px}
.kw342-next:focus-visible,.kw342-plus:focus-visible,.kw342-qty button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.kw342-msg{padding:30px 0;text-align:center;color:#6b7b80}
.kw342-cat{margin:0 0 10px;border:1px solid #e3e9e7;border-radius:14px;overflow:hidden}
.kw342-cat>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 18px;background:#f4f7f6;font-size:16px;font-weight:800}
.kw342-cat>summary::-webkit-details-marker{display:none}
.kw342-cat>summary small{font-size:12px;font-weight:600;color:#6b7b80}
.kw342-cat>summary em{font-style:normal;font-size:12px;font-weight:800;background:#17252b;color:#f0e600;padding:3px 9px;border-radius:999px}
.kw342-cat>summary i{margin-left:auto;width:10px;height:10px;border-right:2.5px solid #17252b;border-bottom:2.5px solid #17252b;transform:rotate(45deg);transition:transform .15s}
.kw342-cat[open]>summary i{transform:rotate(-135deg)}
.kw342-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;padding:14px}
.kw342-card{display:flex;flex-direction:column;gap:6px;border:1px solid #e6ebe9;border-radius:12px;padding:10px;background:#fff;transition:box-shadow .15s,border-color .15s}
.kw342-card:hover{box-shadow:0 6px 18px rgba(23,37,43,.08)}
.kw342-card.on{border-color:#17252b;box-shadow:0 0 0 2px #f0e600}
.kw342-card.out{opacity:.55}
.kw342-img{position:relative;aspect-ratio:1/1;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.kw342-img img{width:100%;height:100%;object-fit:contain}
.kw342-badge{position:absolute;top:6px;right:6px;min-width:22px;height:22px;border-radius:11px;background:#17252b;color:#f0e600;font-size:12px;display:flex;align-items:center;justify-content:center;padding:0 6px}
.kw342-name{font-size:13px;line-height:1.3;font-weight:600;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kw342-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}
.kw342-price{font-size:15px;font-weight:900;white-space:nowrap}
.kw342-price s{display:block;font-size:11px;font-weight:500;color:#9aa5a8}
.kw342-plus{all:unset;cursor:pointer;width:34px;height:34px;border-radius:50%;background:#f2e62a;box-shadow:inset 0 0 0 1.25px #7c851f;color:#38453a;font-size:22px;font-weight:800;line-height:34px;text-align:center;flex:0 0 auto}
.kw342-qty{display:inline-flex;gap:4px}
.kw342-qty button{all:unset;cursor:pointer;width:30px;height:30px;border-radius:8px;background:#eef2f1;font-size:18px;font-weight:800;text-align:center;line-height:30px}
.kw342-qty button+button{background:#f2e62a}
.kw342-na{font-size:12px;color:#9a3412}
@media (max-width:1400px){.kw342-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (max-width:1200px){.kw342-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:1000px){.kw342-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:820px){.kw342-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.kw342-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}html.kw-staged[data-kw-ux-step="5"][data-kw-step] #kw342-acc{padding:14px}.kw342-head h2{font-size:21px}}
/* cały obszar planera w poziomie: bez prawego panelu podsumowania na tym kroku */
html.kw-staged[data-kw-ux-step="5"][data-kw-step] #kwFinalSide{display:none!important}
html.kw-staged[data-kw-ux-step="5"][data-kw-step] .workspace>#planner-settings{grid-column:1/-1!important;width:auto!important}
#kw342-acc .kw342-head h2{color:#17252b!important}#kw342-acc .kw342-head p,#kw342-acc .kw342-head small{background:none}
#kw342-acc .kw342-head p{color:#4c5d62!important}#kw342-acc .kw342-head small{color:#6b7b80!important}

/* 0.7.346: doładowanie po 14 */
.kw342-more{margin:0;padding:0 14px 16px;text-align:center}.kw342-more button{font:inherit;font-weight:700;font-size:14px;padding:10px 22px;border-radius:999px;border:1.5px solid #0f6f66;background:#fff;color:#0f6f66;cursor:pointer}.kw342-more button:hover{background:#0f6f66;color:#fff}.kw342-more span{color:#6b7b80;font-size:14px}

/* 0.7.348: box „Sugerowane akcesoria” */
.kw348-sug{display:flex;gap:18px;align-items:stretch;margin:0 0 16px;padding:16px;border-radius:16px;background:linear-gradient(135deg,#f3faf8,#fffbe6);border:1.5px solid #cfe6e0}
.kw348-side{flex:0 0 230px;display:flex;flex-direction:column;gap:6px}
.kw348-side small{font-size:11px;letter-spacing:.08em;font-weight:800;color:#0f6f66}
.kw348-side h3{margin:0;font-size:20px;line-height:1.2;color:#12262b}
.kw348-side p{margin:0;font-size:13.5px;color:#4f6166}
.kw348-all{margin-top:auto;font:inherit;font-weight:800;font-size:15px;padding:12px 14px;border:0;border-radius:12px;background:#f2e600;color:#12262b;cursor:pointer;box-shadow:0 2px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;align-items:center;gap:2px}
.kw348-all:hover{filter:brightness(.96)}.kw348-all span{font-size:12.5px;font-weight:700;opacity:.8}
.kw348-ok{margin-top:auto!important;font-weight:800;color:#0f6f66!important}
.kw348-grid{flex:1;display:grid;gap:12px;min-width:0}
.kw348-why{font-size:11.5px;line-height:1.3;color:#0f6f66;margin:-2px 0 4px;min-height:2.6em}
.kw348-card .kw342-price small{display:block;font-size:11px;font-weight:600;color:#6b7b80}
.kw348-done{width:34px;height:34px;border-radius:50%;background:#0f6f66;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900}
@media (max-width:820px){.kw348-sug{flex-direction:column}.kw348-side{flex:none}.kw348-all{margin-top:6px}}

/* 0.7.349: dwie osobne karty (sugestie | kategorie) z ciemną przerwą; kompaktowe kafelki sugestii w 8 kolumnach, więcej → przewijanie poziome */
html.kw-staged[data-kw-ux-step="5"][data-kw-step] #kw342-acc{background:transparent!important;padding:0!important;border-radius:0;min-height:0}
#kw342-acc .kw348-top,#kw342-acc .kw348-cats{background:#fff;border-radius:18px;padding:18px 22px 20px}
#kw342-acc .kw348-cats{margin-top:16px;padding:16px 22px 12px;min-height:200px}
#kw342-acc .kw348-cats:empty{display:none}
#kw342-acc .kw348-top .kw342-head{margin-bottom:12px}
.kw348-sug{margin:0;padding:12px;gap:14px}
.kw348-side{flex:0 0 200px;gap:4px}.kw348-side h3{font-size:17px}.kw348-side p{font-size:12.5px}
.kw348-all{padding:9px 10px;font-size:14px}
.kw348-grid{display:grid;grid-auto-flow:column;grid-auto-columns:max(128px,calc((100% - 70px) / 8));grid-template-columns:none!important;gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding-bottom:4px;scroll-snap-type:x proximity}
.kw348-card{padding:7px 8px;gap:3px;scroll-snap-align:start}
.kw348-card .kw342-img{aspect-ratio:auto;height:78px}
.kw348-card .kw342-name{font-size:12px;min-height:2.5em}
.kw348-why{font-size:10.5px;min-height:0;margin:0 0 2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kw348-card .kw342-row{margin-top:auto}
.kw348-card .kw342-price{font-size:13.5px}
.kw348-card .kw342-plus,.kw348-done{width:28px;height:28px;font-size:17px;line-height:28px}
.kw348-card .kw342-badge{font-size:11px;padding:1px 6px}
@media (max-width:560px){#kw342-acc .kw348-top,#kw342-acc .kw348-cats{padding:14px}}

/* 0.7.350: „W cenie” */
.kw348-inc{background:#f4faf8;border-color:#bfe0d8}
.kw348-tag{position:absolute;top:4px;left:4px;background:#0f6f66;color:#fff;font-size:9.5px;font-weight:800;letter-spacing:.05em;padding:2px 6px;border-radius:6px}
.kw348-incp{color:#0f6f66!important;font-size:13px!important}
.kw348-incp small{display:block;font-size:10.5px;font-weight:600;color:#6b7b80}
.kw348-incinfo{margin:4px 0 0!important;font-size:12.5px!important;color:#0f6f66!important}

/* 0.7.351: grupy, × na kafelkach, nagłówek „Pozostałe akcesoria” */
.kw348-grid{display:flex!important;gap:10px;align-items:stretch;container-type:inline-size}
.kw348-grp{display:flex;flex-direction:column;gap:5px;flex:0 0 auto}
.kw348-gl{font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#0f6f66;border-top:2px solid #0f6f66;padding-top:3px;white-space:nowrap}
.kw348-gt{display:flex;gap:10px;flex:1}
.kw348-gt>.kw348-card{flex:0 0 max(128px,calc((100cqw - 70px) / 8));width:max(128px,calc((100cqw - 70px) / 8));box-sizing:border-box}
.kw348-card{position:relative}
.kw348-x{all:unset;position:absolute;top:3px;right:3px;z-index:3;width:20px;height:20px;border-radius:50%;background:rgba(23,37,43,.08);color:#4c5d62;font-size:15px;line-height:19px;text-align:center;cursor:pointer;font-weight:700}
.kw348-x:hover{background:#c0392b;color:#fff}
.kw348-card .kw342-badge{right:auto;left:4px;top:auto;bottom:4px}
.kw348-inc .kw342-badge{bottom:4px}
.kw348-rest{border-style:dashed}
.kw348-unhide{all:unset;cursor:pointer;font-size:12px;color:#4c5d62;text-decoration:underline;margin-top:2px}
.kw351-cathead{margin:0 0 12px}.kw351-cathead h2{margin:0;font-size:20px;font-weight:900;color:#17252b!important}.kw351-cathead p{margin:2px 0 0;font-size:13px;color:#4c5d62!important}
html.kw-staged[data-kw-ux-step="5"] #kw342-acc .kw351-cathead h2,html.kw-staged[data-kw-ux-step="5"] #kw342-acc .kw348-side h3{color:#17252b!important;-webkit-text-fill-color:#17252b}
html.kw-staged[data-kw-ux-step="5"] #kw342-acc .kw351-cathead p{color:#4c5d62!important}
/* ===== 0.7.355 — ładowanie akcesoriów ===== */
.kw342-msg.kw355-hide{display:none}
.kw355-load{margin:14px 0 4px}
.kw355-top{display:flex;align-items:center;gap:14px}
.kw355-spin{flex:0 0 auto;width:34px;height:34px;border-radius:50%;border:4px solid rgba(217,212,0,.25);border-top-color:#d9d400;animation:kw355spin .8s linear infinite;box-sizing:border-box}
.kw355-more .kw355-spin{width:18px;height:18px;border-width:3px}
.kw355-more{display:flex;align-items:center;justify-content:center;gap:8px}
.kw355-say{display:flex;flex-direction:column;gap:2px;min-width:0}
.kw355-say b{font-size:16px;font-weight:900;color:inherit}
.kw355-msgs{position:relative;display:block;height:20px;overflow:hidden}
.kw355-msgs em{position:absolute;left:0;top:0;font-style:normal;font-size:13.5px;opacity:.75;white-space:nowrap;animation:kw355msg 8s infinite;opacity:0}
.kw355-msgs em:nth-child(2){animation-delay:2s}.kw355-msgs em:nth-child(3){animation-delay:4s}.kw355-msgs em:nth-child(4){animation-delay:6s}
.kw355-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.kw355-bar{height:6px;border-radius:99px;background:rgba(127,140,145,.22);overflow:hidden;margin:14px 0 16px}
.kw355-bar i{display:block;height:100%;width:92%;border-radius:inherit;background:linear-gradient(90deg,#d9d400,#f4f10f);transform-origin:left;animation:kw355bar 9s cubic-bezier(.12,.75,.2,1) forwards}
.kw355-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.kw342-grid .kw355-sk{min-height:220px}
.kw355-sk{border-radius:14px;background:rgba(127,140,145,.10);padding:12px;display:flex;flex-direction:column;gap:9px;position:relative;overflow:hidden}
.kw355-sk i{display:block;aspect-ratio:1/1;border-radius:10px;background:rgba(127,140,145,.20)}
.kw355-sk b{display:block;height:11px;border-radius:6px;background:rgba(127,140,145,.20)}.kw355-sk b+b{width:60%}
.kw355-sk em{display:block;height:30px;width:55%;border-radius:9px;background:rgba(217,212,0,.28);margin-top:auto}
.kw355-sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:kw355shine 1.3s infinite}
@keyframes kw355spin{to{transform:rotate(360deg)}}
@keyframes kw355bar{from{transform:scaleX(.04)}to{transform:scaleX(1)}}
@keyframes kw355shine{to{transform:translateX(100%)}}
@keyframes kw355msg{0%{opacity:0;transform:translateY(8px)}5%,22%{opacity:.8;transform:none}27%,100%{opacity:0;transform:translateY(-8px)}}
@media (prefers-reduced-motion:reduce){.kw355-spin,.kw355-sk::after,.kw355-bar i{animation:none}.kw355-msgs em{animation:none}.kw355-msgs em:first-child{opacity:.8}}
