﻿/* === Perex  === */ 


body.type-post .pk-perex,
body.blog-detail .pk-perex,
body.article-detail .pk-perex,
.blog-article-detail .pk-perex,
.article-detail .pk-perex,
.post-detail .pk-perex,
.blog-detail .pk-perex,
body.type-page .pk-perex,
.page-detail .pk-perex,
.content-page .pk-perex,
.page-content .pk-perex {
  margin: -4px 0 24px !important;
  padding: 6px 0 0 !important;
  border-top: 1px solid #00ae9a !important;
}


body.type-post .pk-perex p,
body.blog-detail .pk-perex p,
body.article-detail .pk-perex p,
.blog-article-detail .pk-perex p,
.article-detail .pk-perex p,
.post-detail .pk-perex p,
.blog-detail .pk-perex p,
body.type-page .pk-perex p,
.page-detail .pk-perex p,
.content-page .pk-perex p,
.page-content .pk-perex p {
  margin: 0 0 1em !important;
  font-size: 18px !important;
  line-height: inherit !important;
  color: inherit !important;
}


body.type-post .pk-perex p:last-child,
body.blog-detail .pk-perex p:last-child,
body.article-detail .pk-perex p:last-child,
.blog-article-detail .pk-perex p:last-child,
.article-detail .pk-perex p:last-child,
.post-detail .pk-perex p:last-child,
.blog-detail .pk-perex p:last-child,
body.type-page .pk-perex p:last-child,
.page-detail .pk-perex p:last-child,
.content-page .pk-perex p:last-child,
.page-content .pk-perex p:last-child {
  margin-bottom: 0 !important;
}


body.type-post .pk-perex strong,
body.blog-detail .pk-perex strong,
body.article-detail .pk-perex strong,
.blog-article-detail .pk-perex strong,
.article-detail .pk-perex strong,
.post-detail .pk-perex strong,
.blog-detail .pk-perex strong,
body.type-page .pk-perex strong,
.page-detail .pk-perex strong,
.content-page .pk-perex strong,
.page-content .pk-perex strong {
  color: #5f5547 !important;
  font-weight: 700 !important;
}


body.type-post .pk-perex a,
body.blog-detail .pk-perex a,
body.article-detail .pk-perex a,
.blog-article-detail .pk-perex a,
.article-detail .pk-perex a,
.post-detail .pk-perex a,
.blog-detail .pk-perex a,
body.type-page .pk-perex a,
.page-detail .pk-perex a,
.content-page .pk-perex a,
.page-content .pk-perex a {
  color: #7c6e3c !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(124, 110, 60, 0.35) !important;
  transition: all 0.2s ease;
}


body.type-post .pk-perex a:hover,
body.blog-detail .pk-perex a:hover,
body.article-detail .pk-perex a:hover,
.blog-article-detail .pk-perex a:hover,
.article-detail .pk-perex a:hover,
.post-detail .pk-perex a:hover,
.blog-detail .pk-perex a:hover,
body.type-page .pk-perex a:hover,
.page-detail .pk-perex a:hover,
.content-page .pk-perex a:hover,
.page-content .pk-perex a:hover {
  color: #7c6e3c !important;
  border-bottom-color: #7c6e3c !important;
}


@media (max-width: 768px) {
  body.type-post .pk-perex,
  body.blog-detail .pk-perex,
  body.article-detail .pk-perex,
  .blog-article-detail .pk-perex,
  .article-detail .pk-perex,
  .post-detail .pk-perex,
  .blog-detail .pk-perex,
  body.type-page .pk-perex,
  .page-detail .pk-perex,
  .content-page .pk-perex,
  .page-content .pk-perex {
    margin: -4px 0 20px !important;
    padding-top: 6px !important;
  }


  body.type-post .pk-perex p,
  body.blog-detail .pk-perex p,
  body.article-detail .pk-perex p,
  .blog-article-detail .pk-perex p,
  .article-detail .pk-perex p,
  .post-detail .pk-perex p,
  .blog-detail .pk-perex p,
  body.type-page .pk-perex p,
  .page-detail .pk-perex p,
  .content-page .pk-perex p,
  .page-content .pk-perex p {
    font-size: 18px !important;
    line-height: inherit !important;
  }
}




/* === Tip box === */


.tip-note {
  background: #f6f6f6; /* změněná výplň */
  border: 1px solid #00a896;   /* změněný rámeček */
  border-radius: 4px;          /* pokud chcete přesně 4px, změňte na 4px */
  padding: 14px 16px;
  margin: 16px 0;
  
  font: inherit;               /* font se dědí z webu */
  color: #24242E;


  /* Jemné odlišení od okolí bez toho, aby to splývalo s USP */
  box-shadow: 0 8px 20px rgba(0,0,0,.03);
}


