/* Recovered from the saved OCMOD header, 2026-11-06. */
/* Kontenery języka i waluty */
.journal-header-center #header > .journal-language,
.journal-header-center #header > .journal-currency {
    display: block !important;
}

#header .journal-language form,
#header .journal-currency form {
    display: flex !important;
    align-items: center !important;
    height: 40px !important;
    margin: 0 !important;
}

#header .journal-language form {
    justify-content: flex-end;
}

#header .journal-currency form {
    justify-content: flex-start;
}

#header #language,
#header #currency,
#header #language .btn-group,
#header #currency .btn-group {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: 40px !important;
    vertical-align: middle !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Wszystkie opcje widoczne — bez rozwijania */
#header #language .dropdown-toggle,
#header #currency .dropdown-toggle {
    display: none !important;
}

#header #language .dropdown-menu,
#header #currency .dropdown-menu {
    display: flex !important;
    position: static !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#header #language .dropdown-menu::before,
#header #language .dropdown-menu::after,
#header #currency .dropdown-menu::before,
#header #currency .dropdown-menu::after {
    content: none !important;
    display: none !important;
}

/* Pozycje list */
#header #language .dropdown-menu > li,
#header #currency .dropdown-menu > li {
    flex: 0 0 auto;
    float: none !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    list-style: none;
}

#header #language .dropdown-menu > li > a,
#header #currency .dropdown-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}

/* Flagi */
#header #language .dropdown-menu > li > a {
    width: 32px !important;
}

#header #language .dropdown-menu img {
    display: block;
    margin: 0;
}

/* Waluty EUR i PLN */
#header #currency .dropdown-menu > li > a {
    width: 36px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1 !important;
}

/* Podświetlenie po wskazaniu i dla aktywnej pozycji */
#header #language .dropdown-menu > li > a:hover,
#header #language .dropdown-menu > li > a:focus,
#header #currency .dropdown-menu > li > a:hover,
#header #currency .dropdown-menu > li > a:focus,
#header #language .dropdown-menu > li.is-selected > a,
#header #currency .dropdown-menu > li.is-selected > a {
    background: #262626 !important;
    color: #f4d800 !important;
}

/* Telefon: kontakt w pierwszym rzędzie,
   flagi, waluty i konto w drugim */
@media (max-width: 767px) {
    .journal-header-center #header > .journal-language,
    .journal-header-center #header > .journal-currency {
        position: absolute !important;
        top: 40px !important;
        right: auto !important;
        width: 76px !important;
        z-index: 6;
    }

    .journal-header-center #header > .journal-language {
        left: 12px !important;
    }

    .journal-header-center #header > .journal-currency {
        left: 92px !important;
    }

    #header .journal-language form {
        width: auto !important;
    }

    .journal-header-center #header > .journal-secondary {
        padding: 0 12px 0 180px !important;
    }

    #header .journal-secondary .links {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

/* Najwęższe ekrany: konto w kolejnym rzędzie */
@media (max-width: 360px) {
    .journal-header-center #header > .journal-secondary {
        margin-top: 40px !important;
        padding-left: 12px !important;
    }
}

/* The home heading occupies its final space before scripts initialize modules. */
.wydechowe-information-description img { max-width: 100%; height: auto; }
.wydechowe-home-intro { padding: 18px 10px; background: #fff; color: #111; }
.wydechowe-home-intro h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 600; }
.wydechowe-home-intro p { margin: 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 767px) { .wydechowe-home-intro h1 { font-size: 21px; } }
/* Keep mobile header order stable before Journal moves its DOM elements. */
@media (max-width: 760px) {
  .journal-header-center:not(.journal-header-mega) #header { display: flex; flex-wrap: wrap; }
  .journal-header-center #header > .journal-secondary { order: 1; }
  .journal-header-center #header > .journal-logo { order: 2; }
  .journal-header-center #header > .journal-search { order: 3; }
  .journal-header-center #header > .journal-cart { order: 4; }
  .journal-header-center #header > .journal-menu { order: 5; }
}
@media (max-width: 360px) {
  .journal-header-center .journal-links .links > a { padding-left: 4px; padding-right: 4px; }
}
