/* ============================================================
   Skladby podlah — elektrické podlahové topení
   podlahove-topeni.eu
   ============================================================ */

/* Info tabulka (záruka / zkušenosti / cena / telefon) */
.pt-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.pt-info-cell {
  padding: 6px 20px 6px 0;
  border-right: 1px solid var(--colors-foregrounds-borders-secondary);
  font-size: 13px;
  color: var(--colors-foregrounds-content-secondary);
}

.pt-info-cell--last {
  padding: 6px 0 6px 20px;
  border-right: none;
}

.pt-info-title {
  display: block;
  color: var(--colors-foregrounds-content-primary);
}

/* Navigační seznam skladeb */
.pt-nav-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--colors-foregrounds-content-primary);
  margin: 0 0 6px;
}

.pt-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pt-nav-item,
.pt-nav-item:hover,
.pt-nav-item:focus,
.pt-nav-item:visited {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e8e5df;
  text-decoration: none !important;
  color: #1e1c17;
  font-size: 13.5px;
  line-height: 1.4;
}

.pt-nav-item:hover {
  border-color: var(--color-primary, #c0392b);
}

.pt-nav-item span {
  text-decoration: none !important;
}

.pt-nav-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f3ede8;
  color: var(--color-primary, #c0392b);
  font-size: 11.5px;
  font-weight: bold;
}

.pt-nav-arrow {
  margin-left: auto;
  font-size: 18px;
  color: #ccc;
  flex-shrink: 0;
}

/* Filtry */
.pt-filters {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.pt-filters-label {
  font-size: 12px;
  color: var(--colors-foregrounds-content-tertiary);
  margin-right: 4px;
}

/* Nadpis karty */
.pt-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--colors-foregrounds-headlines-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}

/* Tagy — obal */
.pt-tags {
  margin-bottom: 12px;
}

/* Popis karty */
.pt-card-desc {
  font-size: 13px;
  color: var(--colors-foregrounds-content-secondary);
  line-height: 1.65;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--colors-foregrounds-borders-secondary);
}

/* Cena — detaily */
.pt-price-label {
  font-size: 11px;
  color: var(--colors-foregrounds-content-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 2px;
}

.pt-price-value {
  font-size: 22px;
  font-weight: bold;
  color: var(--colors-state-success);
  margin: 0 0 2px;
}

.pt-price-unit {
  font-size: 13px;
  font-weight: 400;
}

.pt-price-note {
  font-size: 11px;
  color: var(--colors-foregrounds-content-tertiary);
  margin: 0;
}

/* Mezera nad SVG průřezem */
.pt-label--svg {
  margin-top: 16px;
}

/* FAQ sekce */
.pt-faq-section {
  margin-top: 40px;
}

.pt-faq-heading {
  font-size: 18px;
  font-weight: bold;
  color: var(--colors-foregrounds-headlines-primary);
  margin: 0 0 4px;
}

.pt-faq-intro {
  font-size: 13px;
  color: var(--colors-foregrounds-content-secondary);
  margin: 0 0 20px;
}

.pt-faq-box {
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  background: var(--colors-surface-primary);
  padding: 0 16px;
}

/* Karta skladby */
.pt-card {
  display: block;
  margin-bottom: 20px;
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  border-top: 3px solid var(--color-primary, #c0392b);
  background: var(--colors-surface-primary);
  overflow: hidden;
}

.pt-card-body {
  padding: 20px 22px;
}

.pt-card-side {
  padding: 20px 16px;
  border-top: 1px solid var(--colors-foregrounds-borders-secondary);
}

@media (min-width: 768px) {
  .pt-card-grid {
    display: flex;
  }

  .pt-card-body {
    flex: 7;
    min-width: 0;
  }

  .pt-card-side {
    flex: 5;
    min-width: 0;
    border-top: none;
    border-left: 1px solid var(--colors-foregrounds-borders-secondary);
  }
}

/* Filtrovací tlačítka */
.pt-fbtn {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: var(--colors-surface-secondary);
  color: var(--colors-foregrounds-content-secondary);
  text-decoration: none;
  transition: all 0.12s;
}

.pt-fbtn:hover,
.pt-fbtn:focus {
  border-color: var(--color-primary, #c0392b);
  color: var(--color-primary, #c0392b);
  text-decoration: none;
}

.pt-fbtn.active {
  background: var(--color-primary, #c0392b);
  color: #fff;
  border-color: var(--color-primary, #c0392b);
}

/* Tabulka specifikací */
.pt-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 0 0 14px;
}

.pt-spec tr {
  border-bottom: 1px solid var(--colors-foregrounds-borders-secondary);
}

.pt-spec tr:last-child {
  border-bottom: none;
}

.pt-spec td {
  padding: 5px 6px;
  vertical-align: top;
  color: var(--colors-foregrounds-content-secondary);
}

.pt-spec td:first-child {
  color: var(--colors-foregrounds-content-tertiary);
  white-space: nowrap;
  width: 46%;
  font-weight: 700;
}

/* Badge / štítek */
.pt-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--colors-state-warning);
  color: #fff;
  margin-bottom: 8px;
}

/* Tagy */
.pt-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  margin: 0 4px 4px 0;
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  color: var(--colors-foregrounds-content-secondary);
  background: var(--colors-surface-secondary);
}

/* Seznam výhod */
.pt-vyhody {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.pt-vyhody li {
  padding: 2px 0 2px 16px;
  position: relative;
  font-size: 13px;
  color: var(--colors-foregrounds-content-secondary);
  line-height: 1.5;
}

.pt-vyhody li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--colors-state-success);
}

/* Cena */
.pt-price {
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  background: var(--colors-surface-secondary);
  padding: 10px 14px;
  margin-bottom: 14px;
}

/* Komponenty — odkazy */
.pt-komponenty {
  margin-bottom: 14px;
}

.pt-komponenty a {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary, #c0392b);
  text-decoration: none;
  margin: 0 10px 4px 0;
}

.pt-komponenty a:hover {
  text-decoration: underline;
}

/* SVG průřez */
.pt-svg-wrap {
  border: 1px solid var(--colors-foregrounds-borders-secondary);
  overflow: hidden;
}

.pt-svg-wrap svg {
  display: block;
  width: 100%;
}

/* Fotografie */
.pt-foto {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border: 1px solid var(--colors-foregrounds-borders-secondary);
}

.pt-foto-ph {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--colors-surface-secondary);
  border: 1px dashed var(--colors-foregrounds-borders-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--colors-foregrounds-content-tertiary);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}

/* Popisek sekce */
.pt-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--colors-foregrounds-content-tertiary);
  margin: 0 0 8px;
}

/* FAQ */
.pt-faq-item {
  border-bottom: 1px solid var(--colors-foregrounds-borders-secondary);
}

.pt-faq-item:last-child {
  border-bottom: none;
}

.pt-faq-item summary {
  padding: 13px 32px 13px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--colors-foregrounds-headlines-primary);
  line-height: 1.4;
  list-style: none;
  position: relative;
}

.pt-faq-item summary::-webkit-details-marker {
  display: none;
}

.pt-faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--colors-foregrounds-content-tertiary);
  border-bottom: 2px solid var(--colors-foregrounds-content-tertiary);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.pt-faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}

.pt-faq-item .pt-faq-answer {
  padding: 0 0 14px;
  font-size: 13px;
  color: var(--colors-foregrounds-content-secondary);
  line-height: 1.7;
}
