﻿/* ===  BLOKY === */


/* === Tip box === */
.tip-note{
  background: #eceef7;
  border: 0;
  border-left: 4px solid #009901;
  border-radius: 0;
  padding: 14px 16px;
  margin: 16px 0;
  box-shadow: none;


  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
}


/* Mini ochranná zóna kolem textového obsahu */
.tip-note__content{
  display: block;
  padding: 5px 6px;
}


/* „TIP →“ */
.tip-note__label{
  display: inline;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-right: 8px;
  color: #009901;
  white-space: nowrap;
}


/* Text */
.tip-note__text{
  display: inline;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
}


/* Odkaz uvnitř */
.tip-note__link{
  font-family: inherit;
  font-size: 16px;
  font-weight: inherit;
  line-height: inherit;
  color: #009901;
  text-decoration: none;
  text-underline-offset: 2px;
}


.tip-note__link:hover{
  color: #007a00;
  text-decoration: none;
}


.tip-note__link:focus-visible{
  outline: 3px solid rgba(0, 153, 1, 0.22);
  outline-offset: 2px;
  border-radius: 0;
}












/* === Info bloky 3 vedle sebe === */




.pk-tiles{
  --t:#0f172a;
  --m:#475569;
  --b:#e5edf5;
  --a:#0ea5e9;
  display:grid;
  gap:8px;
  margin:18px 0;
}


@media (min-width:900px){
  .pk-tiles{
    grid-template-columns:repeat(3,1fr);
    gap:14px;
  }
}


.pk-tile{
  border:1px solid var(--b);
  border-radius:6px;
  background:#edeff7;
  padding:16px 16px 14px;
  box-shadow:none;
  color:var(--t);
  margin:0 !important;
}


.pk-tile__icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:6px;
  background:#fff;
  color:var(--a);
  font-size:18px;
  margin:0 0 10px;
  border:1px solid #e3e6f0;
}


.pk-tile__title{
  font-size:1.55rem !important;
  font-weight:800 !important;
  line-height:1.2;
  letter-spacing:-.01em;
  margin:0 0 10px;
}


.pk-tile__text{
  margin:0;
  color:var(--m);
  line-height:1.45;
}








/* === USP bloky s emotikony === */


.pk-usp{
  --pk:#00a8ee;
  --bd:#e3e8f2;
  --txt:#24242e;


  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
  margin:16px 0;
}


.pk-usp__item{
  background:#f7f7fa;
  border:1px solid var(--bd);
  border-radius:8px;
  padding:16px 14px;
  text-align:center;
  box-shadow:none;
  box-sizing:border-box;
  flex:0 0 calc((100% - 48px) / 4);
  max-width:calc((100% - 48px) / 4);
}


/* Když jsou přesně 3 bloky, udělej z nich 3 sloupce na střed */
.pk-usp > .pk-usp__item:first-child:nth-last-child(3),
.pk-usp > .pk-usp__item:first-child:nth-last-child(3) ~ .pk-usp__item{
  flex:0 0 calc((100% - 32px) / 3);
  max-width:calc((100% - 32px) / 3);
}


/* Ikona bez kolečka */
.pk-usp__icon{
  width:auto;
  height:auto;
  margin:0 auto 10px;
  border:0;
  border-radius:0;
  color:var(--pk);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
}


.pk-usp__title{
  font-weight:800;
  color:var(--txt);
  font-size:16px;
  line-height:1.25;
}


.pk-usp__text{
  margin-top:6px;
  color:#5b6470;
  font-size:15px;
  line-height:1.45;
}


@media (max-width: 900px){
  .pk-usp__item,
  .pk-usp > .pk-usp__item:first-child:nth-last-child(3),
  .pk-usp > .pk-usp__item:first-child:nth-last-child(3) ~ .pk-usp__item{
    flex:0 0 calc((100% - 16px) / 2);
    max-width:calc((100% - 16px) / 2);
  }
}


@media (max-width: 520px){
  .pk-usp__item,
  .pk-usp > .pk-usp__item:first-child:nth-last-child(3),
  .pk-usp > .pk-usp__item:first-child:nth-last-child(3) ~ .pk-usp__item{
    flex:0 0 100%;
    max-width:100%;
  }
}










/* === 2 bloky text + obrázek === */


.sp-split {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0 0 40px;
}


.sp-split__text {
  flex: 1 1 55%;
  min-width: 0;
  padding: 24px 26px;
  background: #f7f8fc;
  border-left: 4px solid #009901;
  box-sizing: border-box;
}


.sp-split__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  background: #eceef7;
  border: 1px solid #d9dce8;
  border-radius: 999px;
  font: inherit;
  line-height: 1;
}


.sp-split__title {
  margin: 0 0 16px;
}


