/* Kalkulator w makiecie sklepu — ta sama szata co siatka/PDP; tylko środek. */
.hs-shop-makieta--page .hs-mobile-bar,
.hs-shop-makieta--page .hs-mobile-edges,
.hs-shop-makieta--page .hs-tree,
.hs-shop-makieta--page .hs-searchbox,
.hs-shop-makieta--page .hs-tools-block,
.hs-shop-makieta--page .hs-pager-side,
.hs-shop-makieta--page .hs-side-active,
.hs-shop-makieta--page .hs-side-hits{display:none!important}

.hs-kalk-shell-frame{display:block;width:100%}
.hs-kalk-shell-frame > .hs-shop{width:100%}



.hs-kalk-in-makieta{
  --hs-panel:#ffffff;
  --hs-panel2:#f4f6f8;
  --hs-line:#d5dbe3;
  --hs-txt:#161a20;
  --hs-dim:#5c6776;
  --hs-accent:#375EFB;
  --hs-ok:#61CE70;
  --hs-rail-text:#ffffff;
  --hs-rail-mute:#c5cbd6;
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 4px 28px;
  font:16px/1.5 "Space Grotesk",system-ui,sans-serif;
  color:var(--hs-rail-text)
}
.hs-kalk-in-makieta *,
.hs-kalk-in-makieta *::before,
.hs-kalk-in-makieta *::after{box-sizing:border-box}

.hs-kalk{color:var(--hs-txt)}

.hs-kalk-head{
  margin:0 0 10px;
  padding:0 0 8px;
  border-bottom:1px solid rgba(255,255,255,.1)
}
.hs-kalk-title{
  margin:0 0 8px;
  font-size:clamp(22px,3vw,28px);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.2;
  color:#fff
}
.hs-kalk-lead{
  margin:0;
  font-size:15px;
  line-height:1.4;
  color:var(--hs-rail-mute);
  max-width:42rem
}

/* WP / GeneratePress — bez białej ramki na ciemnym sklepie */
body.hs-kalk-on .inside-article,
body.hs-kalk-on article,
body.hs-kalk-on .entry-content,
body.hs-kalk-on #content,
body.hs-kalk-on .site-content,
body.hs-kalk-on .site-main,
body.hs-kalk-on .content-area{
  background:#282b33 !important;
  box-shadow:none !important;
  padding-top:0 !important;
  margin-top:0 !important
}
body.hs-kalk-on .hs-gutenberg-heading,
body.hs-kalk-on .hs-sticky-dock,
body.hs-kalk-on .hs-smart,
body.hs-kalk-on .hs-catalog-bar{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important
}
body.hs-kalk-on .hs-shop-makieta,
body.hs-kalk-on .hs-shop-makieta .hs-shop,
body.hs-kalk-on .hs-shop-makieta .hs-shop > main{
  padding-top:0 !important;
  margin-top:0 !important
}

/* Reklamy: kolumna siatki na całą wysokość środka, pasek w środku jedzie ze wzrokiem. */
html:has(body.hs-kalk-on),
body.hs-kalk-on{
  overflow-x:clip !important
}
@media(min-width:1101px){
  body.hs-kalk-on .hs-shop-makieta .hs-shop{
    align-items:stretch !important
  }
  body.hs-kalk-on .hs-shop-makieta #hs-left-sidebar,
  body.hs-kalk-on .hs-shop-makieta #hs-right-sidebar,
  body.hs-kalk-on .hs-shop-makieta .hs-shop > .hs-side,
  body.hs-kalk-on .hs-shop-makieta .hs-shop > .hs-side-tools,
  body.hs-kalk-on .hs-shop-makieta .hs-shop > .hs-side-pdp{
    position:relative !important;
    top:auto !important;
    align-self:stretch !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important
  }
  body.hs-kalk-on .hs-kalk-rail-stick{
    position:sticky !important;
    top:var(--hs-sticky-top, 0px) !important;
    z-index:45 !important;
    box-sizing:border-box;
    background:#282b33;
    max-height:calc(100vh - var(--hs-sticky-top, 0px) - 8px);
    overflow-x:hidden;
    overflow-y:auto
  }
}

