﻿/* === FAQ === */




.faq{
  width: 100%;
}




/* Jedna položka */
.faq-item{
  margin: 0 0 12px 0;
  border: 1px solid #6b34c5;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}




/* Klikací hlavička (summary) */
.faq-item > summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
  font: inherit;
  color: #24242e;
  background: #f7f2fc;
  border-bottom: 1px solid rgba(107,52,197,0);
  transition: background-color .15s ease;
}




/* Skrytí markeru v Safari/Chromu */
.faq-item > summary::-webkit-details-marker{
  display: none;
}




/* Text otázky */
.faq-q{
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}




/* Ikona vlevo */
.faq-icon{
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #6b34c5;
  color: #4e2d78;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}




/* SVG chevron */
.faq-chevron{
  width: 16px;
  height: 16px;
  display: block;
}




/* Odpověď */
.faq-a{
  padding: 14px 16px 16px 16px;
  font: inherit;
  color: #24242e;
  line-height: 1.55;
  background: #ffffff;
}




/* Odkazy uvnitř odpovědi */
.faq-a a{
  color: #61309a;
  text-decoration: underline;
  text-underline-offset: 2px;
}




.faq-a a:hover{
  color: #4f2780;
}




/* Stav otevřeno */
.faq-item[open] > summary{
  background: #f3ebfb;
  border-bottom-color: rgba(107,52,197,.35);
}




/* Otevřeno: šipka se otočí nahoru */
.faq-item[open] .faq-icon{
  transform: rotate(180deg);
  background: #fbf8fe;
  border-color: #6b34c5;
}




/* Hover */
.faq-item > summary:hover{
  background: #ede2f8;
}




/* Focus pro klávesnici */
.faq-item > summary:focus-visible{
  outline: 3px solid rgba(107,52,197,.22);
  outline-offset: 2px;
}




/* Mobil */
@media (max-width: 640px){
  .faq-item > summary{
    padding: 12px 14px;
    gap: 10px;
  }




  .faq-a{
    padding: 12px 14px 14px 14px;
  }




  .faq-q{
    font-size: 14px;
  }
}






/* === Průvodce výběrem === */


.pk-guide {
  font-family: inherit;
  background: #f8f5fb;
  border: 1px solid #ebe5f5;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  box-sizing: border-box;
}


/* Hlavní nadpis */
.pk-guide__title {
  margin: 0 0 0.75rem 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a0f3d;
  line-height: 1.3;
}


/* Úvodní odstavec */
.pk-guide__intro {
  margin: 0 0 1.25rem 0;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}


/* Tlačítko summary (zobrazit/sbalit) */
.pk-guide details > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #6b4fc4;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 0.625rem 1.125rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}


.pk-guide details > summary:hover {
  background: #5a3fb0;
}


.pk-guide details > summary::-webkit-details-marker {
  display: none;
}
.pk-guide details > summary::marker {
  display: none;
}


/* Šipka v summary */
.pk-guide__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}


.pk-guide details[open] .pk-guide__chevron {
  transform: rotate(180deg);
}


/* Přepínání popisků v summary */
.pk-guide__btn-label--less {
  display: none;
}
.pk-guide details[open] .pk-guide__btn-label--more {
  display: none;
}
.pk-guide details[open] .pk-guide__btn-label--less {
  display: inline;
}


/* Obsah po rozbalení */
.pk-guide__content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ebe5f5;
}


/* Seznam kroků */
.pk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pk-step;
}


.pk-steps > li {
  counter-increment: pk-step;
  position: relative;
  padding: 1.5rem 0 1.5rem 3.25rem;
  border-bottom: 1px solid #ebe5f5;
}


.pk-steps > li:first-child {
  padding-top: 0;
}


.pk-steps > li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}


.pk-steps > li::before {
  content: counter(pk-step);
  position: absolute;
  left: 0;
  top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1ebf7;
  color: #6b4fc4;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}


.pk-steps > li:first-child::before {
  top: 0;
}


/* Nadpis kroku */
.pk-guide__stepTitle {
  margin: 0 0 0.5rem 0;
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
}


/* Lead text pod nadpisem */
.pk-guide__stepLead {
  margin: 0 0 1rem 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #374151;
}


/* Odrážkový seznam */
.pk-bullets--dot {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}


.pk-bullets--dot li {
  position: relative;
  padding: 0.375rem 0 0.375rem 1.25rem;
  font-size: 14.5px;
  line-height: 1.6;
  color: #374151;
}


.pk-bullets--dot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b4fc4;
}


.pk-bullets--dot strong {
  color: #1a0f3d;
  font-weight: 600;
}


/* Tip rámeček */
.pk-tip {
  display: flex;
  gap: 12px;
  background: #ffffff;
  border-left: 3px solid #6b4fc4;
  padding: 0.875rem 1.125rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
}


