/* ═══════════════════════════════════════════════════════════════
   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 #2A2829 and
   #8C7B6B 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 semi-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 — MIA ma własny `.mi-search`.
   ═══════════════════════════════════════════════════════════════ */
body.page-index .index-info,
body.mi-homepage .index-info,
body.page-index #iai_book_se,
body.mi-homepage #iai_book_se,
body.page-index #iai_book_form,
body.mi-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 #2A2829 and #8C7B6B. */
.formbutton,
#iai_book_form .formbutton {
  background: #2A2829 !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: #8C7B6B !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:
     #2A2829   → client primary color hex (e.g. #4A6741)
     #8C7B6B → 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: #2A2829 !important;
  background: #2A2829 !important;
  left: auto !important;
  right: 32px !important;
  transform: none !important;
  margin-left: 0 !important;
}

/* Back-to-top button */
#backTop {
  background: #2A2829 !important;
}
#backTop:hover {
  background: #8C7B6B !important;
}

/* Cookie consent banner */
.ck_dsclr__btn_v2 {
  background: #2A2829 !important;
}
.ck_dsclr__btn_v2:hover {
  background: #8C7B6B !important;
}
.ck_dsclr_v2 a {
  color: #2A2829 !important;
}
.ck_dsclr_x_v2 {
  color: #2A2829 !important;
}

/* Skip-to-content accessibility link */
.skip_link {
  background: #2A2829 !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;
  }
}
/* ═══════════════════════════════════════════════════════════════
   MIA APART — Layer 3 (Client Theme)
   Brand: MIA Apart — Apartamenty w Trzech Lokalizacjach
   Client ID: mia | Template: default13
   Palette: Warm Charcoal + Bronze (dark elegance + warm accents)
   Fonts: Playfair Display (headings) + Inter (body)
   Prefix: mi-
   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: mi-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 mi-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 --- */
.mi-about__img,
.mi-location__img,
.mi-banner-image,
.mi-zoomable {
  cursor: zoom-in !important;
}
.mi-about__img img,
.mi-location__img img,
.mi-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 .mi-offers-intro:first-child,
body.page-txt > section:first-of-type {
  padding-top: 100px !important;
}


