.mobile-nav-bottom { display: contents; }
.site-header .knowledge-search { position: static; color: inherit; }
.site-header .knowledge-search > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; }
.knowledge-search > summary::-webkit-details-marker { display: none; }
.knowledge-search > summary svg { flex: 0 0 auto; }
.site-header .knowledge-search-panel { position: absolute; z-index: 120; top: calc(100% + 8px); right: var(--gutter); width: min(540px, calc(100vw - 48px)); max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto; padding: 24px; border: 2px solid #b60000; background: #f8f7f3; color: #111; box-shadow: 0 12px 32px #0004; text-align: left; }
.knowledge-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.knowledge-search-heading strong { font-size: 20px; }
.knowledge-search-heading button { flex: 0 0 44px; min-height: 44px; padding: 0; border: 1px solid #999; background: transparent; color: #111; font-size: 28px; cursor: pointer; }
.site-header .knowledge-search-panel p { margin: 12px 0; font-size: 15px; line-height: 1.55; color: #333; }
.knowledge-search form label { display: block; margin: 20px 0 8px; color: #111; font-size: 14px; font-weight: 800; }
.knowledge-search-input { display: flex; gap: 8px; }
.knowledge-search input { min-width: 0; width: 100%; min-height: 48px; margin: 0; padding: 12px; border: 1px solid #777; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 16px; }
.knowledge-search-input button { min-height: 48px; padding: 12px 16px; border: 1px solid #b60000; background: #b60000; color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.knowledge-search-input button:disabled { opacity: .65; cursor: wait; }
.site-header .knowledge-search-panel .knowledge-search-privacy { font-size: 12px; color: #555; }
.knowledge-search-status:not(:empty) { margin: 20px 0 8px; padding-top: 16px; border-top: 1px solid #aaa; font-size: 14px; font-weight: 800; }
.site-header .knowledge-search-results ul { display: grid; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.site-header .knowledge-search-results a { display: block; padding: 14px; border: 1px solid #ccc; border-left: 3px solid #b60000; color: #111; text-decoration: none; }
.knowledge-search-results strong, .knowledge-search-results span { display: block; font-size: 14px; line-height: 1.5; }
.knowledge-search-results span { margin-top: 6px; color: #555; }
.knowledge-search :is(summary,button,input,a):focus-visible { outline: 2px solid #b60000; outline-offset: 3px; }
@media (min-width:651px) and (min-height:501px), (min-width:1025px) {
  .site-header .knowledge-search > summary { justify-content: flex-end; min-height: 28px; padding: 3px 0; }
}
@media (max-width:650px), (max-width:1024px) and (max-height:500px) and (orientation:landscape) {
  .site-header .mobile-nav-bottom { display: block; margin-top: 20px; border-top: 2px solid var(--red); }
  .site-header .mobile-nav-bottom .mobile-collection-menu { margin: 0; }
  .site-header .knowledge-search { border-bottom: 1px solid var(--line); }
  .site-header .knowledge-search > summary { min-height: 48px; padding: 12px 0; font-size: 16px; }
  .site-header .knowledge-search-panel { position: static; width: 100%; max-height: none; margin: 0 0 12px; padding: 16px; overflow: visible; box-shadow: none; box-sizing: border-box; }
  .knowledge-search-input { flex-wrap: wrap; }
  .knowledge-search-input input { flex: 1 1 180px; }
  .knowledge-search-input button { flex: 1 0 auto; }
}
