/* Výber jednotiek: základné štýly, stavy a animácie. */
.pont-flat-offer .pont-selection-field {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-weight: 400;
}

.pont-flat-offer .filter-table-caption {
  padding: 0;
  color: var(--pont-dark-gray);
  white-space: normal;
}

.pont-flat-offer select {
  width: 100%;
  min-height: 48px;
  padding: 10px 38px 10px 15px;
  border: 1px solid var(--pont-dark-gray);
  border-radius: 0;
  background-color: transparent;
  color: var(--pont-dark-gray);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.pont-flat-offer .pont-room-buttons {
  display: flex;
  flex-wrap: wrap;
}

.pont-flat-offer .pont-room-buttons .filter-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.pont-selection-free {
  display: flex;
  align-items: center;
  align-self: flex-end;
  min-height: 48px;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}

.pont-selection-free input {
  accent-color: var(--pont-orange);
}

.pont-filter-toggle,
.pont-filter-reset {
  min-height: 48px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--pont-dark-gray);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.pont-filter-toggle span,
.pont-filter-reset span {
  padding-left: 8px;
  color: var(--pont-orange);
  font-size: 22px;
}

.pont-extended-filter .pont-selection-field {
  margin-bottom: 20px;
}

.pont-flat-offer [hidden],
.pont-floating-tooltip[hidden] {
  display: none !important;
}

.pont-flat-offer .pont-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pont-sort-icon {
  color: var(--pont-orange);
  font-size: 15px;
}

.pont-flat-offer button:focus-visible,
.pont-flat-offer select:focus-visible,
.pont-selection-popup button:focus-visible,
.pont-selection-popup a:focus-visible,
.pont-selection-table tr:focus-visible,
.pont-selection-active:focus-visible {
  outline: 2px solid var(--pont-orange);
  outline-offset: 4px;
}

.pont-floor-source.pont-floor-hovering {
  visibility: hidden;
}

.pont-selection-source {
  display: none !important;
}

.pont-floating-tooltip {
  position: fixed;
  z-index: 1000000;
  width: 350px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.pont-floating-tooltip .pont-selection-card,
.pont-selection-popup .pont-selection-card {
  display: block !important;
  position: static !important;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
  transition: none;
}

.pont-selection-popup .pont-selection-card {
  padding-bottom: 8px;
}

.pont-floating-tooltip .floor-inner,
.pont-selection-popup .floor-inner {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 16px 25px;
}

.pont-floating-tooltip .floor-inner h4,
.pont-selection-popup .floor-inner h4 {
  color: var(--pont-white);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

.pont-floating-tooltip .floor-inner p,
.pont-selection-popup .floor-inner p {
  color: var(--pont-white);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

.pont-floating-tooltip .floor-inner p.popis,
.pont-selection-popup .floor-inner p.popis {
  font-size: 15px;
}

.pont-studio-tooltip .floor-inner:first-child {
  padding-bottom: 6px;
}

.pont-studio-tooltip .floor-inner:nth-child(2) {
  padding-top: 10px;
  padding-bottom: 18px;
}

.pont-studio-tooltip__interior {
  display: block;
  width: 50%;
}

.pont-floating-tooltip .bg-orange .popis {
  margin-bottom: 8px;
}

.pont-open-floor-chooser {
  display: none;
}

body.pont-selection-popup-open {
  overflow: hidden;
}

.pont-selection-popup {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-height: 90dvh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--pont-white);
  color: var(--pont-dark-gray);
  overflow: auto;
  overscroll-behavior: contain;
}

.pont-selection-popup::backdrop {
  background: color-mix(in srgb, var(--pont-black) 55%, transparent);
}

.pont-popup-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  touch-action: none;
  cursor: grab;
}

.pont-popup-handle span {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--pont-dark-gray);
}

.pont-popup-content {
  padding: 0 20px;
}

.pont-popup-content > h3 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 24px;
}

.pont-popup-plan {
  display: block;
  max-width: 100%;
  max-height: 30vh;
  margin: 10px auto 40px;
  object-fit: contain;
}

.pont-popup-action {
  display: block;
  width: 100%;
  margin-top: 20px;
}

