/* 4x4Partes native navigation. Preserve brand, content, portals and stable flow. */
html[data-fw-motion] header.fw-header {
 --fw-reserve:68px;position:sticky!important;top:0!important;width:100%!important;max-width:none!important;
 height:var(--fw-reserve)!important;min-height:0!important;margin:0 auto!important;border-radius:0!important;
 transform:none!important;translate:none!important;pointer-events:auto!important;overflow:visible!important;transition:none!important;padding:0!important;
 background:color-mix(in oklab,var(--brand-bg,#f4f7fb) 95%,transparent)!important;border:0!important;border-bottom:1px solid var(--brand-border,#d4dfe9)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
html[data-fw-motion] header.fw-header>.fw-header-inner {box-sizing:border-box;height:100%;width:100%;max-width:72rem!important;padding:10px 24px;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:none;}
html[data-fw-motion] header.fw-header>.fw-header-inner>a:first-child img {height:40px!important;width:auto!important;max-width:190px!important;}
html[data-fw-motion][data-fw-compact=true] header.fw-header>.fw-header-inner>a:first-child img {height:32px!important;}
html[data-fw-motion][data-fw-compact=true] header.fw-header {top:20px!important;width:min(850px,calc(100% - 40px))!important;height:70px!important;margin-bottom:calc(var(--fw-reserve) - 70px)!important;border-radius:50px!important;box-shadow:0 8px 30px -14px rgb(11 31 51/.28)!important;}
html[data-fw-motion][data-fw-compact=true] header.fw-header>.fw-header-inner {padding-inline:20px;gap:12px;}
html[data-fw-motion] header.fw-header :is(button,a,input) {min-height:44px;}
html[data-fw-motion] header.fw-header :is(button,a) {min-width:44px;flex-shrink:0;}
html[data-fw-motion] header.fw-header form {min-width:0;}
html[data-fw-motion] header.fw-header form input {width:0;flex:1;}
html[data-fw-motion] header.fw-header>.fw-header-inner>div:last-child {gap:6px;}
html[data-fw-motion] header.fw-header button[aria-label="Abrir carrito"] {padding:8px 12px;gap:8px;}
html[data-fw-motion] header.fw-header :focus-visible {outline-offset:3px;}
html[data-fw-motion] .fw-edge-action {right:max(8px,env(safe-area-inset-right))!important;left:auto!important;}
html[data-fw-motion][data-fw-public=true] main button.mt-auto.w-full {height:auto;min-height:44px;white-space:normal;line-height:1.35;padding:10px 12px;text-align:center;}
html[data-fw-motion][data-fw-public=true] main button.mt-auto.w-full>span {min-width:0;white-space:normal;overflow-wrap:anywhere;}
html[data-fw-motion][data-fw-public=true] main button.vh-shine:not(.mt-auto) {min-height:44px;height:auto;white-space:normal;line-height:1.35;padding:10px 14px;}
@media(max-width:760px) {
 html[data-fw-motion][data-fw-compact=true] header.fw-header {top:12px!important;width:calc(100% - 28px)!important;height:64px!important;margin-bottom:calc(var(--fw-reserve) - 64px)!important;}
 html[data-fw-motion][data-fw-compact=true] header.fw-header>.fw-header-inner {padding-inline:12px;gap:8px;}
}
@media(max-width:639px) {
 html[data-fw-motion] header.fw-header>.fw-header-inner {padding-inline:12px;}
 html[data-fw-motion] header.fw-header>.fw-header-inner>a:first-child img {height:28px!important;max-width:150px!important;}
 html[data-fw-motion][data-fw-compact=true] header.fw-header>.fw-header-inner>a:first-child img {height:24px!important;}
}
@media(max-width:479px) {
 html[data-fw-motion] header.fw-header {--fw-reserve:108px;}
 html[data-fw-motion] header.fw-header>.fw-header-inner {display:grid;grid-template-columns:1fr 44px;grid-template-rows:44px 44px;gap:4px 8px!important;padding:8px 12px!important;}
 html[data-fw-motion] header.fw-header>.fw-header-inner>a:first-child {justify-self:start;}
 html[data-fw-motion] header.fw-header>.fw-header-inner>div:last-child {grid-column:1/-1;justify-self:end;}
 html[data-fw-motion][data-fw-compact=true] header.fw-header {height:108px!important;margin-bottom:0!important;border-radius:28px!important;}
}
@media(max-width:359px) {
 html[data-fw-motion][data-fw-public=true] main button.mt-auto.w-full {flex-direction:column;gap:4px;padding:8px;}
}
/* The legal page has its own existing two-link navigation. */
html[data-fw-motion] body[data-fw-legal-page] {display:flex;flex-direction:column;}
html[data-fw-motion] body[data-fw-legal-page]>:is(main,footer) {width:100%;}
html[data-fw-motion] header[data-fw-legal] {--fw-reserve:92px;position:sticky;top:0;width:min(58rem,100%);height:var(--fw-reserve);min-height:0;max-width:none;margin:0 auto;padding:24px clamp(1rem,4vw,2.5rem);z-index:40;background:var(--brand-bg,#fafaf8);transition:none;}
html[data-fw-motion] header[data-fw-legal] a {min-height:44px;display:inline-flex;align-items:center;}
html[data-fw-motion][data-fw-compact=true] header[data-fw-legal] {width:min(850px,calc(100% - 40px));height:70px;margin-bottom:calc(var(--fw-reserve) - 70px);top:20px;border-radius:50px;padding:12px 20px;box-shadow:0 8px 30px -14px rgb(11 31 51/.28);}
@media(max-width:760px) {
 html[data-fw-motion][data-fw-compact=true] header[data-fw-legal] {width:calc(100% - 28px);height:64px;margin-bottom:calc(var(--fw-reserve) - 64px);top:12px;padding:10px 14px;}
}
/* Administrative nav stays inside its native workspace; no overlay over the sidebar. */
html[data-fw-motion] #admin-content.admin-workspace>.admin-topbar[data-fw-private] {position:sticky!important;transform:none!important;translate:none!important;pointer-events:auto!important;top:0!important;width:100%!important;margin:0!important;border-radius:0!important;min-height:68px;height:68px;transition:none;}
html[data-fw-motion] #admin-content.admin-workspace>.admin-topbar[data-fw-private] :is(button,a) {min-height:44px!important;min-width:44px!important;}
html[data-fw-motion][data-fw-ready] :is(header.fw-header,header[data-fw-legal]) {transition:width 1s cubic-bezier(.16,1,.3,1),height 1s cubic-bezier(.16,1,.3,1),top 1s cubic-bezier(.16,1,.3,1),margin 1s cubic-bezier(.16,1,.3,1),border-radius 1s cubic-bezier(.16,1,.3,1),padding 1s cubic-bezier(.16,1,.3,1),background-color 700ms,border-color 700ms,box-shadow 700ms!important;}
html[data-fw-motion][data-fw-ready] header.fw-header>.fw-header-inner {transition:padding 1s cubic-bezier(.16,1,.3,1),gap 1s cubic-bezier(.16,1,.3,1);}
html[data-fw-motion][data-fw-ready] header.fw-header>.fw-header-inner>a:first-child img {transition:height 1s cubic-bezier(.16,1,.3,1)!important;}
@media(prefers-reduced-motion:reduce) {html[data-fw-motion] :is(header.fw-header,header[data-fw-legal],header[data-fw-private],header.fw-header>.fw-header-inner) {transition:none!important;}}
@media(prefers-reduced-motion:reduce) {html[data-fw-motion] header.fw-header>.fw-header-inner>a:first-child img {transition:none!important;}}
@media print {html[data-fw-motion] :is(header.fw-header,header[data-fw-legal],header[data-fw-private]) {position:static!important;width:100%!important;top:0!important;margin:0!important;box-shadow:none!important;}}
