/* ── Detail ponuky ── */

/* 3D prehliadka v hero */
.tour-hero { height: 880px; }
.tour-hero:fullscreen { height: 100%; border-radius: 0; }
.tour { position: absolute; inset: 0; overflow: hidden; cursor: grab; user-select: none; touch-action: pan-y; }
.tour.is-dragging { cursor: grabbing; }
.tour-track { position: absolute; top: 0; bottom: 0; left: 0; width: 800%; display: flex; transition: transform .5s var(--ease); }
.tour.is-dragging .tour-track { transition: none; }
.tour-wall { flex: 1 1 0; position: relative; }
.tour-wall::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35)); }
.tour-wall::after { content: ''; position: absolute; left: 12%; right: 12%; top: 22%; bottom: 30%; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; }
.tour-wall span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55); white-space: nowrap; }
.tour-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,15,.55) 0%, rgba(10,10,15,0) 22%, rgba(10,10,15,0) 55%, rgba(10,10,15,.8) 100%); }

.tour-hint {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(10,10,15,.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 20px; padding: 18px 24px;
  font-size: 14px; font-weight: 500;
  transition: opacity .4s;
}
.tour-hint svg { animation: hint 1.8s ease-in-out infinite; }
.tour-hint.is-gone { opacity: 0; }
@keyframes hint { 0%, 100% { transform: translateX(-10px); } 50% { transform: translateX(10px); } }


.tour-chips { position: absolute; top: 96px; left: 24px; z-index: 4; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { color: var(--white); text-decoration: none; font-size: 13px; font-weight: 600; height: 40px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; gap: 8px; }
a.chip:hover { color: var(--white); }
.chip--blue { background: var(--blue); }
.chip-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--white); }

.tour-tools { position: absolute; right: 24px; top: 96px; z-index: 4; display: flex; flex-direction: column; gap: 8px; }

.tour-bottom {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 4;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end;
  pointer-events: none;
}
.tour-bottom > * { pointer-events: auto; }
.tour-info { max-width: 640px; padding: 28px; border-radius: 24px; background: rgba(10,10,15,.5); }
.tour-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-tags .tag { padding: 6px 12px; }
.tag--glass { background: rgba(255,255,255,.14); color: var(--white); }
.tour-title { margin-top: 16px; font-size: clamp(40px, 5vw, 72px); line-height: .95; font-weight: 600; letter-spacing: -0.045em; }
.tour-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 18px; }
.tour-price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.tour-place { font-size: 15px; color: var(--soft); }
.tour-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tour-ctas .pill { height: 52px; padding: 0 24px; }
.tour-ctas .pill--ghost { padding: 0 20px; }
.scroll-arrow { display: inline-block; animation: scroll-hint 1.6s ease-in infinite; }


/* Rýchle parametre */
.stats-wrap { padding-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; }
.stats > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { font-size: 22px; font-weight: 600; margin-top: 4px; }