.pont-popup-choose-floor {
  display: block;
  margin: 20px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pont-dark-gray);
  text-decoration: underline;
  cursor: pointer;
}

.pont-popup-footer {
  padding: 20px 20px max(20px, env(safe-area-inset-bottom));
}

.pont-popup-footer .btn {
  width: 100%;
}

.pont-popup-floors {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.pont-popup-floor {
  display: block;
  padding: 10px;
  border-bottom: 1px solid var(--pont-border-subtle);
  color: var(--pont-dark-gray);
  text-align: center;
  line-height: 1.2;
}

.pont-popup-floor.disabled {
  color: var(--pont-muted);
  font-size: 14px;
}

.pont-floating-tooltip:has(.pont-studio-tooltip) {
  width: 334px;
}

.pont-studio-tooltip .floor-inner {
  padding-left: 30px;
  padding-right: 30px;
}

.pont-floating-tooltip .pont-studio-tooltip h4,
.pont-selection-popup .pont-studio-tooltip h4 {
  font-size: 28px;
  line-height: 1.25;
}

/* Zachovať dotykové ovládanie SVG aj napriek globálnym mobilným štýlom. */
.pont-selection-polygon {
  pointer-events: auto !important;
}

.pont-selection-polygon:focus-visible {
  outline-offset: 4px;
}

.pont-flat-offer .pont-selection-filters {
  display: grid;
  grid-template-columns: calc((100% - 72px) / 4)
    minmax(300px, 1.2fr)
    minmax(500px, 1.8fr);
  align-items: end;
  gap: 24px;
  width: 100%;
  margin: 0;
}

.pont-flat-offer .pont-selection-field {
  min-width: 0;
  gap: 15px;
}

.pont-flat-offer .filter-table-caption {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.pont-flat-offer .pont-room-buttons {
  gap: 15px;
}

.pont-flat-offer .pont-room-buttons .filter-table {
  width: 50px;
  min-width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--pont-orange);
  background: var(--pont-white);
  color: var(--pont-dark-gray);
  font-size: 20px;
  font-weight: 300;
}

.pont-flat-offer .pont-room-buttons .filter-table.active {
  width: 50px;
  min-width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--pont-orange);
  font-size: 20px;
  font-weight: 300;
}

.pont-flat-offer .pont-room-buttons .filter-table.active {
  background: var(--pont-orange);
  color: var(--pont-white);
}

.pont-selection-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 48px;
  min-height: 50px;
}

.pont-flat-offer .pont-selection-free {
  position: relative;
  flex: 0 0 auto;
  align-self: auto;
  min-height: 50px;
  gap: 16px;
  padding: 0 15px;
  border: 1px solid var(--pont-orange);
  background: var(--pont-white);
  color: var(--pont-dark-gray);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
}

.pont-selection-free input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pont-selection-switch {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 20px;
  padding: 4px;
  border-radius: 50px;
  background: var(--pont-switch-off);
  transition: background-color 0.3s ease;
}

.pont-selection-switch::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pont-black);
  transition: transform 0.3s ease;
}

.pont-selection-free input:checked + .pont-selection-switch {
  background: var(--pont-orange);
}

.pont-selection-free input:checked + .pont-selection-switch::after {
  transform: translateX(20px);
}

.pont-selection-free:has(input:focus-visible) {
  outline: 2px solid var(--pont-orange);
  outline-offset: 4px;
}

.pont-flat-offer .pont-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 0;
  font-size: 14px;
  white-space: nowrap;
}

.pont-filter-chevron,
.pont-custom-select .custom-select__arrow {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 9px;
  padding: 0 !important;
  background: var(--pont-dark-gray);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform 0.2s ease;
}

.pont-filter-toggle[aria-expanded="true"] .pont-filter-chevron,
.pont-custom-select.custom-select--open .custom-select__arrow {
  transform: rotate(180deg);
}

.pont-flat-offer .pont-filter-reset {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-height: 24px;
  padding: 0;
}

.pont-reset-label {
  display: none;
}

.pont-reset-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  padding: 0 !important;
}

.pont-reset-icon::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 1px;
  background: var(--pont-dark-gray);
  transform: rotate(45deg);
}

.pont-reset-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 1px;
  background: var(--pont-dark-gray);
}

.pont-reset-icon::after {
  transform: rotate(-45deg);
}

