/* ============================================
   kategorie.css
   Styly pro horní i spodní popisky e-shopových kategorií
   svarecikukla.cz
   ============================================ */

/* ---- Layout: dvousloupcový grid ---- */
.kat-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 28px 0 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e8eaed;
}

@media (max-width: 767px) {
  .kat-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0 28px;
  }
}

/* ---- Levý sloupec ---- */
.kat-intro__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kat-intro__text p {
  font-size: 15px;
  line-height: 1.75;
  color: #2e2e2e;
  margin: 0;
}

.kat-intro__text a {
  color: #0b5ea6;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(11,94,166,0.25);
  transition: color 0.15s, border-color 0.15s;
}

.kat-intro__text a:hover {
  color: #083f72;
  border-bottom-color: #083f72;
}

/* ---- Průvodce box (náhrada banneru) ---- */
.kat-guide-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #083f72 0%, #1469b8 100%);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 4px;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(8,63,114,0.18);
  transition: transform 0.18s, box-shadow 0.18s;
}

.kat-guide-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(8,63,114,0.26);
}

.kat-guide-box__icon {
  font-size: 38px;
  line-height: 1;
  flex-shrink: 0;
}

.kat-guide-box__body {
  flex: 1;
}

.kat-guide-box__title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  line-height: 1.3;
}

.kat-guide-box__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
}

/* ---- Tlačítko na blogový článek ---- */
.btn-blog-article {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: #083f72;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.btn-blog-article::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.15s;
}

.btn-blog-article:hover {
  background: #e4eef9;
  color: #052c56;
  transform: translateX(2px);
}

.btn-blog-article:hover::after {
  transform: translateX(3px);
}

/* ---- Pravý sloupec ---- */
.kat-intro__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Responzivní video embed ---- */
.kat-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
}

.kat-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Poznámka pod videem ---- */
.kat-video-note {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

.kat-video-note a {
  color: #0b5ea6;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(11,94,166,0.25);
  transition: color 0.15s, border-color 0.15s;
}

.kat-video-note a:hover {
  color: #083f72;
  border-bottom-color: #083f72;
}

/* ---- Štítek sekce ---- */
.kat-stitek {
  display: inline-block;
  background: #eef3fb;
  color: #0b5ea6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid #cdddf5;
}


/* ============================================
   SPODNÍ POPISEK
   ============================================ */

/* === Mini buttony === */

.top-topics-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  font-family: "Nunito Sans", sans-serif;
}

.top-topics-wrap a.top-topic {
  padding: 6px 14px;
  background: #f6f6f6;
  color: #1d3c71 !important;
  text-decoration: none !important;
  border-radius: 999px;
  border: 1px solid #d0d8e8;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.top-topics-wrap a.top-topic:hover {
  background: #0084d6;
  color: #ffffff !important;
  border-color: #0084d6;
  text-decoration: none !important;
}

.top-topics-wrap a.top-topic:focus-visible {
  outline: 3px solid rgba(0, 132, 214, .3);
  outline-offset: 2px;
}


/* === FAQ === */

.faq {
  width: 100%;
}
.faq-item {
  margin: 0 0 12px 0;
  border: 1px solid #c8d4e8;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}
.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: #1d3c71;
  background: #f6f6f6;
  border-bottom: 1px solid rgba(29, 60, 113, 0);
  transition: background-color .15s ease;
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-q {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}
.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 #0084d6;
  color: #0084d6;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.faq-chevron {
  width: 16px;
  height: 16px;
  display: block;
}
.faq-a {
  padding: 14px 16px 16px 16px;
  font: inherit;
  color: #3a4047;
  line-height: 1.55;
  background: #ffffff;
}
.faq-a a {
  color: #0084d6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-a a:hover {
  color: #1d3c71;
}
.faq-item[open] > summary {
  background: #edf2f9;
  border-bottom-color: rgba(29, 60, 113, .2);
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: #0084d6;
  border-color: #0084d6;
  color: #ffffff;
}
.faq-item > summary:hover {
  background: #e5edf8;
}
.faq-item > summary:focus-visible {
  outline: 3px solid rgba(0, 132, 214, .25);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .faq-item > summary {
    padding: 12px 14px;
    gap: 10px;
  }
  .faq-a {
    padding: 12px 14px 14px 14px;
  }
  .faq-q {
    font-size: 14px;
  }
}


/* === Kompletní průvodce výběrem === */

/* ===  ZÁKLAD — společné pro všechny velikosti === */

.gw {
  width: 100%;
  border: 1px solid #c8d4e8;
  border-top: 3px solid #1d3c71;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  font-family: inherit;
  margin: 0;
}

.gw > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #f6f6f6;
  user-select: none;
  transition: background-color .15s ease;
}

.gw > summary::-webkit-details-marker {
  display: none;
}

.gw > summary:hover {
  background: #e5edf8;
}

.gw[open] > summary {
  border-bottom: 1px solid #c8d4e8;
}

