/* ============================================================
   Prague Shared Flats – Modern Redesign
   Aesthetic: Editorial / Magazine · Teal + Cream + Charcoal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --teal:        #24747a;
  --teal-dark:   #1a5459;
  --teal-light:  #e8f4f5;
  --cream:       #faf8f4;
  --charcoal:    #1c1c1c;
  --mid:         #555;
  --border:      #e0dbd2;
  --white:       #ffffff;
  --radius:      4px;
  --shadow:      0 2px 20px rgba(0,0,0,.08);
  --shadow-hover:0 8px 40px rgba(0,0,0,.16);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  margin: 0;
  padding-top: 80px; /* nav height */
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
}

h2 { margin-top: 1.2em; margin-bottom: .9em; }
h2:first-child { margin-top: 0; }

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); text-decoration: none; }
[class*='psf-btn']:hover, [class*='psf-contact-card__link']:hover, [class*='psf-tag']:hover { text-decoration: none; }

p { line-height: 1.7; margin: 0 0 1em; }

img { max-width: 100%; height: auto; display: block; }

/* ── Navigation ─────────────────────────────────────────────── */
.psf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}

.psf-nav__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.psf-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.psf-nav__brand:hover { text-decoration: none; color: inherit; opacity: .82; transform: translateY(-1px); }

.psf-nav__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.psf-nav__brandtext { line-height: 1; }

.psf-nav__brandtext strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--charcoal);
  letter-spacing: -.3px;
}

.psf-nav__brandtext span {
  font-size: 11px;
  color: var(--teal);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.psf-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}

.psf-nav__links li a,
.psf-nav__links li span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.psf-nav__links li a:hover { background: var(--teal-light); color: var(--teal); text-decoration: none; }
.psf-nav__links li.active a { color: var(--teal); font-weight: 600; }

.psf-nav__links li.nav-phone a {
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 8px 18px;
}
.psf-nav__links li.nav-phone a:hover { background: var(--teal-dark); text-decoration: none; }

.psf-nav__links li.nav-login a {
  border: 1.5px solid var(--teal);
  color: var(--teal) !important;
  border-radius: 50px;
  padding: 7px 18px;
}
.psf-nav__links li.nav-login a:hover { background: var(--teal); color: var(--white) !important; text-decoration: none; }

/* Hamburger */
.psf-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.psf-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ───────────────────────────────────────────────────── */
.psf-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.psf-hero--short {
  min-height: 60vh;
}

.psf-hero--short .psf-hero__sub {
  margin-bottom: 0;
}

.psf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,60,63,.85) 0%, rgba(36,116,122,.6) 100%);
}

.psf-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.psf-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.psf-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 700px;
}

.psf-hero__title em {
  font-style: italic;
  color: rgba(255,255,255,.75);
}

.psf-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ── Search Box ─────────────────────────────────────────────── */
.psf-searchbox {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 36px;
  max-width: 580px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.psf-searchbox--inline {
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  padding: 28px 32px;
}

.psf-searchbox--inline .psf-searchbox__fields {
  grid-template-columns: 1fr 1fr;
}

.psf-searchbox__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.psf-searchbox__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.psf-searchbox__tab {
  flex: 1;
  position: relative;
}

.psf-searchbox__tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.psf-searchbox__tab label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 0 !important;
}

.psf-searchbox__tab input:checked + label {
  background: var(--teal);
  color: var(--white);
}

.psf-searchbox__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.psf-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.psf-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}

.psf-field input:focus { border-color: var(--teal); }

.psf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--teal);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.psf-btn:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36,116,122,.35);
}

.psf-btn--full { width: 100%; }

.psf-btn--outline {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}

.psf-btn--outline:hover {
  background: var(--teal);
  color: var(--white);
}

.psf-btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ── Section ────────────────────────────────────────────────── */
.psf-section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.psf-section--bg {
  background: var(--teal-light);
  max-width: 100%;
  padding: 96px 0;
}

