/* Shop 1 header only. Existing menu, search and cart own their business behavior. */
.mqv-header-container{width:calc(100% - 2 * var(--mqv-content-gutter,15px));max-width:var(--mqv-content-max,1370px);margin-inline:auto}
#header .mqv-header-topbar{background:var(--mqv-info-soft,#dfedff);color:var(--mqv-info-ink,#222);padding:0;border-bottom:1px solid var(--mqv-info-border,#007bff30);font-size:12px;line-height:1.5}
.mqv-header-topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;padding-block:6px}
.mqv-header-messages,.mqv-header-secondary{display:flex;align-items:center;gap:20px}
#header .mqv-header-topbar .countdown-block{font-size:inherit;text-transform:none;white-space:normal}
#header .mqv-header-topbar .destacado{color:var(--mqv-info-accent)}
#header .mqv-header-secondary a{color:inherit;border:0;padding:0;text-decoration:none;font-weight:400}
#header .mqv-header-secondary a:hover{color:var(--mqv-info-accent);text-decoration:underline}
.mqv-header-language .dropdown-menu{font-size:13px;border:1px solid var(--mqv-info-border);border-radius:var(--mqv-info-control-radius);padding:8px;min-width:120px}
#header .mqv-header-language .dropdown-item{padding:8px}
#header #sticky-header.mqv-header-shared{background:#fff;color:var(--mqv-info-ink);border-bottom:1px solid var(--mqv-info-border)}
#header .mqv-header-shared .cabecera{padding:16px 0}
.mqv-header-main{display:grid;grid-template-columns:minmax(180px,240px) minmax(180px,1fr) auto;align-items:center;gap:28px;min-width:0}
.mqv-header-logo{display:flex;align-items:center;min-width:0}
.mqv-header-logo img{display:block;width:100%;max-width:240px;height:auto;max-height:60px;object-fit:contain}
.mqv-header-search-slot{min-width:0}
#header .mqv-header-shared .search-block{display:block!important;position:static;width:100%;max-width:none;flex:none;padding:0;margin:0;background:transparent;box-shadow:none}
#header .mqv-header-shared .buscador{align-items:center;flex-wrap:nowrap;width:100%!important;max-width:none!important;margin:0;height:46px;background:var(--mqv-info-soft);border:1px solid var(--mqv-info-border);border-radius:999px;overflow:visible;box-shadow:none}
#header .mqv-header-shared .buscador:focus-within{border-color:var(--mqv-info-accent);outline:2px solid var(--mqv-info-focus);outline-offset:2px}
#header .mqv-header-shared .buscador input{background:transparent;border:0;min-width:0;height:44px;font-family:inherit;font-size:14px;line-height:1.5;text-transform:none;padding:10px 16px 10px 0;box-shadow:none}
#header .mqv-header-shared .buscador input::placeholder{color:var(--mqv-info-muted);opacity:1;text-transform:none}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador .input-group-prepend{display:flex;align-items:center;border:0;background:transparent;flex:none}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button{display:grid;place-items:center;flex:none;align-self:center;border:0;background:transparent;border-radius:50%;width:44px;height:44px;padding:0;box-shadow:none}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button::before{content:'';grid-area:1/1;width:36px;height:36px;border-radius:50%;background:var(--mqv-info-accent);pointer-events:none;transition:background-color var(--mqv-info-motion)}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button:hover::before{background:var(--mqv-info-accent-pressed)}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button:active::before{background:var(--mqv-info-accent-pressed)}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button:focus-visible{outline:2px solid var(--mqv-info-focus);outline-offset:2px}
:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button img{grid-area:1/1;width:22px;height:22px;filter:brightness(0) invert(1);pointer-events:none}
#header #header-block.mqv-header-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:0;min-width:0;position:static}
#header .mqv-header-action{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 10px;min-height:48px;min-width:44px;border:0;border-radius:var(--mqv-info-control-radius);background:transparent;color:var(--mqv-info-ink);font-family:inherit;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;text-decoration:none;cursor:pointer;box-shadow:none;transition:background-color var(--mqv-info-motion),color var(--mqv-info-motion)}
#header .mqv-header-action:hover{background:var(--mqv-info-soft);color:var(--mqv-info-accent);text-decoration:none}
#header .mqv-header-action:active{background:var(--mqv-info-border)}
#header .mqv-header-action svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
#header .mqv-header-action .mqv-account-icon{margin:0}
#header .mqv-header-action small{display:block;font-size:11px;color:var(--mqv-info-muted);font-weight:400}
#header .mqv-header-count{position:absolute;top:0;right:3px;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;border-radius:999px;background:var(--mqv-info-accent);color:white;font-size:10px;font-weight:600;padding:0 4px;line-height:1}
/* The existing cart anchor remains the only interactive control; its badge travels with the icon. */
#header .mqv-header-action.mqv-header-cart{padding-block:0}
#header .mqv-header-action.mqv-header-cart>.mqv-header-icon-circle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--mqv-info-accent);color:white;transition:background-color var(--mqv-info-motion)}
#header .mqv-header-cart .mqv-header-icon-circle>svg{width:22px;height:22px}
#header .mqv-header-cart:hover .mqv-header-icon-circle,#header .mqv-header-cart:active .mqv-header-icon-circle{background:var(--mqv-info-accent-pressed)}
#header .mqv-header-cart .mqv-header-count{top:-10px;right:-5px;min-width:18px;height:18px;border:2px solid white;box-sizing:border-box}
#header [hidden]{display:none!important}
#header .mqv-header-account{position:relative}
#header .mqv-header-account-panel{position:absolute;right:0;top:calc(100% + 8px);width:250px;max-width:calc(100vw - 30px);padding:8px;background:white;color:var(--mqv-info-ink);border:1px solid var(--mqv-info-border);border-radius:var(--mqv-info-panel-radius);box-shadow:0 8px 22px #2221;z-index:20;max-height:calc(100dvh - 150px);overflow-y:auto}
#header .mqv-header-account-panel a{display:block;margin:0;padding:10px 12px;border:0;border-radius:8px;color:inherit;background:transparent;text-decoration:none;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;white-space:normal}
#header .mqv-header-account-panel a:hover{color:var(--mqv-info-accent);background:var(--mqv-info-soft)}
#header .mqv-header-account-hooks{padding:0;margin:0;list-style:none}
#header .mqv-header-account-hooks:empty{display:none}
#header .mqv-header-secondary-account{display:none}
#header .mqv-header-action:focus-visible,#header .mqv-header-account-panel a:focus-visible,#header .mqv-header-secondary a:focus-visible,#header .mqv-header-menu:focus-visible{outline:2px solid var(--mqv-info-focus);outline-offset:3px}
#header .mqv-header-menu{display:none}
#header .mqv-header-shared .shopping-cart{display:none!important}
body.mqv-editorial-case #blockcart-modal .modal-dialog{max-width:480px;width:min(480px,100%)}
body.mqv-editorial-case #blockcart-modal .modal-content{background:white;color:var(--mqv-info-ink);font-family:inherit;border:1px solid var(--mqv-info-border);border-radius:var(--mqv-info-panel-radius) 0 0 var(--mqv-info-panel-radius)}
body.mqv-editorial-case #blockcart-modal .modal-header{background:#fff;color:var(--mqv-info-ink);border-bottom:1px solid var(--mqv-info-border);padding:20px}
body.mqv-editorial-case #blockcart-modal .modal-title{font-size:20px;line-height:1.4;font-weight:600;letter-spacing:normal;text-transform:none}
body.mqv-editorial-case #blockcart-modal .modal-title span{font-size:13px;font-weight:400}
body.mqv-editorial-case #blockcart-modal .modal-body{padding:16px 20px}
body.mqv-editorial-case #blockcart-modal .modal-footer{padding:20px;border-top:1px solid var(--mqv-info-border);box-shadow:none}
body.mqv-editorial-case #blockcart-modal .tramitar-cart{border-radius:999px;background:var(--mqv-info-accent);color:white;box-shadow:none;font-size:15px;font-weight:600}
body.mqv-editorial-case #blockcart-modal .shopping-cart-item-row{border-bottom:1px solid var(--mqv-info-border);padding-block:12px}
body.mqv-editorial-case #blockcart-modal .shopping-cart-item-row__info .item-name{font-size:14px;line-height:1.4;letter-spacing:normal}
body.mqv-editorial-case #blockcart-modal .shopping-cart-item-row__info .item-price{font-size:15px}
@media(max-width:1199px){.mqv-header-main{gap:16px;grid-template-columns:190px minmax(170px,1fr) auto}#header .mqv-header-action{padding-inline:7px}#header .mqv-header-action-label{display:none}.mqv-header-messages{gap:12px}.mqv-header-secondary{gap:12px}.mqv-header-shipping{max-width:240px}}
@media(max-width:991px){
 .mqv-header-topbar__inner{flex-direction:column;gap:4px;padding-block:6px}.mqv-header-messages{width:100%;justify-content:center;flex-wrap:wrap;gap:2px 12px;font-size:var(--mqv-info-caption);text-align:center}.mqv-header-shipping{max-width:none}.mqv-header-secondary{font-size:var(--mqv-info-caption);justify-content:center;gap:16px}.mqv-header-secondary .mqv-header-language>a{font-size:inherit!important}
 #header .mqv-header-shared .cabecera{padding:10px 0 12px}.mqv-header-main{grid-template-columns:40px minmax(0,1fr) auto;gap:10px}
 #header .mqv-header-menu{display:flex;align-items:center;justify-content:center;width:40px;min-height:44px;padding:8px;color:var(--mqv-info-accent);border:0;background:transparent;border-radius:8px}
 #header .mqv-header-menu svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 .mqv-header-logo img{max-width:200px;max-height:44px}.mqv-header-search-slot{grid-row:2;grid-column:1/-1}
 #header .mqv-header-actions{gap:2px!important}#header .mqv-header-action{min-width:38px;min-height:42px;padding:6px}
 #header .mqv-header-action.mqv-header-cart{min-width:44px;min-height:44px;padding-inline:4px}
 #header .mqv-header-action>span:not(.mqv-header-count){display:none}#header .mqv-header-contact{display:none}#header .mqv-header-secondary-account{display:block}
 #header .mqv-header-account-panel{position:fixed;top:var(--mqv-header-account-top,120px);right:var(--mqv-content-gutter);max-height:calc(100dvh - var(--mqv-header-account-top,120px) - 15px)}
 #header .mqv-header-shared .buscador{height:44px}#header .mqv-header-shared .buscador input{height:42px}
}
@media(prefers-reduced-motion:reduce){#header .mqv-header-action,#header .mqv-header-action.mqv-header-cart>.mqv-header-icon-circle,:is(#header .mqv-header-shared,#mqv-search-panel) .buscador button::before{transition:none}}
/* Neutralize only the old header shell, not the category-menu content. */
#header #sticky-header.mqv-header-shared{padding-top:0}
#header .mqv-header-shared .cabecera{background:#fff;margin-inline:auto}
#header .mqv-header-shared #_desktop_cart{order:0}
@media(min-width:992px){
 #header .mqv-header-shared #header_menu>.container{width:calc(100% - 2 * var(--mqv-content-gutter));max-width:var(--mqv-content-max)}
 #header .mqv-header-shared #header_menu>.container>.row{margin:0}
 #header .mqv-header-shared #mqvmegamenu-main>ul{display:flex;flex-wrap:wrap;justify-content:center}
}

body.mqv-editorial-case #blockcart-modal .close{color:var(--mqv-info-accent);opacity:1}
body.mqv-editorial-case #blockcart-modal .close img{filter:none}
body.mqv-editorial-case #blockcart-modal .modal-header .modal-title{color:var(--mqv-info-ink);text-transform:none}

/* Menu labels are normalized once on the server, with brands and units preserved. */
#header .mqv-header-shared #header_menu .mqvmegamenu :is(.title,.title-text,.title_font,.sub_title_font,.product-name),
#header .mqv-header-shared #header_menu .mqvmegamenu :is(.title,.title_font,.sub_title_font) *,
#mqv-mobile-navigation :is(.mqv-mobile-navigation__label,.mqv-mobile-navigation__title,.mqv-mobile-navigation__back){text-transform:none!important}
