.hsearch{position:relative;flex:none;display:inline-flex}
.hsearch-btn{box-sizing:border-box;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #b7cde0;border-radius:50%;background:#fff;color:var(--blue,#0b54a0);cursor:pointer}
.hsearch-btn:hover,.hsearch-btn[aria-expanded="true"]{border-color:var(--blue,#0b54a0);background:#f4f8fc;box-shadow:none}
.hsearch-btn:focus-visible,.hsearch-close:focus-visible,.hsearch-go:focus-visible,.product-search-results [data-search-clear]:focus-visible{outline:2px solid #0b54a0;outline-offset:2px}
.hsearch-panel{position:absolute;z-index:60;top:calc(100% + 8px);right:0;box-sizing:border-box;width:min(400px,calc(100vw - 32px));padding:14px;border:1px solid #d9e4ee;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(6,27,54,.1)}
.hsearch-panel[hidden]{display:none}
.hsearch-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.hsearch-head label{font-size:14px;font-weight:600;color:#102c4c}
.hsearch-close{box-sizing:border-box;width:44px;height:44px;margin:-8px -10px -8px 0;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:11px;background:transparent;color:#102c4c;cursor:pointer}
.hsearch-close:hover{background:#eef4fa}
.hsearch-row{display:flex;align-items:stretch;gap:8px}
.hsearch-row input{box-sizing:border-box;flex:1;min-width:0;height:44px;min-height:44px;margin:0;padding:0 12px;border:1px solid #bdcddd;border-radius:8px;font:inherit;font-size:16px;line-height:20px;background:#fff;color:#102c4c;outline:none;box-shadow:none}
.hsearch-row input::placeholder{color:#66788a;opacity:1}
.hsearch-row input:focus,.hsearch-row input:focus-visible{border-color:#6b94bb;outline:none;box-shadow:inset 0 0 0 1px #6b94bb}
.hsearch-go{box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:0 16px;border:1px solid var(--blue,#0b54a0);border-radius:8px;background:var(--blue,#0b54a0);color:#fff;font:inherit;font-size:16px;line-height:20px;font-weight:600;box-shadow:none;cursor:pointer}
.hsearch-go:hover{background:#094b90;border-color:#094b90}
.product-search-results [data-search-clear]{box-sizing:border-box;min-height:44px;margin:0 0 18px;padding:10px 16px;border:1px solid #bdcddd;border-radius:8px;background:#fff;color:var(--blue,#0b54a0);font:inherit;font-size:16px;line-height:22px;font-weight:600;cursor:pointer}
.product-search-results [data-search-clear]:hover{background:#f4f8fc;border-color:#6b94bb}
@media(max-width:700px){.hsearch{position:static}.hsearch-panel{right:16px;left:16px;width:auto}}
@media(min-width:1241px){.navrow{gap:8px}}
@media(min-width:1241px) and (max-width:1400px){.navlink{padding:8px 5px}.navlink[aria-current="page"]::after{left:5px;right:5px}}
@media(min-width:1241px) and (max-width:1300px){.navlink{padding:8px 4px}.navlink[aria-current="page"]::after{left:4px;right:4px}}
@media(max-width:340px){.header .brand img{width:140px!important;height:auto!important}}
@media(max-width:700px){.hsearch-row{flex-wrap:wrap}.hsearch-row input{flex:1 1 100%}.hsearch-go{flex:1 1 100%}}
@media(max-width:340px){.hsearch-panel{padding:12px}}

/* Let the mobile brand shrink while header action targets keep their size. */
@media(max-width:480px){.header .navrow>.brand{flex:0 1 auto;min-width:0}.header .navrow>.brand img{max-width:100%!important}}
