/* Własne klasy wyszukiwarki. Brak zależności od CSS FiboSearch. */
.sycow-search, .sycow-search__dialog { color: #101010; font-family: inherit; font-size: 14px; line-height: 1.4; }
.sycow-search *, .sycow-search *::before, .sycow-search *::after,
.sycow-search__dialog *, .sycow-search__dialog *::before, .sycow-search__dialog *::after { box-sizing: border-box; }
.sycow-search [hidden], .sycow-search__dialog [hidden] { display: none !important; }
.sycow-search--desktop { position: relative; width: 100%; max-width: 600px; min-width: 0; margin: 0 auto; }
.sycow-search__form { position: relative; margin: 0; padding: 0; }
.sycow-search__form .sycow-search__input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 10px 42px 10px 40px;
    border: 1px solid #fff;
    border-bottom-color: transparent;
    border-radius: 0;
    outline: none;
    background: #F6F7F9;
    color: #101010;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}
.sycow-search__input::placeholder { color: #787878; opacity: 1; font-weight: 400; }
.sycow-search__input::-webkit-search-decoration,
.sycow-search__input::-webkit-search-cancel-button,
.sycow-search__input::-webkit-search-results-button,
.sycow-search__input::-webkit-search-results-decoration { -webkit-appearance: none; }
.sycow-search__form .sycow-search__input:focus { border: 1px solid #141414; border-radius: 3px; outline: 4px solid #E6E6E6; outline-offset: 0; }
.sycow-search__submit, .sycow-search__clear, .sycow-search__trigger, .sycow-search__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #101010;
    font: inherit;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.sycow-search__form .sycow-search__submit { position: absolute; inset: 0 auto auto 0; width: 40px; height: 40px; }
.sycow-search__submit .sycow-search__icon { width: 18px; height: 18px; }
.sycow-search__form .sycow-search__clear { position: absolute; top: 0; right: 4px; width: 36px; height: 40px; }
.sycow-search__clear .sycow-search__icon { width: 20px; height: 20px; }
.sycow-search__icon { display: block; pointer-events: none; }
.sycow-search button:focus-visible, .sycow-search__all:focus-visible,
.sycow-search__dialog button:focus-visible, .sycow-search__dialog a:focus-visible { outline: 2px solid #101010; outline-offset: 3px; }
.sycow-search--desktop .sycow-search__panel {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 5;
    width: 100%;
    min-width: 0;
    max-height: min(540px, 75vh);
    padding: 10px;
    border: 1px solid #E6E6E6;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}
.sycow-search__results { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sycow-search__item { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sycow-search__result {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 8px 10px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #101010;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none !important;
    text-transform: none;
}
.sycow-search__result:hover, .sycow-search__result[aria-selected="true"] { background: #F6F7F9; color: #101010; }
.sycow-search__result .sycow-search__image { width: 46px; height: 46px; margin: 0; padding: 2px; border: 1px solid #E6E6E6; border-radius: 2px; object-fit: contain; background: #fff; }
.sycow-search__name { min-width: 0; overflow-wrap: anywhere; }
.sycow-search__price { max-width: 145px; color: #101010; font-size: 12px; line-height: 1.4; font-weight: 500; text-align: right; }
.sycow-search__status { margin: 0; padding: 12px 10px; color: #555; font-size: 13px; line-height: 1.5; }
.sycow-search__status:empty { display: none; }
.sycow-search__status--count { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sycow-search__all { display: block; padding: 14px 10px 8px; margin: 0; border-top: 1px solid #E6E6E6; color: #101010; font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: underline; }
.sycow-search__all:hover { color: #3EB33A; }
.sycow-search__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.sycow-search--mobile { min-width: 44px; line-height: 1; }
.sycow-search--mobile .sycow-search__trigger { width: 44px; height: 36px; margin-right: 4px; }
.sycow-search__trigger .sycow-search__icon { width: 23px; height: 23px; }
.sycow-search__dialog {
    position: fixed;
    inset: var(--sycow-search-top, 0px) 0 auto;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: var(--sycow-search-height, 100dvh);
    max-height: none;
    margin: 0;
    padding: max(18px, env(safe-area-inset-top)) max(15px, env(safe-area-inset-right)) max(15px, env(safe-area-inset-bottom)) max(15px, env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #101010;
    box-shadow: none;
    overflow: hidden;
}
.sycow-search__dialog:not([open]) { display: none; }
.sycow-search__dialog[open] { display: flex; flex-direction: column; }
.sycow-search__dialog::backdrop { background: #fff; }
.sycow-search__dialog--fallback { z-index: 2147483646; }
.sycow-search__heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 28px; padding: 0; }
.sycow-search__heading .sycow-search__title { margin: 0; padding: 0; color: #101010; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; }
.sycow-search__heading .sycow-search__close { width: 34px; height: 34px; background: #101010; color: #fff; }
.sycow-search__close .sycow-search__icon { width: 25px; height: 25px; }
.sycow-search__dialog .sycow-search__form { flex: 0 0 auto; }
.sycow-search__dialog .sycow-search__input {
    height: 46px;
    padding: 10px 46px 10px 16px;
    border: 1px solid #101010;
    border-radius: 0;
    background: #fff;
    font-size: 16px; /* Zapobiega powiększaniu inputa w iOS Safari. */
    line-height: 24px;
    touch-action: manipulation;
}
.sycow-search__dialog .sycow-search__input:focus { border: 1px solid #101010; border-radius: 0; outline: 1px solid #101010; outline-offset: 0; }
.sycow-search__dialog .sycow-search__clear { height: 46px; width: 40px; right: 2px; }
.sycow-search__dialog .sycow-search__panel { flex: 1 1 auto; min-height: 0; margin-top: 14px; padding: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
.sycow-search__dialog .sycow-search__result { gap: 10px; padding: 10px 0; min-height: 66px; }
.sycow-search__dialog .sycow-search__price { max-width: 112px; }
.sycow-search__dialog .sycow-search__status { padding: 12px 0; }
html.sycow-search-open { overflow: hidden; }
.sycow-search__no-js { display: flex; max-width: 140px; margin: 0; }
.sycow-search__no-js input { width: 105px; min-width: 0; height: 36px; border: 1px solid #D8D8D8; font-size: 16px; }
.sycow-search__no-js button { width: 34px; padding: 0; border: 0; background: #fff; }
.sycow-search-page { padding: 28px 3%; }
.sycow-search-page__title { margin: 0 0 14px; font-size: clamp(22px, 3vw, 32px); font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.sycow-search-page__empty { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 991px) {
    .sycow-search__form .sycow-search__input { font-size: 16px; }
}
@media (max-width: 359px) {
    .sycow-search__dialog .sycow-search__result { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 10px; }
    .sycow-search__dialog .sycow-search__image { width: 40px; height: 40px; grid-row: span 2; }
    .sycow-search__dialog .sycow-search__price { grid-column: 2; max-width: none; text-align: left; }
}
@media (forced-colors: active) {
    .sycow-search__result[aria-selected="true"] { outline: 1px solid Highlight; }
    .sycow-search__close { border: 1px solid ButtonText; }
}