.pont-flat-offer .pont-selection-count {
  margin: 0;
  border-top: 1px solid var(--pont-dark-gray);
  text-align: center;
}

.pont-flat-offer .pont-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.pont-custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 10px 15px;
  border: 1px solid var(--pont-orange);
  background: var(--pont-white);
  color: var(--pont-dark-gray);
}

.pont-custom-select.custom-select--open {
  z-index: 20;
}

.pont-custom-select .custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 28px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--pont-dark-gray);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  font-weight: 300;
  text-align: left;
  cursor: pointer;
}

.pont-custom-select .custom-select__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pont-custom-select .custom-select__options {
  position: absolute;
  top: calc(100% - 10px);
  left: 14px;
  right: 14px;
  z-index: 30;
  max-height: min(280px, 45vh);
  padding: 0;
  margin: 0;
  border: 1px solid var(--pont-border);
  border-top: 0;
  border-radius: 0;
  background: var(--pont-white);
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pont-custom-select .custom-select__options li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pont-custom-select .custom-select__option {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: var(--pont-white);
  color: var(--pont-dark-gray);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.pont-custom-select .custom-select__option.is-selected {
  background: var(--pont-orange);
  color: var(--pont-white);
}

.pont-custom-select .custom-select__option:hover,
.pont-custom-select .custom-select__option:focus-visible {
  outline-offset: -2px;
  background: var(--pont-hover-bg);
  color: var(--pont-dark-gray);
}

.pont-flat-offer #byty_table thead th {
  padding-right: 12px;
  padding-left: 12px;
  background-image: none !important;
}

.pont-flat-offer #byty_table thead th::before,
.pont-flat-offer #byty_table thead th:not(.t-col-price)::after {
  content: none !important;
}

.pont-flat-offer #byty_table thead th.t-col-price::before {
  content: "" !important;
}

.pont-flat-offer .pont-sort {
  gap: 10px;
}

