/* Czcionka Manrope na własnym serwerze (bez Google Fonts: szybciej i bez przekazywania adresów IP gościa do Google). Licencja: /fonts/OFL.txt */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-latin.woff') format('woff');
  unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-cyrillic.woff') format('woff');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* myNEST — arkusz stylów. Mobile-first, bez zewnętrznych bibliotek. */
:root {
  --navy: #15305a;
  --navy-2: #1d4176;
  --navy-soft: #e8edf5;
  --yellow: #f5be1e;
  --yellow-soft: #fdf3d2;
  --ink: #14202e;
  --muted: #4b5866;
  --line: #e1e5ea;
  --bg: #ffffff;
  --soft: #f6f5f1;
  --ok: #1f6f4e;
  --radius: 12px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(20,32,46,.06), 0 4px 16px rgba(20,32,46,.06);
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ic { flex: none; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo svg { color: var(--yellow); }
.logo .my { color: var(--yellow); }
.nav { display: none; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .04em; min-width: 44px; min-height: 40px; display: inline-grid; place-items: center; border: 1.5px solid rgba(255,255,255,.35); border-radius: 10px; }
.lang-switch:hover { color: var(--navy); background: #fff; border-color: #fff; }
.menu-toggle { position: relative; }
.menu-toggle summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: #fff; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 240px; display: flex; flex-direction: column; }
.menu-panel a { color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 8px; font-weight: 500; }
.menu-panel a:hover { background: var(--soft); }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 24px; align-items: center; }
  .menu-toggle { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #ffcc33; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy-soft); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 32px 0 40px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #d8e0ec; font-size: 18px; max-width: 52ch; }
.hero-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .hero { padding: 56px 0 64px; } .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; } }
.usp { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0 24px; padding: 0; list-style: none; color: #fff; font-weight: 600; font-size: 15px; }
.usp li { display: flex; align-items: center; gap: 8px; }
.usp .ic { color: var(--yellow); }

/* Booking form */
.booking { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.booking .row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.booking label, .hero-grid > * { min-width: 0; }
.booking input[type="date"] { min-width: 0; -webkit-appearance: none; appearance: none; }
.booking label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.booking input, .booking select { font: inherit; font-size: 16px; color: var(--ink); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-height: 48px; width: 100%; }
.booking .note { font-size: 13px; color: var(--muted); margin: 0; }
.booking .best { background: var(--yellow-soft); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; color: #5c4400; }
@media (min-width: 900px) { .booking-inline { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } .booking-inline .row:not(.dates) { display: contents; } .booking-inline .dates { grid-column: span 2; } }

/* Photo placeholders */
.ph { background: var(--navy-soft); color: var(--navy-2); display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 600; aspect-ratio: 4 / 3; border-radius: var(--radius); padding: 12px; }
.ph .ic { margin: 0 auto 6px; opacity: .55; }
.ph-hero { aspect-ratio: 4 / 3; background: #23477d; color: #c9d5e8; }

/* Photos */
.pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy-soft); max-width: 100%; }
.pic .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .pic { border-radius: 0; }
.card-link:hover .photo { transform: scale(1.03); }
.photo { transition: transform .4s ease; }
@media (prefers-reduced-motion: reduce) { .photo { transition: none; } }
.pic-hero { aspect-ratio: 4 / 3; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.near { margin: 0; }
.near figcaption { font-size: 14px; font-weight: 600; margin-top: 8px; }
.unit-gallery { position: relative; }
.unit-gallery .pic { border-radius: 10px; aspect-ratio: auto; min-height: 0; position: relative; }
.unit-gallery .pic .photo { position: absolute; inset: 0; }
.unit-gallery .pic:first-child { grid-row: span 2; }
.all-photos { position: absolute; right: 8px; bottom: 8px; font: inherit; font-size: 14px; font-weight: 700; background: #fff; color: var(--navy); border: 0; border-radius: 8px; padding: 9px 12px; cursor: pointer; box-shadow: var(--shadow); }
.lb { width: min(1000px, 100vw); max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: auto; padding: 0; border: 0; background: #0d1a2e; color: #fff; }
@media (min-width: 900px) { .lb { height: 92dvh; border-radius: var(--radius); } }
.lb::backdrop { background: rgba(8,16,30,.8); }
.lb-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #0d1a2e; }
.lb-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; }
.lb-body { padding: 0 16px 24px; display: grid; gap: 16px; }
.lb-body figure { margin: 0; }
.lb-body img { width: 100%; height: auto; border-radius: 10px; }
.lb-body figcaption { color: #c3cfe0; font-size: 14px; margin-top: 6px; }

/* Sections */
section { padding: 48px 0; }
@media (min-width: 900px) { section { padding: 72px 0; } }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 8px; }
.hero .eyebrow { color: var(--yellow); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .ph { border-radius: 0; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); font-size: 15px; margin: 0; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover .card { border-color: var(--navy-2); box-shadow: var(--shadow); }
.card-link:hover h3 { color: var(--navy-2); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.tag { background: var(--soft); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.tag-fav { background: var(--yellow-soft); color: #5c4400; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--navy-2); font-size: 15px; }

/* Location cards */
.loc-card { display: grid; gap: 0; }
.loc-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step::before { counter-increment: s; content: counter(s); width: 36px; height: 36px; border-radius: 999px; background: var(--navy); color: var(--yellow); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.times { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 24px; font-weight: 600; }
.times span { display: flex; align-items: center; gap: 8px; }

/* Amenities */
.amen { display: grid; gap: 14px; }
@media (min-width: 640px) { .amen { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .amen { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.amen-item { display: flex; gap: 14px; align-items: flex-start; }
.amen-item .ic-wrap { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.amen-item p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; font-weight: 500; color: var(--navy-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 14px; }

/* Page head */
.page-head { background: var(--navy); color: #fff; padding: 28px 0 32px; }
.page-head h1 { color: #fff; }
.page-head p { color: #d8e0ec; font-size: 17px; max-width: 64ch; margin: 0; }
.crumbs { font-size: 14px; margin-bottom: 12px; color: #b8c6da; }
.crumbs a { color: #b8c6da; }
.crumbs a:hover { color: #fff; }

/* Unit block (on type & location pages) */
.unit { display: grid; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.unit:first-of-type { border-top: 0; }
@media (min-width: 860px) { .unit { grid-template-columns: 380px 1fr; gap: 28px; } }
.unit-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 3 / 2; align-self: start; }
.unit-gallery .ph:first-child { grid-row: span 2; }
.unit-gallery .ph { aspect-ratio: auto; min-height: 0; border-radius: 10px; font-size: 12px; }
.unit h3 { font-size: 21px; margin-bottom: 4px; }
.unit .sub { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 16px; font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 20px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters legend { float: left; font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.count { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
[hidden] { display: none !important; }

/* Info blocks */
.prose { max-width: 760px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; } }
.list-dist { list-style: none; padding: 0; margin: 0; }
.list-dist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-dist li span:last-child { color: var(--muted); white-space: nowrap; }
.map-box { background: var(--navy-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.callout { background: var(--yellow-soft); border-radius: var(--radius); padding: 16px 18px; color: #4a3800; }
.review-slot { border: 2px dashed var(--line); border-radius: var(--radius); padding: 24px; color: var(--muted); text-align: center; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.contact-list .ic { color: var(--navy-2); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #d8e0ec; margin: 0; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 36px 40px; } }

/* Footer */
.site-footer { background: #0f2444; color: #c3cfe0; padding: 40px 0 96px; font-size: 15px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 40px; } }
.site-footer a { color: #fff; }
.site-footer .grid { gap: 28px; }
.site-footer h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .bottom { border-top: 1px solid #22406b; margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px; }

/* Sticky mobile booking bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -4px 16px rgba(20,32,46,.08); }
.mbar strong { display: block; font-size: 15px; }
.mbar small { color: var(--ok); font-weight: 600; }
.mbar .btn, .header-cta { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 900px) { .mbar { display: none; } }

/* Okno rezerwacji konkretnego apartamentu */
.book-dlg { border: 0; padding: 0; border-radius: var(--radius); width: min(440px, calc(100% - 32px)); background: transparent; }
.book-dlg::backdrop { background: rgba(10, 22, 45, .6); }
.book-dlg .booking { box-shadow: none; }
.book-dlg .lb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0; background: none; color: var(--ink); }
.book-dlg .lb-close { color: var(--ink); background: #eef1f5; }
.booking .err { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-size: 14px; font-weight: 600; }

/* Pola dat i kalendarz zakresu */
.dates { position: relative; }
.date-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; min-height: 60px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.date-btn:hover { border-color: #b9c3d3; }
.date-btn.active { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 190, 30, .45); }
.date-btn .lbl { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.date-btn .val { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.date-btn.empty .val { font-weight: 500; color: #8a94a6; }
.nights { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); z-index: 1; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; pointer-events: none; }

.dp { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 340px; max-width: calc(100vw - 32px); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 26, 46, .25); padding: 14px 16px 16px; }
.dp.two { width: 680px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dp-hint { font-size: 14px; color: var(--muted); text-align: center; }
.dp-hint strong { color: var(--ink); }
.dp-nav { width: 40px; height: 40px; flex: none; border: 0; border-radius: 999px; background: #eef1f5; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.dp-nav:hover { background: #e1e6ee; }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-months { display: grid; gap: 28px; }
.dp.two .dp-months { grid-template-columns: 1fr 1fr; }
.dp-title { text-align: center; font-weight: 800; font-size: 15px; margin: 10px 0 8px; text-transform: capitalize; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.dp-dow { text-align: center; font-size: 12px; font-weight: 700; color: #8a94a6; padding: 4px 0 6px; }
.dp-day { aspect-ratio: 1; min-height: 40px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); border-radius: 999px; cursor: pointer; position: relative; }
.dp-day:hover:not(:disabled):not(.start):not(.end) { background: #eef1f5; }
.dp-day:disabled { color: #c5cbd5; font-weight: 400; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); }
.dp-day.today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--yellow); }
.dp-day.in { background: var(--yellow-soft); border-radius: 0; }
.dp-day.start, .dp-day.end { background: var(--navy); color: #fff; }
.dp-day:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dp-clear { border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px 0; }

@media (max-width: 639px) {
  html.dp-lock { overflow: hidden; }
  .dp { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 88vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 100vmax rgba(10, 22, 45, .55); }
  .dp-day { min-height: 44px; font-size: 16px; }
}
/* W oknie rezerwacji apartamentu kalendarz rozwija się w treści okna */
.book-dlg .dp, .book-dlg .dp.two { position: static; width: auto; max-width: none; max-height: none; box-shadow: none; padding: 4px 0 0; border-radius: 0; }

.dates .dp { grid-column: 1 / -1; }

/* Wyszukiwarka dostępności na liście apartamentów */
.avail-search { margin-bottom: 18px; }
.avail-search .booking { box-shadow: 0 2px 14px rgba(13,26,46,.08); border: 1px solid var(--line); }
.avail-status { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #eef6ee; color: #1f4d2b; font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.avail-status.warn { background: var(--yellow-soft); color: #5c4400; }
.avail-status .demo { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fff; color: var(--muted); padding: 3px 8px; border-radius: 999px; }
.avail-status a, .avail-status button.linkish { color: inherit; font-weight: 700; text-decoration: underline; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.avail { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: #1f6b35; }
.avail .per { font-weight: 500; color: var(--muted); }
.avail.no { color: #8a1c1c; }
.unit-avail { display: inline-block; margin-left: 10px; font-size: 14px; font-weight: 700; color: #1f6b35; }
.unit-avail.no { color: #8a1c1c; }
.avail .nonref { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* Kafelki o równej wysokości: karta wypełnia komórkę siatki, treść w stałych liniach, stopka zawsze na dole */
.card-link { display: flex; }
.card-link > .card { flex: 1; min-width: 0; }
.card .kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body h3 { font-size: 20px; line-height: 1.25; }
.card-body h3 .h3-sub { font-weight: 600; color: var(--muted); font-size: 16px; }
.card .facts { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.card .tags-card { flex-wrap: nowrap; overflow: hidden; min-height: 27px; }
.card .tags-card .tag { white-space: nowrap; }
.clamp-1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body p.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.6em); }
/* Węższe kolumny (tablet, mały laptop): nazwa typu w maks. 2 liniach, zawsze ta sama wysokość */
@media (min-width: 640px) and (max-width: 1180px) {
  .card-body h3.clamp-1 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }
}


/* Opinie gości */
.rv-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 20px; }
.rv-score { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1; }
.rv-score small { font-size: 16px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.rv-stars { color: #e8a600; letter-spacing: 2px; font-size: 18px; }
.rv-summary a { font-weight: 600; }
.rv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; transition: opacity .28s ease; }
.rv-grid.rv-fade { opacity: 0; }
@media (min-width: 640px) { .rv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 979px) { .rv-grid > .rv:nth-child(n+3) { display: none; } }
@media (max-width: 639px) { .rv-grid > .rv:nth-child(n+2) { display: none; } }
.rv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); min-height: 230px; }
.rv .rv-stars { font-size: 16px; }
.rv-text { margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv.open .rv-text { -webkit-line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--navy); text-decoration: underline; cursor: pointer; }
.rv-who { margin: auto 0 0; color: var(--muted); font-size: 15px; }
.rv-who strong { color: var(--ink); }
.rv-tr { margin: 0; font-size: 13px; color: var(--muted); }
.rv-nav { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 22px; line-height: 1; color: var(--navy); cursor: pointer; }
.rv-btn:hover { border-color: var(--navy); }
.rv-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .rv-grid { transition: none; } }

/* Lista: cena na kafelku i przełącznik widoku */
.avail .price { display: block; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.avail .per { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.unit .avail { margin: 0 0 12px; }
.list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.list-bar .count { margin: 0; }
.view-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.view-switch button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; min-height: 40px; background: #fff; color: var(--ink); border: 0; cursor: pointer; }
.view-switch button + button { border-left: 1.5px solid var(--line); }
.view-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
#units-detail .unit:first-child { border-top: 0; padding-top: 0; }

/* Zdjęcia w galerii apartamentu jako przyciski otwierające podgląd */
.pic-open { border: 0; padding: 0; margin: 0; background: none; cursor: pointer; font: inherit; }
.pic-open img { transition: transform .35s ease; }
.pic-open:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .pic-open img { transition: none; } .pic-open:hover img { transform: none; } }
/* Podgląd zdjęć: zwykła strzałka zamiast kursora „pracy” przeglądarki, kliknięcie obok zdjęć zamyka podgląd */
.lb, .lb * { cursor: default; }
.lb-close, .lb button { cursor: pointer; }

/* Strona główna: „Apartament zamiast hotelu” — 4 punkty w rzędzie */
@media (min-width: 640px) { .amen.amen-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .amen.amen-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .faq-aside { position: sticky; top: 96px; align-self: start; } }
/* Kolejność kontaktu (stopka, Kontakt, Dla gości): smartfon — WhatsApp, telefon, e-mail; tablet i komputer — e-mail, WhatsApp, telefon */
.cl-order { display: flex; flex-direction: column; }
.cl-order .cl-wa { order: 1; } .cl-order .cl-phone { order: 2; } .cl-order .cl-mail { order: 3; } .cl-order .cl-other { order: 4; }
@media (min-width: 640px) { .cl-order .cl-mail { order: 1; } .cl-order .cl-wa { order: 2; } .cl-order .cl-phone { order: 3; } }
.muted { color: var(--muted); font-size: 14px; }

/* ── Baner zgód na cookies (public/consent.js) ── */
.ck { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(20,32,46,.18); padding: 18px 18px 16px; max-height: calc(100vh - 32px); overflow: auto; }
.ck-title { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.ck-text { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 12px; }
.ck-text a { color: var(--navy); }
.ck-opts { display: grid; gap: 8px; margin: 0 0 12px; }
.ck-opts[hidden] { display: none; }
.ck-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.ck-opt input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.ck-opt strong { display: block; color: var(--ink); }
.ck-opt span { color: var(--muted); }
.ck-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ck-btns [hidden] { display: none; }
@media (max-width: 639px) {
  .ck { left: 0; right: 0; bottom: 0; max-width: none; border-radius: var(--radius) var(--radius) 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .ck-btns .btn { flex: 1 1 auto; }
  .ck-btns [data-ck="accept"] { flex-basis: 100%; order: -1; }
}

/* Profile społecznościowe w stopce */
.site-footer ul.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.site-footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2b4c7a; color: #fff; transition: background .15s, border-color .15s; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.ck-note { position: fixed; z-index: 90; left: 50%; top: 16px; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px rgba(20,32,46,.25); }