.gw > summary:focus-visible {
  outline: 3px solid rgba(0, 132, 214, .25);
  outline-offset: 2px;
}

.gw-title {
  font-weight: 700;
  color: #1d3c71;
}

.gw-toggle {
  flex: 0 0 auto;
  border: 1px solid #0084d6;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-toggle svg {
  display: block;
  stroke: #0084d6;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.gw[open] .gw-toggle svg {
  transform: rotate(180deg);
}

.gw-num {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #1d3c71;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.gw-step-title {
  font-weight: 700;
  color: #1d3c71;
  line-height: 1.4;
}

.gw-step-text {
  color: #3a4047;
  line-height: 1.6;
}

.gw-tip {
  display: flex;
  align-items: flex-start;
  background: #f6f6f6;
  border-left: 2px solid #0084d6;
  border-radius: 0 4px 4px 0;
}

.gw-tip svg {
  flex: 0 0 auto;
  stroke: #0084d6;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gw-tip-text {
  color: #1d3c71;
  line-height: 1.5;
}

.gw-table {
  border-collapse: collapse;
}

.gw-table th {
  text-align: left;
  background: #1d3c71;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #1d3c71;
}

.gw-table td {
  border: 1px solid #d0d8e8;
  color: #2c3338;
}

.gw-table tr:nth-child(even) td {
  background: #f6f6f6;
}

p:has(> .gw) {
  margin: 0;
  padding: 0;
}


/* ===  DESKTOP  (min-width: 641px) === */

@media (min-width: 641px) {

  .gw > summary {
    padding: 14px 18px;
  }

  .gw-title {
    font-size: 14px;
  }

  .gw-toggle {
    width: 26px;
    height: 26px;
  }

  .gw-toggle svg {
    width: 13px;
    height: 13px;
  }

  .gw-body {
    padding: 4px 0 8px;
  }

  .gw-step {
    padding: 14px 18px 12px 18px;
  }

  .gw-step-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
  }

  .gw-num {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .gw-step-title {
    font-size: 13px;
    padding-top: 2px;
  }

  .gw-step-text {
    font-size: 13px;
    margin: 0 0 0 32px;
  }

  .gw-tip {
    gap: 8px;
    margin: 8px 0 0 32px;
    padding: 7px 10px;
  }

  .gw-tip svg {
    width: 13px;
    height: 13px;
    margin-top: 1px;
  }

  .gw-tip-text {
    font-size: 12px;
  }

  .gw-table {
    width: calc(100% - 32px);
    margin: 8px 0 0 32px;
    font-size: 12px;
  }

  .gw-table th,
  .gw-table td {
    padding: 6px 10px;
  }

}


/* ====  MOBIL  (max-width: 640px) === */

@media (max-width: 640px) {

  .gw > summary {
    padding: 12px 14px;
  }

  .gw-title {
    font-size: 13px;
  }

  .gw-toggle {
    width: 24px;
    height: 24px;
  }

  .gw-toggle svg {
    width: 12px;
    height: 12px;
  }

  .gw-body {
    padding: 4px 0 4px;
  }

  .gw-step {
    padding: 10px 14px 11px 14px;
    border-top: 1px solid #e0e8f4;
  }

  .gw-step:first-child {
    border-top: none;
  }

  .gw-step-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
  }

  .gw-num {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .gw-step-title {
    font-size: 12px;
  }

  .gw-step-text {
    font-size: 12px;
    margin: 0 0 0 28px;
  }

  .gw-tip {
    gap: 7px;
    margin: 7px 0 0 28px;
    padding: 6px 8px;
  }

  .gw-tip svg {
    width: 12px;
    height: 12px;
    margin-top: 1px;
  }

  .gw-tip-text {
    font-size: 11px;
  }

  .gw-table {
    width: calc(100% - 28px);
    margin: 7px 0 0 28px;
    font-size: 11px;
  }

  .gw-table th,
  .gw-table td {
    padding: 5px 8px;
  }

}


/* === Trust box s USP === */

.tb {
  width: 100%;
  border: 1px solid #c8d4e8;
  border-left: 3px solid #1d3c71;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px 22px;
  font-family: inherit;
  box-sizing: border-box;
}

/* Text blok */

.tb-text {
  font-size: 14px;
  color: #3a4047;
  line-height: 1.65;
  margin: 0 0 16px 0;
}

.tb-text strong {
  font-weight: 700;
  color: #1d3c71;
}

/* Sada pills */

.tb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

/* Jedna pill */

.tb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid #c8d4e8;
  border-radius: 999px;
  background: #f6f6f6;
  font-size: 12px;
  font-weight: 500;
  color: #1d3c71;
  white-space: nowrap;
}

.tb-pill svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke: #0084d6;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobil */

@media (max-width: 640px) {
  .tb {
    padding: 16px;
  }

  .tb-text {
    font-size: 13px;
  }

  .tb-pill {
    font-size: 12px;
    padding: 5px 10px;
  }
}