.pont-sort-icon {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 17px;
  background: var(--pont-dark-gray);
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.pont-flat-offer .pont-sort-icon {
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='17' viewBox='0 0 20 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.3' transform='rotate(180 4 8.5)'%3E%3Cpath d='M3.32809 16.6997C3.52335 16.895 3.83993 16.895 4.03519 16.6997L7.21718 13.5177C7.41244 13.3225 7.41244 13.0059 7.21718 12.8106C7.02191 12.6154 6.70533 12.6154 6.51007 12.8106L3.68164 15.639L0.853214 12.8106C0.657952 12.6154 0.341369 12.6154 0.146107 12.8106C-0.0491549 13.0059 -0.0491549 13.3225 0.146107 13.5177L3.32809 16.6997ZM3.68164 0L3.18164 2.18557e-08L3.18164 16.3462L3.68164 16.3462L4.18164 16.3462L4.18164 -2.18557e-08L3.68164 0Z' fill='black'/%3E%3C/g%3E%3Cg opacity='0.3' transform='translate(12)'%3E%3Cpath d='M3.32809 16.6997C3.52335 16.895 3.83993 16.895 4.03519 16.6997L7.21718 13.5177C7.41244 13.3225 7.41244 13.0059 7.21718 12.8106C7.02191 12.6154 6.70533 12.6154 6.51007 12.8106L3.68164 15.639L0.853214 12.8106C0.657952 12.6154 0.341369 12.6154 0.146107 12.8106C-0.0491549 13.0059 -0.0491549 13.3225 0.146107 13.5177L3.32809 16.6997ZM3.68164 0L3.18164 2.18557e-08L3.18164 16.3462L3.68164 16.3462L4.18164 16.3462L4.18164 -2.18557e-08L3.68164 0Z' fill='black'/%3E%3C/g%3E%3C/svg%3E");
}

.pont-flat-offer th[aria-sort="ascending"] .pont-sort-icon {
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='17' viewBox='0 0 20 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='rotate(180 4 8.5)'%3E%3Cpath d='M3.32809 16.6997C3.52335 16.895 3.83993 16.895 4.03519 16.6997L7.21718 13.5177C7.41244 13.3225 7.41244 13.0059 7.21718 12.8106C7.02191 12.6154 6.70533 12.6154 6.51007 12.8106L3.68164 15.639L0.853214 12.8106C0.657952 12.6154 0.341369 12.6154 0.146107 12.8106C-0.0491549 13.0059 -0.0491549 13.3225 0.146107 13.5177L3.32809 16.6997ZM3.68164 0L3.18164 2.18557e-08L3.18164 16.3462L3.68164 16.3462L4.18164 16.3462L4.18164 -2.18557e-08L3.68164 0Z' fill='black'/%3E%3C/g%3E%3Cg opacity='0.3' transform='translate(12)'%3E%3Cpath d='M3.32809 16.6997C3.52335 16.895 3.83993 16.895 4.03519 16.6997L7.21718 13.5177C7.41244 13.3225 7.41244 13.0059 7.21718 12.8106C7.02191 12.6154 6.70533 12.6154 6.51007 12.8106L3.68164 15.639L0.853214 12.8106C0.657952 12.6154 0.341369 12.6154 0.146107 12.8106C-0.0491549 13.0059 -0.0491549 13.3225 0.146107 13.5177L3.32809 16.6997ZM3.68164 0L3.18164 2.18557e-08L3.18164 16.3462L3.68164 16.3462L4.18164 16.3462L4.18164 -2.18557e-08L3.68164 0Z' fill='black'/%3E%3C/g%3E%3C/svg%3E");
}

.pont-flat-offer th[aria-sort="descending"] .pont-sort-icon {
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='17' viewBox='0 0 20 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.3' transform='rotate(180 4 8.5)'%3E%3Cpath d='M3.32809 16.6997C3.52335 16.895 3.83993 16.895 4.03519 16.6997L7.21718 13.5177C7.41244 13.3225 7.41244 13.0059 7.21718 12.8106C7.02191 12.6154 6.70533 12.6154 6.51007 12.8106L3.68164 15.639L0.853214 12.8106C0.657952 12.6154 0.341369 12.6154 0.146107 12.8106C-0.0491549 13.0059 -0.0491549 13.3225 0.146107 13.5177L3.32809 16.6997ZM3.68164 0L3.18164 2.18557e-08L3.18164 16.3462L3.68164 16.3462L4.18164 16.3462L4.18164 -2.18557e-08L3.68164 0Z' fill='black'/%3E%3C/g%3E%3Cg transform='translate(12)'%3E%3Cpath d='M3.32809 16.6997C3.52335 16.895 3.83993 16.895 4.03519 16.6997L7.21718 13.5177C7.41244 13.3225 7.41244 13.0059 7.21718 12.8106C7.02191 12.6154 6.70533 12.6154 6.51007 12.8106L3.68164 15.639L0.853214 12.8106C0.657952 12.6154 0.341369 12.6154 0.146107 12.8106C-0.0491549 13.0059 -0.0491549 13.3225 0.146107 13.5177L3.32809 16.6997ZM3.68164 0L3.18164 2.18557e-08L3.18164 16.3462L3.68164 16.3462L4.18164 16.3462L4.18164 -2.18557e-08L3.68164 0Z' fill='black'/%3E%3C/g%3E%3C/svg%3E");
}

.pont-flat-offer .pont-show-all {
  display: block;
  margin: 30px auto 0;
}

#img_byty .floorCalculations.total[data-floor="none"] {
  display: none !important;
}

.pont-selection-polygon,
.pont-selection-polygon:focus,
.pont-selection-polygon:focus-visible,
.pont-selection-polygon:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.pont-table-navigation {
  display: none;
}

.pont-extended-filter {
  margin-bottom: 0;
}

/* Spoločný pôdorys a navigácia podlaží pre byty aj štúdiá. */
.pont-floor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.pont-floor-plan {
  min-width: 0;
}

.pont-floor-plan > section {
  padding-bottom: 0;
}

.pont-floor-plan > section > .container {
  max-width: none !important;
  padding: 0;
}

.pont-floor-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.pont-floor-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px 24px;
  color: var(--pont-dark-gray);
}

.pont-floor-navigation__building {
  position: relative;
  width: 100%;
}

.pont-floor-navigation__building > img {
  display: block;
  width: 100%;
  height: auto;
}

