/* Srovnávací tabulka PVC profilů (řaditelná, bez vodorovného posuvníku) */
.razeni-nastroje { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.razeni-popisek { font-weight: 600; color: var(--heading); margin-right: 4px; font-size: 14px; }
.razeni-rychle { font: inherit; font-size: 13.5px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; line-height: 1.2; }
.razeni-rychle small { opacity: .65; font-size: 11.5px; }
.razeni-rychle:hover, .razeni-rychle:focus-visible { border-color: var(--gold); }
.razeni-rychle.aktivni { background: var(--navy); color: #fff; border-color: var(--navy); }
.razeni-rychle.aktivni small { opacity: .8; }
:root[data-theme="dark"] .razeni-rychle.aktivni { background: var(--gold); color: #14243e; border-color: var(--gold); }
.razeni-puvodni { border-style: dashed; }

.tabulka-razeni-obal { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
table.tabulka-razeni { width: 100%; border-collapse: collapse; table-layout: auto; }
table.tabulka-razeni th, table.tabulka-razeni td { padding: 10px 12px; font-size: 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
table.tabulka-razeni tbody tr:last-child th, table.tabulka-razeni tbody tr:last-child td { border-bottom: 0; }
table.tabulka-razeni thead th { background: var(--navy); color: #fff; padding: 0; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 12.5px; }
.razeni-tl { width: 100%; height: 100%; min-height: 58px; padding: 10px 12px; background: transparent; border: 0; color: inherit; font: inherit; line-height: 1.25; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
table.tabulka-razeni thead th:first-child .razeni-tl { justify-content: flex-start; }
.razeni-tl:hover, .razeni-tl:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
.razeni-sipka { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid rgba(255, 255, 255, .35); flex: none; }
th[aria-sort="ascending"] .razeni-sipka { border-top: 0; border-bottom: 6px solid var(--gold-l, #e3c87f); }
th[aria-sort="descending"] .razeni-sipka { border-top: 6px solid var(--gold-l, #e3c87f); }
th[aria-sort="ascending"], th[aria-sort="descending"] { background: var(--navy-l, #1c3a63) !important; }
table.tabulka-razeni tbody th { text-align: left; background: var(--bg); font-weight: 400; }
table.tabulka-razeni tbody tr:nth-child(even) td { background: var(--bg-strana); }
table.tabulka-razeni tbody tr:hover td, table.tabulka-razeni tbody tr:hover th { background: rgba(201, 162, 74, .12); }
.razeni-profil { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); }
.razeni-profil img { width: 44px; height: 26px; object-fit: contain; flex: none; background: #fff; border-radius: 5px; padding: 2px 4px; }
.razeni-profil small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.razeni-profil strong { font-weight: 600; font-size: 14px; }
.razeni-profil:hover strong { color: var(--gold-d); text-decoration: underline; }
.razeni-poznamka { font-size: 12.5px; color: var(--muted); margin: 12px 2px 0; line-height: 1.5; }

/* užší obrazovky: každý profil jako karta, popisky z data-label (nic se neposouvá do stran) */
@media (max-width: 900px) {
  table.tabulka-razeni, table.tabulka-razeni tbody, table.tabulka-razeni tr, table.tabulka-razeni td, table.tabulka-razeni th { display: block; }
  table.tabulka-razeni thead { display: none; }
  table.tabulka-razeni tbody tr { padding: 10px 14px 12px; border-bottom: 1px solid var(--line); }
  table.tabulka-razeni tbody tr:last-child { border-bottom: 0; }
  table.tabulka-razeni tbody th { padding: 4px 0 8px; border: 0; background: transparent; }
  table.tabulka-razeni td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-align: right; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; background: transparent !important; }
  table.tabulka-razeni td:last-child { border-bottom: 0; }
  table.tabulka-razeni td::before { content: attr(data-label); color: var(--muted); text-align: left; font-size: 13px; }
  .razeni-popisek { width: 100%; }
}
