/* Buscador de toda la tienda MGB: encabezados de páginas públicas */
.mgb-global-search{display:flex;align-items:center;gap:6px;box-sizing:border-box;min-width:0;width:min(470px,100%);margin:0;padding:5px;border:1px solid #d6e3eb;border-radius:11px;background:#f8fbfd;color:#1a3142}
.mgb-global-search input[type=search]{box-sizing:border-box;flex:1 1 auto;min-width:0;width:100%;border:0;outline:0;background:transparent;color:#172839;font:inherit;font-size:13px;padding:9px 10px}
.mgb-global-search input::placeholder{color:#657b8b}
.mgb-global-search:focus-within{outline:2px solid #8ddcf4;outline-offset:2px}
.mgb-global-search button[type=submit]{box-sizing:border-box;flex:0 0 auto;min-height:39px;padding:9px 15px;border:0;border-radius:8px;background:#087da3;color:white;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.mgb-global-search button[type=submit]:hover{background:#086081;color:white}
.mgb-global-search button[type=submit]:focus-visible{outline:3px solid #6bcbe9;outline-offset:2px}
body[data-section] .header-line{flex-wrap:wrap}
body[data-section] .header-line>.mgb-global-search{order:1;flex:1 1 350px;max-width:520px;margin-left:auto}
body[data-section] .header-line>.header-action{order:2;margin-left:0}
body[data-section] .header-line>a:not(.brand):not(.header-action){order:2}
body[data-section] .header-line>.nav{order:3;width:100%;margin-left:0}
header.bar .head:has(>.mgb-global-search){flex-wrap:wrap;column-gap:18px;row-gap:2px;padding-top:6px;padding-bottom:7px}
header.bar .head>.brandmark{order:0}
header.bar .head>.mgb-global-search{order:1;flex:1 1 320px;max-width:490px;margin-left:auto}
header.bar .head>nav{order:2;flex:0 0 100%;width:100%;margin-left:0;flex-wrap:wrap;gap:11px 18px;justify-content:space-between;padding:4px 0}
header:not(.header):not(.bar) .head:has(>.mgb-global-search){flex-wrap:wrap;padding-top:9px;padding-bottom:9px;gap:10px 24px}
header:not(.header):not(.bar) .head>.mgb-global-search{order:1;flex:1 1 300px;margin-left:auto}
header:not(.header):not(.bar) .head>nav{order:2;flex-basis:100%;justify-content:space-between}
header:has(>.mgb-global-search){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
header>.mgb-global-search{flex:1 1 300px;max-width:440px}
@media(min-width:761px) and (max-width:800px){body[data-section] .header-line>.nav{flex-wrap:wrap;justify-content:center}}
@media(max-width:800px){body[data-section] .header-line>.mgb-global-search{order:9;flex:0 0 100%;width:100%;max-width:none;margin:4px 0 8px}body[data-section] .header-line>.nav{order:10}header.bar .head>.mgb-global-search{order:1;flex-basis:100%;max-width:none;margin:0 0 5px}header.bar .head>nav{order:2}header:not(.header):not(.bar) .head>.mgb-global-search{flex-basis:100%;width:100%;max-width:none;margin:2px 0}}
@media(max-width:480px){.mgb-global-search{width:100%;padding:4px}.mgb-global-search input[type=search]{font-size:16px;padding:9px 6px}.mgb-global-search button[type=submit]{min-height:42px;padding:9px 12px}}