.pk-tip__icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}


.pk-tip__text strong {
  color: #1a0f3d;
  font-weight: 600;
}


/* Obal pro tabulku (responzivní scroll) */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid #ebe5f5;
  border-radius: 8px;
  background: #ffffff;
}


/* Tabulka */
.ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}


.ui-table thead {
  background: #f1ebf7;
}


.ui-table th {
  text-align: left;
  padding: 11px 14px;
  font-weight: 600;
  color: #1a0f3d;
  border-bottom: 1px solid #ebe5f5;
  white-space: nowrap;
}


.ui-table td {
  padding: 11px 14px;
  color: #374151;
  border-bottom: 1px solid #f1f1f4;
  line-height: 1.5;
  vertical-align: top;
}


.ui-table tbody tr:last-child td {
  border-bottom: none;
}


/* ============================================
   RESPONZIVITA
   ============================================ */


@media (max-width: 760px) {
  .pk-guide {
    padding: 1.25rem;
  }
  .pk-guide__title {
    font-size: 18px;
  }
  .pk-guide__intro {
    font-size: 14px;
  }
  .pk-steps > li {
    padding-left: 2.75rem;
  }
  .pk-steps > li::before {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .pk-guide__stepTitle {
    font-size: 16px;
  }
  .pk-guide__stepLead,
  .pk-bullets--dot li {
    font-size: 14px;
  }
  .ui-table {
    font-size: 13px;
  }
  .ui-table th,
  .ui-table td {
    padding: 10px 12px;
  }
}


/* Mobilní zobrazení tabulek jako karty */
@media (max-width: 540px) {
  .table-mobile-table .ui-table thead {
    display: none;
  }
  .table-mobile-table .ui-table,
  .table-mobile-table .ui-table tbody,
  .table-mobile-table .ui-table tr,
  .table-mobile-table .ui-table td {
    display: block;
    width: 100%;
  }
  .table-mobile-table .ui-table tr {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ebe5f5;
  }
  .table-mobile-table .ui-table tr:last-child {
    border-bottom: none;
  }
  .table-mobile-table .ui-table td {
    padding: 0.25rem 0;
    border: none;
  }
  .table-mobile-table .ui-table td:first-child {
    font-weight: 600;
    color: #1a0f3d;
    font-size: 14px;
  }
}


@media (max-width: 480px) {
  .pk-guide {
    border-radius: 8px;
    padding: 1.125rem;
  }
  .pk-guide details > summary {
    font-size: 13px;
    padding: 0.5rem 1rem;
  }
}




/* === TRUST BOX === */
.trust-box-wrap {
  font-family: inherit;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: #f8f5fb;
  border-radius: 10px;
  box-sizing: border-box;
}
.trust-box-text {
  font-size: 14px;
  line-height: 1.75;
  color: #2d1b5e;
  margin: 0 0 1.5rem;
}
.trust-box-text strong {
  font-weight: 700;
  color: #1a0f3d;
}
.trust-box-usps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #ebe5f5;
  padding-top: 1.25rem;
}
.trust-box-usp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  gap: 10px;
}
/* Čáry pouze na desktopu */
.trust-box-usp + .trust-box-usp {
  border-left: 1px solid #ebe5f5;
}
.trust-box-usp-icon {
  font-size: 24px;
  line-height: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-box-usp-label {
  font-size: 12px;
  font-weight: 500;
  color: #2d1b5e;
  line-height: 1.4;
}
/* Tablet – 3 sloupce, bez čar */
@media (max-width: 760px) {
  .trust-box-usps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }
  .trust-box-usp + .trust-box-usp {
    border-left: none;
  }
}
/* Mobil – 2 sloupce, bez čar */
@media (max-width: 480px) {
  .trust-box-wrap {
    padding: 1.25rem;
    border-radius: 8px;
  }
  .trust-box-text {
    font-size: 13px;
  }
  .trust-box-usps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }
  .trust-box-usp + .trust-box-usp {
    border-left: none;
  }
  .trust-box-usp-icon {
    font-size: 20px;
    height: 30px;
  }
  .trust-box-usp-label {
    font-size: 11.5px;
  }
}










/* === MINI BUTTONY === */
.mini-buttons {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
a.mini-button,
a.mini-button:link,
a.mini-button:visited,
a.mini-button:active {
display: inline-block;
padding: 8px 14px;
background: #f8f8f8;
color: inherit !important;
border: 1px solid #61309a;
border-radius: 999px;
text-decoration: none !important;
font: inherit;
line-height: 1.2;
box-sizing: border-box;
transition: background-color 0.2s ease, border-color 0.2s ease;
}
a.mini-button:hover,
a.mini-button:focus,
a.mini-button:focus-visible {
background: #e3e6f2;
border-color: #61309a;
text-decoration: none !important;
outline: none;
}