/* Shared search/recovery presentation consumes the global design system. */
.oz-site-header .oz-header-search-toggle { display:inline-flex; }
.oz-search-dialog-header .oz-eyebrow { margin:0; }
.oz-search-panel h2 { font-size:clamp(1.75rem,3vw,2.5rem); line-height:1.2; margin:1.25rem 0; }
.oz-search-panel h3 { font-size:1rem; margin:2rem 0 1rem; }
body.oz-search-open { overflow:hidden; }
.oz-discovery-form { display:block; width:100%; max-width:none; }
.oz-discovery-form label { display:block; font-size:var(--oz-font-size-small); font-weight:var(--oz-font-weight-semibold); margin-bottom:.5rem; }
.oz-search-fields { display:flex; gap:.5rem; }
.oz-search-fields input[type="search"] { width:100%; min-width:0; min-height:3.25rem; background:var(--oz-color-background); }
.oz-search-fields button { min-height:3.25rem; }
.oz-discovery-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.oz-discovery-routes a { display:flex; align-items:center; justify-content:space-between; min-height:3.5rem; padding:.85rem 1rem; border-radius:var(--oz-radius-medium); background:var(--oz-context-soft); color:var(--oz-color-text); font-weight:var(--oz-font-weight-semibold); text-decoration:none; border:1px solid var(--oz-color-border); }
.oz-discovery-routes a:hover { border-color:var(--oz-context-accent); }
.oz-content-breadcrumbs,.woocommerce-breadcrumb { overflow-wrap:anywhere; }
@media(max-width:40rem) {
 .oz-discovery-routes { grid-template-columns:1fr; }
 .oz-search-fields { flex-wrap:wrap; }
 .oz-search-fields input[type="search"] { flex:1 1 12rem; }
 .oz-content-breadcrumbs ol { flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; padding-bottom:.4rem; }
}
.oz-discovery-form input[type="search"] { border:1px solid var(--oz-color-border); border-radius:var(--oz-form-radius); padding:.75rem 1rem; font:inherit; }
/* Live results stay inside the existing accessible search dialog. */
#oz-search-panel { width:min(60rem,calc(100% - 2rem)); }
.oz-live-search-status { color:var(--oz-color-text-muted,#626879); margin:1rem 0; font-size:.95rem; }
.oz-live-search-group h3 { font-size:1.1rem; margin:1.5rem 0 .65rem; }
.oz-live-search-group ul { list-style:none; padding:0; margin:0; }
.oz-live-search-group li+li { border-top:1px solid var(--oz-color-border); }
#oz-search-panel .oz-live-search-result { display:flex; align-items:center; gap:1rem; padding:.9rem; border-radius:.75rem; color:var(--oz-color-text); text-decoration:none; background:var(--oz-color-surface,#f5f5f7); }
#oz-search-panel .oz-live-search-result:hover { background:var(--oz-color-primary-soft,#f0edff); }
.oz-live-search-result img { flex:none; width:56px; height:56px; object-fit:contain; }
.oz-live-search-copy { min-width:0; overflow-wrap:anywhere; }
.oz-live-search-copy strong { color:var(--oz-color-primary,#4f34e2); }
.oz-live-search-copy>span { display:block; font-size:.875rem; margin-top:.2rem; }
.oz-live-search-description { display:-webkit-box!important; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.oz-live-search-more { margin-top:.75rem; }
@media(max-width:600px) { #oz-search-panel { width:calc(100% - 1rem); } .oz-live-search-result { gap:.65rem!important; padding:.75rem!important; } .oz-live-search-result img { width:44px; height:44px; } }