.sp-split__text p,
.sp-split__text ul,
.sp-split__text ol {
  margin: 0 0 12px;
}


.sp-split__text ul,
.sp-split__text ol {
  padding-left: 20px;
}


.sp-split__media {
  flex: 1 1 45%;
  min-width: 0;
  margin: 0;
}


.sp-split__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px; /* téměř ostré rohy */
}


.sp-split__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}


.sp-split--reverse {
  flex-direction: row-reverse;
}


.sp-split--reverse .sp-split__text {
  border-left: 0;
  border-right: 4px solid #009901;
}


@media (max-width: 860px) {
  .sp-split,
  .sp-split--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }


  .sp-split__text {
    padding: 20px 18px;
    border-left: 4px solid #009901;
    border-right: 0;
  }


  .sp-split--reverse .sp-split__text {
    border-left: 4px solid #009901;
    border-right: 0;
  }
}






/* === Průvodce krok za krokem === */




.step-guide,
.step-guide *{
  box-sizing:border-box;
}








/* Proměnné komponenty */
.step-guide{
  --sg-pad-x: 18px;     /* běžné vodorovné odsazení obsahu */
  --sg-pad-y: 16px;     /* svislé odsazení kroku */
  --sg-bleed-x: 18px;   /* o kolik se má krok roztáhnout do stran */
  --sg-gap: 12px;
}








/* Reset jen toho, co Shoptet často rozhází v blogu */
.step-guide ol,
.step-guide ul{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}




.step-guide li{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}




.step-guide p{
  margin:0 !important;
}








/* Karta */
.step-guide__card{
  background:#ffffff;
  border:1px solid #d9deea;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 1px 0 rgba(15,64,93,.05);
  width:100%;
}








/* Hlavička */
.step-guide__head{
  padding:14px var(--sg-pad-x) 10px !important;
  background:#edeff7;
  border-bottom:1px solid #d9deea;
}








/* Hlavní nadpis – bere styl z webu */
.step-guide__title{
  margin:0 !important;
  padding:0 !important;
}








/* Text pod nadpisem */
.step-guide__head .step-guide__subtitle,
.step-guide__head p.step-guide__subtitle{
  margin:6px 0 0 !important;
  padding:0 !important;
  font-size:14px !important;
  line-height:1.45 !important;
  color:#848792 !important;
}








/* Seznam kroků */
.step-guide__list{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}








/* Krok */
.step-guide__list > .step{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:var(--sg-gap);
  position:relative;
  background:#ffffff;




  margin-left:calc(var(--sg-bleed-x) * -1) !important;
  margin-right:calc(var(--sg-bleed-x) * -1) !important;




  padding-top:var(--sg-pad-y) !important;
  padding-bottom:var(--sg-pad-y) !important;
  padding-left:calc(var(--sg-pad-x) + var(--sg-bleed-x)) !important;
  padding-right:calc(var(--sg-pad-x) + var(--sg-bleed-x)) !important;




  /* oddělovací linka mezi kroky */
  box-shadow:inset 0 -1px 0 #eef1f7;
}




.step-guide__list > .step:last-child{
  box-shadow:none;
}








/* Číslo + linka */
.step__index{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}




.step__badge{
  width:28px;
  height:28px;
  border-radius:999px;
  background:#eceef7;
  border:1px solid #dce0ec;
  color:#323546;
  font-weight:700;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
}








/* Svislá spojnice */
.step__index:after{
  content:"";
  position:absolute;
  top:34px;
  left:50%;
  transform:translateX(-50%);
  width:2px;
  height:calc(100% - 34px);
  background:#dce0ec;
}




.step-guide__list > .step:last-child .step__index:after{
  display:none;
}








/* Obsah kroku */
.step__topline{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}




.step__heading{
  margin:0 !important;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
  color:#323546;
}




.step__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  background:#eceef7;
  color:#323546;
  font-size:12px;
  line-height:1.2;
  border:1px solid #dce0ec;
  white-space:nowrap;
  text-decoration:none;
}




.step__text{
  margin:6px 0 0 !important;
  font-size:14px;
  line-height:1.5;
  color:#323546;
}








/* Volitelně “hotovo” */
.step-guide__list > .step.is-done .step__badge{
  background:#eceef7;
  border-color:#dce0ec;
}








/* Mobil */
@media (max-width:640px){
  .step-guide{
    --sg-pad-x: 14px;
    --sg-pad-y: 14px;
    --sg-bleed-x: 14px;
    --sg-gap: 10px;
  }




  .step-guide__head{
    padding:12px var(--sg-pad-x) !important;
  }




  .step-guide__list > .step{
    grid-template-columns:32px 1fr;
  }




  .step-guide__head .step-guide__subtitle,
  .step-guide__head p.step-guide__subtitle{
    margin-top:2px !important;
  }
}