/* style hlavička a patička + 2 krok */
.kalkul_okna_3{
  --text:#1f2a37;
  --muted:#6b7280;
  --line:#e5e7eb;
  --panel:#ffffff;

  /* obecné barvy */
  --blue:#2f6ea7;
  --green:#2f8a2a;

  /* stepper */
  --ks-rail:#eef2f6;
  --ks-border:#d6dde6;
  --ks-text:#3a4a5e;
  --ks-text-soft:#5b6b7b;
  --ks-blue:#2f6ea7;
  --ks-blue2:#2a6295;
  --ks-notch:18px;
}

/* ===========================================
   IZOLACE: nic mimo .kalkul_okna_3
   =========================================== */
.kalkul_okna_3,
.kalkul_okna_3 *{ box-sizing:border-box; }

/* místo body – aplikujeme jen na wrapper */
.kalkul_okna_3{
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#ffffff;
}

/* Top photo strip */
.kalkul_okna_3 .hero{
  width:100%;
  height:92px;
  overflow:hidden;
  background:#ddd;
  border-bottom:1px solid #d6d6d6;
}
.kalkul_okna_3 .hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Page */
.kalkul_okna_3 .wrap{
  max-width:870px;
  margin:0 auto;
  padding:28px 18px 40px;
}

.kalkul_okna_3 h1{
  margin:10px 0 10px;
  font-size:34px;
  letter-spacing:.2px;
  text-align:center;
  color:#243447;
}
.kalkul_okna_3 .subhead{
  text-align:center;
  color:#3f4b59;
  line-height:1.45;
  font-size:15px;
  margin:0 auto 18px;
  max-width:680px;
}

