/* Podstrony korzystają z tej samej palety i nagłówka co wyszukiwarka. */
.city-choice-page { min-height:100dvh; display:grid; place-items:center; padding:32px 20px; }
.city-choice { width:100%; max-width:880px; }
.city-choice .brand-logo { width:260px; max-width:100%; margin:0 auto 56px; }
.city-choice h1 { text-align:center; font-size:clamp(1.75rem,4vw,2.5rem); margin:0 0 32px; }
.city-choice-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
body.stay-preview .city-choice-links a { display:flex; flex-direction:column; justify-content:space-between; gap:48px; padding:40px; min-height:230px; border:1px solid var(--border-subtle); border-top:4px solid var(--brand-gold); border-radius:12px; background:var(--surface); color:var(--text-primary); text-decoration:none; font-size:2rem; font-weight:600; }
body.stay-preview .city-choice-links a:hover { border-color:var(--brand-primary); }
.city-choice-action { font-size:1rem; color:var(--brand-primary); }
@media(max-width:600px) {
  .breadcrumbs { display:none; }
  .city-choice-links { grid-template-columns:minmax(0,1fr); gap:16px; }
  body.stay-preview .city-choice-links a { min-height:170px; padding:28px; gap:28px; }
  .city-choice .brand-logo { margin-bottom:32px; }
}
.location-intro { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin:28px 0; }
.location-intro h2 { font-size:1.25rem; }
.location-section { margin:32px 0; }
.location-section>h2 { font-size:1.5rem; margin-bottom:16px; }
.stay-info .location-label { color:var(--brand-primary); font-size:.875rem; font-weight:600; margin:8px 0; }
.location-card .location-price { color:var(--text-primary); font-weight:600; margin-top:14px; }
.night-price { color:var(--text-secondary); font-size:.875rem; margin:4px 0; }
.location-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.location-card { border:1px solid var(--border-subtle); border-radius:10px; overflow:hidden; background:var(--surface); }
.location-card.is-unavailable { background:#e5e3e2; }
.location-card.is-unavailable img { filter:grayscale(70%); opacity:.75; }
body.stay-preview .location-card>a { display:block; color:var(--text-primary); text-decoration:none; }
.location-card img { display:block; width:100%; aspect-ratio:4/3; height:auto; object-fit:cover; }
.location-card-body { padding:20px; }
.location-card h3 { font-size:1.15rem; margin:0 0 6px; overflow-wrap:anywhere; }
.location-card p { color:var(--text-secondary); margin:6px 0; font-size:.875rem; }
.location-card .apartment-count { position:relative; width:max-content; }
.location-card .apartment-count-toggle { display:flex; align-items:center; gap:6px; min-width:44px; min-height:44px; padding:0; border:0; background:transparent; color:#292530; font-size:14px; white-space:nowrap; }
.location-card .apartment-count-tooltip { position:absolute; z-index:2; top:100%; left:0; width:max-content; padding:6px 10px; background:#292530; color:#fff; border-radius:4px; font-size:14px; }
body.stay-preview .location-card h3 a { color:inherit; text-decoration:none; }
.location-card .apartment-count svg { flex:0 0 18px; width:18px; height:18px; color:#B51E70; }
body.stay-preview .location-card .location-action { display:block; margin-top:18px; color:var(--brand-primary); font-weight:600; }
.location-card a:hover h3 { text-decoration:underline; }
@media(max-width:1000px) { .location-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .location-grid { grid-template-columns:minmax(0,1fr); }
}
.breadcrumbs { margin:20px 0; color:var(--text-secondary); font-size:.875rem; }
.search-container>h1,.prose h1 { font-size:clamp(1.75rem,4vw,2.5rem); line-height:1.2; margin:20px 0; }
.search-container>h2 { margin:24px 0 16px; }
.prose { max-width:820px; overflow-wrap:anywhere; line-height:1.65; }
.prose p,.prose h2,.prose h3 { margin:16px 0; }
.prose a,.breadcrumbs a { color:var(--brand-primary); text-decoration:underline; }
.prose table { border-collapse:collapse; width:100%; }
.prose td,.prose th { border:1px solid var(--border-subtle); padding:8px; }
.gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0; }
.gallery img { width:100%; height:230px; object-fit:cover; display:block; border-radius:8px; }
.offer-columns { display:grid; grid-template-columns:minmax(0,2fr) minmax(250px,1fr); gap:32px; }
.booking { align-self:start; background:var(--surface); border:1px solid var(--border-subtle); border-radius:10px; padding:24px; }
.booking h2 { margin-bottom:16px; }
.booking p { margin-top:16px; font-size:.875rem; line-height:1.6; }
.booking p a { color:var(--brand-primary); text-decoration:underline; }
body.stay-preview .button { display:block; padding:12px 16px; border-radius:6px; background:var(--brand-primary); color:var(--surface); text-align:center; text-decoration:none; margin-top:12px; }
body.stay-preview .button:hover { background:var(--brand-primary-hover); color:var(--surface); }
.detail-photo { display:block; max-width:100%; height:auto; margin:20px 0; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:24px; margin:24px 0; }
.card { background:var(--surface); border:1px solid var(--border-subtle); border-radius:10px; overflow:hidden; }
body.stay-preview .card>a { display:block; color:var(--text-primary); text-decoration:none; }
body.stay-preview .card .eyebrow,.card p { color:var(--text-secondary); }
body.stay-preview .card .card-body>span { color:var(--brand-primary); }
body.stay-preview .card:hover h2 { color:var(--brand-primary); }
.card img,.photo-empty { display:block; width:100%; height:220px; object-fit:cover; }
.photo-empty { background:var(--brand-gold-soft); display:grid; place-items:center; }
.card-body { padding:20px; }
.card h2 { font-size:1.25rem; margin:10px 0; }
.card p { margin:8px 0; }
.card span,.eyebrow { color:var(--brand-primary); }
.footer-inner { flex-wrap:wrap; gap:20px; }
.footer-inner nav { display:flex; flex-wrap:wrap; gap:16px; }
.site-footer .footer-inner { display:grid; grid-template-columns:1.15fr 1fr .85fr; gap:40px 64px; padding:48px 0 20px; }
.footer-logo { display:block; width:245px; max-width:100%; }
.footer-logo svg { display:block; width:100%; height:auto; }
.site-footer .footer-brand p { margin:14px 0 24px; font-size:14px; color:var(--text-secondary); }
.footer-brand p span { margin:0 8px; color:var(--brand-gold); }
.site-footer h2 { margin:0 0 22px; font-size:16px; font-weight:600; line-height:1.4; }
.footer-contact { min-width:0; overflow-wrap:anywhere; }
.footer-contact-row { display:flex; align-items:flex-start; gap:14px; margin-top:20px; }
.footer-icon { display:grid; place-items:center; flex:0 0 38px; height:38px; border-radius:50%; background:var(--brand-primary-soft); color:var(--brand-primary); }
.footer-label { display:block; margin:0 0 5px; font-size:12px; color:var(--text-secondary); }
body.stay-preview .footer-contact-row a { display:block; width:fit-content; padding:3px 0; color:var(--text-primary); text-decoration:none; font-size:16px; font-weight:500; line-height:1.5; }
.site-footer .footer-information { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.site-footer .footer-information h2 { margin-bottom:10px; }
body.stay-preview .footer-information a,body.stay-preview .footer-social { color:var(--text-secondary); text-decoration:none; line-height:1.6; }
.site-footer .footer-social,.site-footer .footer-website { display:inline-flex; align-items:center; gap:10px; }
.site-footer .footer-social .icon,.site-footer .footer-website .icon { color:var(--brand-primary); flex:none; }
.site-footer .footer-bottom { grid-column:1/-1; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; padding-top:20px; border-top:1px solid var(--border-subtle); color:var(--text-secondary); font-size:12px; }
body.stay-preview .site-footer a:hover { color:var(--brand-primary); text-decoration:underline; text-underline-offset:4px; }
.site-footer a:focus-visible { outline:2px solid var(--brand-primary); outline-offset:4px; border-radius:3px; }
.footer-legal { display:contents; }
@media(max-width:900px) {
  .site-footer .footer-inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
  .site-footer .footer-brand { grid-column:1/-1; }
}
@media(max-width:600px) {
  .site-footer .footer-inner { grid-template-columns:minmax(0,1fr); gap:28px; padding-top:32px; }
  .site-footer .footer-brand p { margin-bottom:16px; }
  .site-footer h2 { margin-bottom:18px; }
  .site-footer .footer-information { padding-top:24px; border-top:1px solid var(--border-subtle); gap:8px; }
  .site-footer .footer-information a,.site-footer .footer-social { min-height:36px; display:flex; align-items:center; }
}
.map-cities { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
@media(max-width:767px) {
  .site-footer .footer-inner { display:flex; flex-wrap:wrap; gap:0; margin:0 16px; padding:12px 0; }
  .site-footer .footer-brand { order:1; display:flex; align-items:center; justify-content:space-between; width:100%; gap:8px; }
  .site-footer .footer-logo { width:170px; min-height:44px; display:flex; align-items:center; }
  .site-footer .footer-social { width:44px; min-height:44px; justify-content:center; }
  .site-footer .footer-social span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .site-footer .footer-contact,.site-footer .footer-contact-row,.site-footer .footer-contact-row>div,.site-footer .footer-contact-row>div>span:not(.footer-label),.site-footer .footer-information { display:contents; }
  .site-footer h2,.site-footer .footer-label,.site-footer .footer-icon,.site-footer .footer-website .icon { display:none; }
  body.stay-preview .site-footer .footer-contact-row a,body.stay-preview .site-footer .footer-website { display:flex; align-items:center; min-height:44px; width:auto; flex:1 1 50%; min-width:max-content; padding:0; font-size:.875rem; line-height:1.5; }
  body.stay-preview .site-footer .footer-contact-row a[href^="tel:"] { order:2; white-space:nowrap; font-weight:600; }
  .site-footer .footer-contact-row a[href^="tel:"]+a { justify-content:flex-end; }
  .site-footer .footer-contact-row a[href^="mailto:"] { order:3; font-weight:400; }
  .site-footer .footer-website { order:3; justify-content:flex-end; }
  .site-footer .footer-legal { order:4; display:flex; flex-wrap:wrap; align-items:center; column-gap:8px; width:100%; }
  body.stay-preview .site-footer .footer-legal a { display:inline-flex; align-items:center; min-height:44px; font-size:.875rem; }
  .site-footer .footer-legal a+a::before { content:'·'; margin-right:8px; color:var(--text-secondary); }
  .site-footer .footer-bottom { order:5; width:100%; gap:4px 12px; padding-top:8px; font-size:.75rem; line-height:1.5; }
}
.map-cities button,.map-select { padding:10px 14px; border:1px solid var(--border-control); border-radius:6px; background:var(--surface); color:var(--text-primary); min-height:44px; }
.map-cities button[aria-pressed="true"] { background:var(--brand-primary); border-color:var(--brand-primary); color:var(--surface); }
.map-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(240px,1fr); border:1px solid var(--border-subtle); border-radius:10px; overflow:hidden; background:var(--surface); }
#apartments-map { height:600px; min-width:0; z-index:0; }
.map-addresses { max-height:600px; overflow:auto; padding:8px 12px; }
.map-addresses #map-count { margin:0 0 6px; font-size:12px; color:var(--text-secondary); }
.map-location { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; align-items:center; padding:0; border-bottom:1px solid var(--border-subtle); font-size:12px; line-height:1.3; }
.map-location .map-select { border:0; border-radius:4px; padding:1px 0; min-height:34px; font-size:12px; line-height:1.3; }
.map-select strong,.map-select span { display:block; }
.map-select span { color:var(--text-secondary); font-size:11px; }
.map-entry-links { display:flex; flex-direction:column; }
body.stay-preview .map-entry-links a { padding:4px 0; text-decoration:none; }
.map-location h2 { font-size:1.1rem; margin:10px 0; }
.map-location ul { padding-left:20px; line-height:1.6; }
.map-select { width:100%; text-align:left; color:var(--brand-primary); }
#apartments-map .map-pin,#apartments-map .map-cluster { width:max-content; max-width:200px; height:auto; background:var(--brand-primary); color:white; border:2px solid white; border-radius:12px; font-size:12px; line-height:1.3; font-weight:600; box-shadow:0 1px 5px #29253055; padding:7px 10px; text-align:center; }
#apartments-map .map-cluster { max-width:230px; background:var(--brand-primary-hover); }
#apartments-map .map-pin:focus-visible,#apartments-map .map-cluster:focus-visible { outline:3px solid var(--text-primary); outline-offset:2px; }
.leaflet-popup-content ul { padding-left:16px; }
#map-error { padding:16px; background:var(--brand-gold-soft); }
@media(max-width:768px) {
  .map-layout { grid-template-columns:minmax(0,1fr); }
  #apartments-map { height:420px; }
  .map-addresses { max-height:none; }
  .map-location .map-select,.map-entry-links a { min-height:44px; }
}
.prose img { max-width:100%; height:auto; }
@media(max-width:768px) {
  .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gallery img { height:160px; }
  .offer-columns { grid-template-columns:minmax(0,1fr); gap:24px; }
}
.apartment-type { margin:8px 0 12px; font-size:1.1rem; }
.apartment-facts { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:12px 0 20px; }
.apartment-facts li { display:flex; align-items:center; gap:8px; padding:7px 11px; border:1px solid var(--border-subtle); border-radius:6px; background:var(--surface); font-size:14px; }
.apartment-facts svg,.equipment-groups h3 svg { flex:0 0 21px; width:21px; height:21px; color:var(--text-secondary); }
.apartment-photos { margin:20px 0 28px; }
.apartment-photo-lead { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:repeat(2,170px); gap:8px; }
.apartment-photo { display:block; overflow:hidden; border-radius:8px; min-width:0; }
.apartment-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.apartment-main-photo { grid-row:span 2; }
.apartment-main-photo:only-child { grid-column:1/-1; }
.apartment-photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:10px; margin:12px 0; }
.apartment-photo-grid img { aspect-ratio:3/2; height:auto; }
.apartment-photos summary { cursor:pointer; min-height:44px; padding:12px 4px; font-size:15px; color:var(--brand-primary); font-weight:600; }
.role-photos { border-top:1px solid var(--border-subtle); }
.role-sketch .apartment-photo-grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.role-sketch img { object-fit:contain; height:300px; background:white; }
.apartment-equipment { margin:24px 0; }
.equipment-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 28px; }
.equipment-groups h3 { display:flex; align-items:center; gap:8px; font-size:16px; margin:0 0 10px; }
.equipment-groups ul { list-style:none; padding:0; margin:0; }
.equipment-groups li { display:flex; gap:8px; margin:5px 0; font-size:14px; }
.equipment-groups li>span { color:var(--text-secondary); }
.apartment-photos a:focus-visible,.apartment-photos summary:focus-visible { outline:3px solid var(--brand-primary); outline-offset:3px; }
@media(max-width:768px) {
  .apartment-photo-lead { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; }
  .apartment-main-photo { grid-column:1/-1; grid-row:auto; }
  .apartment-photo-lead img { height:auto; aspect-ratio:3/2; }
  .apartment-photo-lead .apartment-main-photo img { aspect-ratio:16/9; }
  .equipment-groups { grid-template-columns:1fr; gap:20px; }
  .apartment-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .role-sketch .apartment-photo-grid { grid-template-columns:1fr; }
}
@media(max-width:768px) {
  .offer-columns>.booking { grid-row:1; }
  .apartment-photo-lead .apartment-photo:not(.apartment-main-photo) img { height:90px; }
}

.location-card>a { position:relative; }
.location-card .location-badge { position:absolute; top:12px; right:12px; max-width:calc(100% - 24px); padding:5px 10px; border-radius:5px; background:#fff; color:#292530; font-size:14px; box-shadow:0 1px 5px #0002; }
.location-sort { display:flex; align-items:center; gap:10px; font-size:14px; }
.location-sort button { min-height:44px; padding:10px 16px; border:1px solid var(--border-subtle); border-radius:6px; background:var(--surface); color:var(--text-primary); font:inherit; }
.location-sort button[aria-pressed="true"] { background:var(--brand-primary); border-color:var(--brand-primary); color:var(--surface); }
.available-filter { display:flex; align-items:center; gap:7px; min-height:44px; cursor:pointer; white-space:nowrap; }
.available-filter input { width:17px; height:17px; margin:0; accent-color:var(--brand-primary); }
.available-filter:has(input:disabled) { color:var(--text-secondary); cursor:default; }
.availability-empty { padding:20px; background:var(--surface); border:1px solid var(--border-subtle); border-radius:10px; }
.location-toolbar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; margin-bottom:24px; }
.location-toolbar-sort { display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.location-toolbar-sort .search-intro h1 { margin:0; }
.location-toolbar .location-sort { flex-wrap:wrap; }
.location-toolbar #search-editor { min-width:0; margin:0; }
#search-editor .stay-search { grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); }
#search-editor .search-submit,#search-editor .city-field { grid-column:1/-1; margin-top:0; }
.search-container>#search-editor { width:calc((100% - 24px)/2); margin-left:auto; }
.offer-stay-toolbar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; margin-bottom:20px; }
.offer-stay-toolbar #search-editor { min-width:0; margin:0; }
.offer-stay-toolbar .booking { min-width:0; padding:16px; }
.offer-stay-toolbar .booking h2 { margin:0 0 8px; font-size:18px; }
.offer-stay-toolbar .booking h3 { margin:8px 0; font-size:15px; }
.offer-stay-toolbar .booking p { margin:6px 0; }
.offer-stay-toolbar .booking .total-price { font-size:24px; font-weight:700; }
@media(max-width:768px) {
  .offer-stay-toolbar { grid-template-columns:minmax(0,1fr); gap:12px; }
  .offer-stay-toolbar #search-editor { grid-row:1; }
  .search-container>#search-editor { width:100%; }
  .location-toolbar { grid-template-columns:minmax(0,1fr); gap:16px; }
  .location-toolbar-sort { padding-top:0; }
}
.location-grid[hidden],.location-section[hidden] { display:none; }

.location-address-row { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; }
.location-unit-count { margin-left:auto; color:var(--text-secondary); font-size:.875rem; white-space:nowrap; }
.location-card .location-address { min-width:0; margin:0; overflow-wrap:anywhere; }

.location-photo { position:relative; }
.location-photo>a { display:block; }
.location-card .location-badge { left:12px; right:auto; display:flex; align-items:center; gap:4px; max-width:calc(100% - 92px); min-height:0; padding:3px 6px; font-size:12px; line-height:18px; background:rgb(255 255 255 / 50%); }
.location-badge svg { flex:none; width:14px; height:14px; }
.location-photo .apartment-count { position:absolute; top:12px; right:12px; background:#fff; border-radius:5px; }
.location-photo .apartment-count-toggle { justify-content:center; min-height:34px; padding:6px 10px; line-height:20px; }
.location-photo .apartment-count-tooltip { left:auto; right:0; }
.location-card .location-price,.offer-price .location-price { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; border-top:1px solid var(--border-subtle); padding-top:6px; margin-top:6px; font-size:14px; }
.location-price-total,.location-price-night { display:flex; flex-direction:column; gap:2px; max-width:100%; }
.location-price-night { margin-left:auto; text-align:right; }
.location-price strong { font-size:24px; font-weight:700; line-height:30px; white-space:nowrap; }
.location-price .location-price-prefix { font-size:14px; font-weight:400; line-height:normal; }
.location-price-night strong { font-size:20px; font-weight:600; line-height:26px; padding-top:4px; color:var(--text-primary); }
.location-price-night .location-price-longer-stay { font-size:16px; }
.location-price .location-price-caption { font-size:13px; line-height:20px; font-weight:400; color:var(--text-secondary); }

/* Podstrona pojedynczego apartamentu: galeria i panel rezerwacji. */
.single-apartment .single-breadcrumbs { margin:0 0 8px; font-size:13px; }
.single-back { display:none; }
.single-apartment h1 { font-size:32px; line-height:1.2; font-weight:650; margin:0 0 8px; overflow-wrap:anywhere; }
.single-number { white-space:nowrap; }
.booking.group-booking { border:0; border-radius:0; padding:0; background:transparent; }
.group-stay-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; margin-bottom:24px; }
.group-stay-header #search-editor { margin:0; min-width:0; }
@media(min-width:769px) {
  .map-stay-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; margin-bottom:24px; }
  .map-stay-header #search-editor { margin:0; min-width:0; }
  .map-stay-header .search-intro { grid-column:1; grid-row:1; min-width:0; }
  .map-stay-header #search-editor { grid-column:2; grid-row:1; }
  .map-stay-header h1 { margin:0 0 8px; }
  .map-stay-header p { margin:0; }
}
.group-intro { min-width:0; }
.group-intro h1 { margin:0 0 8px; font-size:28px; line-height:1.2; }
.group-intro .breadcrumbs { margin:0 0 8px; }
.group-intro .group-facts { margin:6px 0 0; font-size:14px; line-height:1.5; }
@media(max-width:768px) {
  .group-stay-header { grid-template-columns:minmax(0,1fr); gap:16px; }
  .group-intro h1 { font-size:22px; }
}
.group-unit-price { padding:16px; margin-top:16px; border:1px solid var(--border-subtle); border-radius:10px; background:var(--surface); box-shadow:0 2px 6px rgb(0 0 0 / 5%); }
.group-unit-price h3 { margin:0 0 8px; font-size:24px; line-height:1.2; }
.group-unit-name { font-size:16px; font-weight:400; }
.group-unit-number { white-space:nowrap; font-size:24px; font-weight:700; }
.single-guest-alternative .group-unit-price { background:#faf3f7; }
.single-guest-alternative .single-guest-notice { margin:8px 0; font-size:13px; }
.group-unit-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; margin-top:12px; }
.group-unit-actions .button { width:100%; margin:0; min-height:44px; text-align:center; }
body.stay-preview .group-unit-actions .group-unit-view { background:#fff; color:#000; border:1px solid var(--brand-primary); }
body.stay-preview .group-unit-actions .group-unit-view:hover { background:#fff; color:#000; border-color:var(--brand-primary-hover); }
.single-apartment h1 .single-name { font-size:20px; font-weight:400; }
.single-address { margin:0 0 18px; color:var(--text-secondary); font-size:14px; }
.single-main { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,3fr); gap:24px; align-items:start; }
.single-main>.apartment-photos { min-width:0; margin:0; }
.single-main .apartment-photo-lead { display:block; }
.single-main .apartment-main-photo img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.single-booking { min-width:0; padding:16px; }
.single-booking #search-editor { border:0; background:transparent; margin:0; }
.single-booking #search-editor[hidden],.single-booking #offer-prices[hidden] { display:none; }
.single-booking h2 { margin:0 0 12px; font-size:18px; }
.price-loading { padding:6px 0; animation:price-loading-appear .25s ease-out both; }
.price-loading-heading { display:flex; align-items:center; gap:12px; }
.price-loading .price-loading-heading h2 { margin:0; }
.price-loading-spinner { flex:0 0 28px; width:28px; height:28px; border:3px solid #dbe9e6; border-top-color:var(--sea, #16766b); border-right-color:var(--sea, #16766b); border-radius:50%; animation:price-loading-turn .85s linear infinite; }
.price-loading p { margin:14px 0; line-height:1.5; }
.price-loading small { display:block; color:#526760; line-height:1.5; }
.price-loading-preview { display:grid; gap:10px; margin:20px 0; overflow:hidden; }
.price-loading-preview span { display:block; height:12px; width:72%; border-radius:6px; background:linear-gradient(100deg,#e1ebe7 15%,#f7faf8 45%,#e1ebe7 75%); background-size:220% 100%; animation:price-loading-shimmer 1.8s ease-in-out infinite; }
.price-loading-preview span:first-child { width:48%; height:32px; }
.price-loading-preview span:last-child { width:100%; height:42px; margin-top:6px; border-radius:10px; }
@keyframes price-loading-turn { to { transform:rotate(360deg); } }
@keyframes price-loading-shimmer { from { background-position:200% 0; } to { background-position:-20% 0; } }
@keyframes price-loading-appear { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) {
  .price-loading,.price-loading-spinner,.price-loading-preview span { animation:none; }
}
.single-booking #stay-form { padding:0; gap:12px; grid-template-columns:minmax(0,1fr) 100px; }
.single-booking .city-field { display:none; }
.single-booking .guest-section { align-self:end; }
.single-booking .guest-help { margin:0; }
.single-booking .single-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.single-stay-summary { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.single-stay-summary strong { display:block; font-size:16px; }
.single-stay-summary div>span { display:block; color:var(--text-secondary); font-size:14px; margin-top:4px; }
.single-edit { min-height:44px; border:0; padding:8px 0 8px 8px; background:transparent; color:var(--brand-primary); text-decoration:underline; font:inherit; cursor:pointer; }
.single-booking .booking-link { min-height:44px; margin-top:16px; }
body.stay-preview .button.booking-all-link { display:flex; align-items:center; justify-content:center; min-height:44px; margin-top:10px; padding:10px 12px; border:1px solid currentColor; border-radius:8px; background:transparent; color:var(--brand-primary); font-size:13px; line-height:1.4; text-align:center; text-decoration:none; }
body.stay-preview .button.booking-all-link:hover { background:#f7edf3; color:var(--brand-primary); }
body.stay-preview .button.booking-all-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.single-booking .single-price-message { margin:12px 0 0; }
.single-details { margin-top:24px; }
.single-details .apartment-facts { gap:5px; margin:8px 0 12px; }
.single-details .apartment-facts li { gap:5px; padding:4px 7px; }
.single-details .prose { max-width:900px; }
@media(max-width:1000px) {
  .single-main { grid-template-columns:minmax(0,1fr); gap:16px; }
  .single-booking { width:100%; }
}
@media(max-width:600px) {
  .single-apartment h1 { font-size:22px; }
  .single-apartment h1 .single-name { font-size:16px; }
  .single-apartment .single-breadcrumbs { margin-bottom:8px; }
  .single-breadcrumbs .single-home,.single-breadcrumbs .single-separator,.single-breadcrumbs .single-current { display:none; }
  .single-back { display:inline; }
  .single-address { margin-bottom:12px; }
  .single-main { gap:12px; }
  .single-details { margin-top:20px; }
}

body.stay-preview #apartments-map a { text-decoration:none; }
.apartment-photo.mobile-gallery-extra,.mobile-gallery-only { display:none; }
.stay-action>.offer-price { width:100%; min-width:0; }
.stay-action>.offer-price .location-price { margin-top:0; }
@media(min-width:1001px) {
  .stay-card:not(.is-unpriced) { grid-template-columns:280px minmax(0,1fr) 320px; }
}
@media(max-width:640px) {
  .stay-action:has(>.offer-price) .card-actions { flex-basis:100%; }
}
@media(min-width:1001px) {
  .stay-card.is-unpriced { grid-template-columns:240px minmax(0,1fr) 180px; }
  .is-unpriced .stay-photo { min-height:180px; }
  .is-unpriced .stay-info { padding:14px 16px; }
  .is-unpriced .stay-action { padding:14px 16px 14px 0; }
  .is-unpriced .card-actions { margin:0; }
}
@media(max-width:768px) {
  .apartment-photo-lead>.apartment-photo:not(.apartment-main-photo) { display:none; }
  .apartment-photo.mobile-gallery-extra,.mobile-gallery-only { display:block; }
  .search-container .map-layout { width:100vw; margin-left:calc((100% - 100vw)/2); border:0; border-radius:0; }
}

/* Nagłówek listy pozostaje widoczny także po pobraniu wyceny. */
.listing-stay-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; margin-bottom:16px; }
.listing-stay-header #search-editor { min-width:0; margin:0; }
body[data-results="true"] .listing-stay-header .search-intro { position:static; width:auto; height:auto; overflow:visible; clip-path:none; }
.listing-stay-header .search-intro h1 { margin:0; }
@media(max-width:768px) {
  .listing-stay-header { grid-template-columns:minmax(0,1fr); gap:12px; }
  .map-stay-header .search-intro { margin:16px 0; }
}
.stay-faq { margin:32px 0 24px; text-align:left; width:100%; }
.stay-faq h2 { margin:0 0 16px; font-size:24px; line-height:1.25; }
.stay-faq-items { border-top:1px solid #ded9d6; }
.stay-faq details { border-bottom:1px solid #ded9d6; }
.stay-faq summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:48px; padding:14px 0; cursor:pointer; font-weight:600; line-height:1.45; list-style:none; }
.stay-faq summary::-webkit-details-marker { display:none; }
.stay-faq summary::after { content:'+'; color:#c60073; font-size:24px; font-weight:400; flex-shrink:0; }
.stay-faq details[open] summary::after { content:'−'; }
.stay-faq summary:focus-visible { outline:2px solid #c60073; outline-offset:3px; }
.stay-faq details p { margin:0; padding:0 32px 18px 0; max-width:80ch; font-size:15px; line-height:1.6; color:#59545c; }
@media(max-width:767px) {
  .stay-faq { margin-top:24px; }
  .stay-faq h2 { font-size:22px; }
  .stay-faq summary { font-size:15px; }
  .stay-faq details p { padding-right:0; }
}
.city-choice-info { display:flex; justify-content:center; margin-top:20px; }
.city-choice-info a { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; }
.stay-card.is-unavailable { background:#e5e3e2; }
.stay-card.is-unavailable .stay-photo img { filter:grayscale(70%); opacity:.75; }

/* Wybór języka pozostaje dostępny również przy zwiniętej nawigacji. */
.language-menu { position:relative; flex-shrink:0; }
.language-menu summary { cursor:pointer; display:flex; align-items:center; gap:8px; min-height:44px; box-sizing:border-box; padding:8px 10px; font-size:14px; font-weight:700; white-space:nowrap; list-style:none; background:#fff; color:#222; border:1px solid #b6aaa0; border-radius:8px; }
.language-menu summary::-webkit-details-marker { display:none; }
.language-flag { display:block; flex:none; width:27px; height:18px; border-radius:2px; box-shadow:0 0 0 1px #0002; overflow:hidden; }
.language-chevron { font-size:16px; line-height:1; }
.language-menu[open] summary { border-color:var(--brand-primary,#80622b); }
.language-switcher,.header-inner nav.language-switcher { position:absolute; right:0; top:100%; z-index:100; display:flex; flex-direction:column; align-items:stretch; gap:4px; margin:4px 0 0; padding:8px; min-width:160px; background:#fff; color:#222; border:1px solid #ddd; border-radius:8px; box-shadow:0 6px 20px #0002; }
.language-menu:not([open]) .language-switcher { display:none; }
.language-switcher a,.stay-preview .site-header .language-switcher a { display:flex; align-items:center; gap:10px; min-height:44px; box-sizing:border-box; padding:8px 12px; color:#222; text-decoration:none; font-size:14px; font-weight:700; border-radius:4px; white-space:nowrap; }
.language-switcher a:hover,.stay-preview .site-header .language-switcher a:hover { background:#f0ece6; text-decoration:none; }
.language-switcher a[aria-current="true"],.stay-preview .site-header .language-switcher a[aria-current="true"] { background:var(--brand-primary,#80622b); color:#fff; }
.language-switcher a:focus-visible,.language-menu summary:focus-visible { outline:2px solid #80622b; outline-offset:3px; }
.city-choice > .language-menu { width:max-content; margin:0 auto 20px; }
@media (max-width:480px) { .header-actions { gap:4px; } .language-menu summary { padding:7px; gap:6px; } }

body.stay-preview .selected-offer-badge { display:inline-block; margin:0 0 8px; padding:5px 10px; border-radius:6px; background:#f8e6f0; color:#a6196d; font-weight:700; font-size:.85rem; }