.pont-floor-navigation__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pont-floor-navigation__map polygon {
  fill: transparent;
  transition: fill 200ms ease;
  pointer-events: auto;
}

.pont-floor-navigation__map a[aria-current="page"] polygon,
.pont-floor-navigation__map a:hover polygon,
.pont-floor-navigation__map a:focus-visible polygon {
  fill: color-mix(in srgb, var(--pont-orange) 35%, transparent);
}

.pont-floor-navigation__map .pont-floor-navigation__commercial {
  cursor: default;
}

.pont-floor-navigation__arrows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pont-floor-navigation__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 36px;
  background: var(--pont-dark-gray);
}

.pont-floor-navigation__arrow:hover {
  background: var(--pont-orange);
}

.pont-floor-navigation__arrow[aria-disabled="true"] {
  opacity: 0.4;
}

.pont-floor-navigation__arrow img {
  width: 14px;
  height: 8px;
}

.pont-floor-navigation__arrow--down img {
  transform: rotate(180deg);
}

.pont-floor-navigation__caption {
  grid-column: 1;
  margin: 0;
  font-size: 20px;
  text-align: center;
}

.pont-floor-sidebar__orientation {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 100px auto 0;
}

/* Rezerva pod tabuľkou pre popis DPH pri cene. */
.pont-flat-offer .pont-selection-table .dataTables_wrapper {
  padding-bottom: 64px;
}

.pont-flat-offer #byty_table thead th.t-col-price::before {
  height: calc(var(--pont-price-column-height, 100%) + 36px);
}

.pont-flat-offer #byty_table thead th.t-col-price::after {
  top: calc(var(--pont-price-column-height, 100%) + 0px);
  left: 10px;
  width: calc(100% - 20px);
  height: auto;
  color: var(--pont-dark-gray);
  font-weight: 400;
  white-space: normal;
  opacity: 1;
  visibility: visible;
}

.pont-flat-offer--studios .pont-selection-controls {
  grid-column: 1 / -1;
}

