.bdk{color-scheme:light;font-family:'TT Runs', Inter, Arial, sans-serif;color:#111;--g:#F4F2EF;--l:#E6E2DC;--a:#8B6B4E}
.bdk *{box-sizing:border-box}
.bdk-wrap{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start}
.bdk-step{border:1px solid var(--l);border-radius:20px;margin-bottom:14px;overflow:hidden;background:#fff}
.bdk-head{display:flex;align-items:center;gap:16px;padding:20px 24px;cursor:pointer;user-select:none}
.bdk-num{width:34px;height:34px;border-radius:50%;background:var(--g);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex:0 0 34px}
.bdk-step.done .bdk-num{background:#111;color:#fff}
.bdk-title{font-size:19px;font-weight:500;flex:1}
.bdk-val{font-size:14px;color:#5E5E5E;text-align:right}
.bdk-body{display:none;padding:0 24px 24px}
.bdk-step.open .bdk-body{display:block}
.bdk-step.open .bdk-head{padding-bottom:12px}
.bdk-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.bdk-tab{border:1px solid var(--l);background:#fff;border-radius:40px;padding:8px 16px;font:inherit;font-size:13px;cursor:pointer;color:#111;-webkit-appearance:none;appearance:none}
.bdk-tab.on{background:#111;color:#fff;border-color:#111}
.bdk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.bdk-grid.wide{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.bdk-opt{border:1.5px solid var(--l);border-radius:16px;overflow:hidden;cursor:pointer;background:#fff;transition:.15s;text-align:left;padding:0;font:inherit;color:#111;-webkit-appearance:none;appearance:none}
.bdk-opt:hover{border-color:#999}
.bdk-opt.on{border-color:#111;box-shadow:0 0 0 1px #111}
.bdk-opt img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#fff}
.bdk-opt.contain img{object-fit:contain;padding:8px}
.bdk-opt span{display:block;padding:10px 12px;font-size:14px;font-weight:500}
.bdk-opt small{display:block;padding:0 12px 12px;margin-top:-6px;color:#8A8A8A;font-size:12px;font-weight:400;line-height:1.4}
.bdk-chips{display:flex;gap:10px;flex-wrap:wrap}
.bdk-chip{border:1.5px solid var(--l);border-radius:40px;padding:11px 20px;background:#fff;font:inherit;font-size:14px;cursor:pointer;color:#111;-webkit-appearance:none;appearance:none;-webkit-text-fill-color:currentColor}
.bdk-chip.on{border-color:#111;background:#111;color:#fff}
.bdk input,.bdk textarea{color:#111;background:#fff}
.bdk-sw{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.bdk-sw button{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:12px;cursor:pointer;color:#5E5E5E}
.bdk-sw i{width:40px;height:40px;border-radius:50%;border:1px solid #ccc;display:block}
.bdk-sw button.on i{box-shadow:0 0 0 2px #fff,0 0 0 4px #111}
.bdk-sw button.on{color:#111;font-weight:600}
.bdk-label{font-size:13px;letter-spacing:1.4px;text-transform:uppercase;color:var(--a);font-weight:600;margin:18px 0 10px}
.bdk-label:first-child{margin-top:0}
.bdk-hint{background:#FFF6E5;color:#7A5A3E;border-radius:14px;padding:12px 16px;font-size:14px;line-height:1.5;margin:-4px 0 16px}
.bdk-hint button{display:inline-block;margin-left:6px;border:0;background:#111;color:#fff;border-radius:30px;padding:6px 14px;font:inherit;font-size:13px;cursor:pointer}
.bdk-note{font-size:13px;color:#8A8A8A;margin-top:12px}
.bdk input[type=text]{width:100%;border:1px solid var(--l);border-radius:14px;padding:14px 16px;font:inherit;font-size:15px}
.bdk-check{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--l);font-size:15px;cursor:pointer}
.bdk-check input{width:20px;height:20px;accent-color:#111;margin-top:2px}
.bdk-check small{display:block;color:#8A8A8A;font-size:13px}
.bdk-next{margin-top:18px;border:0;border-radius:40px;background:#111;color:#fff;font:inherit;font-size:14px;font-weight:500;padding:13px 26px;cursor:pointer}
.bdk-next:disabled{opacity:.3;cursor:default}
.bdk-sum{position:sticky;top:110px;background:var(--g);border-radius:20px;overflow:hidden}
.bdk-sum img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#fff}
.bdk-sum-in{padding:22px 24px}
.bdk-sum h3{margin:0 0 12px;font-size:28px;font-weight:500}
.bdk-sum dl{margin:0;font-size:14px}
.bdk-sum dl div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid var(--l)}
.bdk-sum dt{color:#8A8A8A}
.bdk-sum dd{margin:0;text-align:right;font-weight:500}
.bdk-go{display:block;text-align:center;margin-top:18px;border-radius:40px;background:#111;color:#fff;text-decoration:none;font-size:14px;font-weight:500;padding:14px}
@media(max-width:1000px){.bdk-wrap{grid-template-columns:1fr}.bdk-sum{position:static;order:-1}.bdk-sum img{aspect-ratio:16/9}}
@media(max-width:600px){.bdk-head{padding:16px}.bdk-body{padding:0 16px 18px}.bdk-grid{grid-template-columns:repeat(2,1fr)}.bdk-grid.wide{grid-template-columns:1fr 1fr}.bdk-val{display:none}}

/* Przyciski wtyczki Bed Design – nadpisanie różowego koloru motywu */
.bdk .bdk-opt:hover,.bdk .bdk-opt:focus-visible{background:#111;color:#fff;border-color:#111}
.bdk .bdk-opt:hover small,.bdk .bdk-opt:focus-visible small{color:#CFCFCF}
.bdk .bdk-opt:focus:not(:hover){background:#fff;color:#111}
.bdk .bdk-opt.on:focus:not(:hover){border-color:#111}
.bdk .bdk-chip:hover,.bdk .bdk-tab:hover,.bdk .bdk-chip:focus-visible,.bdk .bdk-tab:focus-visible{background:#111;color:#fff;border-color:#111;-webkit-text-fill-color:#fff}
.bdk .bdk-chip:focus:not(:hover):not(.on),.bdk .bdk-tab:focus:not(:hover):not(.on){background:#fff;color:#111;-webkit-text-fill-color:#111}
.bdk .bdk-next:hover,.bdk .bdk-next:focus,.bdk .bdk-hint button:hover,.bdk .bdk-hint button:focus{background:#8B6B4E;color:#fff}
.bdk .bdk-next:disabled:hover{background:#111}
.bdk .bdk-sw button:hover,.bdk .bdk-sw button:focus{background:none;color:#111}
.bdk .bdk-fl button:hover,.bdk .bdk-fl button:focus,.bdk .bdk-fl button.on{background:#F4F2EF;color:#111}
.bdl .bdl-btn:hover,.bdl .bdl-btn:focus{background:#8B6B4E;color:#fff}
.bdl .bdl-btn.out:hover,.bdl .bdl-btn.out:focus{background:#111;color:#fff}
#bdai-btn:hover,#bdai-btn:focus{background:#8B6B4E;color:#fff}
#bdai .ch button:hover,#bdai .ch button:focus{background:#111;color:#fff;border-color:#111}
#bdai .ft button:hover,#bdai .ft button:focus{background:#8B6B4E;color:#fff}
#bdai .x:hover,#bdai .x:focus{background:none;color:#fff}
/* Zawijanie tekstu w przyciskach wtyczki (motyw ustawia nowrap) */
.bdk button,.bdl button,#bdai button{white-space:normal}
.bdk .bdk-opt span,.bdk .bdk-opt small{white-space:normal;overflow-wrap:break-word;hyphens:auto}
.bdk .bdk-opt span{line-height:1.3}
.bdk .bdk-chip,.bdk .bdk-tab,.bdl .bdl-btn,#bdai-btn{white-space:nowrap}

/* Przycisk „Wyślij zapytanie” w podsumowaniu konfiguratora */
.bdk a.bdk-go,.bdk a.bdk-go:visited{color:#fff;background:#111;transition:background .2s}
.bdk a.bdk-go:hover,.bdk a.bdk-go:focus{color:#fff;background:#8B6B4E}

/* Kafelki: zdjęcie zawsze u góry, czarne tylko pole z opisem */
.bdk .bdk-opt{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
.bdk .bdk-opt img{flex:none;background:#fff}

/* telefon: najpierw kroki konfiguratora, podsumowanie pod nimi (przed formularzem) */
@media(max-width:767px){.bdk-wrap .bdk-sum{order:1}}

.bdk-fsw{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:10px;max-height:340px;overflow-y:auto;padding:2px}
.bdk-fsw button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:none;cursor:pointer;font:inherit;font-size:12px;color:#3A3A3A}
.bdk-fsw img,.bdk-fsw i{display:block;width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover;border:2px solid transparent;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);background:#eee}
.bdk-fsw button:hover img{border-color:#C9B8A6}
.bdk-fsw button.on img,.bdk-fsw button.on i{border-color:#111;box-shadow:0 0 0 2px #fff inset}
.bdk-fsw button.on span{font-weight:600;color:#111}

.bdk-fsw button,.bdk-fsw button:hover,.bdk-fsw button:focus,.bdk-fsw button:active{position:relative;background:none!important;color:#3A3A3A!important;box-shadow:none!important;border:0!important;outline:0}
.bdk-fsw button:focus-visible img{outline:2px solid #111;outline-offset:2px}
.bdk-fsw button span{display:block;width:100%;padding:3px 0;border-radius:8px;line-height:1.2;transition:background .15s}
.bdk-fsw button.on span{background:#111;color:#fff;font-weight:600}
.bdk-fsw .bdk-zoom{position:absolute;top:5px;right:5px;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.92);color:#111;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.2);opacity:0;transition:opacity .15s}
.bdk-fsw button:hover .bdk-zoom,.bdk-fsw button.on .bdk-zoom{opacity:1}
@media (hover:none){.bdk-fsw .bdk-zoom{opacity:1;width:24px;height:24px}}
#bdk-lb{position:fixed;inset:0;z-index:99999;background:rgba(17,17,17,.82);display:none;align-items:center;justify-content:center;padding:16px}
#bdk-lb.on{display:flex}
.bdk-lb-in{position:relative;background:#fff;border-radius:18px;overflow:hidden;width:min(560px,100%);max-height:100%;display:flex;flex-direction:column}
.bdk-lb-img{position:relative;background:#eee}
.bdk-lb-img img{display:block;width:100%;aspect-ratio:1;object-fit:cover;max-height:calc(100vh - 140px)}
#bdk-lb button{font:inherit;cursor:pointer;border:0}
#bdk-lb .bdk-lb-x{position:absolute;top:10px;right:10px;z-index:2;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.95)!important;color:#111!important;font-size:24px;line-height:36px;padding:0}
#bdk-lb .bdk-lb-a{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.95)!important;color:#111!important;font-size:28px;line-height:38px;padding:0}
#bdk-lb .bdk-lb-a.l{left:10px}#bdk-lb .bdk-lb-a.r{right:10px}
.bdk-lb-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}
.bdk-lb-f b{display:block;font-size:17px;color:#111}.bdk-lb-f small{color:#8A8A8A;font-size:12px}
#bdk-lb .bdk-lb-s{background:#111!important;color:#fff!important;border-radius:999px;padding:12px 20px;font-size:14px;font-weight:600;white-space:nowrap}

.bdk-search{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:0 16px;border:1px solid #E6E2DC;border-radius:999px;background:#fff;color:#8A8A8A;transition:border-color .15s}
.bdk-search:focus-within{border-color:#111;color:#111}
.bdk-search input,.bdk-search input:focus{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:13px 0!important;font:inherit;font-size:15px;color:#111}
.bdk-search input::-webkit-search-cancel-button{cursor:pointer}