/* --- TRAP CRITICAL-OO: STRONGER HERO SUBTITLE --- */
body.page-index .mi-hero__subtitle,
.mi-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 --- */
.mi-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
.mi-lightbox.mi-lightbox--open {
  display: flex;
  animation: mi-lightbox-in 0.3s ease;
}
@keyframes mi-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mi-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;
}
.mi-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mi-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);
}
.mi-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;
}
.mi-lightbox__close,
.mi-lightbox__prev,
.mi-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);
}
.mi-lightbox__close { top: 24px; right: 24px; font-size: 28px; }
.mi-lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 42px; }
.mi-lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 42px; }
.mi-lightbox__close:hover,
.mi-lightbox__prev:hover,
.mi-lightbox__next:hover {
  background: var(--mi-accent, #C4A97D);
  border-color: var(--mi-accent, #C4A97D);
}
@media (max-width: 768px) {
  .mi-lightbox__close { top: 12px; right: 12px; }
  .mi-lightbox__prev { left: 8px; }
  .mi-lightbox__next { right: 8px; }
  .mi-lightbox__prev, .mi-lightbox__next { width: 42px; height: 42px; font-size: 32px; }
}
.mi-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.mi-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.mi-homepage .section.fp-auto-height,
body.mi-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.mi-header--scrolled,
body .defaultsb.mi-header--scrolled,
body header.default13.mi-header--scrolled .menu-wrapper,
body .defaultsb.mi-header--scrolled .menu-wrapper,
body header.default13.mi-header--scrolled .bgd-color-light,
body.mi-homepage header.mi-header--scrolled,
body.mi-homepage header.mi-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.mi-empty,
body.page-contact .contact__email.mi-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, #2A2829) !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, #8C7B6B) !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.mi-header--scrolled .menu-wrapper,
header.mi-header--scrolled .menu-wrapper .container {
  max-height: 66px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
header.mi-header--scrolled .navbar-brand,
header.mi-header--scrolled .navbar-brand img,
header.mi-header--scrolled .menu-wrapper .navbar-brand img,
header.mi-header--scrolled .logo img,
header.mi-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(--mi-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(--mi-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.mi-homepage header .menu-wrapper,
body.mi-homepage header .bgd-color-light,
body.home header .menu-wrapper,
body.frontpage header .menu-wrapper,
html.mi-homepage body header .menu-wrapper,
html.mi-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.mi-header--scrolled .menu-wrapper,
body.mi-homepage header.mi-header--scrolled .menu-wrapper,
body header.mi-header--scrolled .menu-wrapper,
body header.mi-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.mi-homepage header.default13,
body header.default13 {
  transition: none !important;
}
body:not(.page-index):not(.mi-homepage) header .menu-wrapper,
body:not(.page-index):not(.mi-homepage) header .bgd-color-light {
  background: rgba(250, 250, 248, 0.96) !important;
}
body.page-index header:not(.mi-header--scrolled) .language,
body.mi-homepage header:not(.mi-header--scrolled) .language {
  background: transparent !important;
}
body.page-index header:not(.mi-header--scrolled) select,
body.mi-homepage header:not(.mi-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 .mi-hero-wrap,
body.mi-homepage .section.parallax .mi-hero-wrap,
.section.parallax .mi-hero-wrap,
.section.parallax .fp-tableCell .mi-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 .mi-hero-wrap > .mi-hero__content {
  flex: 1 !important;
  pointer-events: none !important;
}
.section.parallax .mi-hero-wrap > .mi-hero__search-bar {
  pointer-events: auto !important;
}


/* --- TRAP CRITICAL-V: FULLY TRANSPARENT HEADER (MULTI-FALLBACK) --- */
body.page-index header.default13:not(.mi-header--scrolled),
body.page-index .defaultsb:not(.mi-header--scrolled),
body.page-index #defaultsb:not(.mi-header--scrolled),
body.mi-homepage header.default13:not(.mi-header--scrolled),
body.mi-homepage .defaultsb:not(.mi-header--scrolled),
body.mi-homepage #defaultsb:not(.mi-header--scrolled),
body.home header.default13:not(.mi-header--scrolled),
body.frontpage header.default13:not(.mi-header--scrolled),
html.mi-homepage body header.default13:not(.mi-header--scrolled),
html.mi-homepage body .defaultsb:not(.mi-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(.mi-header--scrolled) a[href]:not(.logo):not([class*="logo"]):not([class*="btn"]),
body.page-index header:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.page-index .defaultsb:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.mi-homepage header:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.mi-homepage header.default13:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.mi-homepage .defaultsb:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.home header:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.frontpage header:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
html.mi-homepage body header:not(.mi-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(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]):hover {
  color: var(--mi-accent, #C4A97D) !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(.mi-header--scrolled) .logo,
body.page-index header:not(.mi-header--scrolled) .logo,
body.page-index header:not(.mi-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(.mi-header--scrolled) .navbar-reservation,
body.page-index header:not(.mi-header--scrolled) .reservation-btn,
body.page-index header:not(.mi-header--scrolled) [class*="reserv"] {
  background: var(--mi-accent, #C4A97D) !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.mi-header--scrolled a[href]:not(.logo):not([class*="btn"]),
body header.mi-header--scrolled a[href]:not(.logo):not([class*="btn"]),
body .defaultsb.mi-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(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.page-index header:not(.mi-header--scrolled) a[href]:not(.logo):not([class*="btn"]),
body.page-index .defaultsb:not(.mi-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(--mi-accent, #C4A97D) !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.mi-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. */
.mi-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 */
}

.mi-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;
}

.mi-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;
}
.mi-hero__search-bar .mi-search {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.mi-hero-wrap a,
.mi-hero-wrap button,
.mi-hero-wrap .mi-hero__cta,
.mi-hero-wrap .mi-hero__cta *,
.mi-hero-wrap .mi-hero__content a,
.mi-hero-wrap .mi-hero__content button {
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .mi-hero-wrap {
    height: 80vh;
    margin-top: calc(-80vh);
  }
  .mi-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 */
.mi-about,
.mi-features,
.mi-cities,
.mi-stats,
.mi-testimonials,
.mi-collab,
.mi-featured,
.mi-final-cta,
.mi-search-wrapper,
.mi-offers-intro,
.mi-faq,
.mi-gallery,
.mi-banner-image,
.mi-services,
.mi-location,
section.mi-full,
section[class*="mi-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;
}

.mi-about__split,
.mi-features__grid,
.mi-cities__grid,
.mi-stats__grid,
.mi-testimonials__grid,
.mi-featured__header,
.mi-apartments__grid,
.mi-collab__inner,
.mi-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 *,
.mi-hero__cta,
.mi-search, .mi-search *,
.mi-search__field, .mi-search__input, .mi-search__select,
.mi-search__submit, .mi-search__label,
.mi-offer-card, .mi-offer-card *, .mi-offer-card__cta,
.mi-feature, .mi-city-card,
.mi-collab__cta,
.mi-final-cta__contacts, .mi-final-cta__contacts a,
.mi-about, .mi-about *,
.mi-features, .mi-features *,
.mi-cities, .mi-cities *,
.mi-testimonials, .mi-testimonials *,
.mi-collab, .mi-collab *,
.mi-featured, .mi-featured *,
.mi-final-cta, .mi-final-cta *,
.mi-faq, .mi-faq *,
.index-info .mi-hero__cta,
.index-info .mi-search, .index-info .mi-search *,
.index-info .mi-offer-card, .index-info .mi-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 --- */
.mi-search__input[type="date"],
.mi-search__input[type="time"],
.mi-search__input[type="datetime-local"] {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  cursor: pointer !important;
  min-height: 22px;
  padding-right: 0 !important;
}
.mi-search__input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
  filter: invert(0);
  margin-left: 4px;
}
.mi-search__input.flatpickr-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
}


/* --- TRAP E: SEARCH WIDGET INSIDE HERO-WRAP (legacy fallback) --- */
.mi-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;
}
.mi-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.mi-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(.mi-header--scrolled),
body.page-index .defaultsb:not(.mi-header--scrolled),
body.page-index #defaultsb:not(.mi-header--scrolled),
.page-index header.default13:not(.mi-header--scrolled),
.page-index .defaultsb:not(.mi-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(.mi-header--scrolled) nav a,
body.page-index header.default13:not(.mi-header--scrolled) .menu a,
body.page-index .defaultsb:not(.mi-header--scrolled) nav a,
body.page-index .defaultsb:not(.mi-header--scrolled) .menu a {
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
body.page-index header.default13:not(.mi-header--scrolled) nav a::after,
body.page-index .defaultsb:not(.mi-header--scrolled) nav a::after {
  background: #fff !important;
}
body.page-index header.default13:not(.mi-header--scrolled) .logo img,
body.page-index .defaultsb:not(.mi-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(.mi-header--scrolled) .navbar-reservation,
body.page-index header.default13:not(.mi-header--scrolled) .reservation-btn {
  background: var(--mi-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 mi-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: mi-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: mi-ken-burns-img 20s ease-in-out infinite alternate !important;
  transform-origin: center center;
}
.parallax-slider[style*="background"],
.parallax-image[style*="background"] {
  animation: mi-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;
}
.mi-search__input[readonly],
.mi-search__input.flatpickr-alt-input,
.flatpickr-alt-input.mi-search__input,
.mi-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;
}
.mi-search__input[readonly]:hover,
.mi-search__input[readonly]:focus,
.mi-search__input.flatpickr-alt-input:hover,
.mi-search__input.flatpickr-alt-input:focus {
  background: transparent !important;
  color: var(--mi-accent, #C4A97D) !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.mi-header--scrolled nav a,
body header.default13.mi-header--scrolled .menu a,
body header.default13.mi-header--scrolled ul li a,
body .defaultsb.mi-header--scrolled nav a,
body .defaultsb.mi-header--scrolled ul li a,
body.page-index header.default13.mi-header--scrolled nav a,
body.page-index .defaultsb.mi-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(--mi-accent, #C4A97D) !important;
}
body header.default13 nav a.active,
body header.default13 nav li.active a,
body header.default13 .menu a.active {
  color: var(--mi-accent, #C4A97D) !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 mi-* components
   unless a more specific rule overrides.
   ═══════════════════════════════════════════════════════════════ */
[class*="mi-"] svg:not(.mi-lightbox svg) {
  max-width: 64px;
  max-height: 64px;
}
.mi-faq__chevron,
.mi-testimonial__stars svg,
.mi-offer-card__meta-item svg,
.mi-final-cta__contacts svg,
.mi-city-card svg,
.mi-hero__search-bar svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
}
.mi-feature__icon {
  width: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.mi-feature__icon svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 56px !important;
  max-height: 56px !important;
}
.mi-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:   #2A2829;
  --ido-secondary: #8C7B6B;
  --ido-accent:    #C4A97D;
  --ido-bg:        #FAFAF8;
  --ido-dark:      #1A1A1A;
  --ido-light:     #F5F2EE;

  /* Extended palette (MI-specific) */
  --mi-primary:    #2A2829;
  --mi-secondary:  #8C7B6B;
  --mi-accent:     #C4A97D;
  --mi-bg:         #FAFAF8;
  --mi-dark:       #1A1A1A;
  --mi-light:      #F5F2EE;
  --mi-text:       #3A3A3A;
  --mi-muted:      #8A8A8A;
  --mi-border:     rgba(140, 123, 107, 0.15);
  --mi-shadow-sm:  0 2px 8px rgba(42, 40, 41, 0.06);
  --mi-shadow-md:  0 8px 24px rgba(42, 40, 41, 0.10);
  --mi-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;
  --mi-header-h-scrolled: 66px;

  /* Transitions */
  --mi-ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --mi-ease-lux:   cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* ═══════════════════════════════════════════════════════════════
   §2 — HARDCODED SYSTEM ELEMENTS (CSS vars don't inherit)
   ═══════════════════════════════════════════════════════════════ */
#bounce {
  background: #2A2829 !important;
  background-color: #2A2829 !important;
  left: auto !important;
  right: 32px !important;
  transform: none !important;
  margin-left: 0 !important;
}
#backTop { background: #2A2829 !important; }
#backTop:hover { background: #8C7B6B !important; }
.ck_dsclr__btn_v2 { background: #2A2829 !important; }
.ck_dsclr__btn_v2:hover { background: #8C7B6B !important; }
.ck_dsclr_v2 a { color: #2A2829 !important; }
.ck_dsclr_x_v2 { color: #2A2829 !important; }
.skip_link { background: #2A2829 !important; color: #fff !important; }

.formbutton,
#iai_book_form .formbutton {
  background: #2A2829 !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: #8C7B6B !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(--mi-muted);
  line-height: 1.75;
  font-weight: 400;
}

.mi-heading-rule {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: var(--mi-accent);
  margin: 16px 0 24px;
  position: relative;
}
.mi-heading-rule::before,
.mi-heading-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--mi-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
.mi-heading-rule::before { left: -12px; }
.mi-heading-rule::after  { right: -12px; }

.mi-kicker {
  font-family: var(--ido-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mi-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(--mi-border) !important;
  transition: height 0.3s var(--mi-ease), background 0.3s var(--mi-ease), box-shadow 0.3s var(--mi-ease) !important;
  box-shadow: 0 1px 0 rgba(42, 40, 41, 0.04) !important;
}
header.default13.mi-header--scrolled,
.defaultsb.mi-header--scrolled {
  height: var(--mi-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(--mi-ease) !important;
}
header.mi-header--scrolled .logo img, .mi-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(--mi-ease) !important;
}
header nav a::after, header.default13 nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--mi-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--mi-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(--mi-accent) !important;
}
header .reservation-btn, header .btn-reservation, .navbar-reservation {
  background: var(--mi-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(--mi-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 (MIA Apart)
   ═══════════════════════════════════════════════════════════════ */
.ido-hero::before, .mi-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, .mi-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;
}
.mi-hero__title em {
  font-style: italic;
  color: var(--mi-accent, #C4A97D) !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, .mi-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;
}

.mi-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--mi-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(--mi-ease-lux);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.mi-hero__cta:hover {
  background: var(--ido-secondary);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.mi-hero__cta::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.3s var(--mi-ease);
}
.mi-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 */
.mi-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;
}
.mi-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(--mi-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 */
}
.mi-search__field:last-of-type { border-right: none; }
.mi-search__field:hover { background: rgba(255, 255, 255, 0.06); }
.mi-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(--mi-accent, #C4A97D);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mi-search__input, .mi-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;
}
.mi-search__input::placeholder { color: rgba(255, 255, 255, 0.5); opacity: 1; }
.mi-search__select option { color: #1A1A1A; background: #fff; }
.mi-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(--mi-accent);
  border-bottom: 2px solid var(--mi-accent);
  pointer-events: none;
  transition: transform 0.2s ease;
}
/* Rotate chevron UP gdy dropdown otwarty */
.mi-search__field--select.mi-dropdown-enhanced:has(.mi-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.
   ═══════════════════════════════════════════════════════════════ */
.mi-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;
}
.mi-dropdown__trigger:focus-visible {
  outline: 2px solid var(--mi-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.mi-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;
}
.mi-dropdown__list.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mi-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;
}
.mi-dropdown__option + .mi-dropdown__option {
  margin-top: 2px;
}
.mi-dropdown__option:hover,
.mi-dropdown__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}
.mi-dropdown__option.is-selected {
  background: var(--mi-accent, #C4A97D);
  color: #fff;
  font-weight: 600;
}
.mi-dropdown__option.is-selected:hover,
.mi-dropdown__option.is-selected:focus-visible {
  background: var(--ido-secondary, #8C7B6B);
}

/* Scrollbar styling dla dropdown list */
.mi-dropdown__list::-webkit-scrollbar { width: 4px; }
.mi-dropdown__list::-webkit-scrollbar-track { background: transparent; }
.mi-dropdown__list::-webkit-scrollbar-thumb {
  background: rgba(196, 169, 125, 0.4);
  border-radius: 2px;
}
.mi-search__submit {
  background: var(--mi-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(--mi-ease), letter-spacing 0.2s var(--mi-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;
}
.mi-search__submit:hover { background: var(--ido-secondary); letter-spacing: 2.5px; }
.mi-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) {
  .mi-search {
    grid-template-columns: 1fr 1fr 1fr auto;  /* 3 fields + button, combine dates */
  }
  .mi-search__submit { min-width: 160px; padding: 0 28px; }
}
/* Tablet */
@media (max-width: 900px) {
  .mi-search {
    grid-template-columns: 1fr 1fr;
    margin: 0 16px;
    gap: 0;
  }
  .mi-search__field {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mi-search__field:nth-child(2n) { border-right: none !important; }
  .mi-search__submit { grid-column: 1 / -1; min-height: 56px; border-radius: 0 0 var(--ido-radius) var(--ido-radius); }
}
/* Mobile */
@media (max-width: 540px) {
  .mi-search { grid-template-columns: 1fr; margin: 0 12px; }
  .mi-search__field {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
  }
  .mi-search__submit { padding: 16px; font-size: 13px; }
}
/* Short viewport — MacBook 13" landscape etc. */
@media (max-height: 820px) {
  .mi-hero__content { gap: 12px; padding: 0 24px; }
  .mi-hero__title,
  h1.mi-hero__title {
    font-size: clamp(32px, 5vw, 56px) !important;  /* było 64-76px */
    margin: 0 !important;
  }
  .mi-hero-wrap { padding: 88px 0 16px; }
  .mi-search { padding: 4px; }
  .mi-search__field { padding: 8px 14px; min-height: 48px; }
  .mi-search__submit { min-height: 48px; min-width: 160px; padding: 0 28px; }
}


/* ═══════════════════════════════════════════════════════════════
   §7 — FEATURED OFFERS (custom cards from .container-hotspot)
   ═══════════════════════════════════════════════════════════════ */
.mi-featured {
  padding: 100px 24px;
  background: var(--ido-bg);
}
.mi-featured__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.mi-apartments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.mi-offer-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--mi-border);
  border-radius: var(--ido-radius);
  overflow: hidden;
  transition: all 0.5s var(--mi-ease-lux);
  display: flex;
  flex-direction: column;
}
.mi-offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mi-shadow-lg);
  border-color: var(--mi-accent);
}
.mi-offer-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
  background: var(--mi-light);
}
.mi-offer-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--mi-ease-lux);
}
.mi-offer-card:hover .mi-offer-card__img img { transform: scale(1.06); }
.mi-offer-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--mi-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 .mi-offer-card__img ma line-height:0 (reset baseline gap)
   → dziecko .mi-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. */
.mi-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;
}
.mi-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;
}
.mi-offer-card__body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.mi-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;
}
.mi-offer-card__desc {
  font-family: var(--ido-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mi-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mi-offer-card__meta {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--mi-border);
  border-bottom: 1px solid var(--mi-border);
  font-family: var(--ido-font-body);
  font-size: 13px;
  color: var(--mi-muted);
  font-weight: 500;
}
.mi-offer-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mi-offer-card__meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--mi-accent);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.mi-offer-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--mi-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(--mi-accent);
  border-radius: var(--ido-radius);
  margin-top: 6px;
  transition: all 0.3s var(--mi-ease);
  align-self: flex-start;
}
.mi-offer-card__cta:hover {
  background: var(--mi-accent);
  color: #fff;
  gap: 14px;
}
.mi-featured-fallback .mi-offer-card--static { display: none; }
@media (max-width: 640px) {
  .mi-apartments__grid { grid-template-columns: 1fr; gap: 24px; }
  .mi-offer-card__name { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   §8 — ABOUT / SPLIT SECTION
   ═══════════════════════════════════════════════════════════════ */
.mi-about {
  padding: 120px 24px;
  background: var(--ido-bg);
}
.mi-about__split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.mi-about__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--ido-radius);
  box-shadow: var(--mi-shadow-md);
}
.mi-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--mi-ease-lux);
}
.mi-about:hover .mi-about__img img { transform: scale(1.04); }
.mi-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;
}
.mi-about__text h2 { margin-bottom: 8px; }
.mi-about__text p { font-size: 16px; line-height: 1.85; margin-bottom: 20px; }
.mi-about__signature {
  font-family: var(--ido-font-heading);
  font-style: italic;
  font-size: 20px;
  color: var(--mi-accent);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--mi-border);
}
@media (max-width: 900px) {
  .mi-about__split { grid-template-columns: 1fr; gap: 40px; }
}


/* ═══════════════════════════════════════════════════════════════
   §9 — FEATURES GRID
   ═══════════════════════════════════════════════════════════════ */
.mi-features {
  padding: 120px 24px;
  background: #fff;
}
.mi-features__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.mi-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mi-border);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--mi-border);
}
.mi-feature {
  background: #fff;
  padding: 56px 40px;
  text-align: center;
  transition: all 0.4s var(--mi-ease);
  cursor: default;
}
.mi-feature:hover { background: var(--ido-bg); }
.mi-feature:hover .mi-feature__icon {
  transform: translateY(-4px) scale(1.05);
  color: var(--mi-accent);
}
.mi-feature__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: var(--mi-accent);
  margin-bottom: 24px;
  transition: all 0.4s var(--mi-ease-lux);
}
.mi-feature__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}
.mi-feature__title {
  font-family: var(--ido-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--ido-dark);
  margin: 0 0 12px;
}
.mi-feature__desc {
  font-family: var(--ido-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mi-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .mi-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mi-features__grid { grid-template-columns: 1fr; }
  .mi-feature { padding: 40px 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   §10 — GALLERY (bento-style photo grid)
   ═══════════════════════════════════════════════════════════════ */
.mi-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;
}
.mi-gallery__header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.mi-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.mi-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--ido-radius);
  cursor: zoom-in;
  background: var(--mi-light);
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.mi-gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}
.mi-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--mi-ease-lux);
}
.mi-gallery__item:hover img { transform: scale(1.06); }
.mi-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(--mi-ease);
  pointer-events: none;
}
.mi-gallery__item:hover::after { opacity: 1; }
.mi-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(--mi-ease-lux);
}
.mi-gallery__item:hover .mi-gallery__caption {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .mi-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 200px); }
  .mi-gallery__item--large { grid-column: span 2; grid-row: span 2; }
}


