/* Wyszukiwarka Neno – podpowiedzi i strona wyników */

/* ---- podpowiedzi ---- */
.searchwp-live-search-results { display: none !important; }

.nsr-drop { position: absolute; z-index: 1060; top: calc(100% + 8px); left: 0; right: auto; width: max(100%, 520px); max-width: calc(100vw - 24px); max-height: min(72vh, 620px); overflow-y: auto; padding: 8px; background: #fff; border: 1px solid #ebe2da; border-radius: 20px; box-shadow: 0 22px 48px rgba(47, 39, 34, .16); text-align: left; overscroll-behavior: contain; }
.nsr-drop.is-loading { opacity: .65; }
.nsr-drop__head { padding: 10px 12px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8d7f74; }
.nsr-drop__list { list-style: none; margin: 0; padding: 0; }
.nsr-drop__empty { padding: 18px 14px; font-size: 14px; color: #5b4f46; }
.nsr-drop__all { display: block; margin: 6px 4px 2px; padding: 12px 14px; border-radius: 14px; background: #f7f3f0; color: #6f5d50 !important; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none !important; transition: background .15s; }
.nsr-drop__all:hover, .nsr-drop__all.is-active { background: #ebe2da; }

.nsr-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; color: #2f2722 !important; text-decoration: none !important; transition: background .15s; }
.nsr-item:hover, .nsr-item.is-active { background: #f7f3f0; }
.nsr-item img, .nsr-item__ph { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; background: #f7f3f0; object-fit: contain; }
.nsr-item--post img { object-fit: cover; }
.nsr-item__ph { background: #f3ece6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23877364' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v14H4zM8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E") center no-repeat; }
.nsr-item__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nsr-item__txt strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.nsr-item__txt small { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 12.5px; line-height: 1.35; color: #8d7f74; }
.nsr-item__price { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; font-size: 14.5px; font-weight: 700; color: #2f2722; white-space: nowrap; }
.nsr-item__price del { order: 2; font-size: 12px; font-weight: 400; color: #a89e96; }
.nsr-item__price b.is-sale { color: #b85656; }
.nsr-item__price em { order: 3; font-style: normal; font-size: 11.5px; font-weight: 600; color: #b85656; }

@media (max-width: 991.98px) {
    .nsr-drop { max-height: 70vh; }
    #searchForm .nsr-drop { top: 100%; left: 8px; right: 8px; width: auto; }
    .nsr-item img, .nsr-item__ph { width: 48px; height: 48px; }
    .nsr-item__txt strong { font-size: 13.5px; }
    .nsr-item__price { font-size: 13.5px; }
}

/* kontener wyszukiwarki w nagłówku mobilnym ma overflow:hidden i ucinał podpowiedzi */
#searchForm { overflow: visible !important; z-index: 1065; }
#searchForm .nsr-drop { top: 100%; left: 8px; right: 8px; width: auto; }

/* ---- strona wyników ---- */
.nsr-page { padding: 28px 0 48px; }
.nsr-page__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.nsr-page__kicker { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #877364; }
.nsr-page__title { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; color: #2f2722; }
.nsr-page__form { display: flex; align-items: center; gap: 6px; width: min(100%, 460px); height: 48px; padding: 4px 4px 4px 18px; border: 1px solid #ebe2da; border-radius: 999px; background: #fff; }
.nsr-page__form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; caret-color: #877364 !important; }
.nsr-page__form button { height: 100%; padding: 0 20px; border: 0; border-radius: 999px; background: #877364; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nsr-page__form button:hover { background: #6f5d50; }
.nsr-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.nsr-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #f7f3f0; color: #5b4f46 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.nsr-tabs a b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #fff; font-size: 12px; text-align: center; color: #877364; }
.nsr-tabs a:hover { background: #ebe2da; }
.nsr-tabs__note { align-self: center; margin-left: auto; font-size: 13px; color: #8d7f74; }
.nsr-section { margin-bottom: 36px; scroll-margin-top: 120px; }
.nsr-section__title { margin: 0 0 14px; font-size: 22px; color: #2f2722; }
.nsr-page .nc-grid { row-gap: 0; }
.nsr-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nsr-post { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ebe2da; border-radius: 20px; background: #fff; color: #2f2722 !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.nsr-post:hover { box-shadow: 0 14px 30px rgba(47, 39, 34, .1); transform: translateY(-2px); }
.nsr-post__img { aspect-ratio: 16 / 9; background: #f7f3f0; }
.nsr-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nsr-post__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.nsr-post__meta { font-size: 12.5px; color: #8d7f74; }
.nsr-post__title { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.nsr-post__more { margin-top: 4px; font-size: 13.5px; font-weight: 700; color: #877364; }
.nsr-empty { padding: 34px 22px; border-radius: 22px; background: #f7f3f0; text-align: center; color: #5b4f46; }
.nsr-empty a { color: #6f5d50; font-weight: 700; }
@media (max-width: 991.98px) { .nsr-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .nsr-page { padding-top: 18px; }
    .nsr-posts { grid-template-columns: 1fr; gap: 12px; }
    .nsr-post { flex-direction: row; }
    .nsr-post__img { width: 110px; flex-shrink: 0; aspect-ratio: auto; }
    .nsr-post__title { font-size: 14.5px; }
    .nsr-tabs__note { width: 100%; margin-left: 0; }
}
