/* ═══════════════════════════════════════════════════════════════
   ido-system-traps.css
   Layer 1 of 3 — IdoBooking System Bug Fixes (Traps)
   ═══════════════════════════════════════════════════════════════

   PURPOSE:
   All known IdoBooking / IdoSell system bugs that affect EVERY
   client identically. This file is shared — never client-specific.
   Client theme variables (colors, fonts, sizes) are defined in
   Layer 3 (client-theme.css) as --ido-* custom properties.

   LAYER ARCHITECTURE:
     Layer 1 → ido-system-traps.css   (this file — universal fixes)
     Layer 2 → ido-layout.css         (structural, client-customized)
     Layer 3 → client-theme.css       (CSS vars + brand overrides)

   VARIABLE CONTRACT (must be defined in Layer 3 :root):
     --ido-primary      Primary brand color
     --ido-secondary    Secondary / lighter brand color
     --ido-accent       Accent / highlight color
     --ido-bg           Page background color
     --ido-dark         Dark text / dark surfaces color
     --ido-light        Light surface color (near-white)
     --ido-font-heading Heading font stack
     --ido-font-body    Body font stack
     --ido-radius       Base border-radius
     --ido-header-h     Fixed header height (e.g. 80px)

   HARDCODED ELEMENTS NOTE:
   The following selectors are rendered inside sandboxed iframes
   or injected shadow-like contexts where CSS custom properties
   do NOT inherit. Use literal hex values only:
     #bounce, #backTop, .ck_dsclr__btn_v2,
     .ck_dsclr__btn_v2:hover, .skip_link, .formbutton
   The generator replaces #147D3B and
   #0E5C2B tokens before deployment.

   TRAP COUNT: 18 root traps + page-specific universal fixes
   SOURCE: TEMPLATE_ARKUSZ_STYLOW.css + trap_tracker.json
   Updated: 2026-04-11
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════
   TRAP #1 — Body font-size reset
   ROOT CAUSE: IdoSell sets html { font-size: 140% } on the
   default13 template, which makes 1rem = 22.4px. Every unit
   derived from rem is 40% too large. Reset to 16px.
   CLIENTS: all (7/7 surveyed)
   ═══════════════════════════════════════════════════════════════ */
body,
body.default13 {
  font-size: 16px !important;
  font-family: var(--ido-font-body) !important;
  background: var(--ido-bg) !important;
  color: var(--ido-dark) !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased;
}

/* CRITICAL-AAA (2026-04-15): force Inter na WSZYSTKIE system widgets —
   Litepicker kalendarz (.month-item, .container__days, .day-item itd.),
   iai-search, flatpickr, select/input z system CSS, booking widget.
   Bez tego kalendarz używa system font stack (-apple-system, Roboto, ...) —
   wygląda INACZEJ niż reszta strony → user widzi "wiele różnych fontów".
   EXCLUDE: fontello, iaifonts (icons — muszą zostać). */