/* ═══════════════════════════════════════════════════════════════
   §11 — BANNER IMAGE (full-width photo divider with quote)
   ═══════════════════════════════════════════════════════════════ */
.mi-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;
}
.mi-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.mi-banner-image--parallax img {
  animation: mi-ken-burns 30s ease-in-out infinite alternate;
}
.mi-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);
}
.mi-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);
}
.mi-banner-image__quote em {
  color: var(--mi-accent, #C4A97D);
  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);
}
.mi-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) { .mi-banner-image { height: 320px; } }

/* ═══════════════════════════════════════════════════════════════
   §12 — FLATPICKR THEME (MIA bronze/cream)
   ═══════════════════════════════════════════════════════════════ */
.flatpickr-calendar {
  background: #fff !important;
  border: 1px solid var(--mi-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(--mi-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(--mi-light); }
.flatpickr-weekdays { height: 32px !important; background: transparent !important; border-bottom: 1px solid var(--mi-border); margin-bottom: 4px; }
.flatpickr-weekday {
  color: var(--mi-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(--mi-light) !important;
  color: var(--mi-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(--mi-accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}
.flatpickr-day.today {
  border: 1px solid var(--mi-accent) !important;
  background: transparent !important;
  color: var(--mi-accent) !important;
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus {
  background: var(--mi-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(--mi-accent) !important;
  fill: var(--mi-accent) !important;
  padding: 12px !important;
  top: 0 !important;
}
.flatpickr-prev-month svg, .flatpickr-next-month svg {
  fill: var(--mi-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(--mi-light) !important; }


/* ═══════════════════════════════════════════════════════════════
   §13 — STATS BAR (counter animation)
   ═══════════════════════════════════════════════════════════════ */
.mi-stats {
  padding: 80px 24px;
  background: var(--ido-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mi-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;
}
.mi-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.mi-stat {
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.mi-stat:last-child { border-right: none; }
.mi-stat__number {
  display: block;
  font-family: var(--ido-font-heading);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  color: var(--mi-accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.mi-stat__number sup { font-size: 0.5em; top: -0.8em; margin-left: 2px; }
.mi-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) {
  .mi-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .mi-stat { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 28px 12px; }
  .mi-stat:nth-child(2) { border-right: none; }
  .mi-stat:nth-last-child(-n+2) { border-bottom: none; }
}


/* ═══════════════════════════════════════════════════════════════
   §14 — CITIES SECTION (location cards)
   ═══════════════════════════════════════════════════════════════ */
.mi-cities {
  padding: 120px 24px;
  background: var(--mi-light);
  overflow: hidden;
}
.mi-cities__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.mi-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 */
.mi-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(--mi-ease-lux);
  text-decoration: none;
  color: inherit;
}
.mi-city-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.mi-city-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--mi-ease-lux);
}
.mi-city-card:hover .mi-city-card__img img { transform: scale(1.06); }
.mi-city-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--mi-accent);
  color: #fff;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 3px;
}
.mi-city-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  gap: 8px;
}
.mi-city-card__name {
  font-family: var(--ido-font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ido-dark);
  margin: 0;
}
.mi-city-card__desc {
  font-family: var(--ido-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mi-muted);
  margin: 0;
  flex: 1;
}
.mi-city-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mi-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  transition: color 0.2s;
}
.mi-city-card:hover .mi-city-card__cta { color: var(--ido-primary); }
.mi-city-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
@media (max-width: 768px) {
  .mi-cities__grid { grid-template-columns: 1fr; max-width: 480px; }
  .mi-city-card { aspect-ratio: 16/9; }
}


/* ═══════════════════════════════════════════════════════════════
   §15 — TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.mi-testimonials {
  padding: 120px 24px;
  background: #fff;
}
.mi-testimonials__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.mi-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.mi-testimonial {
  padding: 40px 32px;
  background: var(--ido-bg);
  border: 1px solid var(--mi-border);
  border-radius: var(--ido-radius);
  position: relative;
  transition: all 0.4s var(--mi-ease);
}
.mi-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--mi-shadow-md);
  border-color: var(--mi-accent);
}
.mi-testimonial__stars {
  display: flex !important;
  gap: 4px !important;
  color: var(--mi-accent);
  margin-bottom: 16px;
}
.mi-testimonial__stars svg {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  fill: var(--mi-accent, #C4A97D) !important;
  stroke: none !important;
  flex-shrink: 0;
}
.mi-testimonial__text {
  font-family: var(--ido-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--mi-text);
  font-style: italic;
  margin: 0 0 24px;
}
.mi-testimonial__author {
  font-family: var(--ido-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ido-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mi-testimonial__source {
  font-family: var(--ido-font-body);
  font-size: 12px;
  color: var(--mi-muted);
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   §16 — FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.mi-faq {
  padding: 120px 24px;
  background: var(--mi-light);
}
.mi-faq__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.mi-faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.mi-faq__item {
  border-bottom: 1px solid var(--mi-border);
}
.mi-faq__item:first-child { border-top: 1px solid var(--mi-border); }
.mi-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;
}
.mi-faq__question:hover { color: var(--mi-accent); }
.mi-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;
}
.mi-faq__question[aria-expanded="true"] .mi-faq__chevron {
  transform: rotate(180deg);
}
/* ::after DISABLED — HTML has inline SVG .mi-faq__chevron instead */
.mi-faq__question::after {
  content: none !important;
  display: none !important;
}
.mi-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. */
.mi-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(--mi-text);
  opacity: 0.95;
}
.mi-faq__answer p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
}
.mi-faq__answer p:last-child { margin-bottom: 0; }
.mi-faq__question[aria-expanded="true"] + .mi-faq__answer { display: block; }

/* ═══════════════════════════════════════════════════════════════
   §17 — CTA + COLLABORATION
   ═══════════════════════════════════════════════════════════════ */
.mi-collab {
  padding: 120px 24px;
  background: var(--ido-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mi-collab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 169, 125, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.mi-collab__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.mi-collab .mi-kicker { color: var(--mi-accent); }
.mi-collab h2 {
  color: #fff !important;
  font-size: clamp(30px, 3.8vw, 48px) !important;
  margin-bottom: 20px;
  font-weight: 700;
}
.mi-collab p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.mi-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(--mi-accent);
  border-radius: var(--ido-radius);
  transition: all 0.4s var(--mi-ease);
}
.mi-collab__cta:hover {
  background: var(--mi-accent);
  border-color: var(--mi-accent);
  color: #fff;
  gap: 18px;
}

.mi-final-cta {
  padding: 100px 24px;
  background: var(--ido-bg);
  text-align: center;
  border-top: 1px solid var(--mi-border);
}
.mi-final-cta h2 {
  margin-bottom: 32px;
  font-weight: 700;
}
.mi-final-cta__contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.mi-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(--mi-ease);
}
.mi-final-cta__contacts a:hover { color: var(--mi-accent); }
.mi-final-cta__contacts svg {
  width: 20px;
  height: 20px;
  color: var(--mi-accent);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}


/* ═══════════════════════════════════════════════════════════════
   §18 — REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.mi-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--mi-ease-lux), transform 0.9s var(--mi-ease-lux);
}
.mi-reveal.mi-revealed { opacity: 1; transform: translateY(0); }
.mi-reveal--left { transform: translateX(-40px); }
.mi-reveal--left.mi-revealed { transform: translateX(0); }
.mi-reveal--right { transform: translateX(40px); }
.mi-reveal--right.mi-revealed { transform: translateX(0); }
.mi-reveal--delay-1 { transition-delay: 0.15s; }
.mi-reveal--delay-2 { transition-delay: 0.3s; }
.mi-reveal--delay-3 { transition-delay: 0.45s; }
.mi-reveal--delay-4 { transition-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .mi-reveal, .mi-reveal--left, .mi-reveal--right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* noscript fallback */
html:not(.mi-js) .mi-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(--mi-border) !important;
  border-radius: var(--ido-radius) !important;
  overflow: hidden !important;
  transition: all 0.4s var(--mi-ease) !important;
  margin-bottom: 32px !important;
}
body.page-offers .offer:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--mi-shadow-md) !important;
  border-color: var(--mi-accent) !important;
}
body.page-offers .offer img { transition: transform 0.6s var(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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, #8C7B6B) !important;
  color: #ffffff !important;
}
/* Offer price circle badge — gold bg, white text */
body.page-offer .offer-price {
  background: var(--mi-accent, #C4A97D) !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, #2A2829) !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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !important;
  fill: var(--mi-accent, #C4A97D) !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(--mi-muted, #8A8A8A) !important;
  transition: all 0.3s var(--mi-ease) !important;
}
.tabs__item.--active, .tabs__item:hover {
  color: var(--mi-accent) !important;
  border-bottom: 2px solid var(--mi-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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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, #8C7B6B) !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, #2A2829) !important;
  padding: 14px 24px !important;
  border: 1.5px solid var(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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, #2A2829) !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(--mi-accent, #C4A97D);
  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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !important;
  stroke: var(--mi-accent, #C4A97D) !important;
  color: var(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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(--mi-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(--mi-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(--mi-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: #2A2829` (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(--mi-accent, #C4A97D) !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(--mi-accent, #C4A97D) !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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-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(--mi-ease) !important;
}
footer a:hover, .footer a:hover { color: var(--mi-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) {
  .mi-about, .mi-features, .mi-cities,
  .mi-testimonials, .mi-collab, .mi-featured, .mi-final-cta,
  .mi-faq { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 768px) {
  :root { --ido-header-h: 72px; }
  .mi-about, .mi-features, .mi-cities,
  .mi-testimonials, .mi-collab, .mi-faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .mi-featured { padding: 72px 20px; }
  .mi-hero__title { font-size: 38px; }
  .mi-about__img::after { top: 12px; left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
  .mi-final-cta__contacts { gap: 20px; flex-direction: column; }
  .mi-collab h2, .mi-final-cta h2 { font-size: 28px; }
  .mi-cities__grid { grid-template-columns: 1fr; }
  .mi-testimonials__grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   §24 — ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */
*:focus-visible {
  outline: 2px solid var(--mi-accent);
  outline-offset: 3px;
}

.mi-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;
}


/* ═══════════════════════════════════════════════════════════════
   END OF MIA APART L3 THEME
   ═══════════════════════════════════════════════════════════════ */