.psf-section--white {
  background: var(--white);
  max-width: 100%;
  padding: 96px 0;
}

.psf-section--bg .psf-section__inner,
.psf-section--white .psf-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.psf-section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.psf-section__title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--charcoal);
  margin-bottom: 16px;
}

.psf-section__sub {
  font-size: 17px;
  color: var(--mid);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── How it works ───────────────────────────────────────────── */
.psf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}

.psf-step {
  text-align: center;
  position: relative;
}

.psf-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.psf-step__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 16px;
  opacity: .85;
}

.psf-step__title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.psf-step__desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── Cards ──────────────────────────────────────────────────── */
.psf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.psf-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.psf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.psf-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--teal-light);
}

.psf-card__thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.psf-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.psf-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.psf-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.psf-card__title {
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.psf-card__desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.psf-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mid);
  margin-top: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.psf-card__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.psf-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.psf-card__price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
}

/* ── Prefooter / Residences ─────────────────────────────────── */
.psf-prefooter {
  background: var(--charcoal);
  overflow: hidden;
}

.psf-prefooter__map img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  opacity: .7;
}

.psf-prefooter__residences {
  display: flex;
  flex-wrap: wrap;
}

.psf-residence-card {
  flex: 1 1 280px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.psf-residence-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}

.psf-residence-card:hover .psf-residence-card__bg {
  transform: scale(1.06);
}

.psf-residence-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
}

.psf-residence-card__title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  z-index: 2;
}

/* ── Flash messages ─────────────────────────────────────────── */
.psf-flash {
  padding: 14px 24px;
  margin: 16px auto;
  max-width: 1200px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.psf-flash--success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.psf-flash--warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }
.psf-flash--danger  { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.psf-page-hero {
  background: var(--charcoal);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.psf-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--charcoal) 100%);
  opacity: .9;
}

.psf-page-hero__content { position: relative; z-index: 2; }

.psf-page-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 52px);
  margin-bottom: 12px;
}

.psf-page-hero p {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin: 0;
}

/* ── Detail page ────────────────────────────────────────────── */
.psf-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.psf-detail__info table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.psf-detail__info td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.psf-detail__info td:first-child {
  font-weight: 500;
  color: var(--mid);
  width: 160px;
}

.psf-sidebar {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.psf-sidebar__price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}

.psf-sidebar__price-note {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 8px;
  display: block;
}

.psf-sidebar__price-alt {
  font-size: 15px;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 20px;
  display: block;
}

.psf-sidebar__price-alt small {
  font-size: 12px;
  font-weight: 400;
}

/* ── Gallery ────────────────────────────────────────────────── */
.psf-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px;
  margin: 0 0 48px 0;
}

.psf-gallery__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.psf-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(36,116,122,0);
  transition: background var(--transition);
  pointer-events: none;
}

.psf-gallery__item:hover::after { background: rgba(36,116,122,.2); }

.psf-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.psf-gallery__item:hover img { transform: scale(1.05); }

/* ── Equipment icons ────────────────────────────────────────── */
.psf-equip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.psf-equip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  text-align: center;
}

.psf-equip__item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform var(--transition);
}

.psf-equip__item:hover img { transform: scale(1.15) rotate(8deg); }

.psf-equip__item span {
  font-size: 10px;
  color: var(--mid);
  line-height: 1.3;
}

/* Velké ikony – room detail */
.psf-equip--lg .psf-equip__item { width: 100px; }
.psf-equip--lg .psf-equip__item img { width: 80px; height: 80px; }
.psf-equip--lg .psf-equip__item span { font-size: 11px; }

/* Malé ikony – výpis pokojů v flat detail */
.psf-equip--sm { gap: 10px; margin: 8px 0; }
.psf-equip--sm .psf-equip__item { width: 52px; }
.psf-equip--sm .psf-equip__item img { width: 32px; height: 32px; }