/* „TIP →“ */
.tip-note__label {
  font: inherit;
  font-weight: 700;
  margin-right: 6px;
  color: #0f2a3a;
  white-space: nowrap;
}


/* Text */
.tip-note__text {
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
}


/* Odkaz uvnitř */
.tip-note__link {
  color: #00a896; /* změněná barva odkazu */
  text-decoration: underline; /* u tipů je fajn, aby bylo jasné, že je to odkaz */
  text-underline-offset: 2px;
}


.tip-note__link:hover {
  color: #1f93df;             /* jemně tmavší */
}


/* Přístupný focus */
.tip-note__link:focus-visible {
  outline: 3px solid rgba(0,169,150,.25); /* upravený focus outline pro nový rámeček */
  outline-offset: 2px;
  border-radius: 2px;
}


/* === Barevné odrážky  === */


.pk-bullets--dot {
  --bullet-color: #00a897; /* změněná barva zobáčku */


  list-style: none !important;
  margin: 0 0 12px;
  padding: 0 0 0 28px;


  font-family: inherit !important; /* nedovolí změnu fontu */
  font-size: inherit;
  line-height: 1.8;
  color: inherit;
}


.pk-bullets--dot > li {
  display: flex !important;          /* vynutí flex i když to šablona přepíše */
  align-items: flex-start !important;
  gap: 14px;


  margin: 0 0 12px;
  padding: 0;


  font-family: inherit !important;   /* pojistka i na položkách */
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit;


  min-width: 0;                      /* správné zalamování ve flexu */
}


.pk-bullets--dot > li:last-child {
  margin-bottom: 0;
}


.pk-bullets--dot > li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--bullet-color); /* použije novou barvu */
  border-radius: 0;
  flex: 0 0 6px;
  margin-top: 0.55em;
}


/* textový wrapper – fix na rozpad při <strong> */
.pk-bullets--dot > li > .pk-bullets__text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}


/* strong nesmí měnit velikost/řádkování ani display */
.pk-bullets--dot strong {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
  color: inherit;
}
/* === Průvodce krok za krokem === */


.step-guide,
.step-guide * {
  box-sizing: border-box;
}


/* 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;
  list-style: none !important;
  /* POZOR: žádné padding:0 na li – to by zabilo "ochrannou zónu" u .step */
}


.step-guide p {
  margin: 0 !important;
}


/* Karta */
.step-guide__card {
  background: #ffffff;
  border: 1px solid #00a897; /* změněný rámeček */
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 64, 93, .05);
  width: 100%;
}


/* Hlavička */
.step-guide__head {
  padding: 14px 18px !important;
  background: #e5f4f3; /* změněné pozadí na odstín #00a897 */
  border-bottom: 1px solid #00a897; /* změněný rámeček */
}


/* Hlavní nadpis */
.step-guide__title {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 700 !important; /* fix: blog někdy dává h2 normal */
}


.step-guide__subtitle {
  margin: 6px 0 0 !important;
  font-size: 14px;
  line-height: 1.45;
  color: #00a897; /* změněná barva textu */
}


/* 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: 12px;
  padding: 16px 18px !important; /* ochranná zóna */
  border-bottom: 1px solid #eef3f8;
  position: relative;
  background: #ffffff;
}


.step-guide__list > .step:last-child {
  border-bottom: 0;
}


/* Čí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: #e5f4f3; /* změněná barva pozadí */
  border: 1px solid #00a897; /* změněný rámeček */
  color: #00a897; /* změněná barva textu */
  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: #00a897; /* změněná barva spojnice */
}


.step-guide__list > .step:last-child .step__index:after {
  display: none;
}


/* Obsah kroku */
.step__topline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}


.step__heading {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700; /* aby to vypadalo jako na obrázku */
  color: #00a897; /* změněná barva textu */
}


.step__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f4f3; /* změněné pozadí */
  color: #00a897; /* změněná barva textu */
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid #00a897; /* změněný rámeček */
  white-space: nowrap;
  text-decoration: none;
}


.step__text {
  margin: 6px 0 0 !important;
  font-size: 14px;
  line-height: 1.5;
  color: #00a897; /* změněná barva textu */
}


/* Hover */
.step-guide__list > .step:hover {
  background: #e5f4f3; /* změněné pozadí při hoveru */
}


/* Volitelně “hotovo” */
.step-guide__list > .step.is-done .step__badge {
  background: #e5f4f3; /* změněné pozadí */
  border-color: #00a897; /* změněný rámeček */
}


/* Mobil */
@media (max-width: 640px) {
  .step-guide__head {
    padding: 12px 14px !important;
  }
  .step-guide__list > .step {
    padding: 14px 14px !important;
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }
}