/* Apartmany UNESCO: shared responsive price lists, 2026-11-24, revision 2. */
.container:has(> .price-scroll > .price-table),
.container:has(> .table-wrap > .price-table) {
  width: min(1760px, calc(100% - clamp(32px, 5vw, 96px)));
  max-width: 1760px;
}
.price-scroll:has(> .price-table), .table-wrap:has(> .price-table) {
  width: 100%; max-width: 100%; min-width: 0; overflow: visible;
}
.price-table { width: 100%; min-width: 0; max-width: 100%; table-layout: fixed; }
.price-table colgroup { display: none; }
.price-table th, .price-table td { box-sizing: border-box; padding: 18px 6px; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.price-table th { font-size: 11px; line-height: 1.5; letter-spacing: .015em; hyphens: auto; }
.price-table td { font-size: 14px; line-height: 1.5; }
.price-table th:first-child, .price-table td:first-child { position: static; min-width: 0; }
.price-table .unit-number { font-size: 25px; }
.price-table .unit-building { font-size: 11px; }
.price-table .price { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .status { width: auto; min-width: 0; max-width: 100%; padding: 6px 8px; font-size: 12px; line-height: 1.4; white-space: normal; }
.price-table .pdf-link { font-size: 13px; line-height: 1.5; }
.price-table .btn { width: 100%; min-width: 0; min-height: 44px; padding: 10px 5px; font-size: 13px; line-height: 1.4; white-space: normal; }
.price-table td[data-label="Parkovací místo"] { font-size: 13px; }
.price-table th:nth-child(1) { width: 7%; }
.price-table th:nth-child(2) { width: 7%; }
.price-table th:nth-child(3) { width: 6%; }
.price-table th:nth-child(4) { width: 7%; }
.price-table th:nth-child(5) { width: 5%; }
.price-table th:nth-child(6) { width: 7%; }
.price-table th:nth-child(7) { width: 11%; }
.price-table th:nth-child(8) { width: 7%; }
.price-table th:nth-child(9) { width: 8%; }
.price-table th:nth-child(10) { width: 7%; }
.price-table th:nth-child(11) { width: 7%; }
.price-table th:nth-child(12) { width: 11%; }
.price-table th:nth-child(13) { width: 10%; }
/* Filters must also hide rows after the grid layout overrides browser defaults. */
.price-table tr[hidden], .price-table td[hidden] { display: none !important; }
.table-hint { display: none; }
@media (max-width: 1439px) {
  .price-table, .price-table tbody { display: block; width: 100%; min-width: 0; max-width: 100%; table-layout: auto; }
  .price-table thead, .price-table colgroup { display: none; }
  .price-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; min-width: 0; padding: 22px; margin: 0 0 20px; border: 1px solid var(--line, #d9dfda); }
  .price-table tbody tr.free { border-left: 3px solid var(--ink, #183e34); }
  .price-table tbody td { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line, #d9dfda); font-size: 15px; line-height: 1.5; white-space: normal; }
  .price-table tbody td::before { content: attr(data-label); display: block; max-width: 100%; margin-bottom: 6px; font-size: 12px; line-height: 1.45; color: var(--muted, #56675d); text-transform: uppercase; letter-spacing: .025em; overflow-wrap: anywhere; hyphens: auto; }
  .price-table tbody td:first-child { grid-column: 1 / -1; position: static; background: transparent; padding-top: 0; }
  .price-table tbody td:first-child::before, .price-table tbody td.inquiry::before { display: none; }
  .price-table .unit-number { font-size: 32px; }
  .price-table .unit-building { font-size: 13px; }
  .price-table .price { font-size: 17px; white-space: normal; }
  .price-table .status { width: auto; min-width: 0; max-width: 100%; padding: 6px 12px; font-size: 13px; }
  .price-table .pdf-link { font-size: 15px; }
  .price-table tbody td.docs { border: 0; padding-top: 18px; }
  .price-table tbody td.inquiry { grid-column: 1 / -1; border: 0; padding-bottom: 0; }
  .price-table tbody td.inquiry .btn { font-size: 15px; padding: 12px; min-height: 44px; }
  .price-table td[data-label="Parkovací místo"] { font-size: 15px; }
}
@media (min-width: 900px) and (max-width: 1439px) {
  .price-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
  .price-table tbody tr { margin-bottom: 0; }
}
@media (max-width: 399px) {
  .price-table tbody tr { padding: 18px 16px; gap: 0 12px; }
  .price-table tbody td { font-size: 14px; }
  .price-table .price { font-size: 16px; }
}
@media print {
  .price-table { display: table; table-layout: fixed; width: 100%; min-width: 0; }
  .price-table thead { display: table-header-group; }
  .price-table tbody { display: table-row-group; }
  .price-table tbody tr { display: table-row; break-inside: avoid; }
  .price-table tbody td { display: table-cell; font-size: 8px; padding: 8px 3px; }
  .price-table th, .price-table .price, .price-table .pdf-link, .price-table .status { font-size: 8px; white-space: normal; }
  .price-table td::before { display: none !important; }
  .price-table .unit-number { font-size: 13px; }
  .price-table .unit-building, .price-table .btn { font-size: 8px; }
}
