[data-ostrzalnia-search] { position: relative; min-width: 0; }
[data-ostrzalnia-search] .ps-searchbar__form { position: relative; min-width: 0; }
[data-ostrzalnia-search] .ps-searchbar__input { padding-inline: 2.7rem 2.5rem; }
[data-ostrzalnia-search] .ostrzalnia-search-submit { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: .25rem; width: 2.25rem; height: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; transform: none; }
[data-ostrzalnia-search] .ps-searchbar__clear { right: .3rem; }
.ostrzalnia-search-dropdown { position: absolute; display: flex; flex-direction: column; z-index: 1080; top: calc(100% + .5rem); right: auto; margin: 0; min-width: 0; max-width: calc(100vw - 24px); max-height: var(--search-available-height, 460px); overflow: hidden; border: 1px solid #d8dfe4; border-radius: 10px; box-shadow: 0 10px 28px #18273324; background: #fff; color: #252a2e; }
.ostrzalnia-search-dropdown[hidden], .ostrzalnia-search-all[hidden] { display: none !important; }
.ostrzalnia-search-status { flex: 0 0 auto; font-size: .8rem; line-height: 1.5; color: #5d6870; padding: .7rem .9rem .5rem; margin: 0; overflow-wrap: anywhere; }
.ostrzalnia-search-dropdown .ps-searchbar__results { display: block; flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; padding: 0 .35rem .35rem; }
.ostrzalnia-search-option { display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .65rem .55rem; border-radius: 6px; color: #252a2e; text-decoration: none; }
.ostrzalnia-search-option:hover, .ostrzalnia-search-option[aria-selected=true] { background: #fff0e5; color: #252a2e; text-decoration: none; }
.ostrzalnia-search-option[aria-selected=true] { outline: 2px solid #ba531b; outline-offset: -2px; }
.ostrzalnia-search-option > img, .ostrzalnia-search-option__icon { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; border-radius: 5px; background: #f4f6f7; }
.ostrzalnia-search-option__icon { display: flex; align-items: center; justify-content: center; font-size: 20px; color: #a74917; }
.ostrzalnia-search-option__content { min-width: 0; display: block; overflow-wrap: anywhere; }
.ostrzalnia-search-option strong { display: block; font-size: .875rem; line-height: 1.35; font-weight: 650; }
.ostrzalnia-search-option__description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .75rem; line-height: 1.35; color: #626c74; margin-top: .2rem; }
.ostrzalnia-search-option__meta { display: block; font-size: .7rem; color: #70533f; margin-top: .2rem; line-height: 1.4; }
.ostrzalnia-search-all { display: block; flex: 0 0 auto; padding: .8rem .9rem; color: #a44311; border-top: 1px solid #e7ebee; font-size: .8rem; font-weight: 650; text-decoration: none; }
.ostrzalnia-search-all:hover { background: #f7f8f9; color: #87350b; }
.ostrzalnia-search-submit:focus-visible, .ostrzalnia-search-all:focus-visible { outline: 2px solid #ba531b; outline-offset: -2px; }
@media(max-width:767px) {
  #searchCanvas { max-height: 100dvh; overflow: hidden; }
  #searchCanvas .offcanvas-header { position: relative; display: block; padding: 1rem .75rem; }
  #searchCanvas #_mobile_ps_searchbar, #searchCanvas [data-ostrzalnia-search] { width: 100%; min-width: 0; }
  #searchCanvas .ps-searchbar__form { margin-right: 4.5rem; }
  #searchCanvas .offcanvas-header > [data-bs-dismiss] { position: absolute; right: .5rem; top: 1.1rem; padding: .65rem .25rem; font-size: .8rem; }
  #searchCanvas .ostrzalnia-search-dropdown { position: static; width: 100%; max-width: 100%; margin-top: .75rem; border-radius: 8px; box-shadow: none; }
  #searchCanvas .ps-searchbar__input { font-size: 16px; }
  #searchCanvas .ostrzalnia-search-option { min-height: 66px; }
}

/* Usługi i strony pasujące do frazy, nad natywną listą produktów w wynikach wyszukiwania. */
.os-search-services { margin: 0 0 2rem; padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; }
.os-search-services h2 { margin: 0 0 .75rem; color: #0f172a; font-size: 1.15rem; line-height: 1.3; }
.os-search-services ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.os-search-services li a { display: flex; align-items: center; gap: .75rem; min-height: 64px; padding: .5rem .75rem; border: 1px solid #e2e8f0; border-radius: .75rem; color: #0f172a; text-decoration: none; }
.os-search-services li a:hover { border-color: #fdba74; background: #fff4eb; }
.os-search-services li img { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.os-search-services__copy { display: grid; flex: 1 1 auto; min-width: 0; }
.os-search-services__copy strong { font-size: .9375rem; line-height: 1.35; }
.os-search-services__copy span { overflow: hidden; color: #64748b; font-size: .8125rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.os-search-services__price { flex: none; color: #94470c; font-size: .875rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 767.98px) {
  /* Telefon: usługi w jednym przewijanym rzędzie, żeby pierwsze produkty mieściły się na pierwszym ekranie. */
  .os-search-services { margin-bottom: 1.25rem; padding: .85rem 0 .85rem .85rem; }
  .os-search-services h2 { margin: 0 .85rem .6rem 0; font-size: 1.05rem; }
  .os-search-services ul { display: flex; gap: .5rem; margin: 0; padding: 0 .85rem .25rem 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  .os-search-services ul::-webkit-scrollbar { display: none; }
  .os-search-services li { display: flex; flex: 0 0 min(80%, 17.5rem); min-width: 0; scroll-snap-align: start; }
  .os-search-services li a { width: 100%; }
  .os-search-services li img { display: none; }
  /* Ten sam przycisk jest już w nagłówku i na dolnym pasku. */
  .os-search-services .btn { display: none; }
}