/* ── Rooms list ─────────────────────────────────────────────── */
.psf-rooms { margin-top: 48px; }

.psf-room-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.psf-room-row:not(:has(.psf-room-row__thumb)) {
  grid-template-columns: 1fr auto;
}

.psf-room-row__thumb {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.psf-room-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.psf-room-row:last-child { border-bottom: none; }

.psf-room-row__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.psf-room-row__meta {
  font-size: 13px;
  color: var(--mid);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.psf-room-row__price-alt {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 10px;
}

.psf-room-row__price-alt small {
  font-size: 12px;
  opacity: .8;
}

/* ── Search results ─────────────────────────────────────────── */
.psf-results-header {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.psf-results-count {
  font-size: 14px;
  color: var(--mid);
}

/* ── Footer ─────────────────────────────────────────────────── */
.psf-footer {
  background: var(--charcoal);
  padding: 20px 24px;
  text-align: center;
}

.psf-footer p {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin: 0;
}

.psf-footer a { color: rgba(255,255,255,.65); }
.psf-footer a:hover { color: var(--white); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.psf-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--mid);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.psf-breadcrumb a { color: var(--teal); }
.psf-breadcrumb__sep { color: var(--border); }

/* ── Alert / info box ───────────────────────────────────────── */
.psf-alert {
  padding: 20px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  border: 2px solid;
  margin: 5px auto;
  max-width: 560px;
  text-align: center;
}

.psf-alert--info { background: var(--teal-light); border-color: var(--teal); color: var(--teal-dark); }
.psf-alert--warn { background: #fffbeb; border-color: #f59e0b; color: #92400e; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .psf-detail {
    grid-template-columns: 1fr;
  }
  .psf-sidebar { position: static; }
}

@media (max-width: 950px) {
  body { padding-top: 70px; }

  .psf-nav { height: 70px; }

  .psf-nav__links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    gap: 4px;
    align-items: stretch;
  }

  .psf-nav__links.is-open { display: flex; }

  .psf-nav__links li a,
  .psf-nav__links li span {
    justify-content: flex-start;
    padding: 12px 16px;
  }

  .psf-nav__toggle { display: flex; }

  .psf-hero { min-height: 70vh; background-attachment: scroll; background-position: center top; }
  .psf-hero--short { min-height: 55vh; }
  .psf-hero__title { font-size: clamp(32px, 8vw, 56px); margin-bottom: 16px; }
  .psf-hero__sub { font-size: 16px; margin-bottom: 32px; }
  .psf-hero__tag { margin-bottom: 20px; }
  .psf-hero__content { padding: 40px 20px; }

  .psf-searchbox { padding: 24px; }
  .psf-searchbox__fields { grid-template-columns: 1fr; }

  .psf-steps { grid-template-columns: repeat(2, 1fr); }

  .psf-section { padding: 64px 24px; }

  .psf-room-row { grid-template-columns: 1fr; }

  .psf-gallery { grid-template-columns: repeat(2, 1fr); }

  .psf-breadcrumb { display: none; }
}

@media (max-width: 480px) {
  .psf-steps { grid-template-columns: 1fr; }
  .psf-grid { grid-template-columns: 1fr; }
}

/* ── Search result cards ────────────────────────────────────── */
.psf-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.psf-search-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.psf-search-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.psf-search-card__img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--teal-light);
  flex-shrink: 0;
}

.psf-search-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.psf-search-card:hover .psf-search-card__img-wrap img {
  transform: scale(1.04);
}

.psf-search-card__floorplan {
  object-fit: contain !important;
  background: #f8f9fb;
  padding: 8px;
  box-sizing: border-box;
}

.psf-search-card__img-wrap:has(.psf-search-card__floorplan) {
  border: 1px solid #d0d8e4;
  border-radius: 10px 10px 0 0;
}

.psf-search-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
}

.psf-search-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.psf-search-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.psf-search-card__location {
  font-size: 12px;
  color: var(--mid);
  margin-bottom: 6px;
}