.litepicker,
.litepicker *,
.container__months,
.container__months *,
.month-item,
.month-item *,
.day-item,
.container__days,
.container__days *,
.flatpickr-calendar,
.flatpickr-calendar *,
.iai-search,
.iai-search *,
#iai_book_form,
#iai_book_form *,
input, textarea, select, button,
.widget__option,
.widget__option * {
  font-family: var(--ido-font-body) !important;
}
/* Zachowaj ikony (fontello, iaifonts) — nie liczą się jako font design */
[class*="icon-"]::before,
[class*="icon-"]::after,
.iaifonts,
.fa,
.fa-solid,
.fontello {
  font-family: inherit;  /* let icon font rules apply naturally */
}
/* Force Playfair Display na Litepicker miesiąc (cur-month) — żeby match brand */
.litepicker .cur-month,
.litepicker .month-item-name,
.container__months .cur-month {
  font-family: var(--ido-font-heading) !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #2 — System orange #AD5009 → brand color
   ROOT CAUSE: default13.css hardcodes #AD5009 on .btn,
   .btn-primary, .btn-success, filter headers, links. Override
   with brand primary. Exclude .slick-arrow (navigation arrows).
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.btn:not(.slick-arrow),
.btn-primary:not(.slick-arrow),
.btn-success:not(.slick-arrow),
a.btn:not(.slick-arrow),
button.btn:not(.slick-arrow) {
  background-color: var(--ido-primary) !important;
  border-color: var(--ido-primary) !important;
  color: #fff !important;
}
.btn:not(.slick-arrow):hover,
.btn-primary:not(.slick-arrow):hover,
.btn-success:not(.slick-arrow):hover,
a.btn:not(.slick-arrow):hover,
button.btn:not(.slick-arrow):hover {
  background-color: var(--ido-secondary) !important;
  border-color: var(--ido-secondary) !important;
  color: #fff !important;
}

/* System scheme CSS vars — override green/orange defaults
   (333333.css.gz defines --maincolor1 as green #4ADE80) */
html:root {
  --maincolor1: var(--ido-primary) !important;
  --supportcolor1: var(--ido-secondary) !important;
  --maincolor2: var(--ido-dark) !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #3 — H1 "big-label" hidden by system on /offer pages
   ROOT CAUSE: System applies display:none via JS on .big-label
   on accommodation detail pages. Force visible.
   CLIENTS: mazurski, mountainprestige (and others via JS)
   ═══════════════════════════════════════════════════════════════ */
h1.big-label {
  display: block !important;
  visibility: visible !important;
  font-family: var(--ido-font-heading) !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #4 — H2 "IdoBooking" injected inside .index-info
   ROOT CAUSE: System renders the literal text "IdoBooking" as
   an H2 inside .index-info and inside .section.parallax.
   Must be hidden — it overlaps hero content.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.index-info h2,
.index-info h1,
.section.parallax > h2 {
  display: none !important;
  visibility: hidden !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #5 — Dark overlay on slider via pseudo-elements
   ROOT CAUSE: .parallax-slider::before gets a seap-opaque
   black background from system CSS, darkening the hero image.
   .parallax-image::after does the same on image-only heroes.
   Both must be suppressed so custom overlays render cleanly.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.parallax-slider::before,
.parallax-slider::after,
.parallax-image::before,
.parallax-image::after {
  background: transparent !important;
  display: none !important;
  opacity: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #6 — Header must be position:fixed, NOT sticky
   ROOT CAUSE: position:sticky on .defaultsb / header.default13
   creates a layout gap between header and hero on iOS Safari
   and when sticky triggers at wrong scroll offset. Fixed + explicit
   top:0 is the only reliable cross-browser approach.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.defaultsb,
#defaultsb,
.default13,
.navbar-wrapper,
header.header,
header.default13 {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1100 !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #7 — Subpage padding-top compensates fixed header
   ROOT CAUSE: Fixed header overlaps page content on subpages.
   Homepage is excluded — fullscreen hero handles offset itself.
   Value comes from --ido-header-h measured on live site.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
body.page-offers,
body.page-offer,
body.page-contact,
body.page-txt,
body:not(.page-index) .content-wrapper,
body:not(.page-index) main {
  padding-top: var(--ido-header-h) !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #8 — Stacking context: .index-info z-index too high
   ROOT CAUSE: .index-info receives position:absolute and
   z-index:1000 from system, which traps it above the slider
   and blocks pointer events on hero CTAs. Reset position to
   allow hero overlay to sit above it.
   NOTE: pointer-events:none prevents invisible area blocking clicks.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.index-info {
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: visible !important;
}
.index-info * {
  pointer-events: none !important;
}
.index-info button,
.index-info .navbar-reservation {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #9 — System z-index: -1 on form inputs
   ROOT CAUSE: System stylesheet sets z-index:-1 on inputs and
   selects inside the booking widget, making them unclickable
   when the widget sits inside a positioned container.
   CLIENTS: najmar, ecocamping, madera, golden, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
#iai_book_form input,
#iai_book_form select,
#iai_book_form textarea,
#iai_book_form .widget__option,
input,
select,
textarea {
  z-index: 2 !important;
  position: relative;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #10 — System inline positioning on .index-info
   ROOT CAUSE: System JS injects inline style="top:Xpx; left:Xpx"
   on .index-info, misaligning it relative to the hero. These
   overrides must use !important to beat inline styles.

   CRITICAL-ZZ (2026-04-15): Przy `.section.parallax { margin-top: 0 }`
   (po fix scroll-on-load — TRAP #25) systemowy widget `.index-info`
   z `position: absolute; top: 0` wycieka na top strony (nad hero,
   nad/za headerem). Wcześniej był "schowany" przez margin-top:-88.
   FIX: ukryj systemowy widget na homepage — AP ma własny `.ap-search`.
   ═══════════════════════════════════════════════════════════════ */
body.page-index .index-info,
body.ap-homepage .index-info,
body.page-index #iai_book_se,
body.ap-homepage #iai_book_se,
body.page-index #iai_book_form,
body.ap-homepage #iai_book_form {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.index-info {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  transform: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #11 — Litepicker calendar rendered at 944px width
   ROOT CAUSE: Litepicker date range picker gets a hardcoded
   width from the system JS config, causing horizontal scroll
   on mobile and overflow on desktop sidebars. fit-content
   corrects to actual rendered width.
   CLIENTS: najmar, ecocamping, madera, golden, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
.litepicker {
  width: fit-content !important;
  max-width: 100vw !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #12 — Ghost booking form on /offer pages
   ROOT CAUSE: System renders a duplicate #iai_book_form with
   class d-none on offer detail pages. Without explicit height:0
   it still occupies vertical space even when display:none,
   pushing content down.
   CLIENTS: all /offer pages
   ═══════════════════════════════════════════════════════════════ */
body.page-offer #iai_book_form.d-none,
body.page-offer .iai-search.d-none {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #13 — .iai-search shown on /offers page (has its own)
   ROOT CAUSE: The /offers page has a built-in filter sidebar.
   The global .iai-search bar also renders, duplicating search UI.
   Also hide on /txt subpages where a search widget makes no sense.
   CLIENTS: najmar, ecocamping, madera, mazurski, golden, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
body.page-offers .iai-search,
body.page-offers #iai_book_se,
body.page-txt .iai-search,
body.page-txt #iai_book_se {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #14 — FontAwesome NOT loaded — hide broken FA icons
   ROOT CAUSE: IdoSell does not load FontAwesome by default in
   template 11 / default13. FA icon elements render as invisible
   0x0 boxes OR as raw unicode squares. Hide them system-wide;
   replace with CSS-only chevrons where needed (see §7 /offers).
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
body.page-offers .filter_header .fa,
body.page-offers .filter_header .fa-angle-down,
body.page-offers .filter_header [class^="fa-"],
body.page-offers .filter_header [class*=" fa-"] {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #15 — Gradient overlay on .section.parallax
   ROOT CAUSE: The system ::after pseudo-element on .section.parallax
   renders a dark solid overlay that obscures hero images.
   IMPORTANT: append custom overlays to .section.parallax itself,
   NOT to .parallax-slider — the slider has z-index:-2 which traps
   any positioned child below it (cannot be fixed without JS).
   .index-info::after must also be suppressed.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.section.parallax::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.4)  12%,
    rgba(255, 255, 255, 0)    22%,
    rgba(0, 0, 0, 0)          60%,
    rgba(0, 0, 0, 0.35)      100%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
.index-info::after,
.index-info::before {
  display: none !important;
  content: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #16 — span.btn on /offers gets line-height: 49px
   ROOT CAUSE: System stylesheet targets span.btn and forces
   line-height:49px + height:49px, which makes the "SZCZEGOLY"
   button on offer listing cards enormously tall. Normalize to
   auto height with flex centering.
   CLIENTS: najmar, ecocamping, madera, mazurski, golden, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
body.page-offers span.btn,
.page-offers .accommodation-buttons span.btn,
.offer span.btn {
  line-height: 1.4 !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 24px !important;
  font-family: var(--ido-font-body) !important;
  font-size: 13px !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #17 — Tabs sticky: system JS adds --fixed class, not .sticky
   ROOT CAUSE: The offer detail tabs bar gets a class of "--fixed"
   (double-dash prefix, Bootstrap modifier style) added by system JS
   when it sticks. This is NOT the standard .sticky class. Without
   an explicit rule targeting .tabs.--fixed the tab bar jumps out
   of layout — full-width fix and z-index are required.
   CLIENTS: mazurski, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
.tabs.--fixed {
  position: fixed !important;
  top: var(--ido-header-h) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  margin: 0 !important;
  z-index: 1000 !important;
  background: var(--ido-light) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Tabs span child font size — system forces 1.3rem */
.tabs__item > span {
  font-size: 13px !important;
  font-family: var(--ido-font-body) !important;
  font-weight: 500 !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #18 — Footer VISA/MC strip dark default background
   ROOT CAUSE: .footer-contact-baner has a hardcoded dark navy
   background (#3E475E) from system CSS. Logos and icons inside
   render with wrong contrast against custom dark footers.
   Override background to match client dark color and invert logos.
   CLIENTS: all (7/7)
   ═══════════════════════════════════════════════════════════════ */
.footer-contact-baner,
.footer__strip,
footer .footer__strip,
.footer-bottom,
.payment-methods {
  background: var(--ido-dark) !important;
  background-color: var(--ido-dark) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.footer-contact-baner svg,
.footer-contact-baner img,
.footer__strip img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.4 !important;
}
.footer-contact-baner span,
.footer-contact-baner a,
.footer__strip a {
  color: rgba(255, 255, 255, 0.3) !important;
  font-size: 12px !important;
}
.powered_by_logo img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.3 !important;
}


/* ═══════════════════════════════════════════════════════════════
   ADDITIONAL UNIVERSAL FIX — Leaflet map overflow
   ROOT CAUSE: A wildcard selector [class*="map"] from system CSS
   clips map tile images. Protect Leaflet containers explicitly.
   CLIENTS: najmar, madera, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
.leaflet-container {
  overflow: hidden !important;
}
.leaflet-container * {
  box-sizing: content-box;
}


/* ═══════════════════════════════════════════════════════════════
   ADDITIONAL UNIVERSAL FIX — container-hotspot (JS rebuilds cards)
   ROOT CAUSE: System renders a .container-hotspot with system-styled
   offer cards that JS replaces. Hide the system version to prevent
   flash of unstyled content.
   CLIENTS: madera, mountainprestige
   ═══════════════════════════════════════════════════════════════ */
.container-hotspot {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   §A — TYPOGRAPHY BASE (universal, uses CSS vars)
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ido-font-heading) !important;
  color: var(--ido-dark) !important;
  line-height: 1.2 !important;
}

a {
  color: var(--ido-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--ido-secondary);
}


/* ═══════════════════════════════════════════════════════════════
   §B — SEARCH WIDGET (universal fixes)
   Font and persons-dropdown chevron are broken on all clients.
   ═══════════════════════════════════════════════════════════════ */
.iai-search,
#iai_book_form {
  font-family: var(--ido-font-body) !important;
}

/* Search / booking submit button
   NOTE: .formbutton does NOT inherit CSS vars in all contexts.
   Generator must replace #147D3B and #0E5C2B. */
.formbutton,
#iai_book_form .formbutton {
  background: #147D3B !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ido-radius) !important;
  font-family: var(--ido-font-body) !important;
  cursor: pointer !important;
}
.formbutton:hover,
#iai_book_form .formbutton:hover {
  background: #0E5C2B !important;
}

/* Persons dropdown chevron — system button is 8x8 and invisible */
#iai_book_form .widget__option.iai_input-small .iai_widget_btn {
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
  font-size: 0 !important;
  background: transparent !important;
  border: none !important;
}
#iai_book_form .widget__option.iai_input-small .iai_widget_btn::after {
  content: '' !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid var(--ido-dark) !important;
  border-bottom: 2px solid var(--ido-dark) !important;
  transform: rotate(45deg) !important;
  margin: 2px auto 0 !important;
}
#iai_book_form .widget__option.iai_input-small {
  padding-right: 44px !important;
}

/* Persons dropdown list overflow */
.persons_list {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}


/* ═══════════════════════════════════════════════════════════════
   §C — /offers PAGE (universal styling for all clients)
   ═══════════════════════════════════════════════════════════════ */

/* Offers container background — system default is #292929 dark */
body.page-offers,
body.page-offers main,
.offers-container {
  background: var(--ido-bg) !important;
  color: var(--ido-dark) !important;
}

/* Filter section headers — brand color, heading font */
body.page-offers h4,
body.page-offers .sidebar h4,
body.page-offers .filter_header {
  color: var(--ido-primary) !important;
  font-family: var(--ido-font-heading) !important;
}

/* Filter header layout with CSS chevron (FontAwesome not loaded) */
body.page-offers .filter_header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
  padding: 10px 16px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
  transition: background 0.2s ease !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
body.page-offers .filter_header:hover {
  background: rgba(0, 0, 0, 0.03) !important;
}

/* CSS-only chevron replaces missing FontAwesome icon */
body.page-offers .filter_header::after {
  content: "" !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  width: 10px !important;
  height: 10px !important;
  border-right: 2px solid var(--ido-primary) !important;
  border-bottom: 2px solid var(--ido-primary) !important;
  transform: rotate(45deg) !important;
  transition: transform 0.3s ease !important;
  margin-left: 12px !important;
  margin-top: -3px !important;
}
body.page-offers .filter_header[aria-expanded="true"]::after {
  transform: rotate(-135deg) !important;
  margin-top: 3px !important;
}

/* Filter collapse — Bootstrap collapse guard */
body.page-offers .filter_content.collapse:not(.show) {
  display: none !important;
}
body.page-offers .filter_content.collapse.show {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* /offers buttons */
body.page-offers .btn,
body.page-offers button.btn,
body.page-offers a.btn {
  background: var(--ido-primary) !important;
  color: #fff !important;
  border: none !important;
}
body.page-offers .btn:hover {
  background: var(--ido-secondary) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §D — /offer DETAIL PAGE (universal fixes)
   ═══════════════════════════════════════════════════════════════ */

/* Price circle — system renders oval 244x161, force 150x150 circle */
.offer-price {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ido-primary) !important;
  color: #fff !important;
  padding: 0 !important;
  text-align: center !important;
}
.offer-price small {
  font-size: 13px !important;
  line-height: 1.2 !important;
}
.offer-price span {
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* ZAREZERWUJ / Reserve button */
.accommodation-leftbutton,
.page-offer .btn-success,
.page-offer a.btn-success,
.page-offer .period-price .btn {
  background: var(--ido-primary) !important;
  border-color: var(--ido-primary) !important;
  color: #fff !important;
  font-family: var(--ido-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: var(--ido-radius) !important;
  border: none !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.accommodation-leftbutton:hover,
.page-offer .btn-success:hover,
.page-offer a.btn-success:hover {
  background: var(--ido-secondary) !important;
  border-color: var(--ido-secondary) !important;
}

/* contact__btn centering — system default justify-content:normal */
.contact__btn {
  justify-content: center !important;
  font-family: var(--ido-font-body) !important;
}

/* System price h2/p too large on detail page */
.price,
.offer .price,
.page-offer .price {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--ido-primary) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §E — /contact PAGE (universal)
   ═══════════════════════════════════════════════════════════════ */
body.page-contact a {
  color: var(--ido-primary) !important;
}
body.page-contact a:hover {
  color: var(--ido-secondary) !important;
}
body.page-contact .btn,
body.page-contact form button,
body.page-contact form input[type="submit"] {
  background: var(--ido-primary) !important;
  border-color: var(--ido-primary) !important;
  color: #fff !important;
}
body.page-contact .btn:hover {
  background: var(--ido-secondary) !important;
}
body.page-contact .leaflet-container {
  border-radius: var(--ido-radius) !important;
  overflow: hidden !important;
}


/* ═══════════════════════════════════════════════════════════════
   §F — /txt SUBPAGES (universal)
   ═══════════════════════════════════════════════════════════════ */
.txt-text {
  font-family: var(--ido-font-body) !important;
  line-height: 1.7 !important;
  color: var(--ido-dark) !important;
}
.txt-text h2,
.txt-text h3 {
  font-family: var(--ido-font-heading) !important;
  color: var(--ido-primary) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §G — FOOTER (universal dark override)
   ═══════════════════════════════════════════════════════════════ */
footer,
.footer,
.footer-wrapper,
.page-footer {
  background: var(--ido-dark) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: var(--ido-font-body) !important;
}
footer h3,
footer h4,
.footer h3,
.footer h4 {
  color: #fff !important;
  font-family: var(--ido-font-heading) !important;
  font-size: 16px !important;
}
footer a,
.footer a {
  color: var(--ido-accent) !important;
}
footer a:hover,
.footer a:hover {
  color: var(--ido-secondary) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §H — SYSTEM ELEMENTS WITH HARDCODED HEX (no CSS var inheritance)
   WARNING: Do NOT replace these tokens manually.
   The pipeline generator substitutes them at build time:
     #147D3B   → client primary color hex (e.g. #4A6741)
     #0E5C2B → client secondary color hex (e.g. #6B8F5E)
   Affected elements: #bounce, #backTop, .ck_dsclr__btn_v2, .skip_link
   These live in system-injected shadow contexts or iframes where
   CSS custom properties from :root do NOT cascade.
   ═══════════════════════════════════════════════════════════════ */

/* Scroll-down arrow (system positions it centered; move to right edge) */
#bounce {
  background-color: #147D3B !important;
  background: #147D3B !important;
  left: auto !important;
  right: 32px !important;
  transform: none !important;
  margin-left: 0 !important;
}

/* Back-to-top button */
#backTop {
  background: #147D3B !important;
}
#backTop:hover {
  background: #0E5C2B !important;
}

/* Cookie consent banner */
.ck_dsclr__btn_v2 {
  background: #147D3B !important;
}
.ck_dsclr__btn_v2:hover {
  background: #0E5C2B !important;
}
.ck_dsclr_v2 a {
  color: #147D3B !important;
}
.ck_dsclr_x_v2 {
  color: #147D3B !important;
}

/* Skip-to-content accessibility link */
.skip_link {
  background: #147D3B !important;
  color: #fff !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #16 — Widget labels not centered (Początek, Koniec, Osoby)
   ROOT CAUSE: System renders labels with text-align:left and
   auto width inside flex-column containers. Labels appear
   off-center even though the container uses align-items:center.
   FIX: Force text-align:center + width:100% on all widget labels
   and input values so text is visually centered in each field.
   CLIENTS: all
   ═══════════════════════════════════════════════════════════════ */
.iai-search .widget__option label,
#iai_book_form .widget__option label {
  text-align: center !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.iai-search .widget__option input.iai_widget_input,
#iai_book_form .widget__option input.iai_widget_input {
  text-align: center !important;
  width: 100% !important;
}
/* OSOBY tile — symmetric padding (system gives 44px right for chevron) */
#person_section,
.iai-search .widget__option.iai_input-small {
  padding: 14px 20px !important;
}


/* ═══════════════════════════════════════════════════════════════
   TRAP #17 — Litepicker legend "W tym dniu nie można..."
   ROOT CAUSE: System shows .litepicker__legend with two entries:
   "W tym dniu nie można zakończyć rezerwacji" (halfBegin) and
   "W tym dniu nie można rozpocząć rezerwacji" (halfEnd).
   Technical info, confusing for guests. Hide completely.
   CLIENTS: all
   ═══════════════════════════════════════════════════════════════ */
.litepicker .litepicker__legend,
.litepicker .container__footer .footer__legend,
.litepicker .legend,
.litepicker [class*="disabled-tooltip"] {
  display: none !important;
}
/*
 * ido-components.css
 * IdoBooking Universal Component Library — Layer 2
 * Shared by all clients. Parameterized via CSS custom properties.
 * Layer 1 (ido-base.css) sets the variables. Layer 3 (client.css) overrides.
 *
 * Prefix: ido-
 * Variables consumed: --ido-primary, --ido-secondary, --ido-accent,
 *   --ido-bg, --ido-dark, --ido-light, --ido-font-heading, --ido-font-body,
 *   --ido-radius
 *
 * Table of contents:
 *  1. Layout System
 *  2. Hero Section
 *  3. Split Layout
 *  4. Feature Grid
 *  5. Offer Cards
 *  6. CTA Section
 *  7. Stats Bar
 *  8. FAQ Accordion
 *  9. Gallery Grid
 * 10. Buttons
 * 11. Typography Helpers
 * 12. Animations
 * 13. Accessibility
 * 14. Responsive
 */

/* =========================================================
   1. LAYOUT SYSTEM
   ========================================================= */

.ido-section {
  padding: 80px 24px;
  box-sizing: border-box;
  width: 100%;
}

.ido-section--white {
  background-color: #ffffff;
}

.ido-section--cream {
  background-color: var(--ido-bg, #f8f5f0);
}

.ido-section--dark {
  background-color: var(--ido-dark, #1a1a1a);
  color: #ffffff;
}

.ido-section--accent {
  background-color: var(--ido-accent, #e8d5b0);
}

.ido-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
  width: 100%;
}

.ido-container--narrow {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
  width: 100%;
}

/* =========================================================
   2. HERO SECTION
   ========================================================= */

.ido-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay on top of system slider (.section.parallax) */
.ido-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 5;
  pointer-events: none;
}

.ido-hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 20px;
}

.ido-hero__title {
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
  max-width: 900px;
}

.ido-hero__subtitle {
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.375rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.ido-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--ido-primary, #8b6f47);
  color: #ffffff;
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: var(--ido-radius, 4px);
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 8px;
}

.ido-hero__cta:hover {
  background-color: var(--ido-secondary, #6b5035);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ido-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-family: var(--ido-font-body, system-ui, sans-serif);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  animation: ido-bounce 2s ease-in-out infinite;
  text-decoration: none;
}

.ido-hero__scroll::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
  margin-top: -6px;
}

@keyframes ido-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   3. SPLIT LAYOUT
   ========================================================= */

.ido-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ido-split--reverse .ido-split__text {
  order: 2;
}

.ido-split--reverse .ido-split__img {
  order: 1;
}

.ido-split__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ido-split__img {
  overflow: hidden;
  border-radius: var(--ido-radius, 4px);
  line-height: 0;
}

.ido-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ido-split__img:hover img {
  transform: scale(1.03);
}

/* =========================================================
   4. FEATURE GRID
   ========================================================= */

.ido-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.ido-feature {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--ido-radius, 4px);
  background-color: var(--ido-light, #ffffff);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ido-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.ido-feature__icon {
  font-size: 48px;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.ido-feature__title {
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ido-dark, #1a1a1a);
  margin: 0;
  line-height: 1.3;
}

.ido-feature__desc {
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 0.9rem;
  color: var(--ido-dark, #1a1a1a);
  opacity: 0.7;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   5. OFFER CARDS
   ========================================================= */

.ido-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.ido-card {
  background-color: #ffffff;
  border-radius: var(--ido-radius, 4px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ido-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.ido-card:hover .ido-card__img img {
  transform: scale(1.05);
}

.ido-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.ido-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ido-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ido-card__title {
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ido-dark, #1a1a1a);
  margin: 0;
  line-height: 1.3;
}

.ido-card__price {
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ido-primary, #8b6f47);
  margin: 0;
}

/* Stretched link — makes entire card clickable */
.ido-card__link {
  position: static;
  text-decoration: none;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ido-primary, #8b6f47);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ido-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* =========================================================
   6. CTA SECTION
   ========================================================= */

.ido-cta {
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.ido-cta--dark {
  background-color: var(--ido-dark, #1a1a1a);
  color: #ffffff;
}

.ido-cta--dark .ido-cta__heading {
  color: #ffffff;
}

.ido-cta__heading {
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: clamp(1.6rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  color: var(--ido-dark, #1a1a1a);
  line-height: 1.2;
  margin: 0;
  max-width: 700px;
}

.ido-cta__contacts {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.ido-cta__contacts a {
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ido-primary, #8b6f47);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.ido-cta--dark .ido-cta__contacts a {
  color: var(--ido-accent, #e8d5b0);
}

.ido-cta__contacts a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.ido-cta__btn {
  font-size: 1.1rem;
  padding: 18px 48px;
}

/* =========================================================
   7. STATS BAR
   ========================================================= */

.ido-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 60px 24px;
}

.ido-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ido-stat__number {
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ido-primary, #8b6f47);
  line-height: 1;
  margin: 0;
}

.ido-stat__label {
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 0.875rem;
  color: var(--ido-dark, #1a1a1a);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* =========================================================
   8. FAQ ACCORDION
   ========================================================= */

.ido-faq {
  display: flex;
  flex-direction: column;
}

.ido-faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ido-faq__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ido-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ido-font-heading, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ido-dark, #1a1a1a);
  text-align: left;
  gap: 16px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.ido-faq__question:hover {
  color: var(--ido-primary, #8b6f47);
}

/* CSS chevron icon */
.ido-faq__question::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}

.ido-faq__question[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.ido-faq__answer {
  display: none;
  padding: 0 4px 20px;
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ido-dark, #1a1a1a);
  opacity: 0.8;
}

.ido-faq__question[aria-expanded="true"] + .ido-faq__answer {
  display: block;
}

/* =========================================================
   9. GALLERY GRID
   ========================================================= */

.ido-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.ido-gallery__item {
  overflow: hidden;
  border-radius: calc(var(--ido-radius, 4px) / 2);
  line-height: 0;
  cursor: pointer;
  position: relative;
}

.ido-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
  transition: transform 0.35s ease;
}

.ido-gallery__item:hover img {
  transform: scale(1.08);
}

/* =========================================================
   10. BUTTONS
   ========================================================= */

.ido-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--ido-primary, #8b6f47);
  color: #ffffff;
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--ido-primary, #8b6f47);
  border-radius: var(--ido-radius, 4px);
  padding: 14px 32px;
  cursor: pointer;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              transform 0.18s ease, box-shadow 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  -webkit-appearance: none;
  appearance: none;
}

.ido-btn:hover {
  background-color: var(--ido-secondary, #6b5035);
  border-color: var(--ido-secondary, #6b5035);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.ido-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ido-btn--outline {
  background-color: transparent;
  color: var(--ido-primary, #8b6f47);
  border-color: var(--ido-primary, #8b6f47);
  box-shadow: none;
}

.ido-btn--outline:hover {
  background-color: var(--ido-primary, #8b6f47);
  color: #ffffff;
}

.ido-btn--white {
  background-color: #ffffff;
  color: var(--ido-dark, #1a1a1a);
  border-color: #ffffff;
}

.ido-btn--white:hover {
  background-color: var(--ido-bg, #f8f5f0);
  border-color: var(--ido-bg, #f8f5f0);
  color: var(--ido-dark, #1a1a1a);
}

.ido-btn--lg {
  font-size: 1.0625rem;
  padding: 18px 48px;
}

.ido-btn:focus-visible {
  outline: 3px solid var(--ido-primary, #8b6f47);
  outline-offset: 3px;
}

/* =========================================================
   11. TYPOGRAPHY HELPERS
   ========================================================= */

.ido-heading {
  font-family: var(--ido-font-heading, Georgia, serif);
  color: var(--ido-dark, #1a1a1a);
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

.ido-kicker {
  display: block;
  font-family: var(--ido-font-body, system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ido-primary, #8b6f47);
  margin: 0;
}

.ido-text {
  font-family: var(--ido-font-body, system-ui, sans-serif);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   12. ANIMATIONS
   ========================================================= */

.ido-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ido-reveal--left {
  transform: translateX(-30px);
}

.ido-reveal--right {
  transform: translateX(30px);
}

.ido-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

.ido-stagger-1 { transition-delay: 0.1s; }
.ido-stagger-2 { transition-delay: 0.2s; }
.ido-stagger-3 { transition-delay: 0.3s; }
.ido-stagger-4 { transition-delay: 0.4s; }

/* noscript fallback — when JS is not available, show all revealed elements */
html:not(.ido-js) .ido-reveal {
  opacity: 1;
  transform: none;
}

/* =========================================================
   13. ACCESSIBILITY
   ========================================================= */

/* Screen-reader only utility */
.ido-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible states for interactive elements */
.ido-feature:focus-visible,
.ido-card:focus-visible,
.ido-gallery__item:focus-visible,
.ido-faq__question:focus-visible,
.ido-cta__contacts a:focus-visible,
.ido-hero__cta:focus-visible,
.ido-hero__scroll:focus-visible {
  outline: 3px solid var(--ido-primary, #8b6f47);
  outline-offset: 2px;
}

/* Disable ALL animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ido-reveal,
  .ido-reveal--left,
  .ido-reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ido-stagger-1,
  .ido-stagger-2,
  .ido-stagger-3,
  .ido-stagger-4 {
    transition-delay: 0s;
  }

  .ido-hero__scroll {
    animation: none;
  }

  .ido-btn,
  .ido-card,
  .ido-feature,
  .ido-split__img img,
  .ido-card__img img,
  .ido-gallery__item img,
  .ido-faq__question::after,
  .ido-faq__question,
  .ido-hero__cta,
  .ido-cta__contacts a {
    transition: none;
  }
}

/* =========================================================
   14. RESPONSIVE
   ========================================================= */

/* --- Tablet landscape (max 991px) --- */
@media (max-width: 991px) {
  .ido-section {
    padding: 60px 20px;
  }

  .ido-hero {
    min-height: 60vh;
  }

  .ido-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ido-split--reverse .ido-split__text,
  .ido-split--reverse .ido-split__img {
    order: unset;
  }

  .ido-stats {
    gap: 32px;
    padding: 48px 20px;
  }

  .ido-cta {
    padding: 60px 20px;
  }

  .ido-cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }

  .ido-features {
    gap: 24px;
  }
}

/* --- Tablet portrait (max 768px) --- */
@media (max-width: 768px) {
  .ido-section {
    padding: 48px 16px;
  }

  .ido-container,
  .ido-container--narrow {
    padding-inline: 16px;
  }

  .ido-hero {
    min-height: 60vh;
  }

  .ido-hero__content {
    padding: 32px 16px;
    gap: 16px;
  }

  .ido-hero__cta {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }

  .ido-features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .ido-feature {
    padding: 28px 16px;
  }

  .ido-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ido-stats {
    gap: 24px;
    padding: 40px 16px;
  }

  .ido-stat__number {
    font-size: 2.25rem;
  }

  .ido-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .ido-cta {
    padding: 48px 16px;
    gap: 20px;
  }

  .ido-cta__contacts {
    flex-direction: column;
    gap: 16px;
  }

  .ido-faq__question {
    font-size: 0.975rem;
    padding: 16px 4px;
  }
}

/* --- Mobile (max 480px) --- */
@media (max-width: 480px) {
  .ido-section {
    padding: 40px 16px;
  }

  .ido-hero {
    min-height: 50vh;
  }

  .ido-hero__scroll {
    display: none;
  }

  .ido-cards {
    grid-template-columns: 1fr;
  }

  .ido-features {
    grid-template-columns: 1fr;
  }

  .ido-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .ido-stat__number {
    font-size: 2rem;
  }

  .ido-stats {
    gap: 20px;
    padding: 32px 16px;
  }

  .ido-btn--lg {
    font-size: 1rem;
    padding: 16px 32px;
  }

  .ido-split {
    gap: 24px;
  }

  .ido-cta__heading {
    font-size: 1.5rem;
  }

  .ido-faq__question {
    font-size: 0.9375rem;
  }
}
/* ═══════════════════════════════════════════════════════════════
   APARTAMENTY PARKOWE — Layer 3 (Client Theme)
   Brand: Apartamenty Parkowe — Apartamenty w Trzech Lokalizacjach
   Client ID: mia | Template: default13
   Palette: Warm Charcoal + Bronze (dark elegance + warm accents)
   Fonts: Playfair Display (headings) + Inter (body)
   Prefix: ap-
   Generated: 2026-04-14
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════
   §0 — CRITICAL POST-DEPLOY FIXES (must be applied first)
   ═══════════════════════════════════════════════════════════════ */

/* --- TRAP CRITICAL-U+X: HERO CSS BG (CONTAINED) ---
   CRITICAL-CCC (2026-04-15): Hero 100vh (nie 85vh) — żeby widget był widoczny
   na MacBook 13" (800px viewport). 85vh na 800 = 680px, widget na dole zostaje
   przycięty. 100vh = search zawsze widoczny w viewport. */
body.page-index .section.parallax {
  position: relative !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  background-color: #1A1A1A !important;
  background-image: none !important;
  animation: none !important;
}

body.page-index .section.parallax::before {
  content: '' !important;
  position: absolute !important;
  top: -4% !important;
  left: -4% !important;
  right: -4% !important;
  bottom: -4% !important;
  background-image: url('') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
  pointer-events: none !important;
  animation: ap-ken-burns 22s ease-in-out infinite alternate !important;
  transform-origin: center center !important;
}

body.page-index .parallax-slider,
body.page-index .parallax-slider .slick-list,
body.page-index .parallax-slider .slick-track,
body.page-index .parallax-slider .slick-slide {
  background-image: none !important;
  background-color: transparent !important;
  animation: none !important;
}

body.page-index .parallax-slider {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

@keyframes ap-ken-burns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

body.page-index .section.parallax::after {
  z-index: 2 !important;
}


/* --- TRAP CRITICAL-MM: ALL SECTION IMAGES ZOOMABLE --- */
.ap-about__img,
.ap-location__img,
.ap-banner-image,
.ap-zoomable {
  cursor: zoom-in !important;
}
.ap-about__img img,
.ap-location__img img,
.ap-zoomable img {
  cursor: zoom-in !important;
}


/* --- TRAP CRITICAL-NN: /txt SUBPAGES SYSTEM H1/H2 --- */
body.page-txt h1.big-label,
body.page-txt > h1:first-of-type,
body.page-txt .container > h1:first-of-type,
body.page-txt main > h1:first-of-type,
body.page-txt .section_sub > h1:first-of-type,
body.page-txt .section_sub > h2:first-of-type,
body.page-txt .container > h2:first-of-type {
  display: none !important;
}

body.page-txt .section_sub,
body.page-txt main,
body.page-txt .container:not(.footer) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-txt section:first-child,
body.page-txt .ap-offers-intro:first-child,
body.page-txt > section:first-of-type {
  padding-top: 100px !important;
}


/* --- TRAP CRITICAL-OO: STRONGER HERO SUBTITLE --- */
body.page-index .ap-hero__subtitle,
.ap-hero__subtitle {
  color: #ffffff !important;
  font-weight: 500 !important;
  letter-spacing: 4px !important;
  text-shadow:
    1px 0 0 rgba(0, 0, 0, 0.85),
    -1px 0 0 rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(0, 0, 0, 0.85),
    0 -1px 0 rgba(0, 0, 0, 0.85),
    1px 1px 0 rgba(0, 0, 0, 0.85),
    -1px -1px 0 rgba(0, 0, 0, 0.85),
    1px -1px 0 rgba(0, 0, 0, 0.85),
    -1px 1px 0 rgba(0, 0, 0, 0.85),
    0 2px 14px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.5) !important;
  -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.4) !important;
}


/* --- TRAP CRITICAL-LL: GALLERY LIGHTBOX --- */
.ap-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
.ap-lightbox.ap-lightbox--open {
  display: flex;
  animation: ap-lightbox-in 0.3s ease;
}
@keyframes ap-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ap-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.ap-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ap-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--ido-radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.ap-lightbox__caption {
  color: #fff;
  font-family: var(--ido-font-heading);
  font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic;
  text-align: center;
  margin: 0;
  max-width: 800px;
}
.ap-lightbox__close,
.ap-lightbox__prev,
.ap-lightbox__next {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--ido-font-body);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--ido-radius);
}
.ap-lightbox__close { top: 24px; right: 24px; font-size: 28px; }
.ap-lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 42px; }
.ap-lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 42px; }
.ap-lightbox__close:hover,
.ap-lightbox__prev:hover,
.ap-lightbox__next:hover {
  background: var(--ap-accent, #598700);
  border-color: var(--ap-accent, #598700);
}
@media (max-width: 768px) {
  .ap-lightbox__close { top: 12px; right: 12px; }
  .ap-lightbox__prev { left: 8px; }
  .ap-lightbox__next { right: 8px; }
  .ap-lightbox__prev, .ap-lightbox__next { width: 42px; height: 42px; font-size: 32px; }
}
.ap-gallery__item { cursor: zoom-in !important; }


/* --- TRAP CRITICAL-SS: Powered by IdoBooking badge --- */
.powered_by, .powered_by_logo {
  background: transparent !important;
  text-align: center !important;
  padding: 12px 0 !important;
  margin: 0 !important;
}
.powered_by_logo img, .powered_by img {
  max-width: 80px !important;
  max-height: 18px !important;
  width: auto !important;
  height: auto !important;
  filter: brightness(0) invert(1) opacity(0.35) !important;
  background: transparent !important;
  display: inline-block !important;
}


/* --- TRAP CRITICAL-RR: HERO HEIGHT full viewport --- */
body.page-index .section.parallax,
body.ap-homepage .section.parallax {
  margin-top: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: none !important;
  position: relative;
  overflow: hidden !important;
}


/* --- TRAP CRITICAL-HH: FULLPAGE.JS SECTION GRAY BG --- */
body.page-index .section.fp-auto-height,
body.page-index .section.fp-auto-height.pb-5,
body.page-index .fp-section.fp-table:not(.parallax),
body.page-index .section.fp-section:not(.parallax),
body.ap-homepage .section.fp-auto-height,
body.ap-homepage .section.fp-auto-height.pb-5 {
  background: var(--ido-bg, #FAFAF8) !important;
  background-color: var(--ido-bg, #FAFAF8) !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.section.fp-auto-height,
.section.fp-auto-height.pb-5 {
  background-color: var(--ido-bg, #FAFAF8) !important;
  padding-bottom: 0 !important;
}


/* --- TRAP CRITICAL-II: FOOTER EMPTY SPACE --- */
footer, .footer, .page-footer {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
footer > *:last-child, .footer > *:last-child, .footer.container > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* CRITICAL-II consolidated — see §footer at end of L3 for final rule */
.footer-contact-baner, .footer__strip {
  padding: 14px 20px !important;
  background: #111111 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.footer-contact-baner ~ *, .footer__strip ~ * { display: none !important; }
.footer.container {
  padding-bottom: 0 !important;
  overflow: visible !important; /* allow baner to break out to 100vw */
  max-width: none !important; /* remove 1170px constraint on footer */
}
/* System default #3E475E navy → see §footer at end of L3 */
.footer-contact-baner {
  background: #1A1A1A !important;
}


/* --- TRAP CRITICAL-JJ: SCROLLED HEADER SOLID WHITE --- */
body header.default13.ap-header--scrolled,
body .defaultsb.ap-header--scrolled,
body header.default13.ap-header--scrolled .menu-wrapper,
body .defaultsb.ap-header--scrolled .menu-wrapper,
body header.default13.ap-header--scrolled .bgd-color-light,
body.ap-homepage header.ap-header--scrolled,
body.ap-homepage header.ap-header--scrolled .menu-wrapper {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 24px rgba(42, 40, 41, 0.08) !important;
}


/* --- TRAP CRITICAL-KK: /CONTACT EMPTY PHONE + WHITE BOXES --- */
body.page-contact .contact__tel:empty,
body.page-contact .contact__email:empty,
body.page-contact a[href="tel:"]:empty,
body.page-contact a[href="tel: "]:empty,
body.page-contact a[href="mailto:"]:empty { display: none !important; }
body.page-contact a[href="tel: "],
body.page-contact a[href^="tel:"][href$=" "],
body.page-contact .contact__tel[href="tel: "] { display: none !important; }
body.page-contact .contact__tel.ap-empty,
body.page-contact .contact__email.ap-empty { display: none !important; }
body.page-contact a[href^="tel:"],
body.page-contact a[href^="mailto:"],
body.page-contact .contact__tel,
body.page-contact .contact__email {
  background: transparent !important;
  border: none !important;
  padding: 4px 8px !important;
  box-shadow: none !important;
  color: var(--ido-primary, #147D3B) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}
body.page-contact a[href^="tel:"]:hover,
body.page-contact a[href^="mailto:"]:hover {
  background: transparent !important;
  color: var(--ido-secondary, #0E5C2B) !important;
  text-decoration: underline !important;
}
body.page-contact { padding-top: 88px !important; }
body.page-contact .container:not(.footer),
body.page-contact main,
body.page-contact .contact-layout,
body.page-contact .section_sub { padding-top: 30px !important; }
body.page-contact h1 { margin-top: 20px !important; padding-top: 0 !important; }

/* --- TRAP CRITICAL-DD: LOGO SIZE + MENU-WRAPPER OVERFLOW ---
   CRITICAL-FFF (2026-04-15): System IdoBooking dodaje `::after` pseudo-element
   na `.navbar-brand` i `.nav-link` (white 1px bottom line — niby hover indicator
   ale renderowany jako static). Plus nav-link hover underline aplikował się też
   na logo przez selector `.navbar a::after`. FIX: (a) usuń `.navbar-brand::after`
   i `::before`, (b) hover underline TYLKO na nav-link (nie logo). */
header .menu-wrapper .navbar-brand,
header .menu-wrapper .navbar-brand img,
header .navbar-brand,
header .navbar-brand img,
.menu-wrapper .navbar-brand,
.menu-wrapper .navbar-brand img,
header .logo img,
.menu-wrapper .logo img {
  max-height: 80px !important;
  width: auto !important;
  max-width: 280px !important;
  height: auto !important;
}
/* Remove ::after / ::before kreska pod logo */
header .navbar-brand::after,
header .navbar-brand::before,
header .logo::after,
header .logo::before,
.menu-wrapper .navbar-brand::after,
.menu-wrapper .navbar-brand::before,
.menu-wrapper .logo::after,
.menu-wrapper .logo::before,
header .navbar-brand:hover::after,
header .navbar-brand:focus::after {
  display: none !important;
  content: none !important;
  background: none !important;
  height: 0 !important;
  width: 0 !important;
}
/* Logo pionowe centrowanie w nav + drobny lift */
header .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  position: relative !important;
  top: -2px;                              /* subtle lift dla optical balance */
}
header .navbar-brand img {
  display: block !important;
  margin: 0 !important;
  vertical-align: middle !important;
}
header .menu-wrapper .navbar {
  min-height: 56px !important;
  height: auto !important;
  padding: 8px 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
}
header .menu-wrapper,
header .menu-wrapper .container {
  max-height: 88px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
header.ap-header--scrolled .menu-wrapper,
header.ap-header--scrolled .menu-wrapper .container {
  max-height: 66px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
header.ap-header--scrolled .navbar-brand,
header.ap-header--scrolled .navbar-brand img,
header.ap-header--scrolled .menu-wrapper .navbar-brand img,
header.ap-header--scrolled .logo img,
header.ap-header--scrolled .menu-wrapper .logo img {
  max-height: 56px !important;
}


/* --- TRAP CRITICAL-EE: TABS --fixed WIDTH + DYNAMIC TOP --- */
body .tabs.--fixed,
body.page-offer .tabs.--fixed,
html body .tabs.--fixed,
.offer-desc-wrapper .tabs.--fixed {
  position: fixed !important;
  top: var(--ap-current-header-h, 88px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1000 !important;
  background: var(--ido-light, #fff) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid var(--ap-border, rgba(140, 123, 107, 0.15)) !important;
  transition: top 0.25s ease !important;
}


/* --- TRAP CRITICAL-FF: OFFER PRICE ASYMMETRIC PADDING --- */
body.page-offer .offer-price small,
body.page-offer .offer-price span,
.offer-price small,
.offer-price span {
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}
body.page-offer .offer-price {
  padding: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}


/* --- TRAP CRITICAL-AA/BB: HEADER .menu-wrapper CHILD BG ---
   CRITICAL-BBB v2 (2026-04-15): INSTANT transition (0s) — user "za pozno
   robilo sie biale tlo". Zamiast 0.15s fade → natychmiastowy snap.
   Plus threshold w JS musi być niski (~20-30px) żeby "nawet troche w dol"
   już wyzwoliło biały header. */
body.page-index header .menu-wrapper,
body.page-index header .bgd-color-light,
body.ap-homepage header .menu-wrapper,
body.ap-homepage header .bgd-color-light,
body.home header .menu-wrapper,
body.frontpage header .menu-wrapper,
html.ap-homepage body header .menu-wrapper,
html.ap-homepage body header .bgd-color-light {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transition: none !important;                 /* INSTANT — user wymagał natychmiastowej zmiany */
}
body.page-index header.ap-header--scrolled .menu-wrapper,
body.ap-homepage header.ap-header--scrolled .menu-wrapper,
body header.ap-header--scrolled .menu-wrapper,
body header.ap-header--scrolled .bgd-color-light {
  background: #ffffff !important;              /* pure white, nie 0.98 */
  background-color: #ffffff !important;
  box-shadow: 0 4px 24px rgba(42, 40, 41, 0.08) !important;
  transition: none !important;                 /* INSTANT */
}
/* Override transition na samym header też (wcześniej było 0.3s) */
body.page-index header.default13,
body.ap-homepage header.default13,
body header.default13 {
  transition: none !important;
}
body:not(.page-index):not(.ap-homepage) header .menu-wrapper,
body:not(.page-index):not(.ap-homepage) header .bgd-color-light {
  background: rgba(250, 250, 248, 0.96) !important;
}
body.page-index header:not(.ap-header--scrolled) .language,
body.ap-homepage header:not(.ap-header--scrolled) .language {
  background: transparent !important;
}
body.page-index header:not(.ap-header--scrolled) select,
body.ap-homepage header:not(.ap-header--scrolled) select {
  background: rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}


/* --- TRAP CRITICAL-BB: HERO WRAP FILLS .section.parallax --- */
body.page-index .section.parallax .ap-hero-wrap,
body.ap-homepage .section.parallax .ap-hero-wrap,
.section.parallax .ap-hero-wrap,
.section.parallax .fp-tableCell .ap-hero-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 100px 20px 40px !important;
  z-index: 11 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.section.parallax .ap-hero-wrap > .ap-hero__content {
  flex: 1 !important;
  pointer-events: none !important;
}
.section.parallax .ap-hero-wrap > .ap-hero__search-bar {
  pointer-events: auto !important;
}


/* --- TRAP CRITICAL-V: FULLY TRANSPARENT HEADER (MULTI-FALLBACK) --- */
body.page-index header.default13:not(.ap-header--scrolled),
body.page-index .defaultsb:not(.ap-header--scrolled),
body.page-index #defaultsb:not(.ap-header--scrolled),
body.ap-homepage header.default13:not(.ap-header--scrolled),
body.ap-homepage .defaultsb:not(.ap-header--scrolled),
body.ap-homepage #defaultsb:not(.ap-header--scrolled),
body.home header.default13:not(.ap-header--scrolled),
body.frontpage header.default13:not(.ap-header--scrolled),
html.ap-homepage body header.default13:not(.ap-header--scrolled),
html.ap-homepage body .defaultsb:not(.ap-header--scrolled) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Menu text — 8-directional pixel shadow + deep shadow */
body.page-index header.default13:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="logo"]):not([class*="btn"]),
body.page-index header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.page-index .defaultsb:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.ap-homepage header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.ap-homepage header.default13:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.ap-homepage .defaultsb:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.home header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.frontpage header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
html.ap-homepage body header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]) {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-shadow:
    1px 0 0 rgba(0, 0, 0, 0.95),
    -1px 0 0 rgba(0, 0, 0, 0.95),
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 -1px 0 rgba(0, 0, 0, 0.95),
    1px 1px 0 rgba(0, 0, 0, 0.95),
    -1px -1px 0 rgba(0, 0, 0, 0.95),
    1px -1px 0 rgba(0, 0, 0, 0.95),
    -1px 1px 0 rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(0, 0, 0, 0.6) !important;
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.5) !important;
}

body.page-index header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]):hover {
  color: var(--ap-accent, #598700) !important;
  text-shadow:
    1px 0 0 rgba(0, 0, 0, 0.95),
    -1px 0 0 rgba(0, 0, 0, 0.95),
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 -1px 0 rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.85) !important;
}

body.page-index header.default13:not(.ap-header--scrolled) .logo,
body.page-index header:not(.ap-header--scrolled) .logo,
body.page-index header:not(.ap-header--scrolled) .logo img {
  filter:
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 3px rgba(0, 0, 0, 0.6)) !important;
}

body.page-index header:not(.ap-header--scrolled) .navbar-reservation,
body.page-index header:not(.ap-header--scrolled) .reservation-btn,
body.page-index header:not(.ap-header--scrolled) [class*="reserv"] {
  background: var(--ap-accent, #598700) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
  font-weight: 700 !important;
}


/* --- TRAP CRITICAL-R: HERO WHITE OVERLAY FIX --- */
body.page-index .section.parallax::after,
body.page-index .parallax-slider::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0)    30%,
    rgba(0, 0, 0, 0)    60%,
    rgba(0, 0, 0, 0.4) 100%
  ) !important;
  display: block !important;
  opacity: 1 !important;
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
body.page-index .parallax-slider,
body.page-index .parallax-slider .slick-slide,
body.page-index .parallax-slider img,
body.page-index .section.parallax img {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}


/* --- TRAP CRITICAL-S: MENU ULTRA-VISIBILITY --- */
body header a[href]:not(.logo):not([class*="logo"]):not([class*="btn"]):not([class*="reserv"]):not([class*="lang"]),
body header.default13 a[href]:not(.logo):not([class*="logo"]):not([class*="btn"]):not([class*="reserv"]),
body .defaultsb a[href]:not(.logo):not([class*="logo"]):not([class*="btn"]):not([class*="reserv"]),
body #defaultsb a[href]:not(.logo):not([class*="logo"]):not([class*="btn"]) {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  padding: 8px 14px !important;
  font-family: var(--ido-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}
body:not(.page-index) header a[href]:not(.logo):not([class*="btn"]),
body:not(.page-index) header.default13 a[href]:not(.logo):not([class*="btn"]),
body:not(.page-index) .defaultsb a[href]:not(.logo):not([class*="btn"]),
body header.default13.ap-header--scrolled a[href]:not(.logo):not([class*="btn"]),
body header.ap-header--scrolled a[href]:not(.logo):not([class*="btn"]),
body .defaultsb.ap-header--scrolled a[href]:not(.logo):not([class*="btn"]) {
  color: var(--ido-dark, #1A1A1A) !important;
  text-shadow: none !important;
}
body.page-index header.default13:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.page-index header:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.page-index .defaultsb:not(.ap-header--scrolled) a[href]:not(.logo):not([class*="btn"]) {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.5) !important;
}
body header a[href]:not(.logo):not([class*="btn"]):hover,
body header.default13 a[href]:not(.logo):not([class*="btn"]):hover,
body .defaultsb a[href]:not(.logo):not([class*="btn"]):hover {
  color: var(--ap-accent, #598700) !important;
}
header.default13, header.header, .defaultsb, #defaultsb,
header.default13 nav, header.default13 ul, header.default13 .menu,
header.default13 .navbar-wrapper, header.default13 .menu-items,
.defaultsb nav, .defaultsb ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
header.default13 nav, header.default13 ul.menu, header.default13 .navbar-nav,
.defaultsb nav, .defaultsb ul.menu {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
}

/* --- TRAP CRITICAL-O: HERO OVERLAY CONTAINMENT --- */
.ido-hero__content {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}

body.page-index, body.ap-homepage, body.home {
  position: relative !important;
}

/* CRITICAL-CCC (2026-04-15): hero + search widget musi być w pełni widoczny
   na MacBook 13" (1280×800 viewport). Was: height 85vh + padding 88/40 = widget
   w rzeczywistości na Y=756 (48px pod viewport). FIX: 100vh hero + kompaktowe
   paddingi + widget margin-bottom → widget zawsze widoczny od razu po load. */
.ap-hero-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100vh !important;                /* VIEWPORT height, nie 100% parent —
                                              fullpage.js inline-forsuje section na 888px,
                                              100vh daje dokładnie viewport → widget visible */
  max-height: 100vh !important;
  margin: 0 !important;
  z-index: 11;
  pointer-events: none;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 88px 0 32px;                    /* było 88/0/40 — mniej bottom */
}

.ap-hero__content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: 16px;                               /* było 20px — mniej vertical space */
  color: #fff;
  box-sizing: border-box;
}

.ap-hero__search-bar {
  position: relative;
  width: 100%;
  padding: 0 20px;
  margin-top: auto;
  margin-bottom: 8px;                      /* safety bottom gap */
  pointer-events: auto;
  z-index: 30;
  box-sizing: border-box;
}
.ap-hero__search-bar .ap-search {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.ap-hero-wrap a,
.ap-hero-wrap button,
.ap-hero-wrap .ap-hero__cta,
.ap-hero-wrap .ap-hero__cta *,
.ap-hero-wrap .ap-hero__content a,
.ap-hero-wrap .ap-hero__content button {
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .ap-hero-wrap {
    height: 80vh;
    margin-top: calc(-80vh);
  }
  .ap-hero__content { padding: 80px 20px 80px; }
  body.page-index .section.parallax {
    height: 80vh !important;
    max-height: 80vh !important;
    min-height: 80vh !important;
  }
}


/* --- TRAP CRITICAL-P: FORCE HEADER + MENU VISIBLE --- */
header.default13, header.header, .defaultsb, #defaultsb {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1100 !important;
  display: block !important;
}
header.default13 nav, header.default13 .menu, header.default13 .navbar-nav,
header.default13 ul, header.default13 .nav-header,
.defaultsb nav, .defaultsb .menu, .defaultsb ul {
  visibility: visible !important;
  opacity: 1 !important;
}
header.default13 nav a, header.default13 .menu a, header.default13 ul li a,
header.default13 ul li, header.default13 li a,
header.default13 a:not(.logo img),
.defaultsb nav a, .defaultsb ul li a, .defaultsb li a {
  visibility: visible !important;
  opacity: 1 !important;
}
header.default13 .logo, header.default13 .logo img,
.defaultsb .logo, .defaultsb .logo img {
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-block !important;
}


/* --- TRAP CRITICAL-Q+TT: FOOTER BOTTOM + OVERSCROLL FIX ---
   html bg = DARK (matches footer, overscroll area).
   body bg = LIGHT (content area). This is the Golden pattern. */
html {
  background: var(--ido-dark, #1A1A1A) !important;
  background-color: var(--ido-dark, #1A1A1A) !important;
  min-height: 100vh;
}
body, body.default13 {
  background: var(--ido-bg, #FAFAF8) !important;
  margin: 0 !important;
}
footer, .footer, .page-footer, .footer-wrapper {
  background: var(--ido-dark, #1A1A1A) !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.powered_by, .powered_by_logo, .footer__bottom,
.footer-contact-add, .footer-bottom {
  background: var(--ido-dark, #1A1A1A) !important;
  margin: 0 !important;
  padding: 12px 0 !important;
}
/* footer baner rules consolidated below in §footer final */


/* --- TRAP A: FULL-WIDTH BREAKOUT (Golden pattern) ---
   CRITICAL FIX: sections live inside .container (max-width:1170px).
   Golden uses isolation:isolate + ::before pseudo for full-width bg.
   This prevents bg bleed AND works with container padding. */
html {
  background: var(--ido-dark, #1A1A1A) !important; /* matches footer — overscroll shows dark */
}
html, body, body.default13 {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Container must allow children to break out */
.section_sub.container,
.section_sub,
.cms-html,
.container:not(.footer):not(.navbar-container) {
  overflow: visible !important;
}

/* Hero: isolation creates stacking context so parallax-slider z-index:-1 works */
.section.parallax {
  isolation: isolate;
  background: transparent !important;
}

/* Each custom section: isolation + ::before for full-width bg */
.ap-about,
.ap-features,
.ap-cities,
.ap-stats,
.ap-testimonials,
.ap-collab,
.ap-featured,
.ap-final-cta,
.ap-search-wrapper,
.ap-offers-intro,
.ap-faq,
.ap-gallery,
.ap-banner-image,
.ap-services,
.ap-location,
section.ap-full,
section[class*="ap-section-"] {
  position: relative !important;
  isolation: isolate;
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50% !important;
  margin-left: -50vw !important;
}

.ap-about__split,
.ap-features__grid,
.ap-cities__grid,
.ap-stats__grid,
.ap-testimonials__grid,
.ap-featured__header,
.ap-apartments__grid,
.ap-collab__inner,
.ap-faq__list {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* --- TRAP B: BUTTON CLICKABILITY (.index-info *) --- */
.ido-hero__content, .ido-hero__content *,
.ap-hero__cta,
.ap-search, .ap-search *,
.ap-search__field, .ap-search__input, .ap-search__select,
.ap-search__submit, .ap-search__label,
.ap-offer-card, .ap-offer-card *, .ap-offer-card__cta,
.ap-feature, .ap-city-card,
.ap-collab__cta,
.ap-final-cta__contacts, .ap-final-cta__contacts a,
.ap-about, .ap-about *,
.ap-features, .ap-features *,
.ap-cities, .ap-cities *,
.ap-testimonials, .ap-testimonials *,
.ap-collab, .ap-collab *,
.ap-featured, .ap-featured *,
.ap-final-cta, .ap-final-cta *,
.ap-faq, .ap-faq *,
.index-info .ap-hero__cta,
.index-info .ap-search, .index-info .ap-search *,
.index-info .ap-offer-card, .index-info .ap-offer-card *,
.index-info a[href], .index-info button,
.index-info input, .index-info select,
.index-info textarea, .index-info label,
.index-info section, .index-info section * {
  pointer-events: auto !important;
}


/* --- TRAP C: NATIVE DATE PICKER --- */
.ap-search__input[type="date"],
.ap-search__input[type="time"],
.ap-search__input[type="datetime-local"] {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  cursor: pointer !important;
  min-height: 22px;
  padding-right: 0 !important;
}
.ap-search__input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
  filter: invert(0);
  margin-left: 4px;
}
.ap-search__input.flatpickr-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
}


/* --- TRAP E: SEARCH WIDGET INSIDE HERO-WRAP (legacy fallback) --- */
.ap-search-wrapper {
  position: relative !important;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 0 20px !important;
  background: transparent !important;
  z-index: 30 !important;
  box-sizing: border-box !important;
}
.ap-search {
  margin: 0 auto !important;
  position: relative;
  z-index: 30;
  max-width: 1100px;
}


/* --- TRAP F: HERO UNDER HEADER ---
   CRITICAL-YY FIX (2026-04-15): margin-top:-88 powodował scroll-on-load bug.
   fullpage.js na init "korygował" scroll o 88px żeby pierwsza section zaczynała
   się od viewport top → strona ładowała się przewinięta o wysokość header-a.
   Zamiana: padding-top + box-sizing:border-box (hero bg image wypełnia pełny
   section, content wewnątrz jest pod headerem dzięki padding-top).
   Dodatkowo JS w body_bottom: history.scrollRestoration='manual' + scrollTo(0,0). */
body.page-index .section.parallax,
body.ap-homepage .section.parallax,
.page-index .section.parallax {
  margin-top: 0 !important;                             /* było: -1 * header-h */
  padding-top: var(--ido-header-h, 88px) !important;    /* zastępuje margin-top */
  box-sizing: border-box !important;                    /* padding wliczony w height */
  position: relative !important;
}
body.page-index header.default13:not(.ap-header--scrolled),
body.page-index .defaultsb:not(.ap-header--scrolled),
body.page-index #defaultsb:not(.ap-header--scrolled),
.page-index header.default13:not(.ap-header--scrolled),
.page-index .defaultsb:not(.ap-header--scrolled) {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}
body.page-index header.default13:not(.ap-header--scrolled) nav a,
body.page-index header.default13:not(.ap-header--scrolled) .menu a,
body.page-index .defaultsb:not(.ap-header--scrolled) nav a,
body.page-index .defaultsb:not(.ap-header--scrolled) .menu a {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
body.page-index header.default13:not(.ap-header--scrolled) nav a::after,
body.page-index .defaultsb:not(.ap-header--scrolled) nav a::after {
  background: #fff !important;
}
body.page-index header.default13:not(.ap-header--scrolled) .logo img,
body.page-index .defaultsb:not(.ap-header--scrolled) .logo img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,0.3));
}
body.page-index header.default13:not(.ap-header--scrolled) .navbar-reservation,
body.page-index header.default13:not(.ap-header--scrolled) .reservation-btn {
  background: var(--ap-accent) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}


/* --- TRAP G: HERO SLIDER (Golden pattern — NO position:fixed leak) ---
   CRITICAL: System .parallax-slider sometimes has position:fixed
   which makes bg image show across ENTIRE page on scroll.
   FIX: force position:relative, contained within .section.parallax.
   Ken Burns via animation on img (not on background-image). */

.parallax-slider {
  position: relative !important;
  width: 100vw !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  margin-left: calc(-50vw + 50%) !important;
  background-color: var(--ido-dark) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Slick height chain — prevent collapse */
.parallax-slider .slick-list,
.parallax-slider .slick-track,
.parallax-slider .slick-slide,
.parallax-slider .slick-slide > div {
  height: 100% !important;
}

.parallax-slider .parallax-image {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
}

.parallax-slider .parallax-image img,
.parallax-slider .parallax-image picture,
.parallax-slider img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Freeze on first slide — no rotation */
.parallax-slider .slick-track {
  transform: translate3d(0, 0, 0) !important;
  transition: none !important;
  animation: none !important;
  width: 100% !important;
}
.parallax-slider .slick-slide {
  opacity: 0 !important;
  transition: none !important;
  pointer-events: none !important;
}
.parallax-slider .slick-slide:first-child {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.parallax-slider .slick-dots,
.parallax-slider .slick-prev,
.parallax-slider .slick-next {
  display: none !important;
}

/* Ken Burns subtle zoom on hero image */
@keyframes ap-ken-burns-img {
  0%   { transform: scale(1.00); }
  100% { transform: scale(1.08); }
}

.parallax-slider .slick-active .parallax-image img,
.parallax-slider .parallax-image img,
.parallax-slider .parallax-image picture {
  animation: ap-ken-burns-img 20s ease-in-out infinite alternate !important;
  will-change: transform;
}
.parallax-slider img,
.section.parallax img:not(.logo-img):not([class*="icon"]) {
  animation: ap-ken-burns-img 20s ease-in-out infinite alternate !important;
  transform-origin: center center;
}
.parallax-slider[style*="background"],
.parallax-image[style*="background"] {
  animation: ap-ken-burns-img 20s ease-in-out infinite alternate !important;
  transform-origin: center center;
}
@media (prefers-reduced-motion: reduce) {
  .parallax-slider img, .parallax-slider, .section.parallax img {
    animation: none !important;
    transform: none !important;
  }
}


/* --- TRAP J: FLATPICKR NO GRAY STRIPS --- */
input.flatpickr-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}
.ap-search__input[readonly],
.ap-search__input.flatpickr-alt-input,
.flatpickr-alt-input.ap-search__input,
.ap-search__field input[readonly] {
  background: transparent !important;
  color: #fff !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  font-family: var(--ido-font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.ap-search__input[readonly]:hover,
.ap-search__input[readonly]:focus,
.ap-search__input.flatpickr-alt-input:hover,
.ap-search__input.flatpickr-alt-input:focus {
  background: transparent !important;
  color: var(--ap-accent, #598700) !important;
  border: none !important;
  outline: none !important;
}

/* --- TRAP K: HEADER MENU DARK TEXT (specificity for scrolled state) --- */
body header.default13 nav a,
body header.default13 .menu a,
body header.default13 .navbar-nav a,
body header.default13 ul li a,
body header.default13 li a,
body .defaultsb nav a,
body .defaultsb .menu a,
body .defaultsb ul li a,
body.page-offers header.default13 nav a,
body.page-offer header.default13 nav a,
body.page-contact header.default13 nav a,
body.page-txt header.default13 nav a,
body header.default13.ap-header--scrolled nav a,
body header.default13.ap-header--scrolled .menu a,
body header.default13.ap-header--scrolled ul li a,
body .defaultsb.ap-header--scrolled nav a,
body .defaultsb.ap-header--scrolled ul li a,
body.page-index header.default13.ap-header--scrolled nav a,
body.page-index .defaultsb.ap-header--scrolled nav a {
  color: var(--ido-dark, #1A1A1A) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
body header.default13 nav a:hover,
body header.default13 .menu a:hover,
body header.default13 ul li a:hover,
body .defaultsb nav a:hover,
body .defaultsb ul li a:hover {
  color: var(--ap-accent, #598700) !important;
}
body header.default13 nav a.active,
body header.default13 nav li.active a,
body header.default13 .menu a.active {
  color: var(--ap-accent, #598700) !important;
}
body header.default13 .language,
body header.default13 .lang-switcher,
body header.default13 [class*="lang"] a {
  color: var(--ido-dark, #1A1A1A) !important;
  font-weight: 600 !important;
}


/* ═══════════════════════════════════════════════════════════════
   §0b — SVG SAFETY NET (prevent uncontrolled SVG expansion)
   ROOT CAUSE: SVGs without width/height in HTML expand to 100%
   of their container. Inside flex/grid items this can mean 300px+
   icons. This catch-all limits ALL SVGs inside ap-* components
   unless a more specific rule overrides.
   ═══════════════════════════════════════════════════════════════ */
[class*="ap-"] svg:not(.ap-lightbox svg) {
  max-width: 64px;
  max-height: 64px;
}
.ap-faq__chevron,
.ap-testimonial__stars svg,
.ap-offer-card__meta-item svg,
.ap-final-cta__contacts svg,
.ap-city-card svg,
.ap-hero__search-bar svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
}
.ap-feature__icon {
  width: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ap-feature__icon svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 56px !important;
  max-height: 56px !important;
}
.ap-search__submit svg {
  width: 18px !important;
  height: 18px !important;
}


/* ═══════════════════════════════════════════════════════════════
   §1 — CSS CUSTOM PROPERTIES (consumed by L1 + L2)
   ═══════════════════════════════════════════════════════════════ */
html:root {
  /* Brand colors — ido-* contract */
  --ido-primary:   #147D3B;
  --ido-secondary: #0E5C2B;
  --ido-accent:    #598700;
  --ido-bg:        #FAFAF8;
  --ido-dark:      #1A2E1A;
  --ido-light:     #F0F5ED;

  /* Extended palette (MI-specific) */
  --ap-primary:    #147D3B;
  --ap-secondary:  #0E5C2B;
  --ap-accent:     #598700;
  --ap-bg:         #FAFAF8;
  --ap-dark:       #1A1A1A;
  --ap-light:      #F0F5ED;
  --ap-text:       #3A3A3A;
  --ap-muted:      #8A8A8A;
  --ap-border:     rgba(140, 123, 107, 0.15);
  --ap-shadow-sm:  0 2px 8px rgba(42, 40, 41, 0.06);
  --ap-shadow-md:  0 8px 24px rgba(42, 40, 41, 0.10);
  --ap-shadow-lg:  0 20px 48px rgba(42, 40, 41, 0.15);

  /* Typography — TYLKO 2 rodziny fontów na całej stronie.
     CRITICAL-AAA (2026-04-15): user widział 6 unique font-family bo (a) Litepicker
     używał system font, (b) hardcoded 'Inter',sans-serif bez fallback w 10+ miejscach
     dawało rozjazd stack-u, (c) Montserrat @font-face z app.css (IdoBooking default)
     nieużywany. FIX: unify wszystko przez CSS variables + force override system widgets. */
  --ido-font-heading: 'Playfair Display', Georgia, serif;
  --ido-font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Sizing */
  --ido-radius:    6px;
  --ido-header-h:  88px;
  --ap-header-h-scrolled: 66px;

  /* Transitions */
  --ap-ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ap-ease-lux:   cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* ═══════════════════════════════════════════════════════════════
   §2 — HARDCODED SYSTEM ELEMENTS (CSS vars don't inherit)
   ═══════════════════════════════════════════════════════════════ */
#bounce {
  background: #147D3B !important;
  background-color: #147D3B !important;
  left: auto !important;
  right: 32px !important;
  transform: none !important;
  margin-left: 0 !important;
}
#backTop { background: #147D3B !important; }
#backTop:hover { background: #0E5C2B !important; }
.ck_dsclr__btn_v2 { background: #147D3B !important; }
.ck_dsclr__btn_v2:hover { background: #0E5C2B !important; }
.ck_dsclr_v2 a { color: #147D3B !important; }
.ck_dsclr_x_v2 { color: #147D3B !important; }
.skip_link { background: #147D3B !important; color: #fff !important; }

.formbutton,
#iai_book_form .formbutton {
  background: #147D3B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--ido-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}
.formbutton:hover,
#iai_book_form .formbutton:hover {
  background: #0E5C2B !important;
}


/* ═══════════════════════════════════════════════════════════════
   §3 — TYPOGRAPHY REFINEMENTS
   ═══════════════════════════════════════════════════════════════ */
body { letter-spacing: 0.01em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ido-font-heading) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ido-dark) !important;
}
h1 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(26px, 3.2vw, 42px) !important; line-height: 1.2; }
h3 { font-size: clamp(20px, 2vw, 28px) !important; line-height: 1.25; }

p {
  color: var(--ap-muted);
  line-height: 1.75;
  font-weight: 400;
}

.ap-heading-rule {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: var(--ap-accent);
  margin: 16px 0 24px;
  position: relative;
}
.ap-heading-rule::before,
.ap-heading-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--ap-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ap-heading-rule::before { left: -12px; }
.ap-heading-rule::after  { right: -12px; }

.ap-kicker {
  font-family: var(--ido-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ap-accent);
  display: block;
  margin-bottom: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   §4 — HEADER (fixed, shrink on scroll)
   ═══════════════════════════════════════════════════════════════ */
header.default13, .defaultsb, header.header {
  background: rgba(250, 250, 248, 0.96) !important;
  backdrop-filter: saturate(1.3) blur(12px) !important;
  -webkit-backdrop-filter: saturate(1.3) blur(12px) !important;
  height: var(--ido-header-h) !important;
  border-bottom: 1px solid var(--ap-border) !important;
  transition: height 0.3s var(--ap-ease), background 0.3s var(--ap-ease), box-shadow 0.3s var(--ap-ease) !important;
  box-shadow: 0 1px 0 rgba(42, 40, 41, 0.04) !important;
}
header.default13.ap-header--scrolled,
.defaultsb.ap-header--scrolled {
  height: var(--ap-header-h-scrolled) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 24px rgba(42, 40, 41, 0.08) !important;
}
header .logo img, header.default13 .logo img, .defaultsb .logo img {
  max-height: 56px !important;
  width: auto !important;
  transition: max-height 0.3s var(--ap-ease) !important;
}
header.ap-header--scrolled .logo img, .ap-header--scrolled .logo img {
  max-height: 42px !important;
}
header nav a, header .menu a, header.default13 nav a {
  font-family: var(--ido-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  color: var(--ido-dark) !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  position: relative !important;
  transition: color 0.2s var(--ap-ease) !important;
}
header nav a::after, header.default13 nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--ap-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ap-ease);
}
header nav a:hover::after, header.default13 nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
header nav a:hover, header.default13 nav a:hover {
  color: var(--ap-accent) !important;
}
header .reservation-btn, header .btn-reservation, .navbar-reservation {
  background: var(--ap-accent) !important;
  color: #fff !important;
  font-family: var(--ido-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  border-radius: var(--ido-radius) !important;
  border: none !important;
  transition: all 0.3s var(--ap-ease) !important;
}
header .reservation-btn:hover, header .btn-reservation:hover, .navbar-reservation:hover {
  background: var(--ido-secondary) !important;
  transform: translateY(-1px) !important;
}

/* ═══════════════════════════════════════════════════════════════
   §5 — HERO REFINEMENTS (Apartamenty Parkowe)
   ═══════════════════════════════════════════════════════════════ */
.ido-hero::before, .ap-hero::before {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.35) 0%,
    rgba(26, 26, 26, 0.15) 40%,
    rgba(26, 26, 26, 0.45) 100%
  ) !important;
}

.ido-hero__title, .ap-hero__title {
  font-family: var(--ido-font-heading) !important;
  font-size: clamp(36px, 6vw, 76px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #ffffff !important;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.7),
    0 4px 60px rgba(0, 0, 0, 0.5),
    0 0 4px rgba(0, 0, 0, 0.4) !important;
  margin-bottom: 20px;
}
.ap-hero__title em {
  font-style: italic;
  color: var(--ap-accent, #598700) !important;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 0, 0, 0.4) !important;
}

.ido-hero__subtitle, .ap-hero__subtitle {
  font-family: var(--ido-font-body) !important;
  font-size: clamp(14px, 1.2vw, 17px) !important;
  font-weight: 300 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 0 6px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 32px;
}

.ap-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ap-accent);
  color: #fff;
  font-family: var(--ido-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 44px;
  border: none;
  border-radius: var(--ido-radius);
  cursor: pointer;
  transition: all 0.35s var(--ap-ease-lux);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.ap-hero__cta:hover {
  background: var(--ido-secondary);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.ap-hero__cta::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.3s var(--ap-ease);
}
.ap-hero__cta:hover::after { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════════
   §6 — SEARCH WIDGET (glassmorphism bar at bottom of hero)
   ═══════════════════════════════════════════════════════════════ */
/* CRITICAL-CCC v2 (2026-04-15): widget UX redesign
   - Equal column widths (1fr każde) → konsystentny layout, nic nie najeżdża
   - Pola min-height 64px (było ~74) — kompakt ale czytelny tap target
   - Labels 11px (było 10) — lepsza czytelność bez zmiany visual hierarchy
   - Text overflow: ellipsis — długie wartości NIE zachodzą na sąsiednie pola
   - Submit button = field height (stretch) — wizualna symetria
   - Verticale separators: inside borders tylko, nie outside */
.ap-search {
  position: relative;
  z-index: 20;
  max-width: 1100px;
  margin: 0 auto;                           /* było -56px top — widget w hero-wrap bottom */
  background: rgba(42, 40, 41, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196, 169, 125, 0.25);
  border-radius: var(--ido-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 6px;                             /* było 8px — tight */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;  /* równe 4 pola + button auto */
  gap: 0;                                   /* no gap — border separator zamiast */
  align-items: stretch;                     /* wszystkie fields stretch height */
  min-height: 64px;
}
.ap-search__field {
  position: relative;
  padding: 10px 16px;                       /* było 14 18 12 — kompakt + symmetric */
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s var(--ap-ease);
  display: flex;
  flex-direction: column;
  justify-content: center;                  /* vertical center label+input */
  gap: 2px;
  min-height: 52px;
  min-width: 0;                             /* allow text-overflow children */
}
.ap-search__field:last-of-type { border-right: none; }
.ap-search__field:hover { background: rgba(255, 255, 255, 0.06); }
.ap-search__label {
  display: block;
  font-family: var(--ido-font-body);
  font-size: 11px;                          /* było 10 — lepsza czytelność */
  font-weight: 600;
  letter-spacing: 1.5px;                    /* było 2 — ciasniejsze na wąskich polach */
  text-transform: uppercase;
  color: var(--ap-accent, #598700);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-search__input, .ap-search__select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--ido-font-body);
  font-size: 14px;                          /* było 15 — field tighter */
  font-weight: 500;
  color: #fff;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 18px;                      /* space for chevron */
  line-height: 1.3;
  /* TEXT OVERFLOW — "Wszystkie lokalizacje" nie wycieka */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0;
}
.ap-search__input::placeholder { color: rgba(255, 255, 255, 0.5); opacity: 1; }
.ap-search__select option { color: #1A1A1A; background: #fff; }
.ap-search__field--select::after {
  content: '';
  position: absolute;
  right: 14px;                              /* było 18 — bliżej krawędzi */
  top: 50%;                                 /* było bottom 18 — center vertically */
  transform: translateY(-60%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ap-accent);
  border-bottom: 2px solid var(--ap-accent);
  pointer-events: none;
  transition: transform 0.2s ease;
}
/* Rotate chevron UP gdy dropdown otwarty */
.ap-search__field--select.ap-dropdown-enhanced:has(.ap-dropdown__list.is-open)::after {
  transform: translateY(-30%) rotate(-135deg);
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM DROPDOWN (CRITICAL-DDD) — rozwija się W GÓRĘ
   Native <select> hidden, trigger+list w DOM.
   ═══════════════════════════════════════════════════════════════ */
.ap-dropdown__trigger {
  font-family: var(--ido-font-body);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  padding: 0;
  padding-right: 18px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  user-select: none;
  outline: none;
}
.ap-dropdown__trigger:focus-visible {
  outline: 2px solid var(--ap-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.ap-dropdown__list {
  position: absolute;
  bottom: calc(100% + 8px);                 /* ABOVE field (nie below) */
  left: 0;
  right: 0;
  background: rgba(42, 40, 41, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(196, 169, 125, 0.3);
  border-radius: var(--ido-radius);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45),
              0 -2px 8px rgba(0, 0, 0, 0.25);
  padding: 6px;
  list-style: none;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease,
              transform 0.18s ease,
              visibility 0.18s ease;
  z-index: 100;
  pointer-events: none;
}
.ap-dropdown__list.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ap-dropdown__option {
  padding: 11px 14px;
  font-family: var(--ido-font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: calc(var(--ido-radius) - 2px);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  outline: none;
  line-height: 1.3;
}
.ap-dropdown__option + .ap-dropdown__option {
  margin-top: 2px;
}
.ap-dropdown__option:hover,
.ap-dropdown__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}
.ap-dropdown__option.is-selected {
  background: var(--ap-accent, #598700);
  color: #fff;
  font-weight: 600;
}
.ap-dropdown__option.is-selected:hover,
.ap-dropdown__option.is-selected:focus-visible {
  background: var(--ido-secondary, #0E5C2B);
}

/* Scrollbar styling dla dropdown list */
.ap-dropdown__list::-webkit-scrollbar { width: 4px; }
.ap-dropdown__list::-webkit-scrollbar-track { background: transparent; }
.ap-dropdown__list::-webkit-scrollbar-thumb {
  background: rgba(196, 169, 125, 0.4);
  border-radius: 2px;
}
.ap-search__submit {
  background: var(--ap-accent);
  color: #fff;
  border: none;
  padding: 0 36px;                          /* było 0 44 — trochę kompakt */
  font-family: var(--ido-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;                      /* było 2.5 — kompakt */
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ap-ease), letter-spacing 0.2s var(--ap-ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: calc(var(--ido-radius) - 2px);
  min-width: 180px;                         /* było 200 */
  min-height: 52px;                         /* = field height */
  align-self: stretch;                      /* wypełnia grid row */
  white-space: nowrap;
}
.ap-search__submit:hover { background: var(--ido-secondary); letter-spacing: 2.5px; }
.ap-search__submit svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* ─── Responsive breakpoints ─── */
/* Laptop 13" (1280×800): widget should fit — no special rules needed */
/* Tablet / small laptop */
@media (max-width: 1024px) {
  .ap-search {
    grid-template-columns: 1fr 1fr 1fr auto;  /* 3 fields + button, combine dates */
  }
  .ap-search__submit { min-width: 160px; padding: 0 28px; }
}
/* Tablet */
@media (max-width: 900px) {
  .ap-search {
    grid-template-columns: 1fr 1fr;
    margin: 0 16px;
    gap: 0;
  }
  .ap-search__field {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .ap-search__field:nth-child(2n) { border-right: none !important; }
  .ap-search__submit { grid-column: 1 / -1; min-height: 56px; border-radius: 0 0 var(--ido-radius) var(--ido-radius); }
}
/* Mobile */
@media (max-width: 540px) {
  .ap-search { grid-template-columns: 1fr; margin: 0 12px; }
  .ap-search__field {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
  }
  .ap-search__submit { padding: 16px; font-size: 13px; }
}
/* Short viewport — MacBook 13" landscape etc. */
@media (max-height: 820px) {
  .ap-hero__content { gap: 12px; padding: 0 24px; }
  .ap-hero__title,
  h1.ap-hero__title {
    font-size: clamp(32px, 5vw, 56px) !important;  /* było 64-76px */
    margin: 0 !important;
  }
  .ap-hero-wrap { padding: 88px 0 16px; }
  .ap-search { padding: 4px; }
  .ap-search__field { padding: 8px 14px; min-height: 48px; }
  .ap-search__submit { min-height: 48px; min-width: 160px; padding: 0 28px; }
}


/* ═══════════════════════════════════════════════════════════════
   §7 — FEATURED OFFERS (custom cards from .container-hotspot)
   ═══════════════════════════════════════════════════════════════ */
.ap-featured {
  padding: 100px 24px;
  background: var(--ido-bg);
}
.ap-featured__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.ap-apartments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.ap-offer-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--ido-radius);
  overflow: hidden;
  transition: all 0.5s var(--ap-ease-lux);
  display: flex;
  flex-direction: column;
}
.ap-offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ap-shadow-lg);
  border-color: var(--ap-accent);
}
.ap-offer-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
  background: var(--ap-light);
}
.ap-offer-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ap-ease-lux);
}
.ap-offer-card:hover .ap-offer-card__img img { transform: scale(1.06); }
.ap-offer-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--ap-accent);
  color: #fff;
  font-family: var(--ido-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  z-index: 2;
  border-radius: var(--ido-radius);
}
/* CRITICAL-UU FIX — parent .ap-offer-card__img ma line-height:0 (reset baseline gap)
   → dziecko .ap-offer-card__price DZIEDZICZY line-height:0 → "529zł" i <small>"od/doba"
   stackują się w jednej linii (height=0) = visual "dwie pozycje cen jedna na drugiej".
   FIX: jawnie ustaw line-height:1.2 + flex column żeby "zł" i "od/doba" były na osobnych liniach. */
.ap-offer-card__price {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--ido-font-heading);
  font-size: 18px;
  line-height: 1.2 !important;        /* override inherited line-height:0 */
  text-decoration: none !important;
  font-weight: 600;
  padding: 10px 16px;
  z-index: 2;
  letter-spacing: 0.5px;
  border-radius: var(--ido-radius);
  display: inline-flex !important;    /* wymuszone żeby flex-direction zadziałał */
  flex-direction: column;
  align-items: flex-end;              /* "zł" i "od/doba" oba wyrównane do prawej */
  gap: 2px;
  min-height: auto;
  height: auto;
}
.ap-offer-card__price small {
  font-family: var(--ido-font-body);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  line-height: 1.1 !important;        /* override inherited line-height:0 */
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ap-offer-card__body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.ap-offer-card__name {
  font-family: var(--ido-font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--ido-dark);
  margin: 0;
  line-height: 1.2;
}
.ap-offer-card__desc {
  font-family: var(--ido-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ap-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ap-offer-card__meta {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--ap-border);
  border-bottom: 1px solid var(--ap-border);
  font-family: var(--ido-font-body);
  font-size: 13px;
  color: var(--ap-muted);
  font-weight: 500;
}
.ap-offer-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ap-offer-card__meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--ap-accent);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.ap-offer-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ap-accent);
  font-family: var(--ido-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--ap-accent);
  border-radius: var(--ido-radius);
  margin-top: 6px;
  transition: all 0.3s var(--ap-ease);
  align-self: flex-start;
}
.ap-offer-card__cta:hover {
  background: var(--ap-accent);
  color: #fff;
  gap: 14px;
}
.ap-featured-fallback .ap-offer-card--static { display: none; }
@media (max-width: 640px) {
  .ap-apartments__grid { grid-template-columns: 1fr; gap: 24px; }
  .ap-offer-card__name { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   §8 — ABOUT / SPLIT SECTION
   ═══════════════════════════════════════════════════════════════ */
.ap-about {
  padding: 120px 24px;
  background: var(--ido-bg);
}
.ap-about__split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.ap-about__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--ido-radius);
  box-shadow: var(--ap-shadow-md);
}
.ap-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ap-ease-lux);
}
.ap-about:hover .ap-about__img img { transform: scale(1.04); }
.ap-about__img::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.ap-about__text h2 { margin-bottom: 8px; }
.ap-about__text p { font-size: 16px; line-height: 1.85; margin-bottom: 20px; }
.ap-about__signature {
  font-family: var(--ido-font-heading);
  font-style: italic;
  font-size: 20px;
  color: var(--ap-accent);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ap-border);
}
@media (max-width: 900px) {
  .ap-about__split { grid-template-columns: 1fr; gap: 40px; }
}


/* ═══════════════════════════════════════════════════════════════
   §9 — FEATURES GRID
   ═══════════════════════════════════════════════════════════════ */
.ap-features {
  padding: 120px 24px;
  background: #fff;
}
.ap-features__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.ap-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ap-border);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--ap-border);
}
.ap-feature {
  background: #fff;
  padding: 56px 40px;
  text-align: center;
  transition: all 0.4s var(--ap-ease);
  cursor: default;
}
.ap-feature:hover { background: var(--ido-bg); }
.ap-feature:hover .ap-feature__icon {
  transform: translateY(-4px) scale(1.05);
  color: var(--ap-accent);
}
.ap-feature__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: var(--ap-accent);
  margin-bottom: 24px;
  transition: all 0.4s var(--ap-ease-lux);
}
.ap-feature__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}
.ap-feature__title {
  font-family: var(--ido-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--ido-dark);
  margin: 0 0 12px;
}
.ap-feature__desc {
  font-family: var(--ido-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ap-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .ap-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ap-features__grid { grid-template-columns: 1fr; }
  .ap-feature { padding: 40px 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   §10 — GALLERY (bento-style photo grid)
   ═══════════════════════════════════════════════════════════════ */
.ap-gallery {
  padding: 100px 24px;
  background: var(--ido-bg);
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  box-sizing: border-box !important;
}
.ap-gallery__header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.ap-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.ap-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--ido-radius);
  cursor: zoom-in;
  background: var(--ap-light);
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.ap-gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}
.ap-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ap-ease-lux);
}
.ap-gallery__item:hover img { transform: scale(1.06); }
.ap-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26, 26, 26, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ap-ease);
  pointer-events: none;
}
.ap-gallery__item:hover::after { opacity: 1; }
.ap-gallery__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s var(--ap-ease-lux);
}
.ap-gallery__item:hover .ap-gallery__caption {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .ap-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 200px); }
  .ap-gallery__item--large { grid-column: span 2; grid-row: span 2; }
}


/* ═══════════════════════════════════════════════════════════════
   §11 — BANNER IMAGE (full-width photo divider with quote)
   ═══════════════════════════════════════════════════════════════ */
.ap-banner-image {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  height: 480px;
  overflow: hidden;
  box-sizing: border-box !important;
}
.ap-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.ap-banner-image--parallax img {
  animation: ap-ken-burns 30s ease-in-out infinite alternate;
}
.ap-banner-image__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.55) 0%,
    rgba(20, 18, 16, 0.35) 30%,
    rgba(20, 18, 16, 0.35) 70%,
    rgba(20, 18, 16, 0.65) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.ap-banner-image__quote {
  font-family: var(--ido-font-heading);
  font-size: clamp(26px, 3.5vw, 44px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  max-width: 800px;
  color: #ffffff;
  padding: 0 20px;
  margin: 0;
  text-shadow:
    1.5px 0 0 rgba(0, 0, 0, 0.9),
    -1.5px 0 0 rgba(0, 0, 0, 0.9),
    0 1.5px 0 rgba(0, 0, 0, 0.9),
    0 -1.5px 0 rgba(0, 0, 0, 0.9),
    1.5px 1.5px 0 rgba(0, 0, 0, 0.9),
    -1.5px -1.5px 0 rgba(0, 0, 0, 0.9),
    1.5px -1.5px 0 rgba(0, 0, 0, 0.9),
    -1.5px 1.5px 0 rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.6);
}
.ap-banner-image__quote em {
  color: var(--ap-accent, #598700);
  text-shadow:
    1.5px 0 0 rgba(0, 0, 0, 0.95),
    -1.5px 0 0 rgba(0, 0, 0, 0.95),
    0 1.5px 0 rgba(0, 0, 0, 0.95),
    0 -1.5px 0 rgba(0, 0, 0, 0.95),
    1.5px 1.5px 0 rgba(0, 0, 0, 0.95),
    -1.5px -1.5px 0 rgba(0, 0, 0, 0.95),
    1.5px -1.5px 0 rgba(0, 0, 0, 0.95),
    -1.5px 1.5px 0 rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(0, 0, 0, 0.5);
}
.ap-banner-image__author {
  font-family: var(--ido-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--ido-radius);
  margin-top: 12px;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) { .ap-banner-image { height: 320px; } }

/* ═══════════════════════════════════════════════════════════════
   §12 — FLATPICKR THEME (AP green/cream)
   ═══════════════════════════════════════════════════════════════ */
.flatpickr-calendar {
  background: #fff !important;
  border: 1px solid var(--ap-border) !important;
  border-radius: var(--ido-radius) !important;
  box-shadow: 0 20px 60px rgba(42, 40, 41, 0.15) !important;
  font-family: var(--ido-font-body) !important;
  padding: 8px !important;
  width: 320px !important;
  margin-top: 8px;
}
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none !important; }
.flatpickr-months { padding: 8px 0 4px !important; border-bottom: 1px solid var(--ap-border); }
.flatpickr-month { color: var(--ido-dark, #1A1A1A) !important; background: transparent !important; height: 44px !important; }
.flatpickr-current-month {
  font-family: 'Playfair Display', serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  font-style: italic !important;
  padding: 6px 0 !important;
  color: var(--ido-dark, #1A1A1A);
}
.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year {
  color: var(--ido-dark, #1A1A1A) !important;
  font-weight: 600 !important;
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
}
.flatpickr-current-month input.cur-year:hover { background: var(--ap-light); }
.flatpickr-weekdays { height: 32px !important; background: transparent !important; border-bottom: 1px solid var(--ap-border); margin-bottom: 4px; }
.flatpickr-weekday {
  color: var(--ap-muted) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  background: transparent !important;
}
.flatpickr-days { border: none !important; padding: 6px 0 !important; }
.dayContainer { padding: 0 !important; min-width: 304px !important; }
.flatpickr-day {
  color: var(--ido-dark, #1A1A1A) !important;
  border-radius: var(--ido-radius) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: none !important;
  margin: 2px !important;
  max-width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  transition: all 0.2s ease;
}
.flatpickr-day:hover, .flatpickr-day:focus {
  background: var(--ap-light) !important;
  color: var(--ap-accent) !important;
  border: none !important;
}
.flatpickr-day.selected, .flatpickr-day.selected:hover,
.flatpickr-day.startRange, .flatpickr-day.startRange:hover,
.flatpickr-day.endRange, .flatpickr-day.endRange:hover {
  background: var(--ap-accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}
.flatpickr-day.today {
  border: 1px solid var(--ap-accent) !important;
  background: transparent !important;
  color: var(--ap-accent) !important;
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus {
  background: var(--ap-accent) !important;
  color: #fff !important;
}
.flatpickr-day.inRange, .flatpickr-day.inRange:hover {
  background: rgba(196, 169, 125, 0.15) !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ido-dark, #1A1A1A) !important;
}
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(138, 138, 138, 0.35) !important; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
  color: rgba(138, 138, 138, 0.25) !important;
  background: transparent !important;
  cursor: not-allowed;
}
.flatpickr-prev-month, .flatpickr-next-month {
  color: var(--ap-accent) !important;
  fill: var(--ap-accent) !important;
  padding: 12px !important;
  top: 0 !important;
}
.flatpickr-prev-month svg, .flatpickr-next-month svg {
  fill: var(--ap-accent) !important;
  transition: fill 0.2s ease;
  width: 12px;
  height: 12px;
}
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: var(--ido-secondary) !important; }
.numInputWrapper span { border: none !important; }
.numInputWrapper span:hover { background: var(--ap-light) !important; }


/* ═══════════════════════════════════════════════════════════════
   §13 — STATS BAR (counter animation)
   ═══════════════════════════════════════════════════════════════ */
.ap-stats {
  padding: 80px 24px;
  background: var(--ido-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ap-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(196, 169, 125, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 169, 125, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.ap-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ap-stat {
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ap-stat:last-child { border-right: none; }
.ap-stat__number {
  display: block;
  font-family: var(--ido-font-heading);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  color: var(--ap-accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ap-stat__number sup { font-size: 0.5em; top: -0.8em; margin-left: 2px; }
.ap-stat__label {
  font-family: var(--ido-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 700px) {
  .ap-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-stat { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 28px 12px; }
  .ap-stat:nth-child(2) { border-right: none; }
  .ap-stat:nth-last-child(-n+2) { border-bottom: none; }
}


/* ═══════════════════════════════════════════════════════════════
   §14 — CITIES SECTION (location cards)
   ═══════════════════════════════════════════════════════════════ */
.ap-cities {
  padding: 120px 24px;
  background: var(--ap-light);
  overflow: hidden;
}
.ap-cities__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.ap-cities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
/* City cards — vertical card layout with image + body */
.ap-city-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ido-radius);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.4s var(--ap-ease-lux);
  text-decoration: none;
  color: inherit;
}
.ap-city-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ap-city-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ap-ease-lux);
}
.ap-city-card:hover .ap-city-card__img img { transform: scale(1.06); }
.ap-city-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ap-accent);
  color: #fff;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 3px;
}
.ap-city-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  gap: 8px;
}
.ap-city-card__name {
  font-family: var(--ido-font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ido-dark);
  margin: 0;
}
.ap-city-card__desc {
  font-family: var(--ido-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ap-muted);
  margin: 0;
  flex: 1;
}
.ap-city-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ap-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  transition: color 0.2s;
}
.ap-city-card:hover .ap-city-card__cta { color: var(--ido-primary); }
.ap-city-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
@media (max-width: 768px) {
  .ap-cities__grid { grid-template-columns: 1fr; max-width: 480px; }
  .ap-city-card { aspect-ratio: 16/9; }
}


/* ═══════════════════════════════════════════════════════════════
   §15 — TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.ap-testimonials {
  padding: 120px 24px;
  background: #fff;
}
.ap-testimonials__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.ap-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.ap-testimonial {
  padding: 40px 32px;
  background: var(--ido-bg);
  border: 1px solid var(--ap-border);
  border-radius: var(--ido-radius);
  position: relative;
  transition: all 0.4s var(--ap-ease);
}
.ap-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-md);
  border-color: var(--ap-accent);
}
.ap-testimonial__stars {
  display: flex !important;
  gap: 4px !important;
  color: var(--ap-accent);
  margin-bottom: 16px;
}
.ap-testimonial__stars svg {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  fill: var(--ap-accent, #598700) !important;
  stroke: none !important;
  flex-shrink: 0;
}
.ap-testimonial__text {
  font-family: var(--ido-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ap-text);
  font-style: italic;
  margin: 0 0 24px;
}
.ap-testimonial__author {
  font-family: var(--ido-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ido-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ap-testimonial__source {
  font-family: var(--ido-font-body);
  font-size: 12px;
  color: var(--ap-muted);
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   §16 — FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.ap-faq {
  padding: 120px 24px;
  background: var(--ap-light);
}
.ap-faq__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.ap-faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.ap-faq__item {
  border-bottom: 1px solid var(--ap-border);
}
.ap-faq__item:first-child { border-top: 1px solid var(--ap-border); }
.ap-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ido-font-heading);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  color: var(--ido-dark);
  text-align: left;
  gap: 16px;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.ap-faq__question:hover { color: var(--ap-accent); }
.ap-faq__chevron {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
  transition: transform 0.3s ease;
}
.ap-faq__question[aria-expanded="true"] .ap-faq__chevron {
  transform: rotate(180deg);
}
/* ::after DISABLED — HTML has inline SVG .ap-faq__chevron instead */
.ap-faq__question::after {
  content: none !important;
  display: none !important;
}
.ap-faq__question[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
/* FAQ odpowiedzi — wcześniej 0.95rem (15.2px) + opacity 0.85 = za małe + słaby kontrast.
   Czytelność: min 16px + opacity bliżej 1. Responsywnie skaluje do 17px desktop. */
.ap-faq__answer {
  display: none;
  padding: 8px 4px 28px;
  font-family: var(--ido-font-body);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);  /* 16-17px */
  line-height: 1.75;
  color: var(--ap-text);
  opacity: 0.95;
}
.ap-faq__answer p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
}
.ap-faq__answer p:last-child { margin-bottom: 0; }
.ap-faq__question[aria-expanded="true"] + .ap-faq__answer { display: block; }

/* ═══════════════════════════════════════════════════════════════
   §17 — CTA + COLLABORATION
   ═══════════════════════════════════════════════════════════════ */
.ap-collab {
  padding: 120px 24px;
  background: var(--ido-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ap-collab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 169, 125, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.ap-collab__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.ap-collab .ap-kicker { color: var(--ap-accent); }
.ap-collab h2 {
  color: #fff !important;
  font-size: clamp(30px, 3.8vw, 48px) !important;
  margin-bottom: 20px;
  font-weight: 700;
}
.ap-collab p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.ap-collab__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  color: #fff;
  font-family: var(--ido-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 44px;
  border: 1px solid var(--ap-accent);
  border-radius: var(--ido-radius);
  transition: all 0.4s var(--ap-ease);
}
.ap-collab__cta:hover {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: #fff;
  gap: 18px;
}

.ap-final-cta {
  padding: 100px 24px;
  background: var(--ido-bg);
  text-align: center;
  border-top: 1px solid var(--ap-border);
}
.ap-final-cta h2 {
  margin-bottom: 32px;
  font-weight: 700;
}
.ap-final-cta__contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ap-final-cta__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ido-font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--ido-dark);
  text-decoration: none;
  transition: color 0.3s var(--ap-ease);
}
.ap-final-cta__contacts a:hover { color: var(--ap-accent); }
.ap-final-cta__contacts svg {
  width: 20px;
  height: 20px;
  color: var(--ap-accent);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}


/* ═══════════════════════════════════════════════════════════════
   §18 — REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.ap-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ap-ease-lux), transform 0.9s var(--ap-ease-lux);
}
.ap-reveal.ap-revealed { opacity: 1; transform: translateY(0); }
.ap-reveal--left { transform: translateX(-40px); }
.ap-reveal--left.ap-revealed { transform: translateX(0); }
.ap-reveal--right { transform: translateX(40px); }
.ap-reveal--right.ap-revealed { transform: translateX(0); }
.ap-reveal--delay-1 { transition-delay: 0.15s; }
.ap-reveal--delay-2 { transition-delay: 0.3s; }
.ap-reveal--delay-3 { transition-delay: 0.45s; }
.ap-reveal--delay-4 { transition-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .ap-reveal, .ap-reveal--left, .ap-reveal--right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* noscript fallback */
html:not(.ap-js) .ap-reveal {
  opacity: 1;
  transform: none;
}


/* ═══════════════════════════════════════════════════════════════
   §19 — /OFFERS PAGE
   CRITICAL-GGG (2026-04-15): wszystkie teksty kart ofert MUSZĄ być
   widoczne. System renderuje nazwy jako H2/H3 (różni się per template)
   → cover oba. Plus defensive dark text na każdym .offer child.
   ═══════════════════════════════════════════════════════════════ */
body.page-offers,
body.page-offers main {
  background: var(--ido-bg) !important;
  color: var(--ido-dark) !important;
}
body.page-offers .offers-container,
body.page-offers .offer-wrapper,
body.page-offers .offers_content,
body.page-offers .offers_wrapper,
body.page-offers .filter_items,
body.page-offers .offer-right,
body.page-offers .offer-list,
body.page-offers .col-lg-9,
body.page-offers .col-lg-3,
body.page-offers [class*="col-md-"] {
  background: var(--ido-bg) !important;
  color: var(--ido-dark) !important;
}
body.page-offers .section.parallax { min-height: 320px !important; max-height: 40vh !important; }
body.page-offers .offer {
  background: #ffffff !important;
  color: var(--ido-dark) !important;
  border: 1px solid var(--ap-border) !important;
  border-radius: var(--ido-radius) !important;
  overflow: hidden !important;
  transition: all 0.4s var(--ap-ease) !important;
  margin-bottom: 32px !important;
}
body.page-offers .offer:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--ap-shadow-md) !important;
  border-color: var(--ap-accent) !important;
}
body.page-offers .offer img { transition: transform 0.6s var(--ap-ease-lux) !important; }
body.page-offers .offer:hover img { transform: scale(1.04) !important; }
/* Nazwa oferty — kryj H1/H2/H3/H4 + link inside */
body.page-offers .offer h1,
body.page-offers .offer h2,
body.page-offers .offer h3,
body.page-offers .offer h4,
body.page-offers .offer h1 a,
body.page-offers .offer h2 a,
body.page-offers .offer h3 a,
body.page-offers .offer h4 a,
body.page-offers .offer__name,
body.page-offers .offer__title {
  font-family: var(--ido-font-heading) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: var(--ido-dark) !important;
  text-decoration: none !important;
  margin: 0 0 8px !important;
}
body.page-offers .offer h1 a:hover,
body.page-offers .offer h2 a:hover,
body.page-offers .offer h3 a:hover,
body.page-offers .offer h4 a:hover { color: var(--ap-accent) !important; }
/* Wszystkie teksty w .offer — default dark, excludes buttons + price */
body.page-offers .offer *:not(.btn):not([class*="btn-"]):not(.price):not([class*="price"]):not(img):not(svg):not(path):not(circle):not(line):not([class*="leaflet"]) {
  color: var(--ido-dark) !important;
}
body.page-offers .offer__description,
body.page-offers .offer p,
body.page-offers .offer .description,
body.page-offers .offer .offer-description {
  font-family: var(--ido-font-body) !important;
  color: var(--ap-muted, #6D6D6D) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
body.page-offers .offer__price,
body.page-offers .offer .price,
body.page-offers .offer strong.price,
body.page-offers .offer span.price {
  color: var(--ap-accent) !important;
  font-family: var(--ido-font-heading) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}
/* "Cena już od" label */
body.page-offers .offer__price-from,
body.page-offers .offer .price-label,
body.page-offers .offer .cena-label {
  color: var(--ap-muted, #6D6D6D) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}
/* "SZCZEGÓŁY" + "ZAREZERWUJ" buttons */
body.page-offers .btn-success,
body.page-offers .accommodation-buttons .btn,
body.page-offers .offer a.btn,
body.page-offers .offer a.btn-reverse,
body.page-offers .offer a.more-info,
body.page-offers .offer a[href*="/offer/"].btn {
  background: var(--ap-accent) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--ido-radius) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
}
body.page-offers .btn-success:hover,
body.page-offers .accommodation-buttons .btn:hover,
body.page-offers .offer a.btn:hover {
  background: var(--ido-secondary) !important;
  color: #ffffff !important;
}
/* Title "Booking 18 ofert" — clean up */
body.page-offers h1.big-label,
body.page-offers h1 {
  font-family: var(--ido-font-heading) !important;
  color: var(--ido-dark) !important;
  font-size: clamp(28px, 3.5vw, 42px) !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

/* CRITICAL-GGG v2 (2026-04-15): System renderuje tytuł oferty jako
   H2 > A z `color: #ffffff` (biały!) wewnątrz `.accommodation-rest`
   (nie `.offer`!). H2 sam ma dark color, ale anchor wewnątrz ma white.
   Na białym card bg = invisible.
   FIX: universal dark color na WSZYSTKICH links w H1-H4 na /offers +
   wildcard dark na containers `.accommodation-rest`, `.offers_wrapper`,
   `.offers-container`. */
body.page-offers h1 a,
body.page-offers h2 a,
body.page-offers h3 a,
body.page-offers h4 a,
body.page-offers h1 a:link,
body.page-offers h2 a:link,
body.page-offers h3 a:link,
body.page-offers h4 a:link,
body.page-offers h1 a:visited,
body.page-offers h2 a:visited,
body.page-offers h3 a:visited,
body.page-offers h4 a:visited {
  color: var(--ido-dark, #1A1A1A) !important;
  text-decoration: none !important;
}
body.page-offers h1 a:hover,
body.page-offers h2 a:hover,
body.page-offers h3 a:hover,
body.page-offers h4 a:hover {
  color: var(--ap-accent, #598700) !important;
}
/* System IdoBooking structures — .accommodation-rest, .offers_wrapper, .offers-container */
body.page-offers .accommodation-rest,
body.page-offers .accommodation-rest *:not(.btn):not([class*="btn-"]):not(.price):not([class*="price"]):not(img):not(svg):not([class*="leaflet"]),
body.page-offers .offers_wrapper *:not(.btn):not([class*="btn-"]):not(.price):not([class*="price"]):not(img):not(svg):not([class*="leaflet"]),
body.page-offers .offers-container *:not(.btn):not([class*="btn-"]):not(.price):not([class*="price"]):not(img):not(svg):not([class*="leaflet"]) {
  color: var(--ido-dark, #1A1A1A) !important;
}
/* Defensive: all links in offer listing dark (exclude buttons, nav, tel/mailto) */
body.page-offers a:not(.btn):not([class*="btn-"]):not([class*="leaflet"]):not([class*="nav-"]):not([href^="tel:"]):not([href^="mailto:"]) {
  color: var(--ido-dark, #1A1A1A) !important;
}
body.page-offers a:not(.btn):not([class*="btn-"]):not([class*="leaflet"]):not([class*="nav-"]):not([href^="tel:"]):not([href^="mailto:"]):hover {
  color: var(--ap-accent, #598700) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §20 — /OFFER DETAIL PAGE
   CRITICAL-EEE (2026-04-15): System IdoBooking injectuje `#292929` dark
   bg na WSZYSTKICH sekcjach /offer/N (.col-lg-9, .offer-wrapper,
   .offer-desc-wrapper, .offer-right-wrapper itd). Teksty dziedziczą
   `color: #1A1A1A` z body — dark on dark = niewidoczne 151 elementów.
   FIX: force light bg na wszystkich offer containers + dark text.
   ═══════════════════════════════════════════════════════════════ */
body.page-offer,
body.page-offer main {
  background: var(--ido-bg) !important;
  color: var(--ido-dark) !important;
}
/* Force LIGHT bg na wszystkich dark system containers */
body.page-offer .col-lg-9,
body.page-offer .col-lg-3,
body.page-offer .col-lg-12,
body.page-offer .offer-wrapper,
body.page-offer .offer-right-wrapper,
body.page-offer .offer-gallery,
body.page-offer .offer-desc-wrapper,
body.page-offer .room_desc,
body.page-offer .price-list,
body.page-offer .offer-prices,
body.page-offer .offer-details,
body.page-offer .offer-info,
body.page-offer .offer-content,
body.page-offer [class*="col-md-"],
body.page-offer [class*="col-sm-"],
body.page-offer .offers-container,
body.page-offer .offers_content,
body.page-offer .offers_wrapper {
  background: var(--ido-bg, #FAFAF8) !important;
  color: var(--ido-dark, #1A1A1A) !important;
}
/* Force dark text na wszystkich child elementach (exclude buttons + gold price badge) */
body.page-offer .col-lg-9 *:not(.btn):not([class*="btn-"]):not(input):not(select):not(.offer-price):not(.offer-price *):not(svg):not(path):not(circle):not(line):not(.accommodation-reservation):not(.accommodation-reservation *):not(.offerCalendar):not(.offerCalendar *):not(.to-offer-prices):not(.to-offer-prices *),
body.page-offer .offer-desc-wrapper *:not(.btn):not([class*="btn-"]):not(input):not(select):not(svg):not(path):not(circle):not(line):not(.btn-success):not(.btn-success *),
body.page-offer .offer-right-wrapper *:not(.btn):not([class*="btn-"]):not(a.accommodation-reservation):not(a.offerCalendar):not(a.to-offer-prices):not(.offer-price):not(.offer-price *):not(svg):not(path),
body.page-offer .room_desc *,
body.page-offer .price-list *:not(.price):not(.btn):not([class*="btn-"]):not(.btn-success *) {
  color: var(--ido-dark, #1A1A1A) !important;
}
/* Headings — dark on light */
body.page-offer h1,
body.page-offer h1.big-label,
body.page-offer h2,
body.page-offer h2.big-label,
body.page-offer h2.offer-label,
body.page-offer h3,
body.page-offer h4,
body.page-offer h5 {
  font-family: var(--ido-font-heading) !important;
  color: var(--ido-dark) !important;
  font-weight: 700 !important;
}
body.page-offer h1, body.page-offer h1.big-label {
  font-size: clamp(32px, 4vw, 48px) !important;
  margin-bottom: 16px !important;
}
/* CTA buttons — brand accent gold with white text */
body.page-offer .accommodation-reservation,
body.page-offer .accommodation-leftbutton,
body.page-offer a.btn-success,
body.page-offer .period-price .btn,
body.page-offer .offerCalendar,
body.page-offer .to-offer-prices,
body.page-offer .btn-reverse,
body.page-offer #generateDirections {
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: var(--ido-font-body) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}
body.page-offer .accommodation-reservation:hover,
body.page-offer .accommodation-leftbutton:hover,
body.page-offer a.btn-success:hover,
body.page-offer .offerCalendar:hover,
body.page-offer .to-offer-prices:hover,
body.page-offer .btn-reverse:hover,
body.page-offer #generateDirections:hover {
  background: var(--ido-secondary, #0E5C2B) !important;
  color: #ffffff !important;
}
/* Offer price circle badge — gold bg, white text */
body.page-offer .offer-price {
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
}
body.page-offer .offer-price *,
body.page-offer .offer-price span,
body.page-offer .offer-price small,
body.page-offer .offer-price strong,
body.page-offer .offer-price .price {
  color: #ffffff !important;
}
/* Phone/email links inside offer page */
body.page-offer a[href^="tel:"],
body.page-offer a[href^="mailto:"] {
  color: var(--ido-primary, #147D3B) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
body.page-offer a[href^="tel:"]:hover,
body.page-offer a[href^="mailto:"]:hover {
  color: var(--ap-accent, #598700) !important;
}
/* Amenity icons */
body.page-offer .offer-desc-wrapper svg,
body.page-offer .offer-desc-wrapper i,
body.page-offer .offer-desc-wrapper [class*="icon-"]:not([class*="leaflet"]) {
  color: var(--ap-accent, #598700) !important;
  fill: var(--ap-accent, #598700) !important;
}
/* Tabs nav */
.tabs__item {
  font-family: var(--ido-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--ap-muted, #8A8A8A) !important;
  transition: all 0.3s var(--ap-ease) !important;
}
.tabs__item.--active, .tabs__item:hover {
  color: var(--ap-accent) !important;
  border-bottom: 2px solid var(--ap-accent) !important;
}
/* Price in cennik */
body.page-offer .price-list .price,
body.page-offer .price-list strong.price,
body.page-offer strong.price,
body.page-offer .offer-prices .price {
  color: var(--ap-accent, #598700) !important;
  font-weight: 700 !important;
}
/* Payment info desc */
body.page-offer .payment-info,
body.page-offer .payment-info-desc {
  color: var(--ido-dark, #1A1A1A) !important;
  background: var(--ido-bg, #FAFAF8) !important;
}

/* CRITICAL-HHH (2026-04-15): Icon font restore na <i class="icon-*">
   TRAP #27 (font unify) zepsuł system icon fonts — Inter zastąpił fontello/iaifonts
   → glyphy nie renderują się (pustki albo hamburger fallback).
   FIX: explicit force 'iaifonts'/'fontello' na <i> z icon classes. */
i[class*="icon-"],
i[class*="icon-"]::before,
i[class*="icon-"]::after,
.offer-right i, .offer-right i::before,
.offer-right-wrapper i, .offer-right-wrapper i::before,
.payment-info i, .payment-info i::before,
.accommodation-rest i, .accommodation-rest i::before {
  font-family: 'iaifonts', 'fontello', sans-serif !important;
  font-style: normal !important;
  font-weight: normal !important;
  display: inline-block !important;
  line-height: 1em !important;
  text-align: center !important;
  font-variant: normal !important;
  text-transform: none !important;
}

/* CRITICAL-III (2026-04-15): /offer/N sidebar UX redesign
   User: "po prawej stronie pod względem UX wszystko jest źle, ceny jakoś do lewej"
   FIX: proper flex center price circle + primary/secondary button hierarchy
   + clean benefits list z checkmarkami zamiast broken hamburger icons. */
body.page-offer .offer-right-wrapper {
  padding: 32px 20px !important;
  background: #ffffff !important;
  border-radius: 8px;
  border: 1px solid rgba(196, 169, 125, 0.2);
  box-shadow: 0 4px 16px rgba(42, 40, 41, 0.04);
}
body.page-offer .offer-right-top {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}

/* Price circle (OD + 529 zł) — proper centering */
body.page-offer .offer-price {
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
  gap: 2px !important;
  box-shadow: 0 8px 24px rgba(196, 169, 125, 0.25);
}
body.page-offer .offer-price small {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.1 !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-offer .offer-price span {
  display: block !important;
  font-family: var(--ido-font-heading) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.3px;
}

/* Primary CTA — prominent gold z soft shadow */
body.page-offer .accommodation-reservation {
  display: block !important;
  width: 100% !important;
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
  padding: 16px 24px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(196, 169, 125, 0.3);
  transition: all 0.2s ease !important;
  cursor: pointer;
}
body.page-offer .accommodation-reservation:hover {
  background: var(--ido-secondary, #0E5C2B) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196, 169, 125, 0.4);
}
body.page-offer .accommodation-reservation .btn,
body.page-offer .accommodation-reservation .button,
body.page-offer .accommodation-reservation .accommodation-leftbutton {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  border: none !important;
  letter-spacing: inherit !important;
  box-shadow: none !important;
}

/* Secondary CTAs — outline style */
body.page-offer .offerCalendar,
body.page-offer .to-offer-prices {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  color: var(--ido-primary, #147D3B) !important;
  padding: 14px 24px !important;
  border: 1.5px solid var(--ap-accent, #598700) !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
body.page-offer .offerCalendar:hover,
body.page-offer .to-offer-prices:hover {
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
}

/* Benefits list (Gwarancja / Natychmiastowe / Bezpieczeństwo) — clean checkmarks */
body.page-offer .payment-info {
  margin-top: 24px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(196, 169, 125, 0.2) !important;
}
body.page-offer .payment-info-desc {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--ido-dark, #147D3B) !important;
  padding: 0 !important;
}
body.page-offer .payment-info-desc::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--ap-accent, #598700);
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
/* Hide broken hamburger icon inside benefits list */
body.page-offer .payment-info-desc i.icon-menu,
body.page-offer .payment-info-desc i.icon:first-child,
body.page-offer .payment-info-desc > i:first-child {
  display: none !important;
}

/* VISA/MC payment image */
body.page-offer .offer-right-wrapper img[src*="payments"] {
  max-width: 100% !important;
  height: auto !important;
  margin-top: 20px !important;
  opacity: 0.85 !important;
}

/* CRITICAL-JJJ (2026-04-15): ZAREZERWUJ TERAZ button text nie wycentrowane wizualnie
   Inner span `.btn.button.accommodation-leftbutton` ma system padding/box — fix flex center + reset inner. */
body.page-offer .accommodation-reservation {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 16px 20px !important;
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(196, 169, 125, 0.3);
  cursor: pointer;
  line-height: 1.2 !important;
}
body.page-offer .accommodation-reservation span,
body.page-offer .accommodation-reservation .btn,
body.page-offer .accommodation-reservation .button,
body.page-offer .accommodation-reservation .accommodation-leftbutton {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
  border: none !important;
  letter-spacing: inherit !important;
  box-shadow: none !important;
  text-align: center !important;
  width: auto !important;
  display: inline-block !important;
  line-height: 1.2 !important;
}

/* CRITICAL-KKK (2026-04-15): Udogodnienia ikony — SVG nie icon fonts!
   System umieszcza `<span aria-hidden><svg>...</svg></span>` przed tekstem.
   TRAP #35 łapie tylko `<i class="icon-*">` — nie SVG. SVG inherits
   currentColor lub ma inline fill="#fff" → invisible na białym bg.
   FIX: force fill + stroke gold na WSZYSTKICH elementach SVG
   w .offer-desc-wrapper (path, circle, rect, line, polyline, polygon). */
body.page-offer .offer-desc-wrapper svg,
body.page-offer .offer-desc-wrapper svg *,
body.page-offer .offer-desc-wrapper svg path,
body.page-offer .offer-desc-wrapper svg circle,
body.page-offer .offer-desc-wrapper svg rect,
body.page-offer .offer-desc-wrapper svg line,
body.page-offer .offer-desc-wrapper svg polyline,
body.page-offer .offer-desc-wrapper svg polygon,
body.page-offer .offer-desc-wrapper li svg,
body.page-offer .offer-desc-wrapper li svg *,
body.page-offer .offer-desc-wrapper span svg,
body.page-offer .offer-desc-wrapper span svg * {
  fill: var(--ap-accent, #598700) !important;
  stroke: var(--ap-accent, #598700) !important;
  color: var(--ap-accent, #598700) !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-block !important;
}
body.page-offer .offer-desc-wrapper ul li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 0 !important;
  color: var(--ido-dark, #1A1A1A) !important;
  font-size: 14px !important;
  list-style: none !important;
}
body.page-offer .offer-desc-wrapper ul li span[aria-hidden] {
  flex-shrink: 0 !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* CRITICAL-LLL (2026-04-15): Cennik .period-price dark box →
   force light bg + card styling + CTA gold button */
body.page-offer .price-list,
body.page-offer .price-list *:not(.btn):not([class*="btn-"]):not(.btn-success):not(.btn-success *):not(.accommodation-reservation):not(.accommodation-reservation *):not(.offer-price):not(.offer-price *):not(.price),
body.page-offer .offer-prices,
body.page-offer .offer-prices *:not(.btn):not([class*="btn-"]):not(.btn-success):not(.btn-success *):not(.accommodation-reservation):not(.accommodation-reservation *):not(.price),
body.page-offer .period-price,
body.page-offer .period-price *:not(.btn):not([class*="btn-"]):not(.btn-success):not(.btn-success *):not(.price) {
  background: var(--ido-bg, #FAFAF8) !important;
  background-color: var(--ido-bg, #FAFAF8) !important;
  color: var(--ido-dark, #1A1A1A) !important;
}
body.page-offer .price-list .row,
body.page-offer .price-list [class*="col-"],
body.page-offer .offer-prices .row,
body.page-offer .offer-prices [class*="col-"] {
  background: var(--ido-bg, #FAFAF8) !important;
}
/* Card styling dla każdego price row */
body.page-offer .period-price,
body.page-offer .price-list > .row,
body.page-offer .offer-prices > .row {
  border: 1px solid rgba(196, 169, 125, 0.2) !important;
  border-radius: 6px !important;
  padding: 20px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}
body.page-offer .price-list .price,
body.page-offer .price-list strong.price,
body.page-offer .offer-prices .price,
body.page-offer .offer-prices strong.price {
  color: var(--ap-accent, #598700) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}
/* Cennik ZAREZERWUJ button */
body.page-offer .price-list .btn-success,
body.page-offer .price-list a.btn-success,
body.page-offer .offer-prices .btn-success,
body.page-offer .offer-prices a.btn-success,
body.page-offer .period-price .btn,
body.page-offer .period-price a.btn-success {
  background: var(--ap-accent, #598700) !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  font-size: 12px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  white-space: nowrap !important;
}

/* CRITICAL-MMM (2026-04-15): Tabs nav wycentrowane (system default: justify-content: normal; text-align: left) */
body.page-offer .tabs,
body.page-offer .tabs.--hideCalendar,
body.page-offer .tabs.--fixed {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 32px !important;
  padding: 0 24px !important;
}
body.page-offer .tabs__item {
  margin: 0 !important;
  padding: 16px 4px !important;
}


/* ═══════════════════════════════════════════════════════════════
   §21 — /CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
body.page-contact { background: var(--ido-bg) !important; }
body.page-contact .container, body.page-contact main, body.page-contact .contact-layout {
  padding-top: 60px !important;
  padding-bottom: 80px !important;
}
body.page-contact h1 {
  font-family: var(--ido-font-heading) !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 16px !important;
}
body.page-contact .contact-subtitle, body.page-contact p:first-of-type {
  text-align: center !important;
  font-size: 16px !important;
  color: var(--ap-muted) !important;
  max-width: 600px !important;
  margin: 0 auto 60px !important;
}
body.page-contact .contact-info, body.page-contact .contact-details {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  max-width: 1000px !important;
  margin: 0 auto 60px !important;
}
body.page-contact a[href^="tel:"], body.page-contact a[href^="mailto:"],
body.page-contact .contact__tel, body.page-contact .contact__email,
footer a[href^="tel:"], footer a[href^="mailto:"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--ido-font-body) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--ap-accent) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
body.page-contact a[href^="tel:"]:hover, body.page-contact a[href^="mailto:"]:hover {
  color: var(--ido-secondary) !important;
  text-decoration: underline !important;
}
footer a[href^="tel:"], footer a[href^="mailto:"],
.footer a[href^="tel:"], .footer a[href^="mailto:"] {
  color: var(--ap-accent) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
footer a[href^="tel:"]:hover, footer a[href^="mailto:"]:hover { color: #ffffff !important; }

/* CRITICAL-OOO (2026-04-15): Footer links szare na ciemnym — override z max specificity.
   System injectuje `color: #147D3B` (dark primary) na footer a — dark on dark footer bg.
   Force white/gold na WSZYSTKICH linkach w footer (tel, mailto, regulamin, polityka). */
body footer a,
body footer a:link,
body footer a:visited,
html body footer a,
html body footer a[href^="tel:"],
html body footer a[href^="mailto:"],
html body footer a[href*="regulamin"],
html body footer a[href*="terms"],
html body footer a[href*="cookies"],
html body footer a[href*="polityka"],
html body .footer a,
html body .footer-contact-baner a {
  color: #ffffff !important;
  text-decoration: none !important;
}
html body footer a:hover,
html body footer a:focus,
html body .footer a:hover {
  color: var(--ap-accent, #598700) !important;
  text-decoration: underline !important;
}
/* Phone/email links bardziej prominent (gold z hover white) */
html body footer a[href^="tel:"],
html body footer a[href^="mailto:"],
html body .footer a[href^="tel:"],
html body .footer a[href^="mailto:"] {
  color: var(--ap-accent, #598700) !important;
  font-weight: 600 !important;
}
html body footer a[href^="tel:"]:hover,
html body footer a[href^="mailto:"]:hover {
  color: #ffffff !important;
}
body.page-contact form {
  max-width: 600px !important;
  margin: 0 auto !important;
  padding: 48px !important;
  background: #fff !important;
  border: 1px solid var(--ap-border) !important;
  border-radius: var(--ido-radius) !important;
}
body.page-contact form label {
  font-family: var(--ido-font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--ap-muted) !important;
  margin-bottom: 6px !important;
  display: block !important;
}
body.page-contact form input[type="text"],
body.page-contact form input[type="email"],
body.page-contact form input[type="tel"],
body.page-contact form textarea,
body.page-contact form select {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid var(--ap-border) !important;
  border-radius: var(--ido-radius) !important;
  background: var(--ido-bg) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 15px !important;
  color: var(--ido-dark) !important;
  transition: all 0.3s var(--ap-ease) !important;
  margin-bottom: 20px !important;
}
body.page-contact form input:focus,
body.page-contact form textarea:focus,
body.page-contact form select:focus {
  border-color: var(--ap-accent) !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(196, 169, 125, 0.12) !important;
}
body.page-contact form textarea { min-height: 140px !important; resize: vertical !important; }
body.page-contact form button[type="submit"],
body.page-contact form input[type="submit"] {
  background: var(--ap-accent) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 40px !important;
  font-family: var(--ido-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: var(--ido-radius) !important;
  transition: all 0.3s var(--ap-ease) !important;
  width: 100% !important;
}
body.page-contact form button[type="submit"]:hover,
body.page-contact form input[type="submit"]:hover {
  background: var(--ido-secondary) !important;
}
body.page-contact .leaflet-container, body.page-contact .map-wrapper {
  max-width: 1000px !important;
  margin: 60px auto 0 !important;
  height: 400px !important;
  border-radius: var(--ido-radius) !important;
  box-shadow: var(--ap-shadow-sm) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §22 — FOOTER REFINEMENTS
   ═══════════════════════════════════════════════════════════════ */
footer .container, .footer .container, footer.default13 { padding: 60px 24px 30px !important; }
footer h3, footer h4, .footer h3, .footer h4 {
  color: var(--ap-accent) !important;
  font-family: var(--ido-font-heading) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}
footer a, .footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: var(--ido-font-body) !important;
  font-size: 14px !important;
  transition: color 0.3s var(--ap-ease) !important;
}
footer a:hover, .footer a:hover { color: var(--ap-accent) !important; }
/* §FOOTER FINAL — payment strip full-width + centered.
   Simplest approach: remove ALL positioning hacks, just let it
   fill its parent which we already set to max-width:none. */
footer,
footer.footer,
.footer.container,
.footer-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
}
/* Footer contact info row — centered */
footer .footer__wrapper,
footer .footer__contact,
footer .row,
.footer .footer__wrapper,
.footer .row {
  text-align: center !important;
  justify-content: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px 24px !important;
}
footer .footer__social,
.footer .footer__social {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
.footer-contact-baner,
.footer__strip,
footer .footer-contact-baner,
.footer.container .footer-contact-baner {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  transform: none !important;
  background: #1A1A1A !important;
  background-color: #1A1A1A !important;
  padding: 16px 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.footer-contact-baner svg, .footer-contact-baner img {
  height: 20px !important;
  width: auto !important;
  opacity: 0.45 !important;
  filter: brightness(0) invert(1) !important;
}


/* ═══════════════════════════════════════════════════════════════
   §23 — MOBILE REFINEMENTS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .ap-about, .ap-features, .ap-cities,
  .ap-testimonials, .ap-collab, .ap-featured, .ap-final-cta,
  .ap-faq { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 768px) {
  :root { --ido-header-h: 72px; }
  .ap-about, .ap-features, .ap-cities,
  .ap-testimonials, .ap-collab, .ap-faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .ap-featured { padding: 72px 20px; }
  .ap-hero__title { font-size: 38px; }
  .ap-about__img::after { top: 12px; left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
  .ap-final-cta__contacts { gap: 20px; flex-direction: column; }
  .ap-collab h2, .ap-final-cta h2 { font-size: 28px; }
  .ap-cities__grid { grid-template-columns: 1fr; }
  .ap-testimonials__grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   §24 — ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */
*:focus-visible {
  outline: 2px solid var(--ap-accent);
  outline-offset: 3px;
}

.ap-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ═══════════════════════════════════════════════════════════════
   CRITICAL FIX: footer-contact-baner ::before/::after (UX-090)
   System app.css sets .footer-contact-baner::before with
   background: #3E475E; width: 100vw — creates navy bars on
   either side of the footer. Must override to match our dark bg.
   ═══════════════════════════════════════════════════════════════ */
.footer-contact-baner::before,
.footer-contact-baner::after {
  background: #1A1A1A !important;
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   CRITICAL FIX: Subpage footer gap (UX-091)
   On subpages, IdoBooking wraps body_top content in elements
   that have default margin/padding causing a gap above footer.
   ═══════════════════════════════════════════════════════════════ */
main.page .gallery-lightbox.row {
  margin: 0 !important;
  padding: 0 !important;
}
main.page .big-label {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
main.page {
  padding-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   AP v2 — DISTINCTIVE REDESIGN (hero split + white card search)
   User: "całkiem nowy design" — strona różni się od MIA.
   ═══════════════════════════════════════════════════════════════ */

.ap-hero-wrap--split {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  min-height: 720px !important;
  display: flex !important;
  align-items: center !important;
  padding: 120px 0 60px !important;
  pointer-events: none;
  z-index: 11;
}
.ap-hero-wrap--split::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,46,26,.78) 0%, rgba(20,46,26,.45) 45%, rgba(20,125,59,.35) 100%);
  pointer-events: none;
  z-index: -1;
}

.ap-hero__grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  pointer-events: auto;
}
@media (max-width: 960px) {
  .ap-hero-wrap--split { padding: 100px 0 40px !important; height: auto !important; min-height: 100vh !important; }
  .ap-hero__grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
}

.ap-hero__text { color: #fff; }
.ap-hero__kicker {
  display: inline-block;
  font-family: var(--ido-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ap-hero-wrap--split .ap-hero__title {
  font-family: var(--ido-font-heading) !important;
  font-size: clamp(3.2rem, 7vw, 6.4rem) !important;
  font-weight: 400 !important;
  line-height: 0.98 !important;
  letter-spacing: -1.5px;
  color: #fff !important;
  margin: 0 0 28px !important;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.ap-hero-wrap--split .ap-hero__title em {
  color: var(--ido-primary) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  text-shadow: 0 4px 24px rgba(20,125,59,.6);
}
.ap-hero__lead {
  font-family: var(--ido-font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 520px;
  margin: 0 0 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.ap-hero__quick-facts {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.ap-hero__quick-facts span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ido-font-body);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.ap-hero__quick-facts strong {
  font-family: var(--ido-font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.5px;
  text-transform: none;
  line-height: 1;
}

.ap-hero__search-card {
  background: rgba(255,255,255,.98);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28), 0 6px 20px rgba(0,0,0,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.4);
}
.ap-hero__search-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(20,125,59,.15);
}
.ap-hero__search-title {
  font-family: var(--ido-font-heading);
  font-size: 1.8rem;
  color: var(--ido-primary);
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.ap-hero__search-sub {
  font-family: var(--ido-font-body);
  font-size: 0.72rem;
  color: var(--ap-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.ap-search--vertical {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  max-width: 100% !important;
}
.ap-search--vertical .ap-search__field {
  background: #FAFAF8 !important;
  border: 1px solid rgba(20,125,59,.12) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  transition: border-color .2s, background .2s;
  cursor: pointer;
  display: block !important;
}
.ap-search--vertical .ap-search__field:hover,
.ap-search--vertical .ap-search__field:focus-within {
  border-color: var(--ido-primary) !important;
  background: #fff !important;
}
.ap-search--vertical .ap-search__label {
  font-family: var(--ido-font-body) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--ido-primary) !important;
  margin: 0 0 4px !important;
  display: block !important;
}
.ap-search--vertical .ap-search__input,
.ap-search--vertical .ap-search__select {
  font-family: var(--ido-font-body) !important;
  font-size: 1rem !important;
  color: var(--ap-dark) !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  padding: 2px 0 !important;
  font-weight: 500 !important;
  cursor: pointer;
}
.ap-search--vertical .ap-search__input::placeholder {
  color: var(--ap-muted) !important;
  opacity: 0.6;
}
.ap-search--vertical .ap-search__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
}

.ap-search__submit--full {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 18px 24px !important;
  margin-top: 8px !important;
  background: var(--ido-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  font-family: var(--ido-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background .25s, transform .15s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(20,125,59,.35);
}
.ap-search__submit--full:hover {
  background: var(--ido-secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(20,125,59,.45);
}
.ap-search__submit--full svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Ukryj stary MIA-pattern search-bar (jeśli występuje) */
.ap-hero-wrap--split .ap-hero__search-bar { display: none !important; }

/* DISTINCTIVE CARDS — lewa zielona ramka zamiast pełnego zaokrąglenia (jak MIA) */
.ap-apartments__grid .ap-offer-card {
  border-left: 4px solid var(--ido-primary) !important;
  border-radius: 0 8px 8px 0 !important;
  transition: border-left-width .25s, transform .3s, box-shadow .3s;
}
.ap-apartments__grid .ap-offer-card:hover {
  border-left-width: 8px !important;
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .ap-hero__search-card { padding: 24px 20px; }
  .ap-hero__quick-facts { gap: 24px; }
  .ap-hero__quick-facts strong { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════════
   AP v2.1 — FIXES: flatpickr overflow + typography scale-up
   User: "data pickery wyjeżdżają poza stronę, czcionki za małe"
   ═══════════════════════════════════════════════════════════════ */

/* Flatpickr — nie wylewaj poza viewport */
.flatpickr-calendar {
  max-height: 80vh !important;
  overflow-y: auto !important;
  font-family: var(--ido-font-body) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.25) !important;
  border-radius: 12px !important;
  border: none !important;
}
.flatpickr-calendar.open {
  z-index: 9999 !important;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after { display: none !important; }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--ido-primary) !important;
  border-color: var(--ido-primary) !important;
  color: #fff !important;
}
.flatpickr-day.today {
  border-color: var(--ido-primary) !important;
  color: var(--ido-primary) !important;
  font-weight: 700;
}

/* Desktop — typografia sekcji zwiększona */
.ap-about h2,
.ap-features h2,
.ap-apartments h2,
.ap-testimonials h2,
.ap-map h2,
.ap-final-cta h2 {
  font-size: clamp(2.4rem, 4vw + 0.5rem, 4rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.8px;
  margin-bottom: 20px !important;
}
.ap-about p,
.ap-about .ap-about__text p,
.ap-features p,
.ap-apartments p,
.ap-testimonials p,
.ap-map p,
.ap-final-cta p {
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
}
.ap-feature__title,
.ap-offer-card__name {
  font-size: 1.55rem !important;
}
.ap-feature__desc,
.ap-offer-card__desc {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
}
.ap-testimonial__quote {
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
}
.ap-kicker,
.ap-about .ap-kicker,
.ap-features .ap-kicker {
  font-size: 0.85rem !important;
  letter-spacing: 4px !important;
  margin-bottom: 14px !important;
}

/* Spacing sekcji — większe oddechy */
.ap-about,
.ap-features,
.ap-apartments,
.ap-stats,
.ap-testimonials,
.ap-map,
.ap-final-cta,
.ap-gallery {
  padding: 130px 24px !important;
}
@media (max-width: 900px) {
  .ap-about, .ap-features, .ap-apartments, .ap-stats,
  .ap-testimonials, .ap-map, .ap-final-cta, .ap-gallery {
    padding: 80px 20px !important;
  }
}

/* Hero search card — lekko większe fonty w polach */
.ap-search--vertical .ap-search__label {
  font-size: 0.72rem !important;
}
.ap-search--vertical .ap-search__input,
.ap-search--vertical .ap-search__select {
  font-size: 1.05rem !important;
}
.ap-search__submit--full {
  font-size: 1rem !important;
  padding: 20px 28px !important;
}

/* Hero lead — większy */
.ap-hero__lead {
  font-size: 1.25rem !important;
  line-height: 1.7 !important;
}
.ap-hero__quick-facts span { font-size: 0.9rem !important; }
.ap-hero__quick-facts strong { font-size: 2.6rem !important; }

/* ═══════════════════════════════════════════════════════════════
   AP v2.1 — SUBPAGE STYLING (O nas, Galeria, Lokalizacja)
   ═══════════════════════════════════════════════════════════════ */

/* Page hero dla podstron (dark gradient banner) */
.ap-pagehero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1A2E1A 0%, #147D3B 100%);
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.ap-pagehero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.ap-pagehero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.ap-pagehero__kicker {
  display: inline-block;
  font-family: var(--ido-font-body);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(255,255,255,.08);
}
.ap-pagehero__title {
  font-family: var(--ido-font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: #fff;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
.ap-pagehero__title em {
  color: #A8E6B8;
  font-style: italic;
}
.ap-pagehero__subtitle {
  font-family: var(--ido-font-body);
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Narrative sections — tekst + obrazek split, zielone akcenty */
.ap-narrative {
  padding: 120px 24px;
  background: var(--ido-bg);
}
.ap-narrative__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ap-narrative__container--reverse .ap-narrative__img { order: 2; }
@media (max-width: 900px) {
  .ap-narrative__container { grid-template-columns: 1fr; gap: 40px; }
  .ap-narrative__container--reverse .ap-narrative__img { order: 0; }
}
.ap-narrative__img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}
.ap-narrative__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.ap-narrative__img:hover img { transform: scale(1.04); }
.ap-narrative__text h2 {
  font-family: var(--ido-font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--ap-dark);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 14px 0 20px;
}
.ap-narrative__text h2 em {
  color: var(--ido-primary);
  font-style: italic;
}
.ap-narrative__text p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ap-text);
  margin-bottom: 18px;
}
.ap-narrative__kicker {
  display: inline-block;
  font-family: var(--ido-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--ido-primary);
}
.ap-narrative__rule {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--ido-primary);
  margin: 32px 0 0;
  border-radius: 2px;
}

/* Gallery grid — mosaic lightbox */
.ap-gallery-mosaic {
  padding: 120px 24px;
  background: #fff;
}
.ap-gallery-mosaic__container {
  max-width: 1300px;
  margin: 0 auto;
}
.ap-gallery-mosaic__header {
  text-align: center;
  margin-bottom: 60px;
}
.ap-gallery-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
@media (max-width: 900px) {
  .ap-gallery-mosaic__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}
.ap-gallery-mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}
.ap-gallery-mosaic__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.ap-gallery-mosaic__item:hover img { transform: scale(1.08); }
.ap-gallery-mosaic__item--large { grid-column: span 6; grid-row: span 2; }
.ap-gallery-mosaic__item--medium { grid-column: span 6; grid-row: span 1; }
.ap-gallery-mosaic__item--small { grid-column: span 3; grid-row: span 1; }
.ap-gallery-mosaic__item--tall { grid-column: span 4; grid-row: span 2; }
@media (max-width: 900px) {
  .ap-gallery-mosaic__item--large,
  .ap-gallery-mosaic__item--medium,
  .ap-gallery-mosaic__item--small,
  .ap-gallery-mosaic__item--tall {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Attractions list — lokalizacja */
.ap-attractions {
  padding: 120px 24px;
  background: var(--ido-light);
}
.ap-attractions__container {
  max-width: 1200px;
  margin: 0 auto;
}
.ap-attractions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.ap-attraction-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  border-left: 4px solid var(--ido-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.ap-attraction-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
}
.ap-attraction-card__distance {
  display: inline-block;
  font-family: var(--ido-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ido-primary);
  background: rgba(20,125,59,.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.ap-attraction-card__name {
  font-family: var(--ido-font-heading);
  font-size: 1.5rem;
  color: var(--ap-dark);
  margin: 0 0 10px;
  font-weight: 500;
}
.ap-attraction-card__desc {
  color: var(--ap-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* Map section dla /txt/lokalizacja */
.ap-map-full {
  padding: 0;
  background: #fff;
}
.ap-map-full iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   AP v2.2 — UX FIX: booking widget (daty, hierarchia, waga)
   Feedback: "daty białe, czcionka za cienka, wygląda jak formularz kontaktowy"
   ═══════════════════════════════════════════════════════════════ */

/* CRITICAL FIX — Flatpickr altInput dziedziczył biały color z hero */
.ap-hero__search-card .flatpickr-alt-input,
.ap-search--vertical .flatpickr-alt-input,
.ap-search--vertical input.flatpickr-alt-input {
  color: #1A2E1A !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  letter-spacing: -0.2px;
}
.ap-search--vertical input.flatpickr-alt-input::placeholder {
  color: #6B7B6B !important;
  opacity: 1;
  font-weight: 500;
}

/* Pogrubione inputy/selects — "booking feel" zamiast form kontaktowy */
.ap-hero__search-card .ap-search--vertical .ap-search__input,
.ap-hero__search-card .ap-search--vertical .ap-search__select {
  color: #1A2E1A !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
  padding: 4px 0 !important;
}
.ap-hero__search-card .ap-search--vertical .ap-search__input::placeholder {
  color: #6B7B6B !important;
  opacity: 1;
  font-weight: 500;
}

/* Header — clearer hierarchy, mniej redundancji */
.ap-hero__search-card .ap-hero__search-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 16px !important;
  padding-bottom: 20px !important;
  margin-bottom: 18px !important;
  border-bottom: 2px solid rgba(20,125,59,.15) !important;
}
.ap-hero__search-title {
  font-family: var(--ido-font-heading) !important;
  font-size: 1.9rem !important;
  color: #1A2E1A !important;
  font-weight: 500 !important;
  letter-spacing: -0.5px !important;
}
.ap-hero__search-sub {
  font-family: var(--ido-font-body) !important;
  font-size: 0.7rem !important;
  color: var(--ido-primary) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  background: rgba(20,125,59,.1);
  padding: 6px 12px;
  border-radius: 100px;
}

/* 2-kolumnowy grid dla DAT (najważniejsze side-by-side) */
.ap-hero__search-card .ap-search--vertical {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
.ap-hero__search-card .ap-search--vertical > *:first-child,
.ap-hero__search-card .ap-search--vertical > *:nth-child(2) {
  /* PRZYJAZD i WYJAZD w 2 kolumnach */
}
.ap-hero__search-card .ap-search--vertical > *:nth-child(3),
.ap-hero__search-card .ap-search--vertical > *:nth-child(4) {
  /* GOŚCIE i APARTAMENT w 2 kolumnach */
}
.ap-hero__search-card .ap-search--vertical .ap-search__submit--full {
  grid-column: span 2 !important; /* Submit full-width */
}
@media (max-width: 520px) {
  .ap-hero__search-card .ap-search--vertical { grid-template-columns: 1fr !important; }
  .ap-hero__search-card .ap-search--vertical .ap-search__submit--full { grid-column: span 1 !important; }
}

/* Ikonki przy labelach (booking-specific visual cue) */
.ap-hero__search-card .ap-search--vertical .ap-search__label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 2.2px !important;
  color: var(--ido-primary) !important;
  margin-bottom: 6px !important;
}
/* Dodaje ikonę przed labelem */
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(1) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(2) .ap-search__label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(3) .ap-search__label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 00-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(4) .ap-search__label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V11l-6-4M9 9v.01M9 12v.01M9 15v.01M9 18v.01'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Pola — grubsze, bardziej booking-specific (nie form kontaktowy) */
.ap-hero__search-card .ap-search--vertical .ap-search__field {
  background: #F8F6F1 !important;
  border: 1.5px solid rgba(20,125,59,.15) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  transition: border-color .2s, background .2s, box-shadow .2s !important;
  min-height: 68px !important;
}
.ap-hero__search-card .ap-search--vertical .ap-search__field:hover,
.ap-hero__search-card .ap-search--vertical .ap-search__field:focus-within {
  border-color: var(--ido-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(20,125,59,.08) !important;
}

/* Submit — bardziej prominent z gradient + subtle shine */
.ap-hero__search-card .ap-search__submit--full {
  background: linear-gradient(135deg, var(--ido-primary) 0%, #0E5C2B 100%) !important;
  padding: 22px 28px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  margin-top: 6px !important;
  box-shadow: 0 10px 32px rgba(20,125,59,.4), inset 0 1px 0 rgba(255,255,255,.15) !important;
  position: relative;
  overflow: hidden;
}
.ap-hero__search-card .ap-search__submit--full::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left .6s;
}
.ap-hero__search-card .ap-search__submit--full:hover::before { left: 100%; }
.ap-hero__search-card .ap-search__submit--full:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(20,125,59,.5), inset 0 1px 0 rgba(255,255,255,.2) !important;
}

/* ═══════════════════════════════════════════════════════════════
   AP v2.3 — FIXES: double arrows, bigger fonts, counter, offers btn
   Feedback: "2 strzałki, ikony 'O', button inny na /offers, logo słabe"
   ═══════════════════════════════════════════════════════════════ */

/* #1 — Podwójne strzałki w <select>: usuń natywną (zostaje moja custom) */
.ap-hero__search-card .ap-search__select,
.ap-search--vertical .ap-search__select,
.ap-search--vertical select.ap-search__select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  padding-right: 28px !important;
}
/* IE/Edge — ukryj natywną strzałkę */
.ap-search--vertical select::-ms-expand { display: none !important; }

/* CRITICAL FIX podwójnych strzałek:
   Stary CSS (z MIA L3) ma .ap-search__field--select::after (pseudo chevron).
   Mój nowy vertical layout ma chevron w background-image select.
   USUWAM pseudo-element ::after w vertical search card. */
.ap-hero__search-card .ap-search--vertical .ap-search__field--select::after,
.ap-hero__search-card .ap-search--vertical .ap-search__field::after {
  display: none !important;
  content: none !important;
}

/* #2 — Powiększyć fonty w search widgetu */
.ap-hero__search-card .ap-search--vertical .ap-search__input,
.ap-hero__search-card .ap-search--vertical .ap-search__select,
.ap-hero__search-card .flatpickr-alt-input,
.ap-hero__search-card input.flatpickr-alt-input {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
}
.ap-hero__search-card .ap-search--vertical .ap-search__label {
  font-size: 0.78rem !important;
  letter-spacing: 2.2px !important;
}
.ap-hero__search-card .ap-search--vertical .ap-search__field {
  min-height: 82px !important;
  padding: 16px 18px !important;
}
.ap-hero__search-card .ap-search__submit--full {
  font-size: 1.15rem !important;
  padding: 24px 28px !important;
  letter-spacing: 2.5px !important;
}

/* #3 — Counter: liczby hardcoded w body_top (3, 9.6, 50, 30), JS animuje data-ap-count jeśli załaduje. Bez flicker "O". */
.ap-stat__number {
  display: inline-block;
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}

/* #6 — /offers button "Zastosuj filtry" — spójność z JARVIS (pill gradient) */
body.page-offers .btn_filter_apply,
body.page-offers button[data-action="apply-filters"],
body.page-offers .filter_submit,
body.page-offers .filter_apply,
body.page-offers .filter-submit-btn,
body.page-offers aside button[type="submit"],
body.page-offers .filters button[type="submit"],
body.page-offers .sidebar button[type="submit"],
body.page-offers .filter-sidebar button[type="submit"],
body.page-offers form.filters button[type="submit"],
body.page-offers .filter-container button,
body.page-offers .filter_form button[type="submit"],
body.page-offers [class*="filter"] button[type="submit"] {
  background: linear-gradient(135deg, var(--ido-primary) 0%, var(--ido-secondary) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 16px 28px !important;
  font-family: var(--ido-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: transform .15s, box-shadow .25s, background .25s !important;
  box-shadow: 0 10px 28px rgba(20,125,59,.35) !important;
  width: 100% !important;
  min-height: 52px !important;
}
body.page-offers .btn_filter_apply:hover,
body.page-offers .filter_submit:hover,
body.page-offers aside button[type="submit"]:hover,
body.page-offers [class*="filter"] button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(20,125,59,.45) !important;
}

/* Sprawdź dostępność button na /offers (w sidebarze) — też pill */
body.page-offers .btn_check_avail,
body.page-offers .book-button,
body.page-offers .sidebar .btn-primary,
body.page-offers .side-reservation button,
body.page-offers .reservation-widget button[type="submit"] {
  border-radius: 100px !important;
  background: linear-gradient(135deg, var(--ido-primary) 0%, var(--ido-secondary) 100%) !important;
}

/* #5 — Logo visibility boost (przezroczysty logo z panelu) */
header .logo img,
header.default13 .logo img,
.defaultsb .logo img,
header a[href="/"] img,
header a[href="#"] img {
  opacity: 1 !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.15)) brightness(1.05) !important;
  max-height: 56px !important;
  width: auto !important;
}
/* Na ciemnym hero header — invert logo lekko żeby się wyróżniał */
body.page-index:not(.scrolled) header .logo img {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.4)) brightness(1.15) !important;
}

/* Fix: IkonKI w labelach na 2x2 grid — selektory nth-child są źle indeksowane
   bo submit jest w tym samym containerze. Uściślam przez class/name */
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(input#ap-date-from) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(input#ap-date-from-en) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(input#ap-date-to) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(input#ap-date-to-en) .ap-search__label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(select#ap-guests) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(select#ap-guests-en) .ap-search__label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 00-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(select#ap-apartment) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:has(select#ap-apartment-en) .ap-search__label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147D3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V11l-6-4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Ukryj stare nth-child ikonki (bo teraz używamy :has z ID) */
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(1) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(2) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(3) .ap-search__label::before,
.ap-hero__search-card .ap-search--vertical .ap-search__field:nth-child(4) .ap-search__label::before {
  /* override tylko jeśli nie ma :has match */
}

/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-21 — User feedback v1.1
   1) /offers #filters_submit brand harmony
   2) Header: stop shrinking, logo at top, keep transparent/solid rules
   See memory/instincts/005-filters-submit-brand-styling.md
   See memory/instincts/006-header-no-shrink-logo-top.md
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. /offers "Zastosuj filtry" — brand-harmonized CTA ─────── */
body.page-offers #filters_submit,
body.page-offers button#filters_submit,
body.page-offers button#filters_submit.btn,
body.page-offers #filter_buttons #filters_submit {
  background: var(--ido-primary, #147D3B) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid var(--ido-primary, #147D3B) !important;
  border-radius: 6px !important;
  padding: 14px 28px !important;
  height: auto !important;
  min-height: 48px !important;
  width: 100% !important;
  font-family: var(--ido-font-body, 'Inter', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(20, 125, 59, 0.18) !important;
}
body.page-offers #filters_submit:hover,
body.page-offers button#filters_submit:hover {
  background: var(--ido-secondary, #0E5C2B) !important;
  border-color: var(--ido-secondary, #0E5C2B) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(14, 92, 43, 0.28) !important;
}
body.page-offers #filters_submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 3px rgba(20, 125, 59, 0.15) !important;
}
body.page-offers #filter_buttons {
  padding-top: 12px !important;
}


/* ── 2. HEADER — do NOT shrink on scroll, logo at top ────────── */
/* Keep full height (88px) on both scrolled and unscrolled states */
body header.default13,
body header.default13.ap-header--scrolled,
body .defaultsb,
body .defaultsb.ap-header--scrolled,
body header.default13 .menu-wrapper,
body header.default13.ap-header--scrolled .menu-wrapper,
body header.default13 .menu-wrapper .container,
body header.default13.ap-header--scrolled .menu-wrapper .container {
  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;
}
body header.default13 .menu-wrapper,
body header.default13.ap-header--scrolled .menu-wrapper,
body header.default13 .menu-wrapper .container,
body header.default13.ap-header--scrolled .menu-wrapper .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Logo sits at the TOP of the header (like client9933), not vertically centered */
body header.default13 .navbar-brand,
body header.default13 .logo,
body header.default13.ap-header--scrolled .navbar-brand,
body header.default13.ap-header--scrolled .logo {
  align-self: flex-start !important;
  padding: 6px 14px 0 14px !important;
  margin: 0 !important;
  top: 0 !important;
}

/* Logo keeps full size — no shrink when scrolled */
body header.default13 .navbar-brand img,
body header.default13 .logo img,
body header.default13.ap-header--scrolled .navbar-brand img,
body header.default13.ap-header--scrolled .logo img,
body header.default13.ap-header--scrolled .menu-wrapper .navbar-brand img,
body header.default13.ap-header--scrolled .menu-wrapper .logo img {
  height: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  max-width: 280px !important;
  margin: 0 !important;
  display: block !important;
  transition: none !important;
}

/* Nav items vertically center within 88px (logo top-aligned; nav middle-aligned) */
body header.default13 .menu-wrapper .navbar,
body header.default13.ap-header--scrolled .menu-wrapper .navbar {
  min-height: 88px !important;
  height: 88px !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: none !important;
}

/* Keep --ap-current-header-h constant so .tabs.--fixed positions correctly */
html:root,
html[data-header-state] {
  --ap-current-header-h: 88px !important;
}


/* ── 3. SUBPAGES FULL-WIDTH — TYLKO /txt/* ─────────────────────
   Root cause: system IdoBooking wraps body_top w Bootstrap `.container`
   (max-width: 1170px) wewnątrz <main id="pageContent">. Przez to nasze
   sekcje .ap-narrative / .ap-page-hero / .ap-split są ograniczone do
   1170px, zamiast rozciągać się edge-to-edge.

   ⚠️ ZAKRES: TYLKO body.page-txt (nasze własne body_top content)
   ❌ NIE stosować do /contact ani /offer — tam system używa
      legitimate Bootstrap grid (col-md-6 itp.) i override niszczy
      gutters → kolumny przyklejają się do krawędzi.

   FIX v2 (2026-04-21, post user feedback "/contact dziwnie rozjechana"):
   - page-txt: full-width override (nasze body_top)
   - page-contact: system Bootstrap zostaje (1170px centered)
   - page-offer: system sidebar layout zostaje

   Sekcje w środku (ap-*) kontrolują własny max-width wewnętrznie
   (np. .ap-narrative__inner { max-width: 1200px; margin: 0 auto }).
   See memory/instincts/007-subpage-full-width.md
*/
body.page-txt main .container,
body.page-txt #pageContent .container,
body.page-txt #pageContent > .container,
body.page-txt main .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page-txt main .container > .row,
body.page-txt #pageContent .container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page-txt main .container > .row > [class^="col"],
body.page-txt main .container > .row > [class*=" col"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Handle also .txt-text wrapper (system adds around body_top content) */
body.page-txt .txt-text {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── 4. /contact — REVERT accidental Bootstrap strip (post v1.1 patch bug) ─
   Ensure Bootstrap grid na /contact zachowuje natywne gutters.
   Override jawnie żeby nadpisać ewentualne inne zbyt agresywne reguły. */
body.page-contact main .container,
body.page-contact #pageContent .container {
  max-width: 1200px !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}
body.page-contact main .container > .row {
  margin-left: -15px !important;
  margin-right: -15px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}
body.page-contact main .container > .row > [class^="col"],
body.page-contact main .container > .row > [class*=" col"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
}


/* ── 5. ATTRACTION CARDS with images (new --media variant) ───── */
/* Wariant kart atrakcji ze zdjęciami (Lokalizacja v2 2026-04-21).
   See memory/instincts/008-subpage-lokalizacja-with-images.md */
.ap-attraction-card--media {
  padding: 0 !important;
  border-left: none !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.06) !important;
  transition: transform .3s ease, box-shadow .3s ease !important;
}
.ap-attraction-card--media:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.14) !important;
}
.ap-attraction-card--media:hover .ap-attraction-card__img img {
  transform: scale(1.05) !important;
}

.ap-attraction-card--media .ap-attraction-card__img {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background: var(--ido-light, #F0F5ED) !important;
}
.ap-attraction-card--media .ap-attraction-card__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

/* Distance badge — pływa na zdjęciu, top-left */
.ap-attraction-card--media .ap-attraction-card__distance {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  margin-bottom: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--ido-primary, #147D3B) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.15) !important;
  font-size: 0.72rem !important;
  letter-spacing: 1.8px !important;
  z-index: 2 !important;
}

.ap-attraction-card--media .ap-attraction-card__body {
  padding: 24px 26px 28px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.ap-attraction-card--media .ap-attraction-card__name {
  font-size: 1.4rem !important;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
}
.ap-attraction-card--media .ap-attraction-card__desc {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* Grid adjustment: 3 cols desktop, 2 tablet, 1 mobile */
.ap-attractions__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 28px !important;
}
@media (max-width: 960px) {
  .ap-attractions__grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
  }
}
@media (max-width: 560px) {
  .ap-attractions__grid {
    grid-template-columns: 1fr !important;
  }
  .ap-attraction-card--media .ap-attraction-card__img {
    aspect-ratio: 16 / 9 !important;
  }
}


/* ── 6. MAP SECTION WRAPPER (Lokalizacja v2) ─────────────────── */
.ap-map-section {
  padding: 72px 24px 48px !important;
  background: var(--ido-bg, #FAFAF8) !important;
}
.ap-map-section__inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.ap-map-section .ap-map-full {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.08) !important;
}
.ap-map-section .ap-map-full iframe {
  height: 460px !important;
}
@media (max-width: 680px) {
  .ap-map-section { padding: 48px 16px 32px !important; }
  .ap-map-section .ap-map-full iframe { height: 360px !important; }
}


/* ── 7. BLOG LISTING (Aktualności auto-render) ───────────────── */
/* Karty auto-generowane przez initBlogListing w AP_KONIEC_BODY.html
   Hero + responsive grid + card with image, date, excerpt, CTA
   See memory/instincts/010-auto-blog-listing.md
*/
.ap-blog-section {
  padding: 72px 24px 96px !important;
  background: var(--ido-bg, #FAFAF8) !important;
}

.ap-blog {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.ap-blog__hero {
  text-align: center !important;
  margin-bottom: 56px !important;
}
.ap-blog__title {
  font-family: var(--ido-font-heading, 'Playfair Display', serif) !important;
  font-size: clamp(2.4rem, 4vw, 3.5rem) !important;
  color: var(--ap-dark, #1A2E1A) !important;
  margin: 14px 0 18px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}
.ap-blog__title em {
  font-style: italic !important;
  color: var(--ido-primary, #147D3B) !important;
}
.ap-blog__line {
  display: inline-block !important;
  width: 60px !important;
  height: 3px !important;
  background: var(--ido-primary, #147D3B) !important;
  border-radius: 2px !important;
  margin-top: 8px !important;
}

.ap-blog__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 28px !important;
}

.ap-blog__empty {
  grid-column: 1 / -1 !important;
  text-align: center !important;
  padding: 48px 24px !important;
  background: #fff !important;
  border-radius: 12px !important;
  border: 1px dashed rgba(20, 125, 59, 0.3) !important;
  color: var(--ap-muted, #6B7267) !important;
  font-style: italic !important;
}

/* Card (generated by JS as <a class="ap-blog-card">) */
.ap-blog-card {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.ap-blog-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.14) !important;
}

.ap-blog-card__img {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background: var(--ido-light, #F0F5ED) !important;
}
.ap-blog-card__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}
.ap-blog-card:hover .ap-blog-card__img img {
  transform: scale(1.05) !important;
}

/* Placeholder gdy wpis nie ma obrazka */
.ap-blog-card__img--placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, var(--ido-primary, #147D3B) 0%, var(--ido-secondary, #0E5C2B) 100%) !important;
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--ido-font-heading, 'Playfair Display', serif) !important;
  font-size: 3rem !important;
  font-style: italic !important;
}

.ap-blog-card__body {
  padding: 24px 26px 28px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.ap-blog-card__date {
  font-family: var(--ido-font-body, 'Inter', sans-serif) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: var(--ido-primary, #147D3B) !important;
  margin-bottom: 10px !important;
}
.ap-blog-card__title {
  font-family: var(--ido-font-heading, 'Playfair Display', serif) !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
  color: var(--ap-dark, #1A2E1A) !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
}
.ap-blog-card__excerpt {
  font-family: var(--ido-font-body, 'Inter', sans-serif) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: var(--ap-muted, #6B7267) !important;
  margin: 0 0 16px !important;
  flex: 1 !important;
}
.ap-blog-card__cta {
  font-family: var(--ido-font-body, 'Inter', sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--ido-primary, #147D3B) !important;
}
.ap-blog-card:hover .ap-blog-card__cta {
  text-decoration: underline !important;
}

/* Ukryj systemową listę news na stronie głównej (body_top nadpisuje swoim grid) */
body.page-index .news-container,
body.ap-homepage .news-container {
  display: none !important;
}

/* Ukryj systemowy H1 "Blog" na stronie /txt/204 (mamy własny hero) */
body.page-txt .container:has(.ap-blog) > .big-label,
body.page-txt .container:has(.ap-blog) > h1.big-label {
  display: none !important;
}

@media (max-width: 768px) {
  .ap-blog-section { padding: 48px 16px 64px !important; }
  .ap-blog__grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .ap-blog-card__img { aspect-ratio: 16 / 9 !important; }
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-21 v2 — UX round 2
   8)  Typography global scale-up (body, subpage, footer kicker)
   9)  Logo chip (white pill background for visibility)
   10) Button color consistency (all primary CTAs = forest green)
   11) Remove hardcoded arrows from CTA buttons (CSS animates)
   See memory/instincts/012-global-typography-scale.md
   See memory/instincts/013-logo-chip-background.md
   See memory/instincts/014-cta-color-consistency.md
   ═══════════════════════════════════════════════════════════════ */

/* ── 8. GLOBAL TYPOGRAPHY SCALE-UP ───────────────────────────── */
/* User feedback: "czcionki sa nadal za małe np. na lokalizacji +
   REZERWACJA ledwo to widac" */

/* Bazowy font-size rośnie na wszystkich podstronach */
body,
body.default13 {
  font-size: 17px !important;   /* było 16px */
  line-height: 1.75 !important;
}

/* Paragrafy w body_top sekcjach — większe */
body.page-txt p,
body.page-offer p,
.ap-narrative p,
.ap-pagehero__subtitle,
.ap-attraction-card__desc,
.ap-blog-card__excerpt,
.ap-attractions p {
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}

/* Karty atrakcji na /lokalizacja — bigger body */
.ap-attraction-card--media .ap-attraction-card__name {
  font-size: 1.55rem !important;
}
.ap-attraction-card--media .ap-attraction-card__desc {
  font-size: 1.0rem !important;
  line-height: 1.7 !important;
}
.ap-attraction-card--media .ap-attraction-card__distance {
  font-size: 0.78rem !important;
  letter-spacing: 2px !important;
  padding: 7px 14px !important;
}

/* Kicker (małe uppercase labels) — większe wszędzie */
.ap-kicker,
.ap-pagehero__kicker,
.ap-narrative__kicker,
.ap-blog-card__date,
.ap-final-cta .ap-kicker,
.ap-attractions .ap-kicker,
.ap-about .ap-kicker,
.ap-location .ap-kicker {
  font-size: 0.85rem !important;       /* było 0.72-0.75rem */
  letter-spacing: 2.5px !important;
  font-weight: 700 !important;
}

/* Footer kicker "REZERWACJA" — specifically user complaint: ledwo widac */
.ap-final-cta,
.ap-final-cta * {
  --footer-kicker-color: #CDE6D6;  /* jaśniejszy zielony dla lepszego kontrastu */
}
.ap-final-cta .ap-kicker {
  font-size: 1rem !important;
  letter-spacing: 3px !important;
  color: var(--footer-kicker-color, #CDE6D6) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.ap-final-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
  line-height: 1.2 !important;
}

/* Blog cards — bigger */
.ap-blog-card__title {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}
.ap-blog-card__excerpt {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
.ap-blog-card__date {
  font-size: 0.8rem !important;
  letter-spacing: 2px !important;
}

/* Pagehero subtitle */
.ap-pagehero__subtitle {
  font-size: 1.15rem !important;
  line-height: 1.75 !important;
}

/* Headings — podbić H2/H3 na podstronach */
body.page-txt h2,
.ap-narrative h2,
.ap-attractions h2,
.ap-blog h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
}

/* Menu nav items — lepiej widoczne */
body header.default13 .nav-link,
body header.default13 .navbar a[href]:not(.logo):not([class*="logo"]):not(.navbar-brand) {
  font-size: 0.92rem !important;
  letter-spacing: 1.2px !important;
}


/* ── 9. LOGO CHIP — white pill background ──────────────────────── */
/* User feedback: "logo, fatalnie jest jakos widoczne, zrobic w jakims
   okragłym takim przycisku ala białym". Na hero (transparent header)
   i na subpage (white menu-wrapper) logo musi być zawsze widoczne. */
body header.default13 .navbar-brand,
body header.default13.ap-header--scrolled .navbar-brand {
  background: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  align-self: center !important;       /* chip centered in header */
  margin: 10px 12px !important;
  top: 0 !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}
body header.default13 .navbar-brand:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-1px) !important;
}
/* Logo image inside chip — w sensownym rozmiarze */
body header.default13 .navbar-brand img,
body header.default13.ap-header--scrolled .navbar-brand img {
  height: 62px !important;
  max-height: 62px !important;
}
@media (max-width: 768px) {
  body header.default13 .navbar-brand {
    padding: 6px 12px !important;
    margin: 6px !important;
    border-radius: 10px !important;
  }
  body header.default13 .navbar-brand img {
    height: 52px !important;
    max-height: 52px !important;
  }
}

/* Na hero (transparent) drop shadow na samym obrazie NIE jest potrzebny —
   chip daje kontrast. Usuń wcześniejszy filter drop-shadow */
body.page-index header.default13:not(.ap-header--scrolled) .logo,
body.page-index header:not(.ap-header--scrolled) .logo,
body.page-index header:not(.ap-header--scrolled) .logo img,
body.page-index header:not(.ap-header--scrolled) .navbar-brand img {
  filter: none !important;
}


/* ── 10. CTA COLOR CONSISTENCY ─────────────────────────────────── */
/* User feedback: "kolory były stałe, szczegóły i zastosuj filtry bardzo
   się różnią na /offers". Wszystkie primary CTA MUSZĄ używać
   --ido-primary (#147D3B). --ap-accent (olive) tylko dla mało
   istotnych badge'y, NIGDY dla głównych akcji. */

/* Offer card "Zobacz szczegóły" (homepage) — primary green */
.ap-offer-card__cta {
  color: var(--ido-primary) !important;
  border-color: var(--ido-primary) !important;
}
.ap-offer-card__cta:hover {
  background: var(--ido-primary) !important;
  color: #fff !important;
  border-color: var(--ido-primary) !important;
}

/* System button "SZCZEGÓŁY" na /offers listing — primary green (było accent) */
body.page-offers .btn:not(#filters_submit),
body.page-offers button.btn:not(#filters_submit),
body.page-offers a.btn:not(#filters_submit),
body.page-offers span.btn,
body.page-offers .accommodation-buttons span.btn,
body.page-offers .accommodation-buttons a.btn {
  background: var(--ido-primary) !important;
  border-color: var(--ido-primary) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 44px !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}
body.page-offers .btn:not(#filters_submit):hover,
body.page-offers span.btn:hover {
  background: var(--ido-secondary) !important;
  border-color: var(--ido-secondary) !important;
  transform: translateY(-1px) !important;
}


/* ── 11. HERO CTA — remove hardcoded arrow, keep animated ────── */
/* User feedback: "Sprawdz dostepne teminy ma dwie strzałki, jedna ma byc,
   ta ruszajaca sie tez". HTML już wyczyściłem, ale dodaję guard w CSS. */
/* Już istnieje .ap-hero__cta::after { content: '→' } — zostaje.
   HTML nie powinien mieć literalnej strzałki — tylko jeśli została
   zapomniana, ten CSS ją ukryje przez nadanie spacji zamiast arrow-key */
.ap-hero__cta {
  white-space: nowrap !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-21 v3 — UX round 3 (9 fixów od usera)
   12) Logo chip — zmniejszony, pasuje w 88px, bez duplikatu
   13) Header white INSTANT on scroll (threshold 1px + class unify)
   14) Hide duplicated .ap-hero__search-sub "Sprawdź dostępność"
   15) Hide .icon-arrow_smaller_down przy language toggler
   16) Mobile menu toggler — hamburger SVG (fontello nie ładuje się)
   17) Mobile navbar-reservation — stały kolor, centered
   18) Galeria ap-hero__cta — same size
   19) REZERWACJA kicker w .ap-final-cta — kontrast z shadow
   ═══════════════════════════════════════════════════════════════ */

/* ── 12. LOGO — conditional chip (hero only) + strict height ──── */
/* User feedback 2026-04-21 v2: "logo musi byc wyrzej, aby nie wystawalo
   ponad pasek + kwadratu po zjechaniu moze juz nie być". */

/* Bazowo (subpage, scrolled) — BRAK chipu, tylko logo sam w sobie.
   Menu-wrapper jest już białe → chip byłby redundantny i overflow-uje. */
body header.default13 .navbar-brand,
body header.default13.ap-header--scrolled .navbar-brand,
body:not(.page-index):not(.ap-homepage) header.default13 .navbar-brand {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 14px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  line-height: 1 !important;
  max-height: 72px !important;
  position: relative !important;
  top: 0 !important;
}

/* HERO (homepage, transparent header) — CHIP z białym tłem dla kontrastu */
body.page-index header.default13:not(.ap-header--scrolled) .navbar-brand,
body.ap-homepage header.default13:not(.ap-header--scrolled) .navbar-brand {
  background: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.25s ease !important;
}

/* Logo image — ZAWSZE 52px max, never overflow.
   SPECYFICZNOŚĆ PODBITA (html body + .menu-wrapper) żeby beat starszą regułę
   trap #DD z 80px która ma selector z .menu-wrapper dłuższy od naszego. */
html body header.default13 .navbar-brand img,
html body header.default13 .menu-wrapper .navbar-brand img,
html body header.default13.ap-header--scrolled .navbar-brand img,
html body header.default13.ap-header--scrolled .menu-wrapper .navbar-brand img,
html body header.default13 .navbar-brand .logo img,
html body header.default13 .logo img,
html body header.default13.ap-header--scrolled .logo img,
html body header.default13.ap-header--scrolled .menu-wrapper .logo img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* Scrolled state dodatkowo: brand reset padding/bg/shadow — specyficzność podbita */
html body header.default13.ap-header--scrolled .navbar-brand,
html body header.default13.ap-header--scrolled .menu-wrapper .navbar-brand,
html body:not(.page-index):not(.ap-homepage) header.default13 .navbar-brand,
html body:not(.page-index):not(.ap-homepage) header.default13 .menu-wrapper .navbar-brand {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 14px !important;
  max-height: 60px !important;
}

@media (max-width: 768px) {
  html body header.default13 .navbar-brand {
    margin: 0 8px !important;
  }
  body.page-index header.default13:not(.ap-header--scrolled) .navbar-brand,
  body.ap-homepage header.default13:not(.ap-header--scrolled) .navbar-brand {
    padding: 4px 10px !important;
    border-radius: 10px !important;
  }
  html body header.default13 .navbar-brand img,
  html body header.default13 .menu-wrapper .navbar-brand img,
  html body header.default13.ap-header--scrolled .navbar-brand img,
  html body header.default13.ap-header--scrolled .menu-wrapper .navbar-brand img {
    height: 44px !important;
    max-height: 44px !important;
  }
}


/* ── 12b. MENU NAV — wi\u0119ksze czcionki + spacing ─────────────── */
/* User feedback 2026-04-21 v2: "w menu wszystko za małe" +
   "na calej stronie, gdzie sa małe czcionki, to są one ZA MAŁE" */
body header.default13 .navbar .nav-item,
body header.default13 .navbar-nav .nav-item {
  padding: 0 4px !important;
}
body header.default13 .nav-link,
body header.default13 .navbar a[href]:not(.logo):not(.navbar-brand):not([class*="btn"]):not([class*="logo"]):not(.language__toggler),
body header.default13 .language__toggler {
  font-size: 1rem !important;           /* było 0.92rem */
  font-weight: 600 !important;
  letter-spacing: 1.4px !important;
  padding: 10px 14px !important;
  text-transform: uppercase !important;
}
@media (max-width: 991.98px) {
  body header.default13 .nav-link,
  body header.default13 .navbar a[href]:not(.logo):not(.navbar-brand) {
    font-size: 1.1rem !important;       /* mobile menu rozłożone — większe */
    padding: 14px 16px !important;
  }
}


/* ── 12c. TYPOGRAPHY — PX values (nie rem!) v1.8.6 ───────────── */
/* ⚠️ LESSON LEARNED (v1.8.5 fail → v1.8.6 revert):
   System IdoBooking default13 ma `html { font-size: 10px }`. Ok, ZOSTAWIAMY
   to w spokoju — systemowe rules były pisane pod tę konwencję.
   NASZE reguły piszemy w ABSOLUTNYM px — nie rem — żeby były niezależne
   od root font-size. Kto używa rem musi sprawdzać root każdego klienta.
   PX = predictable, no matter what root is. */

/* Body — per-page w px */
body:not(.page-offers):not(.page-offer):not(.page-contact),
body.default13:not(.page-offers):not(.page-offer):not(.page-contact) {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
body.page-offers,
body.page-offer,
body.page-contact {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Paragraphs w NASZYCH body_top sekcjach — tylko page-txt i homepage */
body.page-txt p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
body.page-index .ap-narrative p,
body.page-index .ap-about p,
body.page-index .ap-location p,
body.ap-homepage .ap-narrative p,
body.ap-homepage .ap-about p,
.ap-pagehero__subtitle,
.ap-attractions p,
.ap-blog-card__excerpt {
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
}
.ap-attraction-card--media .ap-attraction-card__desc {
  font-size: 1.05rem !important;        /* było 1.0 */
  line-height: 1.75 !important;
}
.ap-attraction-card--media .ap-attraction-card__name {
  font-size: 1.65rem !important;        /* było 1.55 */
}
.ap-attraction-card--media .ap-attraction-card__distance,
.ap-blog-card__date {
  font-size: 0.88rem !important;        /* było 0.78 / 0.8 */
  letter-spacing: 2.2px !important;
  padding: 8px 16px !important;
}
.ap-kicker,
.ap-pagehero__kicker,
.ap-narrative__kicker,
.ap-attractions .ap-kicker,
.ap-about .ap-kicker,
.ap-location .ap-kicker {
  font-size: 0.95rem !important;        /* było 0.85 — user: "za małe" */
  letter-spacing: 2.5px !important;
  font-weight: 700 !important;
}
.ap-blog-card__title {
  font-size: 1.6rem !important;         /* było 1.5 */
  line-height: 1.3 !important;
}
.ap-blog-card__excerpt {
  font-size: 1.05rem !important;        /* było 1 */
  line-height: 1.75 !important;
}
.ap-pagehero__subtitle {
  font-size: 1.2rem !important;         /* było 1.15 */
  line-height: 1.8 !important;
}

/* Form labels / meta (footer, address, tel, email) */
.ap-offer-card__meta-item,
.ap-feature__desc,
.ap-stat__label,
.ap-final-cta__contacts,
.ap-final-cta p,
footer p, footer li, footer a,
.powered_by_logo,
.form-booking label,
.ap-search__label,
.ap-search__value {
  font-size: 0.98rem !important;        /* minimum podstawowy — nie mniej */
  line-height: 1.7 !important;
}
.ap-offer-card__meta-item {
  font-size: 1rem !important;           /* tam gdzie icon + text — większe */
}

/* Small text utility — nigdy mniej niż 14px */
small, .small, .text-small {
  font-size: 14px !important;
}


/* ── 13. HEADER WHITE INSTANT ON SCROLL ──────────────────────── */
/* User: "nawet jak zjedziemy milimatr w dol, to menu powinno juz mieć tło
   białe". JS teraz ustawia ap-header--scrolled przy scrollY>1 (było 10)
   + class unify (było ap-header-scrolled bez `--` → nie matchowało CSS).
   Force instant transition (0s). */
body header.default13,
body header.default13.ap-header--scrolled,
body header.default13 .menu-wrapper,
body header.default13.ap-header--scrolled .menu-wrapper,
body header.default13 .bgd-color-light,
body header.default13.ap-header--scrolled .bgd-color-light {
  transition: background 0s, background-color 0s, box-shadow 0s !important;
}
body header.default13.ap-header--scrolled,
body header.default13.ap-header--scrolled .menu-wrapper,
body header.default13.ap-header--scrolled .bgd-color-light {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 24px rgba(42, 40, 41, 0.08) !important;
}
/* Na homepage gdy scrolled — menu-text czarny (nie biały z shadow) */
body.page-index header.default13.ap-header--scrolled a[href]:not(.logo):not([class*="btn"]),
body.ap-homepage header.default13.ap-header--scrolled a[href]:not(.logo):not([class*="btn"]) {
  color: var(--ap-dark, #1A2E1A) !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}


/* ── 14. HIDE duplicated "sprawdź dostępność" label ──────────── */
/* User: "W wyszukiwarce na górze mamy przycisk sprawdz dostepnośc,
   ale mamy tez dodatkowy napis sprawdz dostepnośc, usun ten NAPIS" */
.ap-hero__search-sub {
  display: none !important;
}


/* ── 15. HIDE .icon-arrow_smaller_down w language toggler ────── */
/* User: "znaczek, ikonka przy zmianie języka w menu nadal występuje,
   nie ma by tej ikonki". Fontello font nie ładuje się — ikonka
   renderuje się jako brzydki glyph. Ukrywamy wszystkie <i class="icon"> */
.language__toggler .icon,
.language__toggler i.icon,
.page-top__language .icon,
button.language__toggler [class^="icon-"],
button.language__toggler [class*=" icon-"] {
  display: none !important;
}
/* Zostawiamy tylko tekst "pl" z padding */
.language__toggler {
  padding: 8px 14px !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: inherit !important;
}


/* ── 16. MOBILE MENU toggler — SVG hamburger inline ──────────── */
/* User: "na mobile, menu ma ikonę lokalizacji, ma mieć normalne typowe menu".
   Fontello `icon-menu` nie ładuje się — renderuje jako location pin.
   Ukrywamy fontello ikonkę i rysujemy własny hamburger CSS::before. */
/* Fontello icon ZAWSZE schowany (nie ładuje się, renderuje jako placeholder) */
.navbar-toggler .icon-menu,
.navbar-toggler i.icon,
.navbar-toggler [class^="icon-"],
.navbar-toggler [class*=" icon-"] {
  display: none !important;
}

/* Domyślnie (desktop ≥992px) navbar-toggler UKRYTY — tylko mobile widzi hamburger */
.navbar-toggler {
  display: none !important;
}

/* Mobile/tablet <992px — hamburger widoczny */
@media (max-width: 991.98px) {
  .navbar-toggler {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: transparent !important;
    border: 1px solid rgba(20, 125, 59, 0.35) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
    color: var(--ido-primary, #147D3B) !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }
  /* CSS-drawn hamburger (3 linie) */
  .navbar-toggler::before {
    content: '' !important;
    display: inline-block !important;
    width: 22px !important;
    height: 16px !important;
    background-image:
      linear-gradient(to bottom, currentColor 2px, transparent 2px),
      linear-gradient(to bottom, currentColor 2px, transparent 2px),
      linear-gradient(to bottom, currentColor 2px, transparent 2px) !important;
    background-position: 0 0, 0 7px, 0 14px !important;
    background-repeat: no-repeat !important;
    background-size: 22px 2px, 22px 2px, 22px 2px !important;
    flex-shrink: 0 !important;
  }
}


/* ── 17. MOBILE NAVBAR-RESERVATION — stały kolor, centered ──── */
/* User: "na mobile jest przycisk rezerwuj i on nie jest wyśrodkowany
   i ma rozne kolory jak zjezdzamy i jak nie zjedzamy, ma miec stałe". */
.navbar-reservation,
header .navbar-reservation,
header.ap-header--scrolled .navbar-reservation {
  background: var(--ido-primary, #147D3B) !important;
  background-color: var(--ido-primary, #147D3B) !important;
  color: #ffffff !important;
  border: 1px solid var(--ido-primary, #147D3B) !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  min-height: 44px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 8px rgba(20, 125, 59, 0.25) !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
  text-shadow: none !important;
}
.navbar-reservation:hover,
header.ap-header--scrolled .navbar-reservation:hover {
  background: var(--ido-secondary, #0E5C2B) !important;
  background-color: var(--ido-secondary, #0E5C2B) !important;
  border-color: var(--ido-secondary, #0E5C2B) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(14, 92, 43, 0.35) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  /* Mobile — center + proper sizing */
  header .menu-wrapper .navbar {
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .navbar-reservation {
    margin-left: auto !important;
    padding: 9px 16px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
  }
}

@media (max-width: 480px) {
  /* Very small — reservation button może być krótszy albo ikoniczny */
  .navbar-reservation {
    padding: 9px 14px !important;
    font-size: 11.5px !important;
    letter-spacing: 0.8px !important;
  }
}


/* ── 18. GALERIA CTA — equal dimensions ───────────────────────── */
/* User: "w galerii na dole jest przycisk zobacz oferty i ceny, on nie
   jest jakiś równy". .ap-final-cta .ap-hero__cta ma inline style dla
   tła pastel — overflow + nierówny. Fix: remove inline-style bg dependency */
.ap-final-cta .ap-hero__cta,
.ap-gallery-mosaic ~ .ap-final-cta .ap-hero__cta,
.ap-attractions ~ .ap-final-cta .ap-hero__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-width: 280px !important;
  min-height: 56px !important;
  padding: 16px 36px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: 1.8px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}


/* ── 19. FINAL-CTA SECTION — ciemne brand-tło + REZERWACJA kontrast ── */
/* User feedback 2026-04-21 v4: "REZERWACJA nadal slabo widoczne na
   podstronach". Root cause: .ap-final-cta bazowo ma JASNE tło (cream),
   a kicker był jasno-zielony → niewidoczny na jasnym. Fix: sekcja ma
   ciemne tło brand-primary ZAWSZE (wszędzie spójnie), biały heading,
   kicker kontrast. Podbita specyficzność żeby pokonać base rule 4697. */
html body .ap-final-cta,
html body.page-txt .ap-final-cta,
html body.page-index .ap-final-cta,
html body.ap-homepage .ap-final-cta {
  background: linear-gradient(135deg, var(--ido-primary, #147D3B) 0%, var(--ido-secondary, #0E5C2B) 100%) !important;
  color: #ffffff !important;
  border-top: none !important;
  padding: 96px 24px !important;
  text-align: center !important;
  position: relative !important;
}
html body .ap-final-cta h2 {
  color: #ffffff !important;
  font-family: var(--ido-font-heading, 'Playfair Display', serif) !important;
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
  font-weight: 400 !important;
  margin: 0 0 24px !important;
  line-height: 1.2 !important;
}
html body .ap-final-cta h2 em {
  color: #A8E6B8 !important;
  font-style: italic !important;
}
html body .ap-final-cta p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  max-width: 640px !important;
  margin: 0 auto 32px !important;
}
html body .ap-final-cta .ap-heading-rule {
  background: rgba(168, 230, 184, 0.8) !important;
}

/* Kicker — bardzo kontrastowy pill na ciemnym tle */
html body .ap-final-cta .ap-kicker {
  display: inline-block !important;
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase !important;
  padding: 10px 24px !important;
  margin-bottom: 28px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 100px !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

/* Kontakt ikonki w final-cta — białe, duże */
html body .ap-final-cta__contacts a,
html body .ap-final-cta__contacts {
  color: rgba(255, 255, 255, 0.92) !important;
}
html body .ap-final-cta__contacts a:hover {
  color: #A8E6B8 !important;
}
html body .ap-final-cta__contacts svg {
  color: rgba(255, 255, 255, 0.8) !important;
  stroke: currentColor !important;
  width: 22px !important;
  height: 22px !important;
}

/* CTA button w final-cta — jasny (kontrast z brand-tłem) */
html body .ap-final-cta .ap-hero__cta {
  background: #ffffff !important;
  color: var(--ido-primary, #147D3B) !important;
  border: 2px solid #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}
html body .ap-final-cta .ap-hero__cta:hover {
  background: #A8E6B8 !important;
  color: var(--ap-dark, #1A2E1A) !important;
  border-color: #A8E6B8 !important;
  transform: translateY(-2px) !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-21 v4 — po audycie
   20) Language toggler — fix 10px bug (system app.css ma 10px nested)
   21) Footer typography consistency (15px all + semantic color)
   22) Heading rule w final-cta — usunięte (krótkie kreski nie potrzebne)
   ═══════════════════════════════════════════════════════════════ */

/* ── 20. LANGUAGE TOGGLER — wyższa specyficzność niż system ── */
html body header.default13 .language__toggler,
html body header.default13 button.language__toggler,
html body header.default13 .page-top__language button,
html body .page-top__language button {
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  padding: 10px 16px !important;
  background: transparent !important;
  border: 1px solid rgba(20, 125, 59, 0.25) !important;
  border-radius: 6px !important;
  color: inherit !important;
}
html body header.default13 .language__toggler span {
  font-size: inherit !important;
  line-height: inherit !important;
}
/* Na hero (transparent menu) — light text */
html body.page-index header.default13:not(.ap-header--scrolled) .language__toggler,
html body.ap-homepage header.default13:not(.ap-header--scrolled) .language__toggler {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}


/* ── 21. FOOTER TYPOGRAPHY CONSISTENCY ──────────────────────── */
/* User: "Stopka ma rózne wielkosci też". Unify do 15px baseline,
   brand primary dla linków kontaktowych. */
html body .footer-contact-baner li,
html body .footer-contact-baner li span,
html body .footer-contact-baner p,
html body footer p,
html body footer li {
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
}
/* Kontakt linki (tel, email) — brand primary */
html body .footer-contact-baner a[href^="tel:"],
html body .footer-contact-baner a[href^="mailto:"],
html body footer a[href^="tel:"],
html body footer a[href^="mailto:"] {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #A8E6B8 !important;   /* jasny mint dla kontrastu z dark footer */
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
}
html body .footer-contact-baner a[href^="tel:"]:hover,
html body .footer-contact-baner a[href^="mailto:"]:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
/* Regulamin / Polityka prywatności — small legal, consistent */
html body .footer-contact-terms a,
html body footer a[href*="regulamin"],
html body footer a[href*="polityka"] {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  letter-spacing: 0.3px !important;
}
html body .footer-contact-terms a:hover {
  color: #A8E6B8 !important;
}


/* ── 22. AP-HEADING-RULE w final-cta — ukryte (user: "dziwna kreska") ── */
/* Ap-heading-rule to short 60px decorative line. W .ap-final-cta
   gdzie jest już REZERWACJA pill + heading + button — dodatkowa
   krótka kreska była redundantna i wyglądała dziwnie. */
html body .ap-final-cta .ap-heading-rule {
  display: none !important;
}


/* ── 23. WSZYSTKIE małe teksty — minimum baseline 14px ───────── */
/* Ostatnia sieć bezpieczeństwa: nic poniżej 14px nigdzie na stronie */
html body small,
html body .small,
html body .text-small,
html body .visuallyhidden ~ *,
html body span:not(.visuallyhidden) {
  /* nie force na wszystkich spanach — to powodowałoby chaos. Tylko wybrane: */
}
html body .ap-offer-card small,
html body .ap-feature__desc,
html body footer small,
html body .form-booking small,
html body .footer-contact-price small {
  font-size: 14px !important;
  line-height: 1.5 !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-21 v1.8.6 — TYPOGRAPHY FINAL OVERRIDE (PX ONLY)
   ⚠️ System IdoBooking ma html { font-size: 10px }. NIE ruszamy tego.
   Wszystkie KLUCZOWE elementy w absolutnym px — niezależne od root.
   Jedyne niewiele w rem (dla dynamic scaling w karcie) to headings
   które używają clamp() — tam `rem` = 10px base się nie liczy.
   ═══════════════════════════════════════════════════════════════ */

/* Body baseline */
html body,
html body.default13 {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Nav menu items — TYLKO px.
   SPECYFICZNOŚĆ PODBITA przez mirror :not() chain z rule #5 (stara)
   + double-class .nav-link.nav-link trick. */
html body header.default13 .navbar a[href]:not(.logo):not([class*="logo"]):not(.navbar-brand):not([class*="btn"]):not(.language__toggler),
html body header.default13 .navbar a[href]:not(.logo):not(.navbar-brand):not([class*="btn"]):not(.language__toggler),
html body header.default13 .nav-link.nav-link,
html body header.default13 a.nav-link.nav-link,
html body.default13 header .nav-link.nav-link,
html body header.default13 .language__toggler.language__toggler {
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: 1.2px !important;
  padding: 10px 12px !important;
}

/* Hero i page-hero */
html body .ap-pagehero__title {
  font-size: 44px !important;
  line-height: 1.15 !important;
}
html body .ap-pagehero__subtitle {
  font-size: 17px !important;
  line-height: 1.6 !important;
}
html body .ap-pagehero__kicker,
html body .ap-narrative__kicker,
html body .ap-kicker {
  font-size: 13px !important;
  letter-spacing: 2.2px !important;
  font-weight: 700 !important;
}

/* Section headings H2 */
html body .ap-narrative h2,
html body .ap-attractions h2,
html body .ap-about h2,
html body .ap-apartments h2,
html body .ap-blog h2,
html body .ap-gallery-mosaic h2,
html body .ap-map-section h2 {
  font-size: 36px !important;
  line-height: 1.2 !important;
}

/* Paragraph content w NASZYCH sekcjach */
html body .ap-narrative p,
html body .ap-attractions p,
html body .ap-about p,
html body .ap-about__text p,
html body .ap-location p,
html body .ap-map-section p {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Attraction cards */
html body .ap-attraction-card--media .ap-attraction-card__name {
  font-size: 22px !important;
  line-height: 1.25 !important;
}
html body .ap-attraction-card--media .ap-attraction-card__desc {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
html body .ap-attraction-card--media .ap-attraction-card__distance {
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  padding: 6px 12px !important;
}

/* Blog cards */
html body .ap-blog-card__title {
  font-size: 21px !important;
  line-height: 1.3 !important;
}
html body .ap-blog-card__excerpt {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
html body .ap-blog-card__date {
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
}
html body .ap-blog-card__cta {
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
}
html body .ap-blog__title {
  font-size: 38px !important;
}

/* Offer cards (homepage i /offers) */
html body .ap-offer-card__name {
  font-size: 22px !important;
  line-height: 1.25 !important;
}
html body .ap-offer-card__desc {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
html body .ap-offer-card__price {
  font-size: 15px !important;
  font-weight: 700 !important;
}
html body .ap-offer-card__cta,
html body #filters_submit,
html body .ap-hero__cta {
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
}

/* /offers systemowe */
html body.page-offers .filter_header {
  font-size: 13px !important;
  letter-spacing: 1px !important;
}
html body.page-offers .btn,
html body.page-offers span.btn,
html body.page-offers a.btn {
  font-size: 13px !important;
}

/* Final-CTA section */
html body .ap-final-cta h2 {
  font-size: 40px !important;
  line-height: 1.2 !important;
}
html body .ap-final-cta .ap-kicker {
  font-size: 14px !important;
  letter-spacing: 3px !important;
  padding: 8px 22px !important;
}
html body .ap-final-cta p {
  font-size: 16px !important;
  line-height: 1.65 !important;
}
html body .ap-final-cta .ap-hero__cta {
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
  padding: 14px 32px !important;
}

/* Stats / counters */
html body .ap-hero__quick-facts strong,
html body .ap-stat__number {
  font-size: 36px !important;
}
html body .ap-hero__quick-facts span,
html body .ap-stat__label {
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
}

/* Footer */
html body .footer-contact-baner li,
html body .footer-contact-baner li span,
html body footer p,
html body footer li {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
html body .footer-contact-baner a[href^="tel:"],
html body .footer-contact-baner a[href^="mailto:"] {
  font-size: 14px !important;
  font-weight: 600 !important;
}
html body .footer-contact-terms a {
  font-size: 13px !important;
}

/* Mobile — mniejsze typography */
@media (max-width: 768px) {
  html body .ap-pagehero__title { font-size: 32px !important; }
  html body .ap-pagehero__subtitle { font-size: 16px !important; }
  html body .ap-narrative h2,
  html body .ap-attractions h2,
  html body .ap-blog h2,
  html body .ap-final-cta h2 { font-size: 28px !important; }
  html body .ap-attraction-card--media .ap-attraction-card__name { font-size: 20px !important; }
  html body .ap-blog-card__title { font-size: 19px !important; }
  html body .ap-offer-card__name { font-size: 20px !important; }
  html body header.default13 .nav-link { font-size: 15px !important; padding: 12px 14px !important; }
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-21 v1.8.7 — MOBILE MENU + HAMBURGER + REZERWUJ
   User feedback: menu mobile brak tła (przezroczyste, elementy overlap),
   hamburger nie cały klikalny, navbar-reservation niewyrównany i brzydki.
   ═══════════════════════════════════════════════════════════════ */

/* ── A. MOBILE MENU — rozwinięte menu MUSI mieć białe tło ──── */
/* Gdy user kliknie hamburger, menu rozwija się. Bez tła zobaczy przezroczysty
   overlay z tekstami nad content = chaos. FIX: full white bg + padding +
   shadow + zamknięty stack. */
@media (max-width: 991.98px) {
  /* Menu dropdown (expanded) — collapse zazwyczaj ma klasę .show albo aria-expanded */
  html body header.default13 .navbar-collapse,
  html body header.default13 .navbar-collapse.show,
  html body header.default13 #navbar,
  html body header.default13 #navbar[aria-expanded="true"],
  html body header.default13 .menu-wrapper nav[aria-expanded="true"] {
    background: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    padding: 16px 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1100 !important;
  }

  /* Lista nav items — pionowa, wycentrowana, sensowne padding */
  html body header.default13 .navbar-collapse ul,
  html body header.default13 .navbar-nav,
  html body header.default13 #navbar ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 2px !important;
  }
  html body header.default13 .navbar-nav .nav-item,
  html body header.default13 .navbar-nav li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Nav-link items w rozwiniętym menu — wyraźne, z separatorem */
  html body header.default13 .navbar-collapse .nav-link,
  html body header.default13 .navbar-collapse a[href]:not(.logo):not(.navbar-brand):not([class*="btn"]) {
    display: block !important;
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--ido-dark, #1A2E1A) !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    border-bottom: 1px solid rgba(20, 125, 59, 0.08) !important;
    background: transparent !important;
    text-align: left !important;
  }
  html body header.default13 .navbar-collapse .nav-link:hover,
  html body header.default13 .navbar-collapse a[href]:hover {
    background: var(--ido-light, #F0F5ED) !important;
    color: var(--ido-primary, #147D3B) !important;
  }

  /* Wymuś biały background na CAŁY header gdy menu otwarte — JS dodaje .show */
  html body header.default13:has(.navbar-collapse.show),
  html body header.default13:has(#navbar[aria-expanded="true"]) {
    background: #ffffff !important;
  }
  html body header.default13:has(.navbar-collapse.show) .menu-wrapper,
  html body header.default13:has(#navbar[aria-expanded="true"]) .menu-wrapper {
    background: #ffffff !important;
  }
}


/* ── B. HAMBURGER — cały klikalny (user: nie w całości klikalny) ── */
@media (max-width: 991.98px) {
  html body header.default13 .navbar-toggler {
    min-width: 64px !important;     /* duży hit area */
    min-height: 48px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    position: relative !important;
    z-index: 1200 !important;
  }
  /* Cała powierzchnia togglera klikalna — expand pseudo-elementu */
  html body header.default13 .navbar-toggler::after {
    content: '' !important;
    position: absolute !important;
    inset: -4px !important;         /* rozszerza hit area na 4px poza wszystkie strony */
    pointer-events: auto !important;
    background: transparent !important;
  }
  html body header.default13 .navbar-toggler * {
    pointer-events: none !important;  /* wszystkie wewnętrzne — transparent, klik idzie do button */
  }
  /* Toggler TEKST "Menu" — czytelny */
  html body header.default13 .navbar-toggler span {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: var(--ido-primary, #147D3B) !important;
  }
}


/* ── C. MOBILE NAVBAR-RESERVATION — smaller + cleaner ──────── */
/* User feedback: "brzydki, nie wyśrodkowany, za duży na mobile".
   Mobile: button compact (nie rozpycha headera), single line, centered. */
@media (max-width: 991.98px) {
  html body header.default13 .navbar-reservation {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: auto !important;         /* było 140px — za szerokie */
    max-width: 140px !important;
    min-height: 40px !important;        /* było 44 */
    height: 40px !important;
    padding: 0 16px !important;          /* kompakt */
    font-size: 11px !important;          /* małe mobile */
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;      /* jedna linia, nie 2! */
    line-height: 1 !important;
    background: var(--ido-primary, #147D3B) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(20, 125, 59, 0.22) !important;
    margin: 0 6px !important;
    text-shadow: none !important;
    transition: background 0.2s ease !important;
  }
  html body header.default13 .navbar-reservation:hover,
  html body header.default13 .navbar-reservation:active {
    background: var(--ido-secondary, #0E5C2B) !important;
    color: #ffffff !important;
  }
}
@media (max-width: 480px) {
  /* Very small screens — hide "online" word, keep just "REZERWUJ" */
  html body header.default13 .navbar-reservation {
    font-size: 10.5px !important;
    padding: 0 12px !important;
    max-width: 110px !important;
    letter-spacing: 0.5px !important;
  }
}


/* ── D. MOBILE NAV ITEMS — Inter sans-serif (nie Playfair!) ── */
/* User screenshot pokazał że items w rozwiniętym menu mają serifową
   czcionkę (dziedziczenie z .default13). Wymuszamy Inter + cleaner layout
   (bez brzydkich obramowań pill). */
@media (max-width: 991.98px) {
  html body header.default13 .navbar-collapse,
  html body header.default13 .navbar-collapse *,
  html body header.default13 #navbar,
  html body header.default13 #navbar *,
  html body header.default13 .navbar-nav,
  html body header.default13 .navbar-nav * {
    font-family: var(--ido-font-body, 'Inter', system-ui, -apple-system, sans-serif) !important;
  }

  /* Nav-link visual reset — czyste, bez pill border */
  html body header.default13 .navbar-collapse .nav-link,
  html body header.default13 .navbar-collapse a[href]:not(.logo):not(.navbar-brand):not([class*="btn"]),
  html body header.default13 .navbar-nav .nav-link {
    font-family: var(--ido-font-body, 'Inter', sans-serif) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    text-align: left !important;
    color: var(--ido-dark, #1A2E1A) !important;
    background: transparent !important;
    border: none !important;              /* usuń pill border */
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(20, 125, 59, 0.1) !important;
    box-shadow: none !important;
    padding: 14px 24px !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
  }

  /* Ostatnie item — bez border-bottom */
  html body header.default13 .navbar-collapse .nav-item:last-child .nav-link,
  html body header.default13 .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }

  /* Hover/active state */
  html body header.default13 .navbar-collapse .nav-link:hover,
  html body header.default13 .navbar-collapse .nav-link:focus,
  html body header.default13 .navbar-nav .nav-link:hover {
    background: var(--ido-light, #F0F5ED) !important;
    color: var(--ido-primary, #147D3B) !important;
  }

  /* Language toggler w menu mobile — ten sam styling jak items */
  html body header.default13 .navbar-collapse .language__toggler,
  html body header.default13 .page-top__language {
    font-family: var(--ido-font-body, 'Inter', sans-serif) !important;
    font-size: 15px !important;
    padding: 14px 24px !important;
    text-align: left !important;
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid rgba(20, 125, 59, 0.1) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
}

/* Mobile header — flex layout, wszystko wycentrowane pionowo */
@media (max-width: 991.98px) {
  html body header.default13 .menu-wrapper .navbar,
  html body header.default13 .menu-wrapper .container,
  html body header.default13 .menu-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-23 v1.8.9 — CLIENT FEEDBACK
   (1) Jednolity ciemny zielony — mint #A8E6B8/#CDE6D6 → biały
   (2) Sticky CTA "Rezerwuj" widoczny po prawej przy scrollowaniu
   (3) Większe czcionki w opisach (paragrafy body_top)
   (4) Hero: usunięte drobne artefakty po zmianie tekstów
   ═══════════════════════════════════════════════════════════════ */

/* ── (1) UJEDNOLICENIE ZIELONEGO ────────────────────────────────
   Problem: user widzi 2 odcienie zielonego (ciemny forest #147D3B
   w przyciskach + jasny mint #A8E6B8/#CDE6D6 w final-cta/pagehero).
   Fix: na ciemnym zielonym tle akcenty = białe/kość słoniowa
   (jeden kolor zielony = ciemny forest wszędzie na jasnych tłach). */

/* pagehero title — user pkt 5 (O NAS): "po lewej jasna, po prawej ciemna
   czcionka, jest odwrotnie". FLIP: cała część lewa (przed em) = mint
   #A8E6B8 (czyli relatywnie ciemniejsza niż biel), em (prawa) = biały
   (jasny = najbardziej wyróżniony akcent).
   UWAGA: na ciemnozielonym tle nie używamy forest #147D3B (byłby
   niewidoczny) — mint jest jedynym sensownym ciemniejszym wariantem. */
html body .ap-pagehero__title {
  color: #A8E6B8 !important;
}
html body .ap-pagehero__title em {
  color: #ffffff !important;
}

/* final-cta heading em (inline style `#A8E6B8` w ONAS/GALERIA) → biały */
html body .ap-final-cta h2 em,
html body .ap-final-cta h2 em[style] {
  color: #ffffff !important;
}

/* final-cta heading-rule (inline `background:#A8E6B8`) → białe */
html body .ap-final-cta .ap-heading-rule,
html body .ap-final-cta .ap-heading-rule[style] {
  background: #ffffff !important;
}

/* final-cta kicker (inline `color:#A8E6B8`) — ma już pill-styling biały */
html body .ap-final-cta .ap-kicker[style],
html body .ap-final-cta .ap-kicker {
  color: #ffffff !important;
}

/* final-cta CTA button (inline `background:#A8E6B8;color:dark`)
   → biały bg + ciemny zielony tekst (kontrast, spójność z default CTA) */
html body .ap-final-cta .ap-hero__cta,
html body .ap-final-cta .ap-hero__cta[style] {
  background: #ffffff !important;
  color: var(--ido-primary, #147D3B) !important;
  border-color: #ffffff !important;
}
html body .ap-final-cta .ap-hero__cta:hover,
html body .ap-final-cta .ap-hero__cta[style]:hover {
  background: var(--ido-light, #F0F5ED) !important;
  color: var(--ido-secondary, #0E5C2B) !important;
  border-color: var(--ido-light, #F0F5ED) !important;
}

/* Usuwamy fallback color #A8E6B8 w hover links */
html body .ap-final-cta__contacts a:hover {
  color: var(--ido-light, #F0F5ED) !important;
}

/* footer-kicker-color var — override na biały */
html body .ap-final-cta,
html body .ap-final-cta * {
  --footer-kicker-color: #ffffff !important;
}


/* ── (2) STICKY CTA "REZERWUJ" ──────────────────────────────────
   Floating button prawa strona, widoczny po scrollu >400px.
   JS w AP_KONIEC_BODY.html dodaje element + toggle klasy .is-visible.
   Mobile: na dole (pasek), desktop: po prawej w połowie ekranu. */
.ap-sticky-reserve {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ido-primary, #147D3B);
  color: #ffffff;
  font-family: var(--ido-font-body, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 100px;
  box-shadow: 0 12px 32px rgba(20, 125, 59, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ap-ease-lux, cubic-bezier(0.22, 0.61, 0.36, 1)),
              opacity 0.25s ease,
              background 0.2s ease,
              box-shadow 0.25s ease;
  pointer-events: auto;
  min-height: 52px;
  white-space: nowrap;
}
.ap-sticky-reserve.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.ap-sticky-reserve:hover,
.ap-sticky-reserve:focus-visible {
  background: var(--ido-secondary, #0E5C2B);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(14, 92, 43, 0.45), 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.ap-sticky-reserve svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* Desktop (>= 992px): po prawej środek ekranu (vertical center)  */
@media (min-width: 992px) {
  .ap-sticky-reserve {
    right: 28px;
    bottom: auto;
    top: 50%;
    transform: translate(100px, -50%);
  }
  .ap-sticky-reserve.is-visible {
    transform: translate(0, -50%);
  }
  .ap-sticky-reserve:hover,
  .ap-sticky-reserve:focus-visible {
    transform: translate(-2px, -50%);
  }
}

/* Mobile (<= 600px): pełna szerokość bar na dole */
@media (max-width: 600px) {
  .ap-sticky-reserve {
    right: 12px;
    left: 12px;
    bottom: 12px;
    padding: 14px 20px;
    font-size: 13px;
    border-radius: 100px;
    justify-content: center;
  }
}

/* Hide sticky gdy user fokus w polu (np. rezerwacja w hero) — no UX noise */
.ap-sticky-reserve[aria-hidden="true"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* ── (3) WIĘKSZE CZCIONKI W OPISACH ─────────────────────────────
   User: "czcionka w opisach większa". Obecne wartości (v1.8.6 PX):
   body=16, narrative p=16, pagehero subtitle=17, attraction desc=15.
   Target: paragraph body_top content +1-2px, line-height 1.7. */

/* Hero lead (strona główna, split hero lewa kolumna) */
html body .ap-hero-wrap .ap-hero__lead,
html body .ap-hero-wrap--split .ap-hero__lead {
  font-size: 18px !important;
  line-height: 1.65 !important;
}

/* Page hero subtitle (O NAS, GALERIA, LOKALIZACJA, BLOG) */
html body .ap-pagehero__subtitle {
  font-size: 19px !important;
  line-height: 1.7 !important;
}

/* Narrative paragraphs (O NAS opisy) */
html body .ap-narrative p,
html body .ap-narrative__text p {
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* About section paragraph (homepage „O nas") */
html body .ap-about p,
html body .ap-about__text p {
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Feature cards desc (homepage „Co oferujemy" 6 kart) */
html body .ap-feature__desc {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
}

/* Attraction cards desc (LOKALIZACJA karty atrakcji) */
html body .ap-attraction-card--media .ap-attraction-card__desc,
html body .ap-attraction-card__desc {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Blog excerpt */
html body .ap-blog-card__excerpt {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Gallery mosaic section intro paragraph (inline style user) */
html body .ap-gallery-mosaic__header p,
html body .ap-gallery-mosaic__header p[style] {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* Map section intro paragraph (strona główna „Gdzie nas znajdziesz") */
html body .ap-map p,
html body .ap-map p[style] {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* final-cta paragraph */
html body .ap-final-cta p,
html body .ap-final-cta p[style] {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* Testimonials quote */
html body .ap-testimonial__quote {
  font-size: 16.5px !important;
  line-height: 1.7 !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-23 v1.8.12 — BLIK w .footer-contact-baner
   User: logo BLIK tylko na pasku pod stopką, obok VISA/Mastercard.
   DIAGNOZA LIVE: VISA + Mastercard to inline <span><svg> wewnątrz
   .footer-contact-baner. Reguła `.footer-contact-baner ~ *`
   w custom.css ma display:none — więc BLIK jako sibling znikał.
   FIX: JS dokłada <span class="ap-blik-span"><img.ap-blik-badge/>
   jako CHILD .footer-contact-baner. Override filter/opacity bo
   trap footer ma brightness(0) invert(1) na img — logo BLIK musi
   być natywnym kolorze (nie odwracamy do białego).
   ═══════════════════════════════════════════════════════════════ */

/* Span-wrapper w banerze — vertical-align jak systemowe spany */
html body .footer-contact-baner .ap-blik-span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  padding: 0 !important;
  margin: 0 0 0 14px !important;
}

/* Obraz BLIK — rozmiar match systemowych VISA/MC (18-20px high).
   v1.8.14: user wgrał oficjalny SVG /4/0/5.svg (transparent bg) —
   usuwamy matte karta, padding, shadow. Natywna prezentacja BLIK. */
html body .footer-contact-baner .ap-blik-badge,
html body .footer-contact-baner img[data-ap-blik] {
  display: inline-block !important;
  vertical-align: middle !important;
  height: 18px !important;
  width: auto !important;
  max-width: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  /* systemowa reguła footer-contact-baner img ma brightness(0) invert(1)
     — robi białe logo. BLIK ma być kolorowe (logo marki BLIK) */
  filter: none !important;
  opacity: 1 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  html body .footer-contact-baner .ap-blik-span {
    margin-left: 8px !important;
  }
  html body .footer-contact-baner .ap-blik-badge {
    height: 18px !important;
    max-width: 56px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-23 v1.8.13 — STICKY CTA color fix na podstronach
   systemowych (/offers, /contact, /offer).
   ROOT CAUSE (live diagnoza playwright):
   • /offers: reguła `body.page-offers a:not(.btn):not([class*=btn-])
     :not([class*=leaflet]):not([class*=nav-]):not([href^=tel:])
     :not([href^=mailto:]) { color: var(--ido-dark, #1A1A1A) }`
     łapie .ap-sticky-reserve (ma href + brak .btn) → czarny tekst
     na zielonym tle = słabo widoczny.
   • /contact: reguła `body.page-contact a { color: var(--ido-primary) }`
     → zielony tekst + SVG stroke na zielonym tle = niewidoczne.
   FIX: podbita specyficzność z `html body` + explicit pokrycie
   wszystkich page classes + force biel dla wszystkich descendant
   (svg stroke/fill, span color).
   ═══════════════════════════════════════════════════════════════ */
/* Mirror blacklisty z typography scope żeby pokonać (0,0,8,1)
   specyficzność systemowej reguły body.page-offers a:not(...) */
html body .ap-sticky-reserve,
html body a.ap-sticky-reserve,
html body a.ap-sticky-reserve:link,
html body a.ap-sticky-reserve:visited,
html body a.ap-sticky-reserve:hover,
html body a.ap-sticky-reserve:focus,
html body.page-index a.ap-sticky-reserve,
html body.page-txt a.ap-sticky-reserve,
html body.page-offer a.ap-sticky-reserve:not(.btn):not([class*="btn-"]):not([class*="leaflet"]):not([class*="nav-"]):not([href^="tel:"]):not([href^="mailto:"]),
html body.page-offers a.ap-sticky-reserve:not(.btn):not([class*="btn-"]):not([class*="leaflet"]):not([class*="nav-"]):not([href^="tel:"]):not([href^="mailto:"]),
html body.page-contact a.ap-sticky-reserve,
html body.page-contact a.ap-sticky-reserve:not(.btn) {
  color: #ffffff !important;
}

/* Wszystkie descendant (svg, span) wymuszone na biały */
html body .ap-sticky-reserve *,
html body .ap-sticky-reserve span,
html body .ap-sticky-reserve svg,
html body a.ap-sticky-reserve svg,
html body.page-offers a.ap-sticky-reserve svg,
html body.page-contact a.ap-sticky-reserve svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}

/* Hover: pozostaje biały + zmiana tła na ciemny forest */
html body .ap-sticky-reserve:hover,
html body a.ap-sticky-reserve:hover,
html body.page-offers a.ap-sticky-reserve:hover,
html body.page-contact a.ap-sticky-reserve:hover {
  color: #ffffff !important;
  background: var(--ido-secondary, #0E5C2B) !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-23 v1.8.14 — MOBILE FIXES
   (1) Mobile menu rozwinięte: solid white bg, ciemny tekst, bez
       text-shadow (screenshot #3: "menu z tłem" = text-shadow + semi
       transparent bg przenikające hero image).
   (2) Mobile booking form w hero: kompaktowy layout (hero split
       grid dawał 476px title + 565px card = 1073px > 100vh=844px.
       Fullpage.js obcinał overflow → widoczne tylko 1 pole).
   ═══════════════════════════════════════════════════════════════ */

/* ── (1) MOBILE MENU — solid white, ciemny tekst, bez efektów ───── */
@media (max-width: 991.98px) {
  /* Menu rozwinięte — zawsze solid białe tło, bez backdrop-filter */
  html body header.default13 .navbar-collapse.show,
  html body header.default13 .navbar-collapse[aria-expanded="true"],
  html body header.default13 .navbar-nav.is-open,
  html body header.default13 .collapse.show,
  html body header.default13 nav[aria-expanded="true"] {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* Nav items w mobile menu — solid bg + bez text-shadow */
  html body header.default13 .navbar-collapse .nav-link,
  html body header.default13 .navbar-collapse .nav-item,
  html body header.default13 .navbar-nav .nav-link,
  html body header.default13 .navbar-nav li a,
  html body header.default13 ul.menu li,
  html body header.default13 ul.menu li a {
    text-shadow: none !important;
    filter: none !important;
    color: var(--ido-dark, #1A2E1A) !important;
    background: transparent !important;
    font-weight: 600 !important;
  }

  /* Hover state */
  html body header.default13 .navbar-nav .nav-link:hover,
  html body header.default13 .navbar-collapse .nav-link:hover,
  html body header.default13 ul.menu li a:hover {
    background: var(--ido-light, #F0F5ED) !important;
    color: var(--ido-primary, #147D3B) !important;
  }
}

/* ── (2) MOBILE BOOKING FORM — compact hero ─────────────────────── */
@media (max-width: 767.98px) {
  /* Hero wrap — naturalny scroll, nie 100vh (mieści form + title) */
  html body .ap-hero-wrap--split {
    min-height: auto !important;
    height: auto !important;
    padding: 96px 14px 24px !important;
  }

  /* Grid — flex column, mały gap */
  html body .ap-hero-wrap--split .ap-hero__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  /* Text column — kompaktowy */
  html body .ap-hero-wrap--split .ap-hero__text {
    text-align: center !important;
    padding: 0 !important;
  }
  html body .ap-hero-wrap--split .ap-hero__kicker {
    font-size: 11px !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
  }
  html body .ap-hero-wrap--split .ap-hero__title {
    font-size: 32px !important;
    line-height: 1.1 !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.5px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__title em {
    font-size: 32px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__lead {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin: 0 0 12px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__quick-facts {
    display: flex !important;
    gap: 14px !important;
    justify-content: center !important;
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__quick-facts strong {
    font-size: 15px !important;
  }

  /* Search card — compact padding + max-height auto */
  html body .ap-hero__search-card {
    padding: 14px 14px 16px !important;
    max-height: none !important;
    border-radius: 12px !important;
    margin: 0 !important;
  }
  html body .ap-hero__search-header {
    margin-bottom: 8px !important;
  }
  html body .ap-hero__search-title {
    font-size: 17px !important;
  }

  /* Form fields — smaller padding żeby wszystkie pola się zmieściły */
  html body .ap-search--vertical .ap-search__field {
    margin-bottom: 8px !important;
  }
  html body .ap-search--vertical .ap-search__label {
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 2px !important;
  }
  html body .ap-search--vertical .ap-search__input,
  html body .ap-search--vertical .ap-search__select {
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  html body .ap-search--vertical .ap-search__submit,
  html body .ap-search--vertical .ap-search__submit--full {
    min-height: 48px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    margin-top: 4px !important;
  }

  /* Fullpage.js slide: pozwól natural overflow na mobile */
  html body .section.parallax,
  html body .section.parallax .fp-tableCell {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  /* Hero image warstwa tła nie może zasłonić formularza */
  html body .ap-hero-wrap--split > .ap-hero__grid {
    position: relative;
    z-index: 5;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-04-23 v1.8.15 — 3 FIXY PO AUDYCIE LIVE
   (1) Typography /txt/* (BUG #2): subtitle + narrative 11px → 17-19px.
       Root cause: `body.page-txt p:not(.price):not(.meta):not(small)`
       spec (0,0,4,1) z 1.1rem (×10px system = 11px) bije moją
       `html body .ap-pagehero__subtitle` (0,0,1,2). Mirror blacklisty.
   (2) Mobile hero overflow (BUG #3): `body.page-index .section.parallax`
       spec (0,0,3,1) overflow:hidden bije moje html body (0,0,2,2).
       Podbicie do html body.page-index (0,0,3,2).
   (3) Mobile menu solid white (user request 2026-04-23):
       na mobile ≤991px menu-wrapper zawsze solid białe tło
       (nie transparentne na hero jak desktop). Czytelne menu.
   ═══════════════════════════════════════════════════════════════ */

/* ── (1) TYPOGRAPHY /txt/* — FIX 11px problem ─────────────────── */
/* Pagehero subtitle — musi przebić `body.page-txt p:not(...)` reg */
html body.page-txt p.ap-pagehero__subtitle:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body.page-txt .ap-pagehero__subtitle:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body .ap-pagehero__subtitle.ap-pagehero__subtitle.ap-pagehero__subtitle {
  font-size: 19px !important;
  line-height: 1.7 !important;
}

/* Narrative paragraphs (O nas + inne podstrony) */
html body.page-txt .ap-narrative p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body.page-txt .ap-narrative__text p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body .ap-narrative p.ap-narrative__p,
html body .ap-narrative .ap-narrative__text p.ap-narrative__text-p {
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Double-class trick dla wszystkich .ap-narrative p (fallback bez body.page-txt) */
html body .ap-narrative .ap-narrative__text p,
html body .ap-narrative__container .ap-narrative__text p,
html body section.ap-narrative .ap-narrative__text p {
  font-size: 17px !important;
  line-height: 1.75 !important;
}

/* Attraction card desc (Lokalizacja) */
html body.page-txt .ap-attraction-card__desc:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body.page-txt .ap-attractions p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small) {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Blog excerpt */
html body.page-txt .ap-blog-card__excerpt:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body.page-txt .ap-blog p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small) {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Hero lead mobile stays compact per v1.8.14 @media, homepage paragraphs */
html body.page-index .ap-hero-wrap .ap-hero__lead:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small) {
  font-size: 18px !important;
  line-height: 1.65 !important;
}

/* Final-CTA paragraph — utrzymuje rozmiar na wszystkich stronach */
html body.page-txt .ap-final-cta p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body.page-index .ap-final-cta p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small) {
  font-size: 17px !important;
  line-height: 1.7 !important;
}


/* ── (2) MOBILE HERO OVERFLOW — fix fullpage.js cutting card ───── */
@media (max-width: 991.98px) {
  /* Specyficzność podbita do body.page-index + html + tag chain
     — bije oryginalną `body.page-index .section.parallax` (0,0,3,1) */
  html body.page-index .section.parallax,
  html body.ap-homepage .section.parallax,
  html body.page-index main .section.parallax,
  html body.page-index .fullpage-wrapper .section.parallax {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  /* fp-tableCell też overflow visible żeby card się rozciągał */
  html body.page-index .section.parallax .fp-tableCell,
  html body.page-index .fp-tableCell,
  html body.ap-homepage .section.parallax .fp-tableCell {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  /* Sama hero wrap też auto — żeby flex grid rozciągnął się */
  html body.page-index .ap-hero-wrap--split {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
    position: relative !important;
  }
}


/* ── (3) MOBILE MENU SOLID WHITE BG (nie transparentne) ────────── */
@media (max-width: 991.98px) {
  /* Cały header + menu-wrapper solid biały na mobile — ZAWSZE
     (nie tylko przy scroll ani nie tylko gdy menu otwarte).
     User: "nie miec przezroczystego menu na mobile". */
  html body header.default13,
  html body header.default13.ap-header,
  html body header.default13.ap-header--scrolled,
  html body.page-index header.default13,
  html body.page-index header.default13.ap-header--scrolled {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  html body header.default13 .menu-wrapper,
  html body header.default13 .bgd-color-light.menu-wrapper,
  html body header.default13 .menu-wrapper.clean,
  html body.page-index header.default13 .menu-wrapper {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  }

  /* Logo chip redundantny na białym tle — ukryj karteczkę na mobile */
  html body header.default13 .navbar-brand,
  html body header.default13 .logo.navbar-brand {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}



/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-05-04 v1.9.0 — Feedback Ewa 2026-04-26
   - DRONE VIDEO sekcja (osadzony YouTube embed pod hero)
   - MODERN GALLERY placeholder + auto-pull layout
   - Badge "DOSTĘPNY NIEBAWEM" dark variant dla 4. apartamentu
   - Mobile: REZERWACJA ONLINE → REZERWUJ (CSS content swap)
   - Mobile: hamburger MENU button visibility fix
   - Mobile: hero booking form fully visible (fullpage destroy fallback)
   - Typography bump: ap-narrative p, ap-about p (User: nadal za mała)
   - Subpages /txt/* p font scale-up
   - Unified green w final-cta — wszystkie strony jednolite
   ═══════════════════════════════════════════════════════════════ */

/* ── (1) DRONE VIDEO SECTION ─────────────────────────────────── */
.ap-video {
  background: var(--ap-cream, #FAF7F2);
  padding: clamp(56px, 8vw, 96px) 24px;
}
.ap-video__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ap-video__header {
  text-align: center;
  margin-bottom: 36px;
}
.ap-video__header h2 {
  font-family: var(--ido-font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 14px 0 12px;
  color: var(--ap-dark, #1F2A22);
  font-weight: 400;
  line-height: 1.15;
}
.ap-video__header h2 em {
  font-style: italic;
  color: var(--ido-primary);
}
.ap-video__frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  background: #000;
}
.ap-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 600px) {
  .ap-video {
    padding: 48px 16px;
  }
  .ap-video__frame {
    border-radius: 8px;
  }
}

/* ── (2) MODERN GALLERY PLACEHOLDER ──────────────────────────── */
.ap-gallery-placeholder {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ap-bg-cream, #FAF7F2) 0%, var(--ap-blush, #E8D4C4) 100%) !important;
  min-height: 320px;
  border: 2px dashed rgba(47, 74, 58, 0.25);
  border-radius: 12px;
  overflow: hidden;
}
.ap-gallery-placeholder__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--ido-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--ido-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(47, 74, 58, 0.22);
}
.ap-gallery-placeholder__icon {
  color: rgba(47, 74, 58, 0.4);
  width: 80px;
  height: 80px;
}
.ap-gallery-placeholder__icon svg {
  width: 100%;
  height: 100%;
}

/* ── (3) BADGE "DOSTĘPNY NIEBAWEM" — dark variant ────────────── */
html body .ap-offer-card__badge.ap-offer-card__badge--soon,
html body .ap-offer-card__badge--soon {
  background: var(--ap-dark, #1F2A22) !important;
  color: #fff !important;
  letter-spacing: 1.2px !important;
}

/* ── (4) MOBILE BUTTON TEXT — REZERWACJA ONLINE → REZERWUJ ───── */
@media (max-width: 600px) {
  .navbar-reservation,
  header .btn-reservation,
  .menu-wrapper a[href*="offers"].btn,
  .menu-wrapper .navbar-reservation {
    font-size: 0 !important;
  }
  .navbar-reservation::before,
  header .btn-reservation::before,
  .menu-wrapper a[href*="offers"].btn::before,
  .menu-wrapper .navbar-reservation::before {
    content: "REZERWUJ" !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
  }
  html[lang="en"] .navbar-reservation::before,
  html[lang="en"] header .btn-reservation::before,
  body[class*="lang-en"] .navbar-reservation::before {
    content: "BOOK" !important;
  }
}

/* ── (5) MOBILE HAMBURGER BUTTON VISIBILITY ──────────────────── */
@media (max-width: 991.98px) {
  html body header.default13 .navbar-toggler,
  html body header.default13 button.navbar-toggler {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid var(--ido-primary, #2F4A3A) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--ido-primary, #2F4A3A) !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 100 !important;
  }
  html body header.default13 .navbar-toggler::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 14px !important;
    background:
      linear-gradient(to bottom, currentColor 2px, transparent 2px) top/100% 6px no-repeat,
      linear-gradient(to bottom, currentColor 2px, transparent 2px) center/100% 6px no-repeat,
      linear-gradient(to bottom, currentColor 2px, transparent 2px) bottom/100% 6px no-repeat !important;
  }
  html body header.default13 .navbar-toggler .icon,
  html body header.default13 .navbar-toggler i,
  html body header.default13 .navbar-toggler .navbar-toggler-icon {
    display: none !important;
  }

  html body header.default13 .menu-wrapper,
  html body header.default13 .container,
  html body header.default13 nav.navbar {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 480px) {
  html body header.default13 .navbar-reservation {
    max-width: 100px !important;
    padding: 0 10px !important;
    margin-right: 8px !important;
  }
  html body header.default13 .navbar-brand,
  html body header.default13 .logo.navbar-brand {
    max-width: 130px !important;
  }
  html body header.default13 .navbar-brand img {
    max-height: 36px !important;
  }
}

/* ── (6) MOBILE: HERO BOOKING FORM — fullpage.js destroy fallback ── */
@media (max-width: 767.98px) {
  html body.page-index .fullpage-wrapper,
  html body.page-index #fullpage,
  html body.page-index #superContainer {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
    transition: none !important;
  }
  html body.page-index .section.fp-section,
  html body.page-index .section.parallax {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
  }
  html body.page-index .fp-tableCell {
    height: auto !important;
    display: block !important;
    overflow: visible !important;
  }
  html body.page-index #fp-nav,
  html body.page-index .fp-slidesNav {
    display: none !important;
  }
  html body.page-index .ap-hero__search-card,
  html body.page-index #ap-search {
    margin-bottom: 32px !important;
  }
}

/* ── (7) TYPOGRAPHY BUMP — narrative + about ──────────────────── */
html body .ap-narrative__text p,
html body .ap-narrative p:not(.price):not(.meta):not(small) {
  font-size: 18px !important;
  line-height: 1.75 !important;
}
html body .ap-about__text p,
html body .ap-about p:not(.price):not(.meta):not(small) {
  font-size: 18px !important;
  line-height: 1.75 !important;
}

html body.page-txt .ap-narrative p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small),
html body.page-txt .ap-about p:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small) {
  font-size: 18px !important;
  line-height: 1.75 !important;
}

html body.page-txt .ap-attraction-card__desc:not(.ap-offer-card__price):not(.ap-offer-card__meta):not(small) {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* ── (8) UNIFIED GREEN w final-cta (wszystkie strony) ──────── */
html body .ap-final-cta .ap-kicker {
  color: #ffffff !important;
}
html body .ap-final-cta h2 em {
  color: #ffffff !important;
  font-style: italic;
}
html body .ap-final-cta .ap-heading-rule {
  background: #ffffff !important;
}
html body .ap-final-cta .ap-hero__cta {
  background: #ffffff !important;
  color: var(--ap-dark, #1F2A22) !important;
}
html body .ap-final-cta .ap-hero__cta:hover {
  background: var(--ap-cream, #FAF7F2) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
html body .ap-final-cta p {
  color: rgba(255, 255, 255, 0.9) !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-05-13 v1.9.1 — Mobile UX/A11y Advanced
   FAILS resolved (TDD baseline):
   - T2b: search nakłada się na .ap-about o 119px na iPhone 12
   - T2c: search wystaje 237px poniżej fold (user nie widzi submit)
   - T10: 2/6 flatpickr alt-inputs bez aria-label
   ROOT CAUSE:
   .ap-hero-wrap to position:absolute + height:100vh (844px na iPhone),
   ale .ap-hero__grid (text + 615px search card) ma 1013px — overflowuje
   poza absolutną hero-wrap i wjeżdża wizualnie na .ap-about (która jest
   w normal flow zaraz po .section.parallax 932px).
   FIX:
   1. Na ≤767px hero-wrap → position:relative + height:auto + min-height:100vh
      → expanduje .section.parallax → ap-about przesuwa się poniżej.
   2. Search card kompaktowy (padding/gap/fonts) → mieści się + jest above fold.
   3. JS w body_bottom: aria-label patcher dla flatpickr-alt-input (T10).
   ═══════════════════════════════════════════════════════════════ */

/* ── (9) MOBILE HERO LAYOUT REWORK ─────────────────────────────
   SPECIFICITY WAR: w custom.css istnieje
   .ap-hero__search-card .ap-search--vertical .ap-search__field { min-height: 82px !important; padding: 16px 18px !important; }
   (specificity 0,3,3 = 33). Mój §9 musi używać selektora ≥33 z !important
   i być DEKLAROWANY PÓŹNIEJ niż custom.css. TRAP #31 — dokumentowany w
   docs/KNOWN-FIXES.md.
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  /* Hero wrap — celuj w .ap-hero-wrap--split (już w custom.css jest min-height/height auto + padding 96px) */
  html body .ap-hero-wrap--split,
  html body.page-index .ap-hero-wrap--split,
  html body .section.parallax .ap-hero-wrap--split {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(100vh - 88px) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 24px 14px 32px !important;     /* override existing 96px top */
    overflow: visible !important;
    z-index: 11;
  }

  /* Section parallax: pozwól expandować na content (fullpage destroy) */
  html body.page-index .section.parallax,
  html body .section.parallax {
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    padding-top: 88px !important;
  }
  html body.page-index .section.parallax .fp-tableCell,
  html body .section.parallax .fp-tableCell {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  /* Hero grid → single column. SEARCH FIRST, TEXT BELOW (UX Booking/Airbnb) */
  html body .ap-hero-wrap--split .ap-hero__grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    align-items: stretch !important;
  }
  /* Order swap: search-card pierwszy (above fold), hero-text drugi */
  html body .ap-hero-wrap--split .ap-hero__grid .ap-hero__search-card,
  html body .ap-hero-wrap--split .ap-hero__grid #ap-search { order: 1 !important; }
  html body .ap-hero-wrap--split .ap-hero__grid .ap-hero__text { order: 2 !important; }

  /* Hero text — compact */
  html body .ap-hero-wrap--split .ap-hero__text {
    width: 100% !important; padding: 0 4px !important; text-align: center !important;
  }
  html body .ap-hero-wrap--split .ap-hero__kicker {
    font-size: 11px !important; letter-spacing: 2px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__title {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem) !important;
    line-height: 1.12 !important; margin: 6px 0 8px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__title em {
    font-size: inherit !important;
  }
  html body .ap-hero-wrap--split .ap-hero__lead {
    font-size: 0.9rem !important; line-height: 1.5 !important; margin: 4px 0 6px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__quick-facts {
    flex-wrap: wrap !important; justify-content: center !important;
    gap: 6px 12px !important; font-size: 11px !important; margin: 0 !important;
  }

  /* Search card — kompakt + override existing padding 14/24 */
  html body .ap-hero-wrap--split .ap-hero__search-card,
  html body .ap-hero-wrap--split #ap-search {
    width: 100% !important; max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 14px 16px !important;
    border-radius: 14px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-header {
    margin-bottom: 8px !important; padding-bottom: 6px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-title {
    font-size: 1.05rem !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-sub {
    font-size: 0.73rem !important;
  }
  html body .ap-hero-wrap--split .ap-search.ap-search--vertical {
    gap: 6px !important; padding: 0 !important;
  }
  /* KRYTYCZNE: pokonaj .ap-hero__search-card .ap-search--vertical .ap-search__field
     { min-height: 82px !important; padding: 16px 18px !important } z custom.css.
     Selector: html body .ap-hero-wrap--split .ap-hero__search-card .ap-search--vertical .ap-search__field
     specificity = 0,5,5 = 55 → wins. */
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search--vertical .ap-search__field,
  html body .ap-hero-wrap--split #ap-search .ap-search--vertical .ap-search__field {
    margin: 0 !important;
    padding: 6px 12px 7px !important;
    min-height: 46px !important;
    border-radius: 8px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__label,
  html body .ap-hero-wrap--split #ap-search .ap-search__label {
    font-size: 10px !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__input,
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__select,
  html body .ap-hero-wrap--split #ap-search .ap-search__input,
  html body .ap-hero-wrap--split #ap-search .ap-search__select {
    font-size: 14px !important;
    padding: 1px 0 !important;
    line-height: 1.25 !important;
    min-height: 22px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__submit,
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__submit--full,
  html body .ap-hero-wrap--split #ap-search .ap-search__submit {
    margin-top: 4px !important;
    padding: 12px 18px !important;
    min-height: 46px !important;
    font-size: 13px !important;
    letter-spacing: 1.2px !important;
    width: 100% !important;
  }
}

/* ── (9b) Mid phones / iPhone SE (≤400px) ──────────────────────── */
@media (max-width: 400px) {
  html body .ap-hero-wrap--split { padding: 16px 12px 24px !important; }
  html body .ap-hero-wrap--split .ap-hero__title { font-size: clamp(1.5rem, 7vw, 1.9rem) !important; }
  /* Ukryj decoracyjny header search-card — zostaje tylko form. Oszczędza ~46px. */
  html body .ap-hero-wrap--split .ap-hero__search-header { display: none !important; }
  html body .ap-hero-wrap--split .ap-hero__search-card,
  html body .ap-hero-wrap--split #ap-search { padding: 12px 12px 14px !important; }
  html body .ap-hero-wrap--split .ap-search.ap-search--vertical { gap: 5px !important; }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search--vertical .ap-search__field,
  html body .ap-hero-wrap--split #ap-search .ap-search--vertical .ap-search__field {
    padding: 5px 12px 6px !important; min-height: 44px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__label,
  html body .ap-hero-wrap--split #ap-search .ap-search__label {
    font-size: 9.5px !important; line-height: 1.15 !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__input,
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__select,
  html body .ap-hero-wrap--split #ap-search .ap-search__input,
  html body .ap-hero-wrap--split #ap-search .ap-search__select {
    font-size: 14px !important; min-height: 20px !important;
  }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search__submit,
  html body .ap-hero-wrap--split #ap-search .ap-search__submit {
    padding: 11px 16px !important; min-height: 44px !important; font-size: 12.5px !important;
  }
}

/* ── (9b-2) Smallest phones / Galaxy S20 (≤360px) ──────────────── */
@media (max-width: 360px) {
  html body .ap-hero-wrap--split { padding: 12px 10px 20px !important; }
  html body .ap-hero-wrap--split .ap-hero__search-card,
  html body .ap-hero-wrap--split #ap-search { padding: 10px 10px 12px !important; }
  html body .ap-hero-wrap--split .ap-hero__search-card .ap-search--vertical .ap-search__field,
  html body .ap-hero-wrap--split #ap-search .ap-search--vertical .ap-search__field {
    padding: 4px 10px 5px !important; min-height: 42px !important;
  }
}

/* ── (9c) Landscape phones — odzyskaj horizontal space ────────── */
@media (max-width: 767.98px) and (orientation: landscape) {
  html body .ap-hero-wrap {
    padding-top: 16px !important;
    min-height: 100vh !important;
  }
  html body .ap-hero__title {
    font-size: clamp(1.6rem, 5vw, 2rem) !important;
  }
  html body .ap-hero__quick-facts {
    margin-bottom: 4px !important;
  }
}

/* ── (9c-2) REZERWUJ button — text swap z higher specificity (fix v1.9.0 §4 conflict) ─── */
@media (max-width: 600px) {
  html body header.default13 .navbar-reservation,
  html body header .navbar-reservation,
  html body .menu-wrapper .navbar-reservation,
  html body .menu-wrapper a[href*="offers"].btn {
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
    text-indent: -9999px !important;          /* dla pewności — ukryj jakkolwiek */
  }
  html body header.default13 .navbar-reservation::before,
  html body header .navbar-reservation::before,
  html body .menu-wrapper .navbar-reservation::before,
  html body .menu-wrapper a[href*="offers"].btn::before {
    content: "REZERWUJ" !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    color: #fff !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    display: inline-block !important;
  }
  html[lang="en"] body header .navbar-reservation::before,
  html body[class*="lang-en"] header .navbar-reservation::before {
    content: "BOOK" !important;
  }
}

/* ── (9d) A11y: focus-visible enhanced on mobile ──────────────── */
@media (max-width: 991.98px) {
  html body .ap-search__input:focus-visible,
  html body .ap-search__select:focus-visible,
  html body .ap-search__field:focus-within {
    outline: 2px solid var(--ido-primary, #2F4A3A) !important;
    outline-offset: 2px !important;
  }
  html body .ap-search__submit:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 6px var(--ido-primary, #2F4A3A) !important;
  }
  html body .navbar-toggler:focus-visible {
    outline: 3px solid var(--ido-primary, #2F4A3A) !important;
    outline-offset: 2px !important;
  }
  html body .navbar-reservation:focus-visible,
  html body header a:focus-visible {
    outline: 3px solid var(--ido-primary, #2F4A3A) !important;
    outline-offset: 2px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-05-13 v1.9.2 — Kontakt + Galeria fixes
   - Hide "STUDIO" location name above address on /contact page
     (system pokazuje nazwę lokalizacji nad adresem — niepotrzebne)
   - Same hide on Leaflet map popup
   Source: user feedback 2026-05-13: "nad adresem pojawia się STUDIO
   (to samo ma mapce poniżej). Czy można to usunąć?"
   ROOT CAUSE: każdy apartament w panelu = osobna lokalizacja
   (efekt funkcji "osobna instrukcja dojazdu per apartament").
   System renderuje nazwę lokalizacji wszędzie gdzie pokazuje dane.
   ═══════════════════════════════════════════════════════════════ */

/* ── (10a) Kontakt — ukryj nazwę lokalizacji nad adresem ──────── */
body.page-contact .contact__item > div > strong.d-block:first-child,
body.page-contact .contact__item strong.d-block:first-of-type {
  display: none !important;
}

/* ── (10b) Leaflet popup — ukryj nazwę lokalizacji ────────────── */
body.page-contact .leaflet-popup-content strong,
body.page-contact .leaflet-popup-content-wrapper strong,
body.page-contact .leaflet-popup strong {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   PATCH 2026-05-22 v1.10.0 — Kontakt duplikaty + Mobile hero CTA
   1) /contact: ukryj 2 z 3 wpisów lokalizacji (panel ma 3 osobne
      lokalizacje — po jednej per apartament — wszystkie pod tym samym
      adresem Kościuszki 1). Zostaje tylko pierwszy item (Studio),
      a jego "Studio" header już ukryty przez §(10a).
   2) /contact: ukryj 2 z 3 markerów na mapie (Leaflet) — wszystkie
      siedzą w tym samym punkcie (lat 52.53069 lng 17.604303) z lekkim
      jitterem pikselowym, więc wizualnie wyglądają jak 3 nakładające
      się piny.
   3) Mobile hero (≤991px): ukryj search-card, pokaż przycisk
      "Sprawdź dostępność" otwierający systemowy widget IdoBooking
      (zachowanie zgodne z oryginalnym szablonem default13).
   Source: feedback klienta 2026-05-22.
   ═══════════════════════════════════════════════════════════════ */

/* ── (11a) /contact — zostaw tylko jedną lokalizację ──────────── */
body.page-contact .contact__locations .contact__item:nth-child(n+2) {
  display: none !important;
}

/* ── (11b) /contact — ukryj duplikaty markerów na mapie ───────── */
body.page-contact .leaflet-marker-pane .leaflet-marker-icon:not(:first-of-type),
body.page-contact .leaflet-shadow-pane .leaflet-marker-shadow:not(:first-of-type) {
  display: none !important;
}

/* ── (12a) Mobile hero — domyślnie ukryj CTA na desktop ───────── */
.ap-hero__mobile-cta {
  display: none;
}

/* ── (12b) Mobile hero ≤991px — ukryj search-card, pokaż CTA ──── */
@media (max-width: 991.98px) {
  html body .ap-hero-wrap--split .ap-hero__search-card,
  html body .ap-hero-wrap--split #ap-search {
    display: none !important;
  }
  html body .ap-hero-wrap--split .ap-hero__grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  html body .ap-hero-wrap--split .ap-hero__mobile-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 28px;
    min-height: 52px;
    background: var(--ido-primary, #2F4A3A);
    color: #fff !important;
    font-family: var(--ido-font-body, inherit);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(47, 74, 58, 0.18);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
  }
  html body .ap-hero-wrap--split .ap-hero__mobile-cta:hover,
  html body .ap-hero-wrap--split .ap-hero__mobile-cta:focus-visible {
    background: var(--ido-secondary, #5D7A55);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(47, 74, 58, 0.24);
  }
  html body .ap-hero-wrap--split .ap-hero__mobile-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
  html body .ap-hero-wrap--split .ap-hero__mobile-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
  }
}

/* ── (12c) Mobile małe (≤400px) — kompaktowy CTA ──────────────── */
@media (max-width: 400px) {
  html body .ap-hero-wrap--split .ap-hero__mobile-cta {
    width: 100%;
    margin-top: 18px;
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: 1px;
    align-self: stretch;
  }
}


/* ═══════════════════════════════════════════════════════════════
   END OF AP L3 THEME
   ═══════════════════════════════════════════════════════════════ */
