/*** Global search ***/
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-banner { background: var(--quinary_color); }
.inner-banner.category-banner { padding-bottom: 0; }
.search-page-form { max-width: 720px; margin: 0 auto 32px; }
.search-form { display: flex; gap: 12px; }
.search-form input.search-field { flex: 1; margin: 0; height: 54px; }
.search-form .search-submit { margin: 0; padding: 0 28px; height: 54px; border: 0; border-radius: 50px; background: var(--secondary_color); color: #fff; font-family: var(--body_font); font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.search-form .search-submit:hover { background: #2b7142; }
.search-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.search-tabs a { padding: 9px 20px; border: 1px solid #DCE5EF; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--primary_color); background: #fff; transition: var(--transition); }
.search-tabs a:hover { border-color: var(--primary_color); }
.search-tabs a.active { background: var(--primary_color); border-color: var(--primary_color); color: #fff; }
.search-count { text-align: center; font-size: 14px; font-weight: 600; margin-bottom: 36px; }
.search-result-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; border-top: 1px solid #DCE5EF; }
.search-result { padding: 26px 0; border-bottom: 1px solid #DCE5EF; }
.search-result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.search-result-type { background: var(--secondary_color); color: #fff; line-height: 1; padding: 7px 14px; border-radius: 999px; }
.search-result-price { color: var(--primary_color); font-size: 15px; font-weight: 700; }
.search-result h3 { margin: 0 0 8px; }
.search-result h3 a { color: var(--heading_color); }
.search-result h3 a:hover { color: var(--secondary_color); }
.search-result-excerpt { margin: 0 0 10px; font-size: 15px; line-height: 150%; }
.search-empty { text-align: center; padding: 40px 20px; background: var(--quaternary_color); border-radius: 24px; }

/* Header live suggestions */
.live-search-results { margin-top: 12px; max-height: 60vh; overflow-y: auto; }
.live-search-results[hidden] { display: none; }
.live-search-results ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.live-search-results li a { display: block; padding: 8px 10px; border-radius: 12px; color: var(--primary_color); }
.live-search-results li a:hover,
.live-search-results li a:focus { background: var(--quinary_color); outline: none; }
.live-search-text { display: flex; flex-direction: column; min-width: 0; }
.live-search-title { font-size: 14px; font-weight: 600; line-height: 140%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-search-meta { font-size: 12px; color: var(--body_color); }
.live-search-all { display: block; margin-top: 8px; padding-top: 10px; border-top: 1px solid #DCE5EF; text-align: center; font-size: 14px; font-weight: 600; color: var(--link-color); }
.live-search-empty,
.live-search-loading { margin: 0; padding: 8px; font-size: 14px; }
@media (max-width: 575px) {
    .search-form { flex-direction: column; }
}