.psf-search-card__location a {
  color: var(--teal);
  font-weight: 500;
}

.psf-search-card__title {
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.psf-search-card__meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--mid);
  margin-top: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.psf-search-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
  margin-top: auto;
  padding-top: 12px;
}

.psf-search-card__price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
}

.psf-search-card__price-alt {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 16px;
}

.psf-search-card__price-alt small {
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
}

.psf-search-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .psf-search-grid { grid-template-columns: 1fr; }
}

/* ── MyAccount – Reservation cards ─────────────────────────── */
.psf-reservations {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.psf-res-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.psf-res-card:hover { box-shadow: var(--shadow); }

.psf-res-card--accepted { border-left: 4px solid #2ea043; }
.psf-res-card--rejected { border-left: 4px solid #e53; }
.psf-res-card--new      { border-left: 4px solid #f0a500; }
.psf-res-card--inactive { border-left: 4px solid #aaa; }
.psf-res-card--deleted  { border-left: 4px solid #ccc; opacity: .7; }

.psf-res-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

.psf-res-card__badge {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: #f0f0f0;
  color: var(--charcoal);
}
.psf-res-badge--accepted { background: #d4edda; color: #155724; }
.psf-res-badge--rejected { background: #fde0e0; color: #7a1a1a; }
.psf-res-badge--new      { background: #fff3cd; color: #856404; }
.psf-res-badge--inactive { background: #f0f0f0; color: #555; }
.psf-res-badge--deleted  { background: #e9ecef; color: #888; }

.psf-res-card__dates {
  font-size: 13px;
  color: var(--mid);
}

.psf-res-card__body {
  padding: 16px 20px;
}

.psf-res-card__note {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

.psf-res-card__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--cream);
  display: flex;
  gap: 10px;
}

/* ── Nette form – psf styling ───────────────────────────────── */
.psf-detail__info form div {
  margin-bottom: 18px;
}

.psf-detail__info form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.psf-detail__info form input[type="text"],
.psf-detail__info form input[type="email"],
.psf-detail__info form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
}

.psf-detail__info form input[type="text"]:focus,
.psf-detail__info form input[type="email"]:focus,
.psf-detail__info form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.psf-detail__info form textarea {
  min-height: 90px;
  resize: vertical;
}

.psf-detail__info form input[type="submit"] {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}
.psf-detail__info form input[type="submit"]:hover { background: var(--teal-dark); }

/* ── Rezervation summary ────────────────────────────────────── */
.psf-summary-block {
  margin-bottom: 32px;
}

.psf-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.psf-summary-row span {
  font-size: 14px;
  color: var(--mid);
  min-width: 140px;
}

.psf-summary-row strong {
  font-size: 15px;
  color: var(--charcoal);
  text-align: right;
}

/* ── Danger button variant ──────────────────────────────────── */
.psf-btn--danger {
  border-color: #e53 !important;
  color: #e53 !important;
}
.psf-btn--danger:hover {
  background: #e53 !important;
  color: var(--white) !important;
}

@media (max-width: 640px) {
  .psf-res-card__header { flex-direction: column; align-items: flex-start; }
  .psf-summary-row { flex-direction: column; gap: 4px; }
  .psf-summary-row strong { text-align: left; }
}

/* ── Rezervation page ───────────────────────────────────────── */
.psf-rez-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 32px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.psf-rez-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 90px;
}

.psf-rez-step__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
}

.psf-rez-step--inactive .psf-rez-step__icon {
  background: #e0dbd2;
  color: #aaa;
}

.psf-rez-step--active .psf-rez-step__icon {
  background: var(--teal-dark);
  box-shadow: 0 0 0 4px var(--teal-light);
}

.psf-rez-step span {
  font-size: 11px;
  color: var(--mid);
  line-height: 1.4;
}

.psf-rez-step--inactive span { color: #bbb; }
.psf-rez-step--active span { color: var(--teal-dark); font-weight: 600; }

.psf-rez-step__arrow {
  font-size: 18px;
  color: var(--teal);
  padding-bottom: 20px;
}
.psf-rez-step__arrow--inactive { color: #ccc; }

.psf-rez-block {
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}

.psf-rez-block h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 22px;
}

.psf-rez-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.psf-rez-info-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.psf-rez-info-row span {
  color: var(--mid);
  min-width: 130px;
  font-weight: 500;
}

.psf-rez-map {
  width: 100%;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.psf-rez-price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.psf-rez-price-row--total {
  font-weight: 700;
  font-size: 17px;
  color: var(--teal-dark);
  border-bottom: none;
}

.psf-rez-field {
  margin-bottom: 18px;
}

.psf-rez-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.psf-rez-field input[type="text"],
.psf-rez-field input[type="email"],
.psf-rez-field input[type="tel"],
.psf-rez-field input[type="date"],
.psf-rez-field textarea,
.psf-rez-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
}

.psf-rez-field input:focus,
.psf-rez-field textarea:focus,
.psf-rez-field select:focus {
  outline: none;
  border-color: var(--teal);
}

.psf-rez-field textarea { resize: vertical; min-height: 70px; }

.psf-req { color: #e53; }

/* Person cards */
.psf-person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.psf-person-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.psf-person-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.psf-person-card__remove {
  background: none;
  border: 1px solid #e0dbd2;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.psf-person-card__remove:hover { background: #fee; border-color: #e53; color: #e53; }

.psf-rez-actions {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 640px) {
  .psf-rez-info-grid { grid-template-columns: 1fr; }
  .psf-rez-steps { gap: 4px; }
  .psf-rez-step { min-width: 60px; }
  .psf-rez-step__icon { width: 44px; height: 44px; }
  .psf-rez-step span { font-size: 10px; }
}

/* ── Buttons – no underline on hover ───────────────────────── */
.psf-btn,
.psf-btn:hover,
.psf-btn:focus { text-decoration: none !important; }

/* ── MyAccount – reservation cards (new layout) ─────────────── */
.psf-res-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  margin-bottom: 16px;
  transition: box-shadow var(--transition);
}
.psf-res-card:hover { box-shadow: var(--shadow); }

.psf-res-card--accepted { border-left: 4px solid #2ea043; }
.psf-res-card--rejected { border-left: 4px solid #e53; }
.psf-res-card--new      { border-left: 4px solid #f0a500; }
.psf-res-card--inactive { border-left: 4px solid #aaa; }
.psf-res-card--deleted  { border-left: 4px solid #ddd; opacity:.7; }

.psf-res-card__inner {
  display: flex;
  gap: 0;
}

.psf-res-card__thumb {
  position: relative;
  width: 220px;
  min-height: 220px;
  flex-shrink: 0;
  background: var(--cream);
  overflow: hidden;
}

.psf-res-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.psf-res-card__nophoto {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.psf-res-card__type-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.psf-res-card__content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.psf-res-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.psf-res-card__residence {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.psf-res-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}

.psf-res-card__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--mid);
  margin-top: 6px;
}

.psf-res-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.psf-res-badge--accepted { background:#d4edda; color:#155724; }
.psf-res-badge--rejected { background:#fde0e0; color:#7a1a1a; }
.psf-res-badge--new      { background:#fff3cd; color:#856404; }
.psf-res-badge--inactive { background:#f0f0f0; color:#555; }
.psf-res-badge--deleted  { background:#e9ecef; color:#888; }

.psf-res-card__dates {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mid);
}

.psf-res-card__note {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

.psf-res-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ── Summary – item card ────────────────────────────────────── */
.psf-summary-item-card {
  background: var(--teal-light);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.psf-summary-item-card h2 { margin-top: 8px !important; }

.psf-summary-item-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--mid);
  margin-top: 12px;
}

.psf-summary-item-meta strong {
  color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 640px) {
  .psf-res-card__inner { flex-direction: column; }
  .psf-res-card__thumb { width: 100%; height: 160px; }
  .psf-summary-item-meta { grid-template-columns: 1fr; }
}

/* ── Google Maps embed ──────────────────────────────────────────── */
.psf-map {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.psf-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

/* ── Location section (homepage) ───────────────────────────────── */
.psf-location {
  background: var(--white);
  padding: 96px 0 48px;
}

.psf-location .psf-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.psf-location__map-fullwidth {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  margin: 0;
  display: block;
  line-height: 0;
}

.psf-location__map-fullwidth iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

.psf-location__gmaps {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  border-radius: 12px;
}

.psf-location__gmaps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}


/* ── Leaflet custom house pin ───────────────────────────────────── */
.psf-map-pin {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.psf-map-pin svg {
  transform: rotate(45deg);
}

/* ── Search house filter ── */
.psf-searchbox__houses {
  margin-bottom: 20px;
}
.psf-searchbox__houses-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}
.psf-searchbox__houses-checks {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
}
.psf-livewith-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.psf-livewith-tab {
  flex: 1;
  position: relative;
}
.psf-livewith-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.psf-livewith-tab label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 0 !important;
  white-space: nowrap;
}
.psf-livewith-tab input:checked + label {
  background: var(--teal);
  color: var(--white);
}
.psf-livewith-tab:not(:last-child) label {
  border-right: 1.5px solid var(--border);
}

.psf-house-check {
  gap: .35rem;
  font-size: 1.275rem;
  color: var(--charcoal);
  cursor: pointer;
  padding: .3rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  transition: border-color .15s, background .15s;
  user-select: none;
}
.psf-house-check input { display: none; }
.psf-house-check:has(input:checked) {
  border-color: var(--teal);
  background: #e8f4f4;
  color: var(--teal-dark);
  font-weight: 500;
}
.psf-house-check:hover {
  border-color: var(--teal);
}
/* ── Utility třídy – nahrazují inline styly ve Front šablonách ────────────── */

/* HR oddělovač se světlou barvou */
.psf-hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #e0dbd2;
}
.psf-hr--sm {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #e0dbd2;
}
.psf-hr--xs {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #e0dbd2;
}
.psf-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 0;
}
.psf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.psf-tag--students     { background: #d4f1f4; color: #0e6674; }
.psf-tag--professionals { background: #e8f4e8; color: #276027; }
.psf-tag--longterm     { background: #f0eaff; color: #5a2d9e; }
.psf-tag--girls        { background: #fce7f3; color: #9d174d; }
.psf-tag--boys         { background: #dbeafe; color: #1e40af; }
.psf-tag--mixed        { background: #f0fdf4; color: #15803d; }
.psf-tag--unavailable  { background: #fee2e2; color: #991b1b; }

.psf-conditions-bold {
  font-weight: 500;
  color: #1a2e4a;
}

.psf-hr--trans {
  width: 60px;
  margin: 10px 0;
  border: 0;
  border-top: 2px solid #b0a898;
}

.psf-nav-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255,255,255,0.3);
}

/* Info box s teal pozadím */
.psf-info-box {
  background: var(--teal-light);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0;
  line-height: 2.2;
}
.psf-info-box--sm {
  background: var(--teal-light);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* Sekce s margin-top:0 */
.psf-section--bg-flush {
  margin-top: 0;
}

/* Sekce s padding-bottom:0 */
.psf-section--no-pb {
  padding-bottom: 0;
}

/* Sidebar info text */
.psf-sidebar-info {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}
.psf-sidebar-info--lg {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}

/* Sidebar tlačítko s mezerou dole */
.psf-btn--mb12 {
  margin-bottom: 12px;
}

/* Availability popisek */
.psf-avail-note {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

/* Sekce s vrchním odsazením */
.psf-section-mt-48 {
  margin-top: 48px;
}

/* Sekce s dolním odsazením */
.psf-section-mb-48 {
  margin-bottom: 48px;
}
.psf-section-mb-32 {
  margin-bottom: 32px;
}

/* Video wrapper */
.psf-video-wrap {
  margin: 32px 0;
}
.psf-video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
}

/* Lokace sekce */
.psf-location-wrap {
  margin: 32px 0;
}

/* Popis nemovitosti */
.psf-description {
  margin: 24px 0;
}
.psf-description--body {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Floor plan obrázek */
.psf-floorplan {
  border-radius: 8px;
  margin-bottom: 32px;
}

/* Nadpis pokojů na detailu bytu */
.psf-rooms-title {
  margin-top: 48px;
}

/* Nadpis detailu pokoje */
.psf-room-detail-title {
  margin-top: 32px;
}

/* Nadpis sekce h3 s mezerou dole */
.psf-h3-location {
  margin-bottom: 12px;
}
.psf-h3-equip {
  margin-top: 32px;
}

/* Fotky galerie s margin-top */
.psf-photos-title {
  margin-top: 64px;
}

/* MyAccount – header řádek */
.psf-account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.psf-account-header .psf-section__title {
  margin-top: 4px;
  margin-bottom: 0;
}

/* Odkaz v alertu */
.psf-alert-link {
  margin-left: 8px;
  font-weight: 600;
}

/* Tlačítko zpět na konci stránky */
.psf-back-wrap {
  margin-top: 48px;
}

/* Reservation summary – flex akce */
.psf-summary-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reservation summary – sidebar detail */
.psf-sidebar-detail {
  font-size: 13px;
  color: #666;
  line-height: 2.2;
}

/* Přidat spolubydlícího tlačítko */
.psf-add-person {
  margin-top: 16px;
}

/* Personal info popisek */
.psf-persons-note {
  color: #888;
  margin-bottom: 24px;
}

.psf-res-card__contact {
  margin: 12px 0;
  padding: 12px 14px;
  background: #f8fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.psf-res-card__contact-label {
  font-size: 13px;
  color: var(--mid);
}
.psf-res-card__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.psf-res-card__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}
.psf-res-card__contact-link:hover { color: var(--teal-dark); }

.psf-contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f8fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 640px;
}
.psf-contact-card__avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.psf-contact-card__intro {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.psf-contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.psf-contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.psf-contact-card__link--phone {
  background: var(--teal);
  color: #fff;
}
.psf-contact-card__link--phone:hover { background: var(--teal-dark); color: #fff; }
.psf-contact-card__link--email {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}
.psf-contact-card__link--email:hover { background: var(--teal); color: #fff; }
@media (max-width: 600px) {
  .psf-contact-card { flex-direction: column; padding: 20px; }
  .psf-contact-card__links { flex-direction: column; }
  .psf-contact-card__link { justify-content: center; }
}

/* Hero – background-image je dynamický, zůstane inline pouze u .psf-hero */
/* Residence card bg – dynamický, zůstane inline */

/* Reservation summary – foto objektu */
.psf-summary-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* adm-form-mb-20 */
.psf-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
}
/* ── Search info tooltip ─────────────────────────────────────────── */
.psf-label-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.psf-label-wrap .psf-searchbox__houses-label {
  margin-bottom: 0;
}
.psf-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border);
  color: var(--mid);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.psf-info-icon:hover,
.psf-info-icon.is-open {
  background: var(--teal);
  color: #fff;
}
.psf-info-tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 200;
  width: 260px;
  background: #1a2e4a;
  color: #e8f0f8;
  font-size: 12px;
  line-height: 1.55;
  padding: 10px 13px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  font-weight: 400;
  font-style: normal;
  pointer-events: none;
}
.psf-info-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 10px;
  width: 10px;
  height: 10px;
  background: #1a2e4a;
  transform: rotate(45deg);
  border-radius: 2px;
}
.psf-info-icon.is-open .psf-info-tooltip {
  display: block;
}