/* Uses the existing Raysun palette and typography; no global selectors. */
.rs-home-search{position:relative;padding:24px 0 34px;background:var(--bg,#fff);border-top:1px solid var(--line,#e5e8ec)}
.rs-home-search label{display:block;font-family:Manrope,Inter,system-ui,sans-serif;font-size:20px;font-weight:800;color:var(--ink,#0e1116);margin-bottom:12px}
.rs-home-search-control{position:relative;max-width:920px}
.rs-home-search form{display:flex;align-items:center;gap:12px;background:var(--bg-soft,#f4f6f9);border:1px solid #b7bec8;border-radius:10px;padding:6px}
.rs-home-search form:focus-within{border-color:var(--brand-dark,#c94f0c);box-shadow:0 0 0 2px #c94f0c26}
.rs-home-search form>svg{width:22px;height:22px;flex:none;margin-left:12px;stroke:var(--ink,#0e1116);fill:none;stroke-width:1.8}
.rs-home-search input[type=search]{width:100%;min-width:0;min-height:48px;border:0;border-radius:4px;background:transparent;padding:9px 0;color:var(--ink,#0e1116);font-size:16px;box-shadow:none}
.rs-home-search input::placeholder{color:#555e6b;opacity:1}
.rs-home-search button[type=submit]{flex:none;min-height:48px;padding:10px 24px;border:0;border-radius:6px;background:#b94709;color:#fff;font-size:16px;font-weight:600;cursor:pointer}
.rs-home-search button[type=submit]:hover{background:#963906}
.rs-home-search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:50;border:1px solid var(--line,#e5e8ec);border-radius:10px;background:#fff;box-shadow:0 12px 32px #101e371f;max-height:460px;overflow:auto;overscroll-behavior:contain}
.rs-home-search-results[hidden]{display:none}
.rs-home-search-results ul{list-style:none;margin:0;padding:4px}
.rs-home-search-result{display:flex;align-items:center;gap:14px;min-height:88px;padding:12px;border-radius:6px;color:#0e1116;text-decoration:none}
.rs-home-search-result:hover,.rs-home-search-result:focus-visible{background:#f4f6f9}
.rs-home-search-result img,.rs-home-search-noimage{width:52px;height:52px;flex:none;object-fit:contain;border-radius:4px}
.rs-home-search-noimage{border:1px solid #e5e8ec;background:#f4f6f9}
.rs-home-search-result strong{display:block;font-size:15px;line-height:1.35;font-weight:700}
.rs-home-search-type,.rs-home-search-spec{display:block;font-size:13px;line-height:1.5;color:#555e6b}
.rs-home-search-type{font-weight:600;color:#9c3a04}
.rs-home-search-more{display:flex;flex-wrap:wrap;gap:8px 24px;padding:8px 16px;border-top:1px solid #e5e8ec}
.rs-home-search-more a{display:inline-flex;align-items:center;min-height:44px;color:#9c3a04;text-decoration:underline;font-weight:600}
.rs-home-search-message{padding:18px 16px;color:#33373f}
.rs-home-search-status{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rs-home-search[hidden]{display:none!important}
.rs-mobile-search-toggle{display:none}
@media(max-width:600px){.rs-home-search{padding:20px 0 26px}.rs-home-search label{font-size:18px}.rs-home-search form{gap:8px;flex-wrap:wrap}.rs-home-search form>svg{margin-left:6px}.rs-home-search input[type=search]{flex:1;width:calc(100% - 44px)}.rs-home-search button[type=submit]{width:100%}.rs-home-search-results{max-height:360px}.rs-home-search-result{gap:10px}}
@media(max-width:640px){
 .rs-has-mobile-search .nav{justify-content:flex-start;gap:8px}
 .rs-has-mobile-search .nav-right{margin-left:auto;gap:8px}
 .rs-has-mobile-search .nav .brand{padding-right:34px}
 .rs-mobile-search-toggle{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer}
 .rs-mobile-search-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 .rs-mobile-search-toggle:hover,.rs-mobile-search-toggle[aria-expanded=true]{background:rgba(255,255,255,.1)}
 .rs-mobile-search-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}
 html{scroll-padding-top:calc(var(--rs-mobile-header-height,136px) + 12px)}
 .rs-home-search.rs-home-search--header{padding:0 0 12px;border:0;background:transparent}
 .rs-home-search--header label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .rs-home-search--header form{flex-wrap:nowrap;gap:8px;padding:4px;background:#fff}
 .rs-home-search--header form>svg{margin-left:6px;width:20px;height:20px}
 .rs-home-search--header input[type=search]{flex:1;width:100%;min-height:44px;font-size:16px}
 .rs-home-search--header button[type=submit]{width:auto;min-height:44px;padding:9px 12px;font-size:14px}
 .rs-home-search--header .rs-home-search-results{max-height:min(360px,50dvh)}
 .rs-has-mobile-search .nav-links.show{top:100%;max-height:calc(100dvh - var(--rs-mobile-header-height,136px));overflow-y:auto;z-index:130}
}