.hs-kalk-tabs{
  display:flex;gap:8px;margin:0 0 0;
  border-bottom:0
}
.hs-kalk-tab{
  flex:1;min-height:44px;padding:0 12px;
  border:0;border-radius:0;
  background:#375EFB;color:#fff;
  font:700 14px/1.1 "Space Grotesk",sans-serif;
  cursor:pointer;letter-spacing:.02em
}
/* Sklep maluje KAŻDY button na niebiesko !important — przebijamy tym samym łańcuchem. */
.hs-shop-makieta :is(button,.hs-btn).hs-kalk-tab:not(.hs-tplus):not(.hs-clr):not(.hs-qv-x):not(.hs-sku-copy):not(.hs-chip-x):not(.hs-qv-btn):not(.hs-fav-btn):not(.hs-deals-fab):not(.hs-deals-open-btn):not(.hs-deals-modal-close):not(.hs-pdp-promo-set-qty),
.hs-shop-makieta button.hs-kalk-tab,
.hs-kalk-in-makieta .hs-kalk-tab{
  background:#375EFB !important;
  border:0 !important;
  border-color:#375EFB !important;
  color:#fff !important;
  border-radius:0 !important
}
.hs-shop-makieta :is(button,.hs-btn).hs-kalk-tab:not(.hs-tplus):not(.hs-clr):not(.hs-qv-x):not(.hs-sku-copy):not(.hs-chip-x):not(.hs-qv-btn):not(.hs-fav-btn):not(.hs-deals-fab):not(.hs-deals-open-btn):not(.hs-deals-modal-close):not(.hs-pdp-promo-set-qty):hover,
.hs-shop-makieta button.hs-kalk-tab:hover,
.hs-kalk-in-makieta .hs-kalk-tab:hover{
  background:#61CE70 !important;
  border-color:#61CE70 !important;
  color:#fff !important
}
.hs-shop-makieta :is(button,.hs-btn).hs-kalk-tab.is-on:not(.hs-tplus):not(.hs-clr):not(.hs-qv-x):not(.hs-sku-copy):not(.hs-chip-x):not(.hs-qv-btn):not(.hs-fav-btn):not(.hs-deals-fab):not(.hs-deals-open-btn):not(.hs-deals-modal-close):not(.hs-pdp-promo-set-qty),
.hs-shop-makieta button.hs-kalk-tab.is-on,
.hs-shop-makieta button.hs-kalk-tab[aria-selected="true"],
.hs-kalk-in-makieta .hs-kalk-tab.is-on,
.hs-kalk-in-makieta .hs-kalk-tab[aria-selected="true"]{
  background:#61CE70 !important;
  border-color:#61CE70 !important;
  color:#fff !important
}

.hs-kalk-panel{
  background:var(--hs-panel);
  border:1px solid var(--hs-line);
  padding:18px 18px 14px;
  margin:8px 0 14px;
  color:var(--hs-txt)
}
.hs-kalk-h2{
  margin:0 0 12px;
  font-size:18px;font-weight:800;color:var(--hs-txt)
}
.hs-kalk-lab{
  display:block;
  font-size:12px;font-weight:800;margin:0 0 8px;
  color:var(--hs-dim);text-transform:uppercase;letter-spacing:.05em
}
.hs-kalk-row{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}

.hs-kalk-input,
.hs-kalk-field input,
.hs-kalk-select{
  min-height:44px;height:auto;padding:10px 12px;
  border:2px solid var(--hs-line);border-radius:0;
  font:700 15px/1.2 "Space Grotesk",sans-serif;
  background:#fff;color:var(--hs-txt);width:100%
}
.hs-kalk-row .hs-kalk-input{flex:1;min-width:180px;width:auto}

/* Guziki = jak sklep (.hs-btn) */
.hs-kalk-btn,
.hs-kalk .hs-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 18px;
  border:0;border-radius:0;
  background:#375EFB!important;color:#fff!important;
  font:700 14px/1 "Space Grotesk",sans-serif;
  cursor:pointer;text-decoration:none;white-space:nowrap
}
.hs-kalk-btn:hover,
.hs-kalk .hs-btn:hover{
  background:#61CE70!important;color:#fff!important
}
.hs-kalk-btn-ghost{
  background:transparent!important;color:#375EFB!important;
  border:2px solid #375EFB!important
}
.hs-kalk-btn-ghost:hover{
  background:#61CE70!important;border-color:#61CE70!important;color:#fff!important
}

.hs-kalk-hint{margin:10px 0 0;font-size:13px;color:var(--hs-dim);min-height:1.2em}
.hs-kalk-hint[hidden]{display:none!important}