/* Fotky */
.photos-section { padding-top: 100px; }
.section-head .h-display { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 12px; }
.photo-tile { border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--line); position: relative; }
.photo-tile:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.photo-tile .ph { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.photo-tile:hover .ph { transform: scale(1.03); }
.photo-tile--more .ph { background: var(--ink); color: var(--white); font-size: 15px; font-weight: 600; }

/* Obsah + bočný panel */
.detail-section { padding-top: 100px; }
.detail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.detail-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.detail-text { font-size: 18px; line-height: 1.7; color: #2a2a33; }
.detail-text p + p, .detail-text p + ul, .detail-text ul + p { margin-top: 1.1em; } /* medzi odsekmi voľný riadok */
.params { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 40px; font-size: 16px; }
.params > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.params dt { color: var(--muted); }
.params dd { font-weight: 600; text-align: right; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse at 40% 50%, #2e2c48 0%, var(--ink) 75%); display: flex; align-items: center; justify-content: center; }
.video-play { width: 80px; height: 80px; border-radius: 999px; border: 1.5px solid var(--white); background: rgba(255,255,255,.12); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; animation: pulse 2s infinite; }
.video-note { position: absolute; left: 20px; bottom: 20px; font-size: 13px; color: var(--muted-dark); }

.map { position: relative; height: 420px; border-radius: 24px; overflow: hidden; background-color: #ededf2; background-image: linear-gradient(#e0e0e8 1px, transparent 1px), linear-gradient(90deg, #e0e0e8 1px, transparent 1px); background-size: 48px 48px; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 999px; background: var(--blue); border: 4px solid var(--white); box-shadow: 0 2px 12px rgba(10,10,15,.3); }
.map-note { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; color: var(--muted); }
.nearby { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; font-size: 15px; }
.nearby > div { background: var(--mist); border-radius: 16px; padding: 16px; }
.nearby span { display: block; color: var(--muted); font-size: 13px; }

.detail-aside { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.agent { border-radius: 28px; background: var(--ink); color: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.agent-head { display: flex; gap: 16px; align-items: center; }
.agent-photo { width: 72px; height: 72px; border-radius: 999px; background: #2a2a36; flex: none; }
.agent-label { font-size: 13px; color: var(--muted-dark); }
.agent-name { font-size: 20px; font-weight: 600; }
.agent-link { color: var(--lilac); font-size: 14px; }
.agent-link:hover { color: var(--white); }
.agent-actions { display: flex; gap: 8px; }
.agent-btn { flex: 1 1 0; background: rgba(255,255,255,.12); color: var(--white); }
.agent-btn:hover { color: var(--white); }

.visit-form { display: flex; flex-direction: column; gap: 12px; background: var(--white); color: var(--ink); border-radius: 20px; padding: 20px; }
.visit-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.visit-form > label, .visit-type legend { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.visit-type { border: 0; display: flex; flex-direction: column; gap: 6px; }
.field { font-size: 16px; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); width: 100%; }
.field:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { flex: 1 1 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.visit-form .pill { height: 52px; }
.visit-done { background: var(--white); color: var(--ink); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; animation: fade .3s both; }
.visit-done[hidden] { display: none; }
.visit-done-title { font-size: 22px; font-weight: 600; }
.visit-done p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.hypo-open { text-align: left; color: var(--ink); cursor: pointer; border: 0; border-radius: 24px; background: var(--mist); padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 20px; transition: transform .25s; }
.hypo-open:hover { transform: translateY(-2px); }
.hypo-open-label { display: block; font-size: 13px; color: var(--muted); }
.hypo-open-title { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }

.similar-title { margin-bottom: 32px; }

/* Galéria */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; background: rgba(10,10,15,.94); color: var(--white); }
.lightbox[open] { animation: fade .25s both; }
.lightbox::backdrop { background: transparent; }
.lightbox-inner { height: 100%; display: flex; flex-direction: column; padding: 24px; gap: 16px; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--soft); }
.lightbox-stage { flex-grow: 1; min-height: 0; display: flex; align-items: center; gap: 16px; }
.lb-nav { width: 56px; height: 56px; }
.lightbox-photo { flex-grow: 1; height: 100%; max-height: 80vh; border-radius: 20px; font-size: 14px; }

/* Hypotekárna kalkulačka */
.hypo { width: 600px; max-width: calc(100% - 32px); max-height: calc(100vh - 32px); margin: auto; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 24px 80px rgba(10,10,15,.35); }
.hypo[open] { display: flex; flex-direction: column; animation: fade .25s both; }
.hypo::backdrop { background: rgba(10,10,15,.55); }
.hypo-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px 8px; }
.hypo-sub { font-size: 13px; color: var(--muted); }
.hypo-head h2 { margin-top: 4px; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.hypo-close { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--mist); cursor: pointer; font-size: 18px; flex: none; }
.hypo-body { padding: 16px 28px; display: flex; flex-direction: column; gap: 22px; }
.hypo-body label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hypo-body label > span { display: flex; justify-content: space-between; gap: 16px; }
.hypo-body strong { color: var(--ink); font-size: 17px; }
.hypo-body input { width: 100%; height: 28px; accent-color: var(--blue); }
.hypo-result { margin: 8px 12px 12px; border-radius: 22px; background: var(--ink); color: var(--white); padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.hypo-result-label { font-size: 14px; color: var(--muted-dark); }
.hypo-pay { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -0.045em; margin-top: 8px; }
.hypo-loan { font-size: 14px; color: var(--soft); margin-top: 10px; }
.hypo-note { flex-basis: 100%; font-size: 12px; line-height: 1.6; color: var(--muted-dark); }

/* ── Mobil ── */
@media (max-width: 860px) {
  .tour-hero { height: 760px; }
  .tour-chips { top: 76px; left: 12px; right: 12px; flex-wrap: nowrap; }
  .chip--hide-sm { display: none; }
  .tour-tools { top: 128px; right: 12px; }
  .tour-tools .round-btn { width: 44px; height: 44px; }
  .tour-hint { top: 38%; padding: 14px 18px; font-size: 13px; }
  .tour-bottom { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .tour-info { padding: 20px; border-radius: 20px; width: 100%; }
  .tour-title { font-size: 38px; margin-top: 12px; }
  .tour-price { font-size: 22px; }
  .tour-place { font-size: 13px; }
  .tour-meta { margin-top: 12px; gap: 4px 16px; }
  .tour-ctas { margin-top: 16px; }
  .tour-ctas .pill { flex: 1 1 auto; height: 48px; padding: 0 18px; font-size: 14px; }

  .stats-wrap { padding-top: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .stats > div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .stats dd { font-size: 18px; }

  .photos-section, .detail-section { padding-top: 64px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
  .photo-tile { border-radius: 16px; }
  .photo-tile:first-child { grid-column: 1 / 3; grid-row: span 2; }

  .detail { gap: 48px; }
  .detail-main { flex-basis: 100%; gap: 48px; }
  .detail-text { font-size: 16px; }
  .params { font-size: 15px; }
  .map { height: 280px; border-radius: 20px; }
  .video { border-radius: 20px; }
  .video-play { width: 64px; height: 64px; }
  .detail-aside { position: static; flex-basis: 100%; }
  .agent { padding: 20px; border-radius: 24px; }

  .lightbox-inner { padding: 16px; }
  .lightbox-stage { position: relative; }
  .lb-nav { position: absolute; z-index: 1; width: 44px; height: 44px; }
  #lb-prev { left: 8px; }
  #lb-next { right: 8px; }
  .lightbox-photo { max-height: 70vh; }

  .hypo-head { padding: 20px 20px 4px; }
  .hypo-head h2 { font-size: 24px; }
  .hypo-body { padding: 16px 20px; }
  .hypo-pay { font-size: 40px; }
  .hypo-result .pill { width: 100%; }
}

/* ════════ WordPress: Matterport, hlavná fotka, vložené video a mapa ════════ */
.tour-frame, .tour-photo { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.photo-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,10,15,.6); color: var(--white); font-size: 15px; font-weight: 600; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-play { position: relative; z-index: 1; }
.video iframe, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; left: 50%; top: calc(50% + 48px); transform: translateX(-50%); box-shadow: 0 2px 12px rgba(10,10,15,.2); }
.map-load:hover { transform: translateX(-50%) translateY(-2px); }
.map-note { top: auto; bottom: 16px; }
.lightbox-photo { position: relative; overflow: hidden; }
.map--gl { background: #ededf2; }

/* Zdieľanie */
.share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--white); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s; }
.share-btn:hover { background: rgba(255,255,255,.2); color: var(--white); }
.share-btn[hidden] { display: none; }
.print-only { display: none; }

/* Tlač / „Stiahnuť PDF“: len to podstatné – názov, cena, parametre, fotky, popis, kontakt */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .tour-frame, .tour, .tour-shade, .tour-hint, .tour-chips, .tour-tools, .tour-ctas, .share, .hero-shade,
  .photos-section .section-head button, .map, .video, .visit-form, .agent-actions, .agent-link, .hypo-open, .detail-aside > *:not(.agent),
  .similar-title, .similar-title + *, .lightbox, .footer-wrap, .mobile-nav, #hypo, dialog { display: none !important; }
  .hero-wrap { padding: 0; }
  .hero, .tour-hero { height: auto !important; min-height: 0 !important; background: none !important; color: #000; border-radius: 0; overflow: visible; }
  .tour-photo { position: static; width: 100%; height: 80mm; object-fit: cover; border-radius: 6mm; }
  .tour-bottom { position: static; padding: 0; }
  .tour-info { max-width: none; padding: 6mm 0 0; background: none !important; color: #000; backdrop-filter: none; }
  .tour-info .tag { border: 1px solid #000; background: none; color: #000; }
  .tour-title { font-size: 24pt; color: #000; }
  .tour-title .serif { color: #1d11ea; }
  .tour-price, .tour-place { color: #000; }
  .container { max-width: none; padding: 0; }
  .section { padding-top: 8mm; }
  .stats-wrap { padding-top: 6mm; }
  .stats dd { font-size: 13pt; }
  .photos-section { padding-top: 6mm; break-inside: avoid; }
  .photo-grid { grid-auto-rows: 38mm; gap: 2mm; }
  .photo-tile { border: 0; }
  .detail { display: block; }
  .detail-main > div { break-inside: avoid; margin-bottom: 6mm; }
  .h-section, .h-display { font-size: 15pt; margin-bottom: 3mm; }
  .detail-aside { position: static; }
  .agent { background: none; color: #000; border: 1px solid #ccc; padding: 5mm; border-radius: 4mm; break-inside: avoid; }
  .agent-label { color: #555; }
  .agent-photo { display: none; }
  .print-only { display: block; }
  .print-contact { font-size: 11pt; }
  .up { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Galéria: fotka bez svetlého podkladu (pozadie je len pre chýbajúcu fotku) – žiadne biele pruhy okolo */
.lightbox-photo:has(img) { background: none; display: flex; align-items: center; justify-content: center; }
.lightbox-photo img.ph { position: static; inset: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; background: none; border-radius: 16px; object-fit: contain; }
.photo-tile img.ph { background: none; }

/* ── Parametre pod hero: 4 hlavné + 4 špecifické ── */
.stats { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.stats--specs { margin-top: 10px; background: var(--mist); border-color: transparent; }
.stats--specs > div { border-right-color: rgba(10,10,15,.08); }
.stats--specs dd { font-size: 17px; line-height: 1.35; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:last-child { grid-column: auto; }
  .stats > div:nth-last-child(-n + 2):nth-child(odd) { border-bottom: 0; }
  .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stats > div:last-child { border-bottom: 0; }
  .stats--specs dd { font-size: 15px; }
}

/* ── Matterport: zámok proti priblíženiu kolieskom ── */
.tour-lock { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tour-lock-hint { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(10,10,15,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font: 600 14px/1 'Inter Tight', sans-serif; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.tour-lock:hover .tour-lock-hint, .tour-lock:focus-visible .tour-lock-hint { opacity: 1; transform: none; }
/* Pred spustením: veľké tlačidlo cez stred (prekryje „play“ Matterportu) */
.tour-hero:not(.is-started) .tour-lock-hint { opacity: 1; transform: none; gap: 12px; padding: 18px 28px; font-size: 17px; background: var(--white); color: var(--ink); box-shadow: 0 12px 40px rgba(10,10,15,.35); }
.tour-hero:not(.is-started) .tour-lock:hover .tour-lock-hint { background: var(--blue); color: var(--white); }
.tour-hero.is-touring .tour-lock { display: none; }
@media (hover: none) { .tour-lock-hint { opacity: 1; transform: none; } }

/* ── Všetky fotky (mriežka) ── */
.gallery-all { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,15,.96); color: var(--white); overflow-y: auto; overscroll-behavior: contain; }
.gallery-all[open] { animation: fade .25s both; }
.gallery-all::backdrop { background: transparent; }
.gallery-all-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: linear-gradient(180deg, rgba(10,10,15,.96) 60%, rgba(10,10,15,0)); }
.gallery-all-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.gallery-all-title span { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--soft); }
.gallery-all-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px 40px; columns: 3 320px; column-gap: 12px; }
.ga-tile { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #1c1c24; cursor: zoom-in; break-inside: avoid; }
.ga-tile img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease), opacity .3s; }
.ga-tile:hover img { transform: scale(1.03); }

/* ── Fotka na celú obrazovku: zavrie sa klikom mimo fotky ── */
.lightbox-photo { display: flex; align-items: center; justify-content: center; background: none; border-radius: 0; cursor: zoom-out; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 16px; object-fit: contain; cursor: default; user-select: none; }
.lb-empty { color: var(--soft); }
.lightbox-inner { cursor: zoom-out; }
.lightbox-top, .lb-nav { cursor: default; }
.lightbox-tip { text-align: center; font-size: 12px; color: var(--muted-dark); }
@media (max-width: 860px) {
  .gallery-all-top { padding: 14px 16px; }
  .gallery-all-title { font-size: 16px; }
  .gallery-all-grid { padding: 0 12px 24px; columns: 2 150px; column-gap: 8px; }
  .ga-tile { margin-bottom: 8px; border-radius: 12px; }
  .lightbox-tip { display: none; }
}

/* Predaná nehnuteľnosť – príbeh predaja */
.sold-story { border-radius: 24px; background: var(--mist); padding: 28px; }
.sold-story-title { margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.sold-story .detail-text { margin-top: 10px; }
.sold-story-quote { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; }
.sold-story-quote cite { display: block; margin-top: 8px; font-family: 'Inter Tight', sans-serif; font-style: normal; font-size: 14px; color: var(--muted); }
.sold-cta p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.sold-cta .pill { justify-content: center; }
@media (max-width: 860px) { .sold-story { padding: 20px; } .sold-story-quote { font-size: 20px; } }

/* ── Mobil: 3D prehliadka hore voľná, základné informácie (názov, cena, tlačidlá) pod ňou ── */
@media (max-width: 860px) {
  .tour-hero { --tour-h: min(560px, 68vh); height: auto; min-height: 0; }
  .tour-hero .tour-frame, .tour-hero .tour-photo, .tour-hero .tour, .tour-hero .tour-lock, .tour-hero .tour-shade { top: 0; bottom: auto; height: var(--tour-h); }
  .tour-hero .tour-shade { background: linear-gradient(180deg, rgba(10,10,15,.55) 0%, rgba(10,10,15,0) 30%); }
  .tour-hero .tour-hint { top: calc(var(--tour-h) * .45); }
  .tour-hero .tour-tools { top: calc(var(--tour-h) - 60px); flex-direction: row; }
  .tour-bottom { position: relative; left: auto; right: auto; bottom: auto; margin-top: var(--tour-h); padding: 8px; }
  .tour-info { background: transparent; padding: 16px 12px 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