/* ====== STEPPER ====== */
.kalkul_okna_3 .ks-stepper{
  max-width:660px;
  margin:18px auto 0;
  height:44px;
  display:flex;
  background:var(--ks-rail);
  border:1px solid var(--ks-border);
  border-radius:7px;
  overflow:hidden;
  align-items:stretch;
}
.kalkul_okna_3 .ks-stepper .ks-step{
  flex:1 1 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font:700 14px/1 Arial, Helvetica, sans-serif;
  color:var(--ks-text-soft);
  padding:0 10px;
  position:relative;
  user-select:none;
  white-space:nowrap;
  background:transparent;
}
.kalkul_okna_3 .ks-stepper .ks-step + .ks-step{
  box-shadow: inset 1px 0 0 rgba(214,221,230,.9);
}
.kalkul_okna_3 .ks-stepper .ks-ico{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.kalkul_okna_3 .ks-stepper .ks-label{ transform: translateY(0.5px); }

.kalkul_okna_3 .ks-stepper .ks-box{
  width:15px;
  height:15px;
  border:2px solid #a9b4c2;
  border-radius:2px;
  background:#fff;
}

/* ACTIVE: levý výkus dovnitř, pravá špička ven (celistvé) */
.kalkul_okna_3 .ks-stepper .ks-active{
  background:linear-gradient(var(--ks-blue), var(--ks-blue2));
  color:#fff;
  font-weight:800;
  z-index:5;

  clip-path: polygon(
    0 0,
    calc(100% - var(--ks-notch)) 0,
    100% 50%,
    calc(100% - var(--ks-notch)) 100%,
    0 100%,
    var(--ks-notch) 50%
  );

  margin-right: calc(var(--ks-notch) * -1);
  padding-right: var(--ks-notch);

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.kalkul_okna_3 .ks-stepper .ks-active + .ks-step{
  box-shadow:none !important;
  padding-left: var(--ks-notch);
}

.kalkul_okna_3 .ks-stepper .ks-active svg{
  width:18px; height:18px;
  color:#fff;
  display:block;
}

.kalkul_okna_3 .step-note{
  text-align:center;
  color:#667085;
  font-size:13px;
  margin:10px 0 14px;
}
.kalkul_okna_3 .step-note b{ color:#2a3a4d; }

.kalkul_okna_3 hr.sep{
  border:none;
  height:1px;
  background:var(--line);
  margin:14px 0 22px;
}

.kalkul_okna_3 h2{
  text-align:center;
  margin:0 0 10px;
  font-size:26px;
  color:#243447;
}
.kalkul_okna_3 .model{
  text-align:center;
  color:#4b5563;
  font-size:14px;
  margin:0 auto 18px;
  max-width:760px;
  line-height:1.55;
}

/* ====== Kalkulátor (graf) ====== */
.kalkul_okna_3 .container{
  max-width: 870px;
  margin: 0 auto;
}
.kalkul_okna_3 .chart-wrapper{
  height: 420px;
  position: relative;
  margin-top: 8px;
}
.kalkul_okna_3 .badge{
  display: inline-block;
  padding: 10px 16px;
  background: #4A90E2;
  color: #fff;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: 800;
}
.kalkul_okna_3 .options{
  margin-top: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.kalkul_okna_3 .options h3{
  margin: 0 0 10px;
  font-size: 16px;
  color:#243447;
}
.kalkul_okna_3 .options label{
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 8px 10px;
  background: #f3f3f3;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
}
.kalkul_okna_3 .options label input{
  margin-right: 8px;
}
.kalkul_okna_3 .options label span.price{
  font-weight: normal;
  font-size: 0.95em;
  color:#374151;
}
.kalkul_okna_3 .note{
  margin: 10px auto 0;
  font-style: italic;
  color: #444;
  max-width: 760px;
  text-align:center;
}

/* ====== Mini tabulka: textový přepis grafu ====== */
.kalkul_okna_3 .ks-mini-breakdown{
  max-width: 560px;
  margin: 16px auto 0;
  border: 1px solid #d9e1ea;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.kalkul_okna_3 .ks-mini-breakdown-head{
  background: #e9eff5;
  border-bottom: 1px solid #d9e1ea;
  padding: 10px 12px;
  font-weight: 900;
  color: #243447;
  font-size: 14px;
}
.kalkul_okna_3 .ks-mini-breakdown-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.kalkul_okna_3 .ks-mini-breakdown-table td{
  padding: 9px 12px;
  border-bottom: 1px solid #eef2f6;
  color: #344a5f;
}
.kalkul_okna_3 .ks-mini-breakdown-table td:last-child{
  text-align: right;
  white-space: nowrap;
  font-weight: 900;
  color: #1d4e89;
}
.kalkul_okna_3 .ks-mini-breakdown-total{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 10px 12px;
  background: #f8fafc;
  font-weight: 900;
  color: #111827;
}
.kalkul_okna_3 .ks-mini-breakdown-total strong{
  color: #1d4e89;
}

/* ====== Shrnutí (před mini tabulkou) ====== */
.kalkul_okna_3 .ks-price-summary{
  max-width: 760px;
  margin: 18px auto 0;
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.kalkul_okna_3 .ks-price-summary-head{
  background:#e9eff5;
  border-bottom:1px solid #d9e1ea;
  padding:12px 14px;
}
.kalkul_okna_3 .ks-price-summary-title{
  font-weight: 900;
  color:#243447;
  font-size: 16px;
  line-height: 1.25;
}
.kalkul_okna_3 .ks-price-summary-body{
  padding: 14px 14px 16px;
  color:#4b5563;
  line-height: 1.65;
  font-size: 14px;
}
.kalkul_okna_3 .ks-price-summary-body p{ margin: 10px 0; }
.kalkul_okna_3 .ks-price-summary-body strong{ color:#111827; }

.kalkul_okna_3 .ks-price-summary-list{
  margin: 10px 0 10px;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
}
.kalkul_okna_3 .ks-price-summary-li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color:#344a5f;
}
.kalkul_okna_3 .ks-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2f6ea7;
  margin-top: 6px;
  flex: 0 0 10px;
}

.kalkul_okna_3 .ks-price-summary-next{
  margin-top: 12px;
  padding: 12px 12px;
  border-left: 4px solid #2f6ea7;
  background: #f3f6fa;
  border-radius: 10px;
}
.kalkul_okna_3 .ks-next-title{
  font-weight: 900;
  color:#243447;
  margin-bottom: 6px;
}
.kalkul_okna_3 .ks-next-text{
  color:#344a5f;
  font-weight: 700;
}

/* ====== CTA blok pod tabulkou ====== */
.kalkul_okna_3 .ks-price-cta{
  max-width: 760px;
  margin: 22px auto 0;
  padding: 0 12px;
}
.kalkul_okna_3 .ks-price-cta-inner{
  background: linear-gradient(135deg, #2f6ea7, #2a6295);
  color: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  text-align: center;
}
.kalkul_okna_3 .ks-price-cta-title{
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}
.kalkul_okna_3 .ks-price-cta-text{
  font-size: 14px;
  line-height: 1.6;
  opacity: .95;
}

/* Responsive */
@media (max-width: 640px){
  .kalkul_okna_3 .ks-stepper{ height:auto; flex-wrap:wrap; border-radius:10px; }
  .kalkul_okna_3 .ks-stepper .ks-step{ padding:12px 10px; flex:1 1 45%; justify-content:flex-start; }
  .kalkul_okna_3 .ks-stepper .ks-active{
    clip-path:none;
    margin-right:0;
    padding-right:10px;
  }
  .kalkul_okna_3 .ks-stepper .ks-active + .ks-step{
    box-shadow: inset 1px 0 0 rgba(214,221,230,.9) !important;
    padding-left:10px;
  }
}

/* ===== ACTION BUTTONS ===== */
.kalkul_okna_3 .actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin:18px 0 8px;
}
.kalkul_okna_3 .btn{
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 18px;
  line-height:1;
  border:2px solid transparent;
  transition:transform .02s ease, filter .15s ease;
  user-select:none;
}
.kalkul_okna_3 .btn:active{ transform:translateY(1px); }

.kalkul_okna_3 .btn-outline{
  background:#fff;
  border-color:#9fb2c6;
  color:#2a4a6a;
  min-width:290px;
  box-shadow:0 1px 0 rgba(0,0,0,.05);
}
.kalkul_okna_3 .btn-outline:hover{ filter:brightness(.98); }

.kalkul_okna_3 .btn-green{
  background:linear-gradient(#3aa535, #2f8a2a);
  border-color:#2c7f27;
  color:#fff;
  min-width:420px;
  padding:14px 22px;
  box-shadow:0 2px 0 rgba(0,0,0,.18);
}
.kalkul_okna_3 .btn-green:hover{ filter:brightness(1.02); }

.kalkul_okna_3 .btn-green .arrow{
  width:18px;
  height:18px;
  display:inline-block;
}

/* ===== BACKLINK ===== */
.kalkul_okna_3 .backlink{
  text-align:center;
  margin:10px 0 18px;
  color:#2a4a6a;
  font-size:14px;
}
.kalkul_okna_3 .backlink a{
  color:#2a4a6a;
  text-decoration:none;
  border-bottom:1px solid rgba(42,74,106,.35);
}
.kalkul_okna_3 .backlink a:hover{
  border-bottom-color:rgba(42,74,106,.85);
}

/* ===== FOOTER ===== */
.kalkul_okna_3 .ks-input-wrap{ margin-bottom: 12px; }

.kalkul_okna_3 .ks-footer{
  max-width: 800px;
  margin: 24px auto 0;
}
.kalkul_okna_3 .ks-footer .ks-footer-top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:start;
}
.kalkul_okna_3 .ks-footer .ks-box{
  background:#fff;
  border:1px solid #d9e1ea;
  border-radius:6px;
  padding:14px;
}
.kalkul_okna_3 .ks-footer .ks-box-head{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
.kalkul_okna_3 .ks-footer .ks-ico{
  width:22px;
  height:22px;
  color:#4b5563;
  flex:0 0 22px;
  transform: translateY(1px);
}
.kalkul_okna_3 .ks-footer .ks-ico svg{ width:22px; height:22px; display:block; }

.kalkul_okna_3 .ks-footer .ks-box-title{
  font-weight:700;
  color:#1f2a37;
  font-size:14px;
  line-height:1.2;
}
.kalkul_okna_3 .ks-footer .ks-box-title--plain{ margin-bottom:10px; }
.kalkul_okna_3 .ks-footer .ks-box-sub{
  margin-top:4px;
  font-size:12px;
  color:#6b7280;
  line-height:1.35;
}
.kalkul_okna_3 .ks-footer .ks-input{
  width:100%;
  padding:10px 10px;
  border:1px solid #cfd8e3;
  border-radius:4px;
  font-size:13px;
  outline:none;
}
.kalkul_okna_3 .ks-footer .ks-input:focus{
  border-color:#93b3d6;
  box-shadow:0 0 0 3px rgba(47,110,167,.12);
}
.kalkul_okna_3 .ks-footer .ks-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin:10px 0;
}
.kalkul_okna_3 .ks-footer .ks-btn{
  width:100%;
  border:0;
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
  padding:12px 14px;
  font-size:14px;
  line-height:1;
}
.kalkul_okna_3 .ks-footer .ks-btn-blue{
  background: linear-gradient(#3f7fbe,#2f6ea7);
  color:#fff;
  box-shadow:0 2px 0 rgba(0,0,0,.15);
}
.kalkul_okna_3 .ks-footer .ks-btn-green{
  background: linear-gradient(#3aa535,#2f8a2a);
  color:#fff;
  box-shadow:0 2px 0 rgba(0,0,0,.15);
}
.kalkul_okna_3 .ks-footer .ks-arrow{
  margin-left:10px;
  font-size:18px;
  font-weight:900;
}
.kalkul_okna_3 .ks-footer .ks-note{
  margin-top:10px;
  font-size:12px;
  color:#6b7280;
  text-align:center;
}

.kalkul_okna_3 .ks-footer-bottom{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  margin-top:18px;
  color:#6b7280;
}
.kalkul_okna_3 .ks-footer-bottom,
.kalkul_okna_3 .ks-footer-bottom *{
  font-size:15px;
  line-height:1.55;
}
.kalkul_okna_3 .ks-footer-bottom .ks-bottom-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  font-weight:600;
  color:#6b7280;
}
.kalkul_okna_3 .ks-footer-bottom .ks-gt{
  color:#2f6ea7;
  font-weight:900;
  flex:0 0 auto;
  transform: translateY(1px);
}
.kalkul_okna_3 .ks-footer-bottom .ks-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.kalkul_okna_3 .ks-footer-bottom .ks-li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#4b5563;
}
.kalkul_okna_3 .ks-footer-bottom .ks-par{
  color:#6b7280;
  margin-bottom:12px;
}
.kalkul_okna_3 .ks-footer-bottom a.ks-link{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#2f6ea7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kalkul_okna_3 .ks-footer-bottom a.ks-link:hover{
  filter: brightness(0.95);
}

@media (max-width: 760px){
  .kalkul_okna_3 .ks-footer .ks-footer-top{ grid-template-columns: 1fr; }
  .kalkul_okna_3 .ks-footer .ks-footer-bottom{ grid-template-columns: 1fr; }
  .kalkul_okna_3 .ks-footer .ks-row{ grid-template-columns: 1fr; }
  .kalkul_okna_3 .btn-green{ min-width:100%; }
  .kalkul_okna_3 .btn-outline{ min-width:100%; }
}
@media (max-width: 860px){
  .kalkul_okna_3 .ks-footer-bottom{
    grid-template-columns: 1fr;
    gap:18px;
  }
}

.kalkul_okna_3 .ks-btn.ks-btn-blue.ks-proxy-submit{
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.kalkul_okna_3 .ks-proxy-submit.type-submit,
.kalkul_okna_3 .ks-proxy-submit.btn-type-2,
.kalkul_okna_3 .ks-proxy-submit.g-recaptcha{
  border: 0 !important;
}

/* zobraz checkboxy v kalkulačce 4.3.2026 */
/* ✅ ZVIDITELNI CHECKBOXY jen uvnitř .kalkul_okna_3 */
.kalkul_okna_3 .options label{
  display:flex;
  align-items:center;
  gap:10px;
}

.kalkul_okna_3 .options input[type="checkbox"]{
  position:static !important;
  opacity:1 !important;
  display:inline-block !important;
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  pointer-events:auto !important;
  -webkit-appearance:auto !important;
  appearance:auto !important;
  transform:none !important;
  clip:auto !important;
}

.kalkul_okna_3 .options input[type="checkbox"]::before,
.kalkul_okna_3 .options input[type="checkbox"]::after{
  content:none !important;
  display:none !important;
}

/* když je aktivní krok 26.2. */
.kalkul_okna_3 .ks-step.ks-active,
.kalkul_okna_3 .ks-step.ks-active .ks-label{
  color: #fff;
}

.kalkul_okna_3 .ks-step.ks-active svg path{
  stroke:#fff !important;
}