.hs-kalk-wiz-step{margin:0 0 6px;font-size:12px;font-weight:700;color:var(--hs-dim);text-transform:uppercase;letter-spacing:.04em}
.hs-kalk-wiz-q{margin:0 0 14px;font-size:18px;font-weight:800;color:var(--hs-txt)}
.hs-kalk-wiz-body{margin:0 0 14px}
.hs-kalk-wiz-nav{display:flex;gap:10px;flex-wrap:wrap}
.hs-kalk-wiz-nav [hidden],
.hs-kalk-wiz-next[hidden]{display:none!important}
.hs-kalk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.hs-kalk-choices{display:flex;flex-wrap:wrap;gap:8px}
.hs-kalk-choice{
  min-height:44px;padding:0 14px;border:2px solid var(--hs-line);border-radius:0;
  background:#fff;color:var(--hs-txt);font:700 14px/1 "Space Grotesk",sans-serif;cursor:pointer
}
.hs-kalk-kinds{display:flex;flex-wrap:wrap;gap:8px}
.hs-kalk-kind{
  min-height:48px;padding:0 18px;border:2px solid #375EFB;border-radius:0;
  background:#375EFB;color:#fff;font:700 15px/1 "Space Grotesk",sans-serif;cursor:pointer
}
.hs-shop-makieta :is(button,.hs-btn).hs-kalk-kind:not(.hs-tplus):not(.hs-clr):not(.hs-qv-x):not(.hs-sku-copy):not(.hs-chip-x):not(.hs-qv-btn):not(.hs-fav-btn):not(.hs-deals-fab):not(.hs-deals-open-btn):not(.hs-deals-modal-close):not(.hs-pdp-promo-set-qty),
.hs-shop-makieta button.hs-kalk-kind,
.hs-shop-makieta button.hs-kalk-choice,
.hs-kalk-in-makieta .hs-kalk-kind{
  background:#375EFB !important;
  border:2px solid #375EFB !important;
  border-color:#375EFB !important;
  color:#fff !important;
  border-radius:0 !important
}
.hs-shop-makieta :is(button,.hs-btn).hs-kalk-kind:not(.hs-tplus):not(.hs-clr):not(.hs-qv-x):not(.hs-sku-copy):not(.hs-chip-x):not(.hs-qv-btn):not(.hs-fav-btn):not(.hs-deals-fab):not(.hs-deals-open-btn):not(.hs-deals-modal-close):not(.hs-pdp-promo-set-qty):hover,
.hs-shop-makieta button.hs-kalk-kind:hover,
.hs-shop-makieta button.hs-kalk-choice:hover,
.hs-kalk-in-makieta .hs-kalk-kind:hover{
  background:#61CE70 !important;
  border-color:#61CE70 !important;
  color:#fff !important
}
.hs-kalk-choice.is-on,
.hs-kalk-choice[aria-pressed="true"],
.hs-kalk-kind.is-on,
.hs-kalk-kind[aria-pressed="true"],
.hs-shop-makieta :is(button,.hs-btn).hs-kalk-kind.is-on:not(.hs-tplus):not(.hs-clr):not(.hs-qv-x):not(.hs-sku-copy):not(.hs-chip-x):not(.hs-qv-btn):not(.hs-fav-btn):not(.hs-deals-fab):not(.hs-deals-open-btn):not(.hs-deals-modal-close):not(.hs-pdp-promo-set-qty),
.hs-shop-makieta button.hs-kalk-kind.is-on,
.hs-shop-makieta button.hs-kalk-kind[aria-pressed="true"],
.hs-shop-makieta button.hs-kalk-choice.is-on,
.hs-kalk-in-makieta .hs-kalk-kind.is-on,
.hs-kalk-in-makieta .hs-kalk-kind[aria-pressed="true"]{
  background:#61CE70 !important;
  border:2px solid #1f7a3a !important;
  border-color:#1f7a3a !important;
  color:#fff !important;
  box-shadow:inset 0 0 0 2px #fff
}
.hs-kalk-wiz-body.is-invalid .hs-kalk-choice,
.hs-kalk-wiz-body.is-invalid .hs-kalk-input,
.hs-kalk-wiz-body.is-invalid .hs-kalk-select{outline:2px solid #b91c1c;outline-offset:2px}

/* Kafelek wyniku — jak karta w sklepie */
.hs-kalk-tile{
  background:var(--hs-panel);
  border:1px solid var(--hs-line);
  margin:0 0 14px;padding:0;color:var(--hs-txt)
}
.hs-kalk-tile[hidden],
.hs-kalk-result[hidden],
.hs-kalk-buybar[hidden]{display:none!important}

.hs-kalk-tile-inner{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:16px}
@media(max-width:640px){
  .hs-kalk-tile-inner{grid-template-columns:1fr}
}
.hs-kalk-tile-media{background:var(--hs-panel2);display:flex;align-items:center;justify-content:center;min-height:120px}
.hs-kalk-tile-img{max-width:100%;max-height:160px;object-fit:contain}
.hs-kalk-tile-ph{padding:24px;font-weight:800;color:var(--hs-dim)}
.hs-kalk-tile-kind{margin:0 0 4px;font-size:12px;font-weight:800;color:#375EFB;text-transform:uppercase;letter-spacing:.04em}
.hs-kalk-tile-name{margin:0 0 6px;font-size:17px;font-weight:800;line-height:1.25;color:var(--hs-txt)}
.hs-kalk-tile-sku{margin:0 0 10px;font-size:13px;color:var(--hs-dim)}
.hs-kalk-buy-wrap,
.hs-shop-makieta .hs-kalk-buy-wrap{
  margin:0 0 12px;display:flex!important;gap:8px!important;flex-wrap:nowrap!important;width:100%
}
.hs-kalk-buy,
.hs-kalk-cardbtn,
.hs-shop-makieta .hs-kalk-buy-wrap a.hs-kalk-buy.hs-btn,
.hs-shop-makieta .hs-kalk-buy-wrap a.hs-kalk-cardbtn.hs-btn{
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:1 1 0!important;width:auto!important;min-width:0!important;
  height:auto!important;min-height:44px!important;padding:0 14px!important;
  font:700 14px/1.15 "Space Grotesk",sans-serif!important;text-decoration:none!important;
  border:0!important;color:#fff!important;overflow:visible!important;white-space:nowrap!important
}
.hs-kalk-buy,
.hs-shop-makieta .hs-kalk-buy-wrap a.hs-kalk-buy.hs-btn{
  background:#61CE70!important;border-color:#61CE70!important
}
.hs-kalk-buy:hover,
.hs-shop-makieta .hs-kalk-buy-wrap a.hs-kalk-buy.hs-btn:hover{
  background:#375EFB!important;border-color:#375EFB!important;color:#fff!important
}
.hs-kalk-cardbtn,
.hs-shop-makieta .hs-kalk-buy-wrap a.hs-kalk-cardbtn.hs-btn{
  background:#375EFB!important;border-color:#375EFB!important
}
.hs-kalk-cardbtn:hover,
.hs-shop-makieta .hs-kalk-buy-wrap a.hs-kalk-cardbtn.hs-btn:hover{
  background:#61CE70!important;border-color:#61CE70!important;color:#fff!important
}
@media(max-width:640px){
  .hs-kalk-buy-wrap,
  .hs-shop-makieta .hs-kalk-buy-wrap{flex-wrap:wrap!important}
}
.hs-kalk-tile-specs{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:8px 14px
}
.hs-kalk-tile-specs li{
  display:flex;gap:6px;align-items:baseline;
  font-size:13px;color:var(--hs-dim)
}
.hs-kalk-tile-specs li span{font-weight:700}
.hs-kalk-tile-specs li strong{color:var(--hs-txt);font-weight:800}
.hs-kalk-tile-price{margin-top:10px;font-size:16px;font-weight:800;color:var(--hs-txt)}

.hs-kalk-result{
  background:var(--hs-panel);
  border:1px solid var(--hs-line);
  margin:0 0 14px;padding:16px 18px;color:var(--hs-txt)
}
.hs-kalk-meta{margin:0 0 10px;font-size:14px;color:var(--hs-dim)}
.hs-kalk-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.hs-kalk-table{width:100%;border-collapse:collapse;font-size:14px}
.hs-kalk-table th,
.hs-kalk-table td{
  padding:10px 12px;border-bottom:1px solid var(--hs-line);
  text-align:left;vertical-align:middle
}
.hs-kalk-table thead th{
  font-size:12px;font-weight:800;color:var(--hs-dim);
  text-transform:uppercase;letter-spacing:.03em;background:var(--hs-panel2)
}
.hs-kalk-table tbody th{font-weight:800;color:var(--hs-txt);white-space:nowrap}
.hs-kalk-table tbody td{font-weight:700;color:var(--hs-txt)}

.hs-kalk-buybar{margin:0 0 14px}
.hs-kalk-buy-lg{width:100%;min-height:48px;font-size:15px}

.hs-kalk-disc{
  margin:8px 0 0;padding:12px 4px;
  font-size:13px;line-height:1.4;color:var(--hs-rail-mute)
}
.hs-kalk-disc strong{color:#fff}

.hs-kalk-err{margin:12px 0 0;color:#b91c1c;font-weight:800;font-size:15px}
.hs-kalk-nocut{
  margin:4px 0 0;
  padding:18px 16px;
  background:var(--hs-panel2);
  border-left:4px solid #375EFB;
  font-size:16px;
  font-weight:700;
  line-height:1.45;
  color:var(--hs-txt)
}
