:root{--bosch-primary:#002169;--bosch-secondary:#0a1933;--bosch-accent:#23448c;--bosch-hero-dark1:#00002d;--bosch-hero-dark2:#000005;--bosch-success:#10b981;--bosch-danger:#dc2626}

.maz-header{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}
.maz-header .maz-topbar{background:var(--bosch-hero-dark1);color:#c9d1de;font-size:12.5px;min-height:38px;border-bottom:1px solid rgba(255,255,255,.05)}
.maz-header .maz-topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:16px}
.maz-header .maz-topbar-links{display:flex;gap:0;margin:0;padding:0;list-style:none}
.maz-header .maz-topbar-links li{display:flex;align-items:center}
.maz-header .maz-topbar-links li+li::before{content:'';display:inline-block;width:1px;height:12px;background:rgba(255,255,255,.14);margin:0 14px}
/* Items que requieren sesión: ocultos por default; el JS los muestra solo si hay cookie de auth. */
.maz-header .maz-topbar-links li[data-auth-only]{display:none}
.maz-header.maz-auth-active .maz-topbar-links li[data-auth-only]{display:flex}
.maz-header .maz-actions li[data-auth-only]{display:none}
.maz-header.maz-auth-active .maz-actions li[data-auth-only]{display:block}
.maz-header .maz-topbar-links a{color:#c9d1de;text-decoration:none;font-weight:400;font-size:12.5px;transition:color .15s}
.maz-header .maz-topbar-links a:hover{color:#fff}
.maz-header .maz-topbar-promo{display:flex;align-items:center;gap:14px}
.maz-header .promo-pill{display:inline-flex;align-items:center;gap:7px;background:rgba(var(--bosch-primary-rgb, 41, 64, 211),.16);color:#9fb4ff;padding:4px 11px;border-radius:999px;font-weight:600;font-size:12px}
.maz-header .promo-dot{width:6px;height:6px;border-radius:50%;background:var(--bosch-primary);animation:mazPulse 1.6s infinite}
@keyframes mazPulse{0%{box-shadow:0 0 0 0 rgba(var(--bosch-primary-rgb, 41, 64, 211),.5)}70%{box-shadow:0 0 0 6px rgba(var(--bosch-primary-rgb, 41, 64, 211),0)}100%{box-shadow:0 0 0 0 rgba(var(--bosch-primary-rgb, 41, 64, 211),0)}}
.maz-header .promo-code{color:#c9d1de;font-size:12.5px}
.maz-header .promo-code strong{color:#fff;letter-spacing:.5px}
.maz-header .locale{display:inline-flex;align-items:center;background:rgba(255,255,255,.06);border-radius:999px;padding:3px 4px}
.maz-header .locale-btn{background:transparent;border:0;color:#e4e8ef;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:.3px}
.maz-header .locale-btn:hover{background:rgba(255,255,255,.08);color:#fff}
.maz-header .locale-btn svg{display:inline-block;border-radius:2px}
.maz-header .locale-sep{width:1px;height:14px;background:rgba(255,255,255,.14)}
.maz-header .maz-upper{background:#fff;border-bottom:1px solid #eef0f4;padding:18px 0}
.maz-header .maz-upper-inner{display:grid;grid-template-columns:auto 1fr auto;gap:32px;align-items:center}
.maz-header .maz-logo img{max-height:56px;width:auto;display:block}
.maz-header .maz-search{max-width:720px;width:100%;margin:0 auto;position:relative}
.maz-header .maz-search-tabs{display:inline-flex;gap:0;background:#f5f6f9;border-radius:8px 8px 0 0;padding:4px 4px 0;margin-bottom:-4px;position:relative;z-index:2}
.maz-header .maz-search-tabs button{background:transparent;border:0;cursor:pointer;padding:7px 16px;font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#4a5366;border-radius:6px 6px 0 0;transition:background .15s,color .15s}
.maz-header .maz-search-tabs button.active{background:#fff;color:var(--bosch-primary);box-shadow:0 -2px 8px rgba(0,0,0,.04)}
.maz-header .maz-search-form{position:relative;display:flex;align-items:center;background:#f5f6f9;border:1.5px solid transparent;border-radius:10px;border-top-left-radius:0;transition:border-color .15s,background .15s}
.maz-header .maz-search-form:focus-within{background:#fff;border-color:var(--bosch-primary);box-shadow:0 4px 16px rgba(var(--bosch-primary-rgb, 41, 64, 211),.08)}
.maz-header .maz-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:16px;color:#8993a4;pointer-events:none}
.maz-header .maz-search-form input[type="search"]{flex:1;min-width:0;border:0;background:transparent;height:46px;padding:0 16px 0 44px;font-size:14.5px;color:#1a1a1a;outline:0}
.maz-header .maz-search-form input::placeholder{color:#8993a4}
.maz-header .maz-search-form button[type="submit"]{height:38px;margin:4px;padding:0 22px;background:var(--bosch-primary);color:#fff;border:0;border-radius:7px;font-weight:600;font-size:13.5px;letter-spacing:.3px;cursor:pointer;transition:background .15s}
.maz-header .maz-search-form button[type="submit"]:hover{background:var(--bosch-accent, #1e34b8)}
/* ===== Autocomplete dropdown ===== */
.maz-header .maz-search-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #eef0f4;border-radius:12px;box-shadow:0 14px 38px rgba(15,24,37,.15);max-height:480px;overflow-y:auto;z-index:120;padding:6px 0}
.maz-header .maz-search-dropdown[hidden]{display:none}
.maz-header .maz-sd-section{padding:8px 4px}
.maz-header .maz-sd-section+.maz-sd-section{border-top:1px solid #f0f2f6}
.maz-header .maz-sd-heading{font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#8993a4;padding:4px 14px 8px}
.maz-header .maz-sd-list{list-style:none;margin:0;padding:0}
.maz-header .maz-sd-list li{margin:0}
.maz-header .maz-sd-product{display:flex;align-items:center;gap:12px;padding:8px 14px;text-decoration:none;color:#1a1a1a;transition:background .12s}
.maz-header .maz-sd-product:hover{background:#f5f6f9}
.maz-header .maz-sd-thumb{flex-shrink:0;width:40px;height:40px;background:#f5f6f9;border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.maz-header .maz-sd-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.maz-header .maz-sd-pinfo{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.maz-header .maz-sd-pname{font-size:13.5px;font-weight:600;color:#1a1a1a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
.maz-header .maz-sd-pmeta{display:flex;gap:6px;flex-wrap:wrap;font-size:11.5px;color:#6c757d;line-height:1.2}
.maz-header .maz-sd-pbrand{font-weight:600;color:#4a5366}
.maz-header .maz-sd-pcat::before{content:'·';margin-right:6px;color:#c1c8d4}
.maz-header .maz-sd-pprice{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;line-height:1.2;gap:1px}
.maz-header .maz-sd-pprice strong{font-size:13.5px;font-weight:700;color:var(--bosch-primary);white-space:nowrap}
.maz-header .maz-sd-pold{font-size:11px;color:#8993a4;text-decoration:line-through;white-space:nowrap}
.maz-header .maz-sd-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px}
.maz-header .maz-sd-chip{display:inline-flex;align-items:center;padding:6px 12px;background:rgba(var(--bosch-primary-rgb, 41, 64, 211),.08);color:#1e34b8;border:1px solid rgba(var(--bosch-primary-rgb, 41, 64, 211),.18);border-radius:999px;font-size:12.5px;font-weight:600;text-decoration:none;transition:background .12s,color .12s,border-color .12s}
.maz-header .maz-sd-chip:hover{background:var(--bosch-primary);color:#fff;border-color:var(--bosch-primary)}
.maz-header .maz-sd-chip-cat{background:#eef2f7;color:#3b4a63;border-color:#dee4ec}
.maz-header .maz-sd-chip-cat:hover{background:#3b4a63;color:#fff;border-color:#3b4a63}
.maz-header .maz-sd-allcta{display:block;padding:10px 14px;border-top:1px solid #f0f2f6;font-size:12.5px;font-weight:600;color:var(--bosch-primary);text-decoration:none;text-align:center;background:#fafbfd}
.maz-header .maz-sd-allcta:hover{background:#eef1ff}
.maz-header .maz-sd-empty{display:flex;flex-direction:column;gap:6px;padding:18px 16px;text-decoration:none;color:#4a5366;text-align:center}
.maz-header .maz-sd-empty strong{color:#1a1a1a}
.maz-header .maz-sd-empty-cta{font-size:13px;font-weight:700;color:var(--bosch-primary)}
.maz-header .maz-sd-empty:hover{background:#f5f6f9}
.maz-header .maz-actions{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
.maz-header .maz-actions li{margin:0;padding:0}
.maz-header .maz-action{position:relative;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;color:#1a1a1a;text-decoration:none;transition:background .15s}
.maz-header .maz-action:hover{background:#f5f6f9}
.maz-header .maz-action i{font-size:22px;color:#1a1a1a;line-height:1}
.maz-header .maz-action-label{font-size:12.5px;color:#4a5366;font-weight:500;display:none}
@media(min-width:1100px){.maz-header .maz-action-label{display:inline}}
.maz-header .maz-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 5px;background:var(--bosch-primary);color:#fff;border:2px solid #fff;border-radius:999px;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1;transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
.maz-header .maz-badge-hidden{display:none !important}
.maz-header .maz-badge.maz-badge-bump{transform:scale(1.4)}
.maz-header .maz-account{margin-left:4px;padding:6px 14px 6px 12px;border-left:1px solid #eef0f4;border-radius:0 8px 8px 0}
.maz-header .maz-account:hover{background:transparent;color:var(--bosch-primary)}
.maz-header .maz-account i{font-size:24px;color:#4a5366}
.maz-header .maz-account-text{display:none;line-height:1.15}
@media(min-width:900px){.maz-header .maz-account-text{display:block}}
.maz-header .maz-account-text small{display:block;font-size:11px;color:#8993a4;font-weight:400}
.maz-header .maz-account-text strong{display:block;font-size:13.5px;color:#1a1a1a;font-weight:600}
.maz-header .maz-account:hover .maz-account-text strong{color:var(--bosch-primary)}
.maz-header .maz-nav{background:#fff;border-bottom:1px solid #eef0f4;box-shadow:0 2px 0 rgba(0,0,0,.02)}
.maz-header .maz-nav-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:56px}
.maz-header .maz-nav-menu{flex:1}
.maz-header .maz-nav-list{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0;padding:0;list-style:none}
.maz-header .maz-nav-list>li{position:relative;margin:0;padding:0}
.maz-header .maz-nav-list>li>a{display:inline-flex;align-items:center;gap:6px;padding:18px;color:#1a1a1a;background:transparent;text-decoration:none;font-size:13.5px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;transition:color .15s;position:relative;line-height:1}
.maz-header .maz-nav-list>li>a::after{content:'';position:absolute;left:18px;right:18px;bottom:10px;height:2px;background:var(--bosch-primary);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.maz-header .maz-nav-list>li:hover>a{color:var(--bosch-primary)}
.maz-header .maz-nav-list>li:hover>a::after{transform:scaleX(1)}
.maz-header .maz-nav-list .caret{opacity:.6;transition:transform .2s}
.maz-header .maz-nav-list>li:hover .caret{transform:rotate(180deg)}
.maz-header .maz-nav-list .maz-dropdown{position:absolute;top:100%;left:8px;min-width:220px;background:#fff;border:1px solid #eef0f4;border-radius:10px;box-shadow:0 12px 32px rgba(15,24,37,.08);padding:8px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .15s,transform .15s,visibility .15s;z-index:100}
.maz-header .maz-nav-list>li:hover .maz-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.maz-header .maz-nav-list .maz-dropdown li{margin:0}
.maz-header .maz-nav-list .maz-dropdown a{display:block;padding:9px 16px;color:#1a1a1a;text-decoration:none;font-size:13px;font-weight:500;text-transform:none;letter-spacing:0}
.maz-header .maz-nav-list .maz-dropdown a:hover{background:#f5f6f9;color:var(--bosch-primary)}
/* ===== Barra de categorías (abajo del nav) — opciones arriba, categorías abajo ===== */
.maz-header .maz-catbar{background:#f7f8fa;border-bottom:1px solid #eef0f4}
.maz-header .maz-catbar .auto-container{display:flex;align-items:center}
.maz-header .maz-catbar-list{display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0;padding:0;list-style:none}
.maz-header .maz-catbar-list>li{position:relative;margin:0;padding:0}
.maz-header .maz-catbar-list>li>a{display:inline-flex;align-items:center;gap:6px;padding:11px 18px;color:#0a1933;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:.2px;transition:color .15s;line-height:1}
.maz-header .maz-catbar-list>li:hover>a{color:var(--bosch-primary)}
.maz-header .maz-catbar-list .caret{opacity:.6;transition:transform .2s}
.maz-header .maz-catbar-list>li:hover .caret{transform:rotate(180deg)}
.maz-header .maz-catbar-list .maz-dropdown{position:absolute;top:100%;left:8px;min-width:230px;background:#fff;border:1px solid #eef0f4;border-radius:10px;box-shadow:0 12px 32px rgba(15,24,37,.10);padding:8px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .15s,transform .15s,visibility .15s;z-index:100}
.maz-header .maz-catbar-list>li:hover .maz-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.maz-header .maz-catbar-list .maz-dropdown li{margin:0}
.maz-header .maz-catbar-list .maz-dropdown a{display:block;padding:9px 16px;color:#1a1a1a;text-decoration:none;font-size:13px;font-weight:500;letter-spacing:0}
.maz-header .maz-catbar-list .maz-dropdown a:hover{background:#f5f6f9;color:var(--bosch-primary)}
/* ===== Mega-menú "Comprar por departamento" (barra inferior) ===== */
.maz-header .maz-deptbar{background:#fff;border-bottom:1px solid #eef0f4;position:relative;z-index:60}
.maz-header .maz-deptbar .auto-container{display:flex;align-items:stretch}
.maz-header .maz-deptbar-inner{display:flex;align-items:stretch;width:100%}
.maz-header .maz-dept{position:relative;display:flex}
.maz-header .maz-dept-trigger{display:inline-flex;align-items:center;gap:10px;background:var(--bosch-primary);color:#fff;border:0;cursor:pointer;padding:13px 22px;font-size:13px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;line-height:1;transition:background .15s}
.maz-header .maz-dept-trigger:hover{background:var(--bosch-accent, #1e34b8)}
.maz-header .maz-dept-trigger svg{flex-shrink:0}
.maz-header .maz-dept-trigger-caret{transition:transform .2s;opacity:.9}
.maz-header .maz-dept:hover .maz-dept-trigger-caret,.maz-header .maz-dept.maz-dept-open .maz-dept-trigger-caret{transform:rotate(180deg)}
/* Panel: sidebar oscuro (departamentos) + grupos anidados (columnas) */
.maz-header .maz-dept-panel{position:absolute;top:100%;left:0;z-index:200;width:min(1080px,92vw);min-height:440px;background:#fff;border:1px solid #eef0f4;box-shadow:0 18px 44px rgba(15,24,37,.18);border-radius:0 0 10px 10px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s;overflow:hidden}
.maz-header .maz-dept:hover .maz-dept-panel,.maz-header .maz-dept.maz-dept-open .maz-dept-panel{opacity:1;visibility:visible;transform:translateY(0)}
.maz-header .maz-dept-list{position:static;width:264px;flex-shrink:0;background:#0a1933;margin:0;padding:8px 0;list-style:none;min-height:440px;max-height:78vh}
.maz-header .maz-dept-item{position:static;margin:0}
.maz-header .maz-dept-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 18px;color:#e4e8ef;text-decoration:none;font-size:13px;font-weight:600;line-height:1.25;transition:background .12s,color .12s}
.maz-header .maz-dept-caret{opacity:.65}
.maz-header .maz-dept-all-depts{border-top:1px solid rgba(255,255,255,.12);margin-top:6px}
.maz-header .maz-dept-all-depts .maz-dept-link{font-weight:700}
/* Departamento activo por defecto (primero); al hover del panel se reasigna */
.maz-header .maz-dept-item.is-default>.maz-dept-link{background:var(--bosch-primary);color:#fff}
.maz-header .maz-dept-panel:hover .maz-dept-item>.maz-dept-link{background:transparent;color:#e4e8ef}
.maz-header .maz-dept-panel:hover .maz-dept-item:hover>.maz-dept-link{background:var(--bosch-primary);color:#fff}
/* Grupo (panel derecho) anidado en cada <li>, posicionado sobre el área derecha */
.maz-header .maz-dept-group{position:absolute;left:264px;top:0;right:0;bottom:0;display:none;padding:22px 26px;overflow-y:auto;background:#fff}
.maz-header .maz-dept-item.is-default>.maz-dept-group{display:block}
.maz-header .maz-dept-panel:hover .maz-dept-item>.maz-dept-group{display:none}
.maz-header .maz-dept-panel:hover .maz-dept-item:hover>.maz-dept-group{display:block}
.maz-header .maz-dept-cols{column-count:4;column-gap:26px}
@media(max-width:1000px){.maz-header .maz-dept-cols{column-count:3}}
.maz-header .maz-dept-col{break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;display:inline-block;width:100%;margin:0 0 18px}
.maz-header .maz-dept-col-title{display:block;font-size:13px;font-weight:700;color:#1a1a1a;text-decoration:none;margin:0 0 8px;line-height:1.3}
.maz-header .maz-dept-col-title:hover{color:var(--bosch-primary)}
.maz-header .maz-dept-col-list{list-style:none;margin:0;padding:0}
.maz-header .maz-dept-col-list li{margin:0 0 5px}
.maz-header .maz-dept-col-list a{font-size:12.5px;color:#6c757d;text-decoration:none;line-height:1.35;transition:color .12s}
.maz-header .maz-dept-col-list a:hover{color:#1a1a1a}
.maz-header .maz-dept-all a{color:var(--bosch-primary);font-weight:600}
.maz-header .maz-dept-all a:hover{text-decoration:underline}
.maz-header .maz-dept-empty{display:flex;align-items:center;height:100%}
.maz-header .maz-dept-empty a{font-size:15px;font-weight:700;color:#1a1a1a;text-decoration:none}
.maz-header .maz-dept-empty a:hover{color:var(--bosch-primary)}
/* Categorías dentro del drawer móvil (la barra de abajo se oculta en móvil) */
.maz-header .maz-catbar-mobile,.maz-header .maz-dept-mobile,.maz-header .maz-nav-catlabel{display:none}
@media(max-width:991px){
  .maz-header .maz-catbar,.maz-header .maz-deptbar{display:none}
  .maz-header .maz-catbar-mobile,.maz-header .maz-dept-mobile{display:flex}
  .maz-header .maz-nav-catlabel{display:block;padding:14px 18px 6px;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#8a93a3;border-top:1px solid #eef0f4;margin-top:6px}
}
/* ===== Overflow "Ver más" del menú desktop ===== */
.maz-header .maz-nav-menu{min-width:0}
.maz-header .maz-nav-list.maz-nav-js{flex-wrap:nowrap}
.maz-header .maz-nav-list.maz-nav-js>li{flex:0 0 auto}
.maz-header .maz-nav-more{display:none;position:relative}
.maz-header .maz-nav-more-btn{display:inline-flex;align-items:center;gap:6px;padding:18px;color:#1a1a1a;background:transparent;text-decoration:none;font-size:13.5px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;line-height:1;cursor:pointer}
.maz-header .maz-nav-more:hover .maz-nav-more-btn{color:var(--bosch-primary)}
.maz-header .maz-nav-more-panel{left:auto;right:8px;min-width:240px;max-width:320px;max-height:75vh;overflow-y:auto;overflow-x:hidden}
/* Submenús de los items desbordados: se muestran expandidos e indentados dentro del panel (sin flyout, evita recortes por el scroll). */
.maz-header .maz-nav-more-panel .maz-dropdown{position:static;opacity:1 !important;visibility:visible !important;transform:none !important;box-shadow:none;border:0;border-radius:0;padding:0;margin:0;min-width:0}
.maz-header .maz-nav-more-panel .maz-dropdown a{padding-left:30px;font-size:12.5px;color:#4a5366}
.maz-header .maz-nav-more-panel>li>a .caret{display:none}
.maz-header .maz-phone{display:inline-flex;align-items:center;gap:10px;padding:8px 16px;background:linear-gradient(135deg,var(--bosch-primary) 0%,var(--bosch-accent, #1e34b8) 100%);color:#fff !important;border-radius:10px;text-decoration:none;box-shadow:0 4px 12px rgba(var(--bosch-primary-rgb, 41, 64, 211),.25);transition:transform .15s,box-shadow .15s}
.maz-header .maz-phone:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(var(--bosch-primary-rgb, 41, 64, 211),.35)}
.maz-header .maz-phone-icon{width:36px;height:36px;background:rgba(255,255,255,.18);border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.maz-header .maz-phone-icon i{font-size:16px;color:#fff}
.maz-header .maz-phone-info{display:flex;flex-direction:column;line-height:1.15}
.maz-header .maz-phone-info small{font-size:11px;opacity:.85;font-weight:400}
.maz-header .maz-phone-info strong{font-size:14.5px;font-weight:700;letter-spacing:.3px}
@media(max-width:991px){.maz-header .maz-topbar-promo{display:none}.maz-header .maz-actions .maz-action-label,.maz-header .maz-actions .maz-account-text{display:none}.maz-header .maz-account{border-left:0;padding:8px 12px}}
@media(max-width:767px){.maz-header .maz-topbar{display:none}.maz-header .maz-upper{padding:12px 0}.maz-header .maz-upper-inner{grid-template-columns:auto auto}.maz-header .maz-search{order:3;grid-column:1/-1;max-width:100%;margin-top:10px}.maz-header .maz-search-form button[type="submit"]{padding:0 14px;font-size:0;width:38px}.maz-header .maz-search-form button[type="submit"]::before{content:'\1F50D';font-size:16px}.maz-header .maz-nav-menu{display:none}.maz-header .maz-phone-info{display:none}.maz-header .maz-phone{padding:8px}}

/* =====================================================================
   CARPLUS REBRAND (.maz-header-cp) — header colapsado al layout de CarPlus
   pero en AZUL MARINO (navy) de Maz. Dos bloques:
     Bloque 1 (navy): logo blanco + buscador pill + nav links + iconos.
     Bloque 2 (blanco): botón "COMPRAR POR DEPARTAMENTO" + categorías + asesor.
   Todo scoped a .maz-header-cp: no toca la base (reversible quitando la clase).
   La mayor especificidad (.maz-header.maz-header-cp) gana sobre las reglas base.
   ===================================================================== */
/* Topbar oculto: layout 2 barras estilo carplus (navy + departamentos). */
.maz-header.maz-header-cp .maz-topbar{display:none}
/* --- Bloque 1: barra principal navy --- */
.maz-header.maz-header-cp .maz-upper{background:var(--bosch-hero-dark1);border-bottom:0;padding:12px 0}
.maz-header.maz-header-cp .maz-upper-inner{display:flex;align-items:center;gap:18px}
.maz-header.maz-header-cp .maz-logo{flex:0 0 auto;background:#fff;padding:7px 14px;border-radius:10px;display:inline-flex;align-items:center}
.maz-header.maz-header-cp .maz-logo img{max-height:44px;filter:none}
/* Buscador pill blanco con toggle Refacciones/Llantas integrado a la izquierda */
.maz-header.maz-header-cp .maz-search{flex:1 1 320px;max-width:620px;min-width:0;margin:0 auto}
.maz-header.maz-header-cp .maz-search-form{background:#fff;border:1.5px solid transparent;border-radius:999px;display:flex;align-items:center;gap:6px;padding:5px 6px}
.maz-header.maz-header-cp .maz-search-form:focus-within{background:#fff;border-color:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.18)}
.maz-header.maz-header-cp .maz-search-tabs{flex:0 0 auto;display:inline-flex;background:#eef1f6;border-radius:999px;padding:3px;gap:2px;margin:0;position:static}
.maz-header.maz-header-cp .maz-search-tabs button{background:transparent;color:#5a6473;border:0;cursor:pointer;border-radius:999px;padding:7px 13px;font-size:10.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;box-shadow:none;transition:background .15s,color .15s}
.maz-header.maz-header-cp .maz-search-tabs button.active{background:var(--bosch-primary);color:#fff;box-shadow:none}
.maz-header.maz-header-cp .maz-search-icon{position:static;transform:none;color:#8993a4;margin-left:4px;flex:0 0 auto}
.maz-header.maz-header-cp .maz-search-form input[type="search"]{flex:1;min-width:0;height:40px;padding:0 4px;background:transparent}
.maz-header.maz-header-cp .maz-search-form button[type="submit"]{flex:0 0 auto;height:40px;margin:0;border-radius:999px;background:var(--bosch-primary);padding:0 22px}
.maz-header.maz-header-cp .maz-search-form button[type="submit"]{border-radius:999px;background:var(--bosch-primary)}
.maz-header.maz-header-cp .maz-search-form button[type="submit"]:hover{background:var(--bosch-accent,#1e34b8)}
/* Desktop: al hacer focus, el buscador se EXPANDE sobre todo (oculta nav + acciones)
   para ver bien lo que se escribe y las sugerencias. Al salir, vuelve a la normalidad. */
@media(min-width:992px){
  .maz-header.maz-header-cp .maz-nav-menu,
  .maz-header.maz-header-cp .maz-actions{transition:opacity .18s ease,max-width .22s ease,margin .22s ease}
  .maz-header.maz-header-cp .maz-search{transition:max-width .22s ease}
  .maz-header.maz-header-cp .maz-upper-inner:focus-within .maz-search{max-width:none;flex:1 1 auto}
  .maz-header.maz-header-cp .maz-upper-inner:focus-within .maz-nav-menu,
  .maz-header.maz-header-cp .maz-upper-inner:focus-within .maz-actions{opacity:0;visibility:hidden;max-width:0;overflow:hidden;padding:0;margin:0;flex:0 0 0}
}
/* Iconos de acción en blanco */
.maz-header.maz-header-cp .maz-actions{flex:0 0 auto}
.maz-header.maz-header-cp .maz-action{color:#fff}
.maz-header.maz-header-cp .maz-action i{color:#fff}
.maz-header.maz-header-cp .maz-action:hover{background:rgba(255,255,255,.12)}
.maz-header.maz-header-cp .maz-action-label{color:rgba(255,255,255,.82)}
.maz-header.maz-header-cp .maz-badge{background:#fff;color:var(--bosch-hero-dark1);border-color:var(--bosch-hero-dark1)}
.maz-header.maz-header-cp .maz-account{border-left:1px solid rgba(255,255,255,.16)}
.maz-header.maz-header-cp .maz-account i{color:#fff}
.maz-header.maz-header-cp .maz-account:hover{color:#9fb4ff}
.maz-header.maz-header-cp .maz-account-text small{color:rgba(255,255,255,.6)}
.maz-header.maz-header-cp .maz-account-text strong{color:#fff}
.maz-header.maz-header-cp .maz-account:hover .maz-account-text strong{color:#9fb4ff}
/* Hamburguesa (móvil) en blanco sobre navy */
.maz-header.maz-header-cp .maz-hamburger{color:#fff}
.maz-header.maz-header-cp .maz-hamburger:hover{background:rgba(255,255,255,.12);color:#fff}
/* Nav links dentro de la barra navy (SOLO desktop; en móvil sigue siendo drawer blanco) */
@media(min-width:992px){
  .maz-header.maz-header-cp .maz-nav-menu{flex:0 1 auto;min-width:0}
  .maz-header.maz-header-cp .maz-nav-list>li>a{color:#fff;padding:10px 12px;font-size:12.5px}
  .maz-header.maz-header-cp .maz-nav-list>li>a::after{left:12px;right:12px;bottom:4px;background:#9fb4ff}
  .maz-header.maz-header-cp .maz-nav-list>li:hover>a{color:#9fb4ff}
  .maz-header.maz-header-cp .maz-nav-more-btn{color:#fff;padding:10px 12px;font-size:12.5px}
  .maz-header.maz-header-cp .maz-nav-more:hover .maz-nav-more-btn{color:#9fb4ff}
}
/* --- Bloque 2: barra blanca de departamentos + asesor a la derecha --- */
.maz-header.maz-header-cp .maz-deptbar .maz-phone{margin-left:auto;align-self:center;flex:0 0 auto}
/* --- Móvil: la barra navy envuelve el buscador a una segunda línea --- */
@media(max-width:767px){
  .maz-header.maz-header-cp .maz-upper-inner{flex-wrap:wrap;gap:10px}
  .maz-header.maz-header-cp .maz-hamburger{order:1;flex:0 0 auto}
  .maz-header.maz-header-cp .maz-logo{order:2;flex:0 0 auto;margin-right:auto}
  .maz-header.maz-header-cp .maz-actions{order:3;flex:0 0 auto}
  .maz-header.maz-header-cp .maz-search{order:4;flex:1 0 100%;max-width:100%;margin:0}
}

/* ===== FOOTER ===== */
.maz-footer{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:#c9d1de !important;background:#0a1933 !important}
.maz-footer .maz-footer-main{background:#0a1933 !important;color:#c9d1de !important}
.maz-footer .maz-footer-col h6,.maz-footer .maz-footer-col h6 a{color:#fff !important}
.maz-footer .maz-footer-col ul li a,.maz-footer .maz-footer-brand p,.maz-footer .maz-footer-contact-list a,.maz-footer .maz-footer-contact-list span,.maz-footer .maz-footer-strip strong,.maz-footer .maz-footer-strip small{color:#c9d1de !important}
.maz-footer .maz-footer-col ul li a:hover{color:#fff !important}
.maz-footer-strip{background:#1a2435;border-bottom:1px solid rgba(255,255,255,.05)}
.maz-footer-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;flex-wrap:wrap}
.maz-strip-item{display:flex;align-items:center;gap:12px;flex:1;min-width:200px}
.maz-strip-icon{width:42px;height:42px;border-radius:50%;background:rgba(var(--bosch-primary-rgb, 41, 64, 211),.15);color:var(--bosch-primary);display:inline-flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.maz-strip-icon svg{color:var(--bosch-primary)}
.maz-strip-text strong{display:block;color:#fff;font-size:14px;font-weight:600;line-height:1.3}
.maz-strip-text small{display:block;color:#8993a4;font-size:12px;margin-top:2px}
.maz-strip-divider{width:1px;height:36px;background:rgba(255,255,255,.08)}
@media(max-width:767px){.maz-strip-divider{display:none}.maz-footer-strip-inner{gap:18px}}

.maz-footer-main{padding:50px 0 30px}
.maz-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:40px}
@media(max-width:991px){.maz-footer-grid{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:560px){.maz-footer-grid{grid-template-columns:1fr;gap:28px}}
.maz-footer-col h6{color:#fff;font-size:14px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;margin:0 0 18px;padding-bottom:12px;position:relative}
.maz-footer-col h6::after{content:'';position:absolute;left:0;bottom:0;width:32px;height:2px;background:var(--bosch-primary);border-radius:2px}
.maz-footer-col ul{margin:0;padding:0;list-style:none}
.maz-footer-col ul li{margin:0 0 10px}
.maz-footer-col ul li a{color:#c9d1de;text-decoration:none;font-size:13.5px;transition:color .15s,padding .15s}
.maz-footer-col ul li a:hover{color:#fff;padding-left:4px}
.maz-footer-brand p{color:#c9d1de;font-size:13.5px;line-height:1.6;margin:14px 0 22px;max-width:340px}
.maz-footer-logo img{max-height:48px;width:auto;display:block;filter:brightness(0) invert(1)}
.maz-footer-social{display:flex;gap:10px;flex-wrap:wrap}
.maz-footer-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.06);color:#c9d1de;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:background .15s,color .15s,transform .15s}
.maz-footer-social a:hover{background:var(--bosch-primary);color:#fff;transform:translateY(-2px)}
.maz-footer-social i{font-size:15px;color:inherit}
.maz-footer-contact-list{margin:0;padding:0;list-style:none}
.maz-footer-contact-list li{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px}
.maz-footer-contact-list li .maz-contact-icon{width:32px;height:32px;border-radius:6px;background:rgba(var(--bosch-primary-rgb, 41, 64, 211),.12);color:var(--bosch-primary);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}
.maz-footer-contact-list small{display:block;color:#8993a4;font-size:11px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}
.maz-footer-contact-list a,.maz-footer-contact-list span{color:#fff;font-size:13.5px;font-weight:500;text-decoration:none;line-height:1.45}
.maz-footer-contact-list a:hover{color:var(--bosch-primary)}

.maz-footer-bottom{background:#0a121d;padding:18px 0;border-top:1px solid rgba(255,255,255,.05)}
.maz-footer-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.maz-copy{margin:0;font-size:12.5px;color:#8993a4}
.maz-footer-pay{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.maz-footer-pay span{font-size:12px;color:#8993a4;margin-right:4px}
.maz-footer-pay img{height:22px;width:auto;opacity:.85;transition:opacity .15s;background:#fff;padding:3px 6px;border-radius:4px}
.maz-footer-pay img:hover{opacity:1}
.maz-footer-legal{display:flex;gap:0;margin:0;padding:0;list-style:none}
.maz-footer-legal li{display:flex;align-items:center}
.maz-footer-legal li+li::before{content:'·';color:#4a5366;margin:0 10px}
.maz-footer-legal a{color:#8993a4;font-size:12.5px;text-decoration:none;transition:color .15s}
.maz-footer-legal a:hover{color:#fff}
@media(max-width:767px){.maz-footer-bottom-inner{flex-direction:column;text-align:center;gap:14px}.maz-footer-pay{justify-content:center}}

/* =====================================================================
   RESPONSIVE OVERRIDES — hamburger, touch targets, search/tabs, footer
   ===================================================================== */

/* Hamburger button — solo visible <992px */
.maz-header .maz-hamburger{display:none;align-items:center;gap:8px;background:transparent;border:0;cursor:pointer;color:#1a1a1a;padding:10px 12px;min-height:44px;min-width:44px;border-radius:8px;font-size:13px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}
.maz-header .maz-hamburger:hover{background:#f5f6f9;color:var(--bosch-primary)}
.maz-header .maz-hamburger:focus-visible{outline:2px solid var(--bosch-primary);outline-offset:2px}
.maz-header .maz-hamburger-label{display:inline-block;line-height:1}
.maz-header .maz-nav-close{display:none;position:absolute;top:14px;right:14px;background:transparent;border:0;color:#1a1a1a;cursor:pointer;padding:10px;min-height:44px;min-width:44px;border-radius:8px;align-items:center;justify-content:center}
.maz-header .maz-nav-close:hover{background:#f5f6f9;color:var(--bosch-primary)}
.maz-header .maz-nav-backdrop{display:none;position:fixed;inset:0;background:rgba(15,24,37,.55);z-index:1099;opacity:0;transition:opacity .2s}
.maz-header.maz-nav-open .maz-nav-backdrop{display:block;opacity:1}
body.maz-no-scroll{overflow:hidden}

/* Touch targets >=44px en mobile */
@media(max-width:991px){
  .maz-header .maz-hamburger{display:inline-flex}
  .maz-header .maz-topbar-links a{padding:12px 8px;display:inline-flex;align-items:center;min-height:44px}
  .maz-header .maz-topbar-links li+li::before{margin:0 4px}
  .maz-header .locale-btn{min-height:44px;padding:10px 14px}
  .maz-header .maz-action{min-height:44px;min-width:44px;padding:10px 12px}
  .maz-header .maz-phone{min-height:44px;padding:10px 14px}
  /* Drawer */
  .maz-header .maz-nav-menu{display:block;position:fixed;top:0;left:0;bottom:0;width:84vw;max-width:340px;background:#fff;box-shadow:4px 0 24px rgba(15,24,37,.18);transform:translateX(-105%);transition:transform .25s ease;z-index:1100;overflow-y:auto;padding:64px 0 24px;flex:none}
  .maz-header.maz-nav-open .maz-nav-menu{transform:translateX(0)}
  .maz-header .maz-nav-close{display:inline-flex}
  .maz-header .maz-nav-list{flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap}
  .maz-header .maz-nav-list>li{width:100%;border-bottom:1px solid #eef0f4}
  .maz-header .maz-nav-list>li>a{padding:16px 22px;width:100%;min-height:48px;font-size:14px;justify-content:space-between}
  .maz-header .maz-nav-list>li>a::after{display:none}
  .maz-header .maz-nav-list .caret{margin-left:auto;padding:4px;cursor:pointer}
  .maz-header .maz-nav-list .maz-dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-radius:0;padding:0;background:#f7f8fb;max-height:0;overflow:hidden;transition:max-height .25s ease}
  .maz-header .maz-nav-list>li.maz-sub-open .maz-dropdown{max-height:1000px}
  .maz-header .maz-nav-list>li.maz-sub-open .caret{transform:rotate(180deg)}
  .maz-header .maz-nav-list .maz-dropdown a{padding:13px 38px;min-height:44px;display:flex;align-items:center}
  .maz-header .maz-nav-list>li:hover .maz-dropdown{opacity:1;visibility:visible}
}

/* Topbar links wrap suave en tablet */
@media(max-width:991px){
  .maz-header .maz-topbar-inner{flex-wrap:wrap;gap:8px}
  .maz-header .maz-topbar-links{flex-wrap:wrap}
}

/* Search input fix — evita overflow horizontal por flex item.
   OJO: el wrapper .maz-search debe permitir overflow visible para que el
   dropdown del autocomplete se vea fuera del header. El overflow se controla
   en .maz-search-form (que contiene input + botón). */
.maz-header .maz-search{min-width:0}
.maz-header .maz-search-form{min-width:0;overflow:hidden}
.maz-header .maz-search-form input[type="search"]{min-width:0}

/* Tabs REFACCIONES|LLANTAS — stack vertical en <480px */
@media(max-width:479px){
  .maz-header .maz-search-tabs{display:flex;width:100%;border-radius:8px 8px 0 0}
  .maz-header .maz-search-tabs button{flex:1;text-align:center;padding:10px 12px;min-height:44px;font-size:11.5px}
  .maz-header .maz-search-form{border-top-left-radius:0;border-top-right-radius:0}
}

/* Mobile <767px touch tweaks adicionales */
@media(max-width:767px){
  .maz-header .maz-search-form input[type="search"]{height:46px;padding:0 12px 0 40px;font-size:15px}
  .maz-header .maz-search-form button[type="submit"]{min-height:44px;min-width:44px;height:44px;margin:1px}
  .maz-header .maz-search-icon{left:12px}
  .maz-header .maz-actions{gap:2px}
  .maz-header .maz-action{padding:10px;min-width:44px;justify-content:center}
  /* maz-phone visible compacto en mobile, no se oculta el botón */
  .maz-header .maz-phone{padding:10px;min-width:44px;justify-content:center}
}

/* Footer strip — wrap suave en tablet/mobile */
@media(max-width:991px){
  .maz-footer-strip-inner{gap:16px;flex-wrap:wrap}
  .maz-strip-item{flex:1 1 calc(50% - 16px);min-width:0}
}
@media(max-width:767px){
  .maz-footer-strip-inner{flex-direction:column;align-items:flex-start;gap:14px}
  .maz-strip-item{flex:1 1 100%;width:100%}
}

/* Footer grid — 1 columna desde tablet vertical 768px (no 560px) */
@media(max-width:767px){
  .maz-footer-grid{grid-template-columns:1fr;gap:28px}
  .maz-footer-brand p{max-width:100%}
}