@keyframes pont-popup-slide-in {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes pont-popup-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



.pont-flat-offer .pont-room-buttons .filter-table.filter-btn-studia {
  width: auto !important;
  padding: 0 8px;
}

/* Responzívne pravidlá. */
@media (min-width: 1200px) {
  .pont-flat-offer--fixed-floor .pont-selection-filters {
    grid-template-columns: minmax(300px, 1fr) minmax(500px, 1.8fr);
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .pont-flat-offer:not(.pont-flat-offer--fixed-floor) .pont-selection-filters {
    grid-template-columns: calc((100% - 72px) / 4) minmax(0, 1fr);
  }
}

@media (min-width: 1025px) {
  .pont-flat-offer .pont-filter-toggle {
    min-height: 50px;
    font-size: 18px;
  }

  .pont-flat-offer .pont-filter-reset {
    flex-basis: 40px;
    width: 40px;
    min-height: 50px;
  }

  .pont-reset-icon {
    transform: scale(1.35);
  }

  .pont-selection-sold {
    cursor: default !important;
  }

  .pont-floor-plan div:has(> img):has(> svg) {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .pont-floor-plan div:has(> svg) > img {
    width: auto !important;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 160px);
    object-fit: contain;
  }
  .pont-flat-offer .pont-room-buttons .filter-table:hover {
    background: var(--pont-orange);
    color: var(--pont-white);
  }
}

@media (max-width: 1199px) {
  .pont-flat-offer .pont-selection-filters {
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.5fr);
  }

  .pont-selection-controls {
    grid-column: 1 / -1;
  }

  .pont-flat-offer .pont-selection-free {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .pont-floor-selection .pont-floor-source,
  .pont-floor-selection .mobile-open-floor,
  .pont-legacy-floor-menu,
  .pont-desktop-floor-menu {
    display: none !important;
  }

  .pont-open-floor-chooser {
    display: block;
    margin: 20px auto;
  }

  .pont-flat-offer .pont-selection-field {
    flex: 1 1 40%;
    min-width: 0;
  }

  .pont-flat-offer .pont-filter-toggle {
    flex: 1 1 auto;
    text-align: left;
  }

  .pont-flat-offer .pont-filter-reset {
    text-align: left;
  }

  .pont-flat-offer .pont-filter-toggle:hover,
  .pont-flat-offer .pont-filter-reset:hover {
    opacity: 1;
  }

  .pont-flat-offer .pont-room-buttons .filter-table,
  .pont-flat-offer .pont-room-buttons .filter-table.active {
    width: 48px;
    min-width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .pont-flat-offer .filter-table-caption {
    font-size: 16px;
  }

  .pont-custom-select {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .pont-custom-select .custom-select__trigger {
    height: 26px;
    font-size: 16px;
  }

  .pont-selection-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: start;
    gap: 15px;
  }

  .pont-flat-offer .pont-selection-free {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .pont-flat-offer .pont-filter-toggle {
    justify-content: flex-start;
    min-height: 40px;
  }

  .pont-flat-offer .pont-filter-reset {
    width: auto;
    min-height: 40px;
    gap: 8px;
  }

  .pont-reset-label {
    display: inline;
    padding: 0 !important;
    color: var(--pont-dark-gray) !important;
    font-size: 14px !important;
  }

  .pont-custom-select {
    box-sizing: border-box;
    height: 48px;
  }

  .pont-selection-popup {
    width: calc(100vw - 24px);
  }

  .pont-selection-popup .floor-inner,
  .pont-selection-popup .floor-inner.bg-orange {
    padding: 0 0 10px 0 !important;
    background: transparent;
    color: var(--pont-dark-gray);
  }

  .pont-selection-popup .floor-inner h4,
  .pont-selection-popup .floor-inner p {
    color: var(--pont-dark-gray);
  }

  .pont-selection-popup .floor-inner h4 {
    font-size: 26px;
    padding-bottom: 12px;
  }

  .pont-floating-tooltip .floor-inner p.popis,
  .pont-selection-popup .floor-inner p.popis {
    font-size: 17px;
  }

  .pont-floating-tooltip .floor-inner p,
  .pont-selection-popup .floor-inner p {
    line-height: 1.2;
  }

  .pont-selection-popup .pont-popup-status {
    display: inline-block;
    padding: 2px 12px;
    margin: 0;
  }

  .pont-selection-popup .floor-inner h4 .arrow {
    display: none;
  }

  .pont-selection-popup .pont-selection-card {
    background: transparent !important;
  }

  .pont-selection-popup .btn {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.4;
  }

  .pont-popup-handle {
    box-sizing: content-box;
    height: 1px;
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .pont-popup-handle span {
    width: 120px;
    height: 1px;
    border-radius: 0;
  }

  .pont-selection-popup .pont-flat-tooltip .floor-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pont-selection-popup .pont-flat-tooltip .width50,
  .pont-selection-popup .pont-studio-tooltip__interior {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    width: 100%;
  }

  .pont-selection-popup .pont-flat-tooltip .popis {
    margin: 0;
    font-size: 17px;
  }

  .pont-selection-popup .pont-flat-tooltip .width50 > p:last-child,
  .pont-selection-popup .pont-studio-tooltip__interior > p:last-child {
    text-align: right;
  }

  .pont-selection-popup .pont-popup-action {
    margin-top: 12px;
  }

  .pont-popup-choose-floor {
    margin-top: 10px;
  }

  .pont-popup-footer {
    padding-top: 10px;
  }

  .pont-selection-popup[open] {
    animation: pont-popup-slide-in 300ms ease-out;
  }

  .pont-selection-popup[open]::backdrop {
    animation: pont-popup-backdrop-in 300ms ease-out;
  }

  .pont-floor-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-bottom: 45px;
  }

  .pont-floor-sidebar {
    order: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: auto;
    padding-top: 0;
  }

  .pont-floor-navigation {
    display: grid;
    flex: 0 1 140px;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px 12px;
  }

  .pont-floor-navigation__caption {
    font-size: 15px;
  }

  .pont-floor-sidebar__orientation {
    flex: 0 1 210px;
    width: 55%;
    max-width: 210px;
    margin: 0;
  }
  .pont-flat-offer .pont-show-all {
    margin: 20px auto 0;
  }
}

@media (max-width: 575px) {
  .pont-flat-offer .pont-selection-table {
    overflow-x: auto;
    margin-right: -15px;
  }

  .pont-flat-offer #byty_table {
    min-width: 680px;
    margin-right: 15px;
  }

  .pont-flat-offer .pont-selection-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 28px;
  }

  .pont-flat-offer .pont-selection-field {
    gap: 14px;
  }

  .pont-selection-controls {
    flex-wrap: wrap;
  }

  .pont-flat-offer .pont-selection-free {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .pont-flat-offer .pont-filter-toggle {
    flex: 0 0 auto;
  }

  .pont-flat-offer .pont-filter-reset {
    flex: 0 0 auto;
    gap: 8px;
    width: auto;
    font-size: 14px;
  }

  .pont-reset-label {
    display: inline;
    padding: 0 !important;
    color: var(--pont-dark-gray) !important;
    font-size: 14px !important;
  }

  .pont-flat-offer .pont-selection-count {
    text-align: left;
    font-size: 14px;
  }
  .pont-flat-offer #byty_table thead th.t-col-price::before {
    height: calc(var(--pont-price-column-height, 100%) + 26px);
  }
  .pont-flat-offer #byty_table thead th.t-col-price::after {
    top: calc(var(--pont-price-column-height, 100%) - 2px);
  }
  .pont-flat-offer .pont-selection-table .dataTables_wrapper {
    padding-bottom: 30px;
  }


}

@media (min-width: 576px) and (max-width: 1024px) {
  .pont-selection-popup {
    width: calc(100vw - 40px);
  }

  .pont-popup-handle span {
    width: 240px;
  }

  .pont-flat-offer #byty_table thead th.t-col-price::before {
    height: calc(var(--pont-price-column-height, 100%) + 26px);
  }
  .pont-flat-offer #byty_table thead th.t-col-price::after {
    top: calc(var(--pont-price-column-height, 100%) - 2px);
  }
  .pont-flat-offer .pont-selection-table .dataTables_wrapper {
    padding-bottom: 36px;
  }
  .pont-flat-offer .pont-room-buttons {
    gap: 10px;
  }
  .pont-flat-offer .pont-room-buttons .filter-table.filter-btn-studia {
    padding: 0 4px;
  }
  .pont-flat-offer .pont-room-buttons .filter-table {
    font-size: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pont-selection-popup[open],
  .pont-selection-popup[open]::backdrop {
    animation: none;
  }
}
@media (min-width: 481px) and (max-width: 991px) {
  .pont-flat-offer .pont-selection-table {
    overflow-x: auto;
    margin-right: -25px;
  }
  .pont-flat-offer #byty_table {
    margin-right: 25px;
  }
}
/* Kompaktné desktopové filtre na všetkých stránkach s ponukou jednotiek. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .pont-flat-offer .pont-selection-filters,
  .pont-flat-offer:not(.pont-flat-offer--fixed-floor) .pont-selection-filters {
    grid-template-columns: minmax(140px, 0.65fr) minmax(220px, 1fr) auto;
    gap: 16px;
  }

  .pont-flat-offer--fixed-floor .pont-selection-filters {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pont-flat-offer .pont-selection-controls {
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    gap: 16px;
  }

  .pont-flat-offer--studios .pont-selection-controls {
    grid-column: 1 / -1;
  }

  .pont-flat-offer .filter-table-caption {
    font-size: 20px;
  }

  .pont-flat-offer .pont-room-buttons {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .pont-flat-offer .pont-room-buttons .filter-table,
  .pont-flat-offer .pont-room-buttons .filter-table.active {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .pont-flat-offer .pont-selection-free {
    grid-column: auto;
    align-self: auto;
    font-size: 20px;
  }

  .pont-flat-offer .pont-filter-toggle {
    flex: 0 0 auto;
    justify-content: space-between;
    min-height: 50px;
    font-size: 18px;
  }

  .pont-flat-offer .pont-filter-reset {
    flex: 0 0 40px;
    width: 40px;
    min-height: 50px;
  }

  .pont-flat-offer .pont-reset-label {
    display: none;
  }

  .pont-flat-offer .pont-reset-icon {
    transform: scale(1.35);
  }

  .pont-flat-offer .pont-custom-select {
    height: 50px;
  }

  .pont-flat-offer .pont-custom-select .custom-select__trigger {
    height: 28px;
    font-size: 20px;
  }
}
