/* Orli Domek 1.4.0 — mobile / tablet header fixes (loaded last).
   1. A menu closed by the button must not stay open because the button keeps keyboard focus
      (old rule `.od-nav:focus-within .od-menu-panel{display:flex}`).
   2. The desktop underline + dot decorations do not belong in the drawer (they crossed the text).
   3. 901–1050 px: the drawer behaves and looks like on phones (it was always open, empty ☰ button). */

@media (max-width: 1050px) {
  body .od-header .od-nav:focus-within .od-menu-panel:not(.is-open):not([aria-hidden="false"]) { display: none !important; }

  body .od-header .od-menu-panel a::before,
  body .od-header .od-menu-panel a::after,
  body .od-header .od-menu-panel .od-nav-dropdown-toggle::before,
  body .od-header .od-menu-panel .od-nav-dropdown-toggle::after,
  body .od-header .od-mobile-menu-langs a::before,
  body .od-header .od-mobile-menu-langs a::after { content: none !important; display: none !important; }

  body .od-header .od-menu-panel > a:hover,
  body .od-header .od-menu-panel > a:focus-visible,
  body .od-header .od-menu-panel > a.is-active,
  body .od-header .od-menu-panel .od-nav-dropdown-toggle:hover { transform: none !important; }
  body .od-header .od-menu-panel > a[data-od-navlink].is-active { color: var(--od-header-copper, #9c5938) !important; }
  body .od-header .od-menu-panel > a:not(.od-btn):focus-visible { outline: 2px solid var(--od-header-copper, #9c5938); outline-offset: 2px; }
}

@media (min-width: 901px) and (max-width: 1050px) {
  body .od-header .od-menu-toggle { flex-direction: column !important; gap: 5px !important; padding: 10px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; -webkit-appearance: none; appearance: none; cursor: pointer; }
  body .od-header .od-menu-toggle span { display: block !important; width: 22px !important; height: 1px !important; background: #23322e !important; }

  body .od-header .od-menu-panel:not(.is-open):not([aria-hidden="false"]) { display: none !important; }
  body .od-header .od-menu-panel.is-open,
  body .od-header .od-menu-panel[aria-hidden="false"] {
    display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; gap: 0 !important;
    position: fixed !important; left: 0 !important; right: 0 !important; top: calc(78px + env(safe-area-inset-top)) !important;
    max-height: calc(100dvh - 78px - env(safe-area-inset-top)); overflow-y: auto !important;
    padding: 16px 28px 24px !important; background: #faf7f1 !important;
    box-shadow: 0 18px 36px rgba(32, 38, 34, .10) !important; border-bottom: 1px solid rgba(25, 34, 31, .12) !important;
  }
  body .od-header .od-menu-panel > a,
  body .od-header .od-menu-panel .od-nav-dropdown-toggle {
    display: flex !important; width: 100% !important; min-height: 48px !important; height: auto !important; align-items: center !important; justify-content: flex-start !important;
    padding: 8px 2px !important; font-size: 16px !important; letter-spacing: 0 !important; text-align: left !important;
    border-bottom: 1px solid rgba(40, 45, 41, .08) !important;
  }
  body .od-header .od-menu-panel .od-nav-dropdown-toggle { justify-content: space-between !important; }
  body .od-header .od-nav-dropdown { display: block !important; width: 100% !important; }
  body .od-header .od-nav-dropdown-panel { position: static !important; transform: none !important; box-shadow: none !important; border: 0 !important; min-width: 0 !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; display: none !important; background: #f5efe7 !important; border-radius: 12px !important; margin: 5px 0 8px 12px !important; padding: 7px !important; }
  body .od-header .od-nav-dropdown.is-open .od-nav-dropdown-panel { display: block !important; }
  body .od-header .od-nav-dropdown-panel a { border-radius: 8px !important; padding: 10px 12px !important; }
  body .od-header .od-nav-dropdown-panel a::before,
  body .od-header .od-nav-dropdown-panel a::after { content: none !important; display: none !important; }
  body .od-header .od-nav-dropdown-kicker { display: block !important; padding: 8px 12px; color: #80776d; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

  body .od-header .od-menu-panel > .od-mobile-menu-langs { display: flex !important; align-items: center !important; gap: 7px !important; width: 100% !important; margin: 14px 0 10px !important; padding-top: 12px !important; border-top: 1px solid rgba(33, 58, 52, .10) !important; }
  body .od-header .od-mobile-menu-langs a { display: grid !important; place-items: center !important; width: 42px !important; min-height: 38px !important; padding: 0 !important; border: 1px solid rgba(33, 58, 52, .10) !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 750 !important; text-decoration: none !important; }
  body .od-header .od-mobile-menu-langs a.is-active { background: #213a34 !important; color: #fff !important; border-color: #213a34 !important; }
}

/* 1.4.0 polish: "Odkrywaj" row aligned like other links, single divider above languages */
@media (max-width: 1050px) {
  body .od-header .od-menu-panel > .od-nav-dropdown { width: 100%; border-bottom: 1px solid rgba(40, 45, 41, 0.08); }
  body .od-header .od-menu-panel > .od-nav-dropdown > .od-nav-dropdown-toggle {
    width: 100%; min-height: 48px; padding-left: 2px !important; padding-right: 2px;
    display: flex; align-items: center; justify-content: space-between; text-align: left;
    border-bottom: 0 !important;
  }
  body .od-header .od-menu-panel .od-mobile-menu-langs { border-top: 0 !important; align-items: center; }
  body .od-header .od-menu-panel .od-mobile-menu-langs a { transform: none !important; }
}

/* 1.4.0 desktop: "Odkrywaj" (button) sat 2px above the other links (links use 33/29px padding) */
@media (min-width: 1051px) {
  body .od-header .od-menu-panel > .od-nav-dropdown > .od-nav-dropdown-toggle { padding-top: 4px !important; color: rgb(41, 51, 47); }
}

/* 1.4.0 phone/tablet: availability bar below the hero copy (in flow, full width) instead of being squeezed
   next to the headline (<=640) or overlapping the benefit tiles (641-860). Tablet = one row like desktop, phone = 2x2. */
@media (max-width: 860px) {
  body .od-hero { flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; min-height: 0 !important; padding-bottom: 20px !important; }
  body .od-hero > .od-hero-content, body .od-hero > .od-container.od-hero-content { width: calc(100% - 24px) !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important; min-height: 0 !important; padding-bottom: 6px !important; }
  body .od-hero .od-hero-copy { width: 100% !important; max-width: none !important; }
  body .od-hero .od-hero-benefits { max-width: none !important; }
  body .od-hero .od-booking-bar-wrap { order: 5; position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; align-self: center; width: calc(100% - 24px) !important; max-width: none !important; margin: 16px auto 0 !important; }
  body .od-hero .od-booking-bar { max-width: none !important; padding: 8px !important; gap: 0 !important; }
  body .od-hero .od-booking-field { min-width: 0; min-height: 58px !important; padding: 0 12px !important; gap: 9px !important; border-radius: 0 !important; }
  body .od-hero .od-booking-field > span:last-child { min-width: 0; }
  body .od-hero .od-booking-field small, body .od-hero .od-booking-field strong { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; }
  body .od-hero .od-booking-bar .od-btn-book { min-width: 0; min-height: 58px !important; margin: 0 !important; padding: 8px 12px !important; justify-content: center !important; gap: 8px !important; text-align: center; white-space: normal !important; font-size: 11px !important; line-height: 1.25 !important; letter-spacing: .08em !important; }
}
@media (min-width: 641px) and (max-width: 860px) {
  body .od-hero .od-booking-bar { grid-template-columns: 1fr 1fr 1fr 1.15fr !important; }
  body .od-hero .od-booking-bar > * { grid-column: auto !important; }
  body .od-hero .od-booking-field { border-bottom: 0 !important; border-top: 0 !important; border-right: 1px solid var(--od-line, rgba(33,58,52,.12)) !important; }
  body .od-hero .od-booking-field:first-child { border-radius: 4px 0 0 4px !important; }
  body .od-hero .od-booking-bar .od-btn-book { border-radius: 0 4px 4px 0 !important; }
}
@media (max-width: 640px) {
  body .od-hero .od-booking-bar { grid-template-columns: 1fr 1fr !important; }
  body .od-hero .od-booking-field { padding: 0 10px !important; border-right: 0 !important; border-bottom: 1px solid var(--od-line, rgba(33,58,52,.12)) !important; }
  body .od-hero .od-booking-field:nth-child(1) { border-right: 1px solid var(--od-line, rgba(33,58,52,.12)) !important; border-radius: 4px 0 0 0 !important; }
  body .od-hero .od-booking-field:nth-child(2) { border-radius: 0 4px 0 0 !important; }
  body .od-hero .od-booking-field:nth-child(3) { border-bottom: 0 !important; }
  body .od-hero .od-booking-bar .od-btn-book { border-radius: 0 0 4px 4px !important; }
}

/* 1.4.1 footer: "Szybkie linki" / "Informacje" links were 44–48px apart (tap-target min-height on 11px text).
   Desktop: compact list; phone: still >= 32px tap targets (WCAG 2.2 min 24px). Contact column untouched. */
body .od-footer-grid .od-footer-col:not(.od-footer-contact) > a { min-height: 0 !important; padding: 5px 0 !important; margin: 0 !important; line-height: 1.35 !important; }
body .od-footer-grid .od-footer-col:not(.od-footer-contact) { gap: 2px !important; row-gap: 2px !important; }
@media (min-width: 861px) { body .od-footer-grid .od-footer-col:not(.od-footer-contact) > h3 + a { margin-top: 8px !important; } }
@media (max-width: 860px) {
  body .od-footer-grid .od-footer-col:not(.od-footer-contact) > a { min-height: 32px !important; padding: 0 !important; align-items: center; }
  body .od-footer-grid .od-footer-col:not(.od-footer-contact) { gap: 0 !important; row-gap: 0 !important; }
}

/* 1.4.1 footer readability (owner): text 11–12px → 14px, bottom bar 9px → 11px, social icons 15px → 22px */
body footer .od-footer-grid p { font-size: 14px !important; line-height: 1.6 !important; }
body footer .od-footer-grid .od-footer-col > a:not(.od-btn) { font-size: 14px !important; }
body footer .od-footer-grid .od-footer-contact a:not(.od-btn):not(.od-socials a) { font-size: 14px !important; }
body footer .od-socials { gap: 14px !important; align-items: center; }
body footer .od-socials a { width: 36px !important; height: 36px !important; min-width: 36px; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 -7px; }
body footer .od-socials a:first-child { margin-left: -8px; }
body footer .od-socials svg { width: 22px !important; height: 22px !important; }
body footer .od-footer-bottom, body footer .od-footer-bottom span, body footer .od-footer-bottom a { font-size: 11px !important; }
