/* Fenêtre de recherche du thème Zox News. Couleurs du bouton : Zox News Options (variables
   --zox-recherche-fond et --zox-recherche-texte). L'ancienne superposition de Zox est cachée
   seulement quand la fenêtre est prête (classe zox-recherche-prete posée par le script). */
html.zox-recherche-prete #mvp-search-wrap{display:none}
.zox-recherche{box-sizing:border-box;position:fixed;inset:clamp(16px,12svh,120px) 0 auto;margin:0 auto;width:calc(100% - 32px);max-width:560px;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #ddd;border-radius:18px;background:#fff;color:#111;box-shadow:0 20px 70px rgba(0,0,0,.18);font:400 16px/1.4 system-ui,sans-serif}
.zox-recherche::backdrop{background:rgba(0,0,0,.45)}
.zox-recherche .zox-recherche-tete{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.zox-recherche h2{margin:0;padding:0;font:700 22px/1.3 system-ui,sans-serif;color:#111}
.zox-recherche button{box-sizing:border-box;cursor:pointer;min-width:44px;min-height:44px;border:0;border-radius:9px;font:600 16px/1.3 system-ui,sans-serif;text-transform:none;letter-spacing:normal;background:var(--zox-recherche-fond,#000);color:var(--zox-recherche-texte,#ffd941);padding:10px 16px}
.zox-recherche .zox-recherche-fermer{display:grid;place-items:center;flex:none;padding:10px;background:#f2f2f2;color:var(--zox-recherche-fond,#000)}
.zox-recherche svg{width:24px;height:24px}
.zox-recherche form{display:flex;gap:10px;margin:0;padding:0}
.zox-recherche input[type=search]{box-sizing:border-box;display:block;float:none;min-width:0;width:100%;flex:1;min-height:48px;height:auto;margin:0;border:1px solid #767676;border-radius:9px;background:#fff;color:#111;padding:10px 12px;font:400 16px/1.4 system-ui,sans-serif;text-transform:none}
.zox-recherche :focus-visible{outline:2px solid var(--zox-recherche-fond,#000);outline-offset:3px}
/* Au téléphone : feuille au bas de l'écran, bouton pleine largeur. */
@media (max-width:999px){
 .zox-recherche{inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:90%;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));border-width:1px 0 0;border-radius:18px 18px 0 0}
 .zox-recherche form{flex-direction:column}
 .zox-recherche form button{width:100%}
}
