/* =========================================================
   ZERO BYTE — DARK PREMIUM HEADER
   Bootstrap 4 Compatible
   Desktop + Tablet + Mobile
========================================================= */

    :root {
        --zb-orange: var(--zb-brand-primary, #ff8500);
        --zb-orange-hover: #ff922e;
        --zb-black: #080808;
        --zb-header: #090909;
        --zb-panel: #111111;
        --zb-border: rgba(255, 255, 255, .09);
        --zb-text: #f5f5f5;
        --zb-muted: #929292;
        --zb-transition: .25s ease;
    }

    /* =========================================================
   HEADER GENERAL
========================================================= */

    .header {
        position: relative;
        z-index: 1000;
        background: var(--zb-header);
        color: var(--zb-text);
    }

    .header a {
        text-decoration: none;
    }

    .header-top,
    .header-middle {
        background: var(--zb-header);
        color: var(--zb-text);
    }

    /* =========================================================
   HEADER TOP — DESKTOP
========================================================= */

    .header .header-top {
        position: relative;
        z-index: 1050;
        min-height: 39px;
        background: #080808;
        border-bottom: 1px solid var(--zb-border);
        font-size: 11px;
        letter-spacing: .15px;
        overflow: visible !important;
    }

    .header .header-top>.container {
        min-height: 39px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        position: relative;
        overflow: visible !important;
    }

    /* Lado izquierdo */

    .header .header-top .header-left {
        display: flex;
        align-items: center;
        gap: 17px;
        flex: 0 0 auto;
        overflow: visible !important;
    }

    /* Selectores COP / IDIOMA */

    .header .header-top .header-dropdown {
        position: relative;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .header .header-top .header-dropdown>a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 11px 0;
        color: #b8b8b8;
        font-size: 11px;
        white-space: nowrap;
        transition: color var(--zb-transition);
    }

    .header .header-top .header-dropdown>a:hover {
        color: var(--zb-orange);
    }

    /* Flecha */

    .header .header-top .header-dropdown>a::after {
        content: "";
        width: 6px;
        height: 6px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
        margin-top: -3px;
    }

    /* =========================================================
   DROPDOWN IDIOMA Y MONEDA
   CLASE REAL: .header-menu
========================================================= */

    .header .header-top .header-dropdown>.header-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: auto !important;

        display: none;
        width: 155px;
        min-width: 155px;
        max-width: calc(100vw - 24px);

        margin: 0 !important;
        padding: 7px !important;

        background: #111111 !important;
        border: 1px solid rgba(255, 255, 255, .10) !important;
        border-top: 2px solid var(--zb-orange) !important;
        border-radius: 0 0 5px 5px;

        box-shadow: 0 14px 35px rgba(0, 0, 0, .65);
        z-index: 3000 !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(5px);
        transition: opacity .2s ease, transform .2s ease;
    }

    /* Mostrar al pasar el cursor o recibir foco */

    .header .header-top .header-dropdown:hover>.header-menu,
    .header .header-top .header-dropdown:focus-within>.header-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* CORRECCIÓN IMPORTANTE:
   La lista de idiomas SIEMPRE es vertical */

    .header .header-top .header-dropdown>.header-menu ul {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
        float: none !important;
    }

    .header .header-top .header-dropdown>.header-menu ul li {
        display: block !important;
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        clear: both !important;
    }

    .header .header-top .header-dropdown>.header-menu ul li a {
        display: flex !important;
        align-items: center;

        width: 100% !important;
        min-height: 34px;

        padding: 9px 11px !important;

        color: #cccccc !important;
        background: transparent !important;

        font-size: 11px !important;
        font-weight: 400;
        line-height: 16px !important;

        white-space: nowrap;
        border-radius: 3px;

        transition: all .2s ease;
    }

    .header .header-top .header-dropdown>.header-menu ul li a:hover {
        color: var(--zb-orange) !important;
        background: rgba(255, 123, 0, .08) !important;
    }

    /* =========================================================
   TOP MENU — DERECHA
========================================================= */

    .header .header-top .header-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .header .header-top .top-menu {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header .header-top .top-menu>li {
        position: relative;
    }

    .header .header-top .top-menu>li>a {
        display: inline-flex;
        align-items: center;
        padding: 10px 0;
        color: #b8b8b8;
        font-size: 11px;
        white-space: nowrap;
    }

    .header .header-top .top-menu>li>a:hover {
        color: var(--zb-orange);
    }

    .header .header-top .top-menu>li>ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;

        min-width: 220px;
        padding: 8px 0;
        margin: 0;

        background: #111;
        border: 1px solid var(--zb-border);
        border-top: 2px solid var(--zb-orange);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .5);

        list-style: none;
        z-index: 3000;
    }

    .header .header-top .top-menu>li:hover>ul,
    .header .header-top .top-menu>li:focus-within>ul {
        display: block;
    }

    .header .header-top .top-menu>li>ul a {
        display: block;
        padding: 10px 15px;
        color: #bbb;
        font-size: 11px;
        white-space: normal;
    }

    .header .header-top .top-menu>li>ul a:hover {
        color: var(--zb-orange);
        background: rgba(255, 123, 0, .06);
    }

    .header .header-top i {
        color: var(--zb-orange);
    }

    /* =========================================================
   HEADER MIDDLE — NAVEGACIÓN PRINCIPAL
========================================================= */

    .header .header-middle {
        position: relative;
        z-index: 1000;
        min-height: 60px;
        background: #090909;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    .header .header-middle>.container {
        min-height: 59px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo y lado izquierdo */

    .header .header-middle .header-left {
        display: flex;
        align-items: center;
        gap: 25px;
        min-width: 0;
    }

    .header .logo {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .header .logo img {
        display: block;
        width: auto;
        max-width: 130px;
        max-height: 37px;
        object-fit: contain;
    }

    /* =========================================================
   MENÚ PRINCIPAL
   Evitamos usar .header-menu globalmente.
========================================================= */

    .header .main-menu,
    .header .main-menu ul,
    .header .primary-menu,
    .header .primary-menu ul,
    .header .header-middle ul.nav {
        list-style: none;
    }

    .header .main-menu,
    .header .primary-menu,
    .header .header-middle ul.nav {
        display: flex;
        align-items: center;
        gap: 27px;
        margin: 0;
        padding: 0;
    }

    .header .main-menu>li,
    .header .primary-menu>li,
    .header .header-middle ul.nav>li {
        position: relative;
    }

    .header .main-menu>li>a,
    .header .primary-menu>li>a,
    .header .header-middle ul.nav>li>a {
        display: flex;
        align-items: center;
        position: relative;

        min-height: 59px;
        padding: 0;

        color: #e7e7e7;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .15px;
        text-transform: uppercase;

        transition: color var(--zb-transition);
    }

    /* Indicador naranja */

    .header .main-menu>li>a::after,
    .header .primary-menu>li>a::after,
    .header .header-middle ul.nav>li>a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;

        height: 2px;
        background: var(--zb-orange);

        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--zb-transition);
    }

    .header .main-menu>li:hover>a,
    .header .primary-menu>li:hover>a,
    .header .header-middle ul.nav>li:hover>a {
        color: var(--zb-orange);
    }

    .header .main-menu>li:hover>a::after,
    .header .primary-menu>li:hover>a::after,
    .header .header-middle ul.nav>li:hover>a::after {
        transform: scaleX(1);
    }

    /* Activo */

    .header .main-menu>li.active>a,
    .header .primary-menu>li.active>a,
    .header .header-middle ul.nav>li.active>a {
        color: var(--zb-orange);
    }

    .header .main-menu>li.active>a::after,
    .header .primary-menu>li.active>a::after,
    .header .header-middle ul.nav>li.active>a::after {
        transform: scaleX(1);
    }

    /* =========================================================
   SUBMENÚS DE NAVEGACIÓN
========================================================= */

    .header .main-menu>li>ul,
    .header .primary-menu>li>ul,
    .header .header-middle ul.nav>li>ul {
        position: absolute;
        top: 100%;
        left: 0;

        display: none;
        min-width: 220px;

        margin: 0;
        padding: 8px 0;

        background: #111;
        border: 1px solid var(--zb-border);
        border-top: 2px solid var(--zb-orange);

        box-shadow: 0 15px 40px rgba(0, 0, 0, .55);
        z-index: 2000;
    }

    .header .main-menu>li:hover>ul,
    .header .primary-menu>li:hover>ul,
    .header .header-middle ul.nav>li:hover>ul {
        display: block;
    }

    .header .main-menu>li>ul a,
    .header .primary-menu>li>ul a,
    .header .header-middle ul.nav>li>ul a {
        display: block;
        padding: 11px 17px;
        color: #bcbcbc;
        font-size: 12px;
        transition: all var(--zb-transition);
    }

    .header .main-menu>li>ul a:hover,
    .header .primary-menu>li>ul a:hover,
    .header .header-middle ul.nav>li>ul a:hover {
        color: var(--zb-orange);
        background: rgba(255, 123, 0, .06);
        padding-left: 22px;
    }

    /* =========================================================
   ACCIONES — BUSCADOR Y CARRITO
========================================================= */

    .header .header-middle>.container>.header-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 22px;
        flex: 0 0 auto;
    }

    .header .header-middle .header-right a {
        color: #f4f4f4;
        transition: color var(--zb-transition);
    }

    .header .header-middle .header-right a:hover {
        color: var(--zb-orange);
    }

    .header .header-middle .header-search>a i,
    .header .header-middle .cart-dropdown>a i {
        font-size: 18px;
    }

    .header .cart-dropdown {
        position: relative;
    }

    .header .cart-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-width: 16px;
        height: 16px;
        padding: 0 4px;

        background: var(--zb-orange);
        color: #fff;

        border-radius: 50%;
        font-size: 9px;
        font-weight: 800;
    }

    /* Dropdown carrito */

    .header .cart-dropdown .dropdown-menu {
        background: #111;
        border: 1px solid var(--zb-border);
        border-top: 2px solid var(--zb-orange);
        box-shadow: 0 15px 35px rgba(0, 0, 0, .55);
    }

    /* =========================================================
   BOTÓN MENÚ MÓVIL
========================================================= */

    .header .mobile-menu-toggler {
        display: none;
        background: transparent;
        border: 0;
        padding: 5px;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }

    .header .mobile-menu-toggler:hover {
        color: var(--zb-orange);
    }

    /* =========================================================
   MENÚ MÓVIL
========================================================= */

    .mobile-menu-overlay {
        background: rgba(0, 0, 0, .78);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .mobile-menu-container,
    .mobile-menu-wrapper {
        background: #0b0b0b;
        color: #f5f5f5;
    }

    .mobile-menu-container {
        border-left: 1px solid var(--zb-border);
    }

    .mobile-menu-wrapper {
        padding: 22px;
    }

    .mobile-menu-close {
        color: #fff;
        transition: color var(--zb-transition);
    }

    .mobile-menu-close:hover {
        color: var(--zb-orange);
    }

    /* Buscador móvil */

    .mobile-search {
        display: flex;
        margin-bottom: 22px;
    }

    .mobile-search .form-control {
        height: 43px;
        background: #151515;
        color: #fff;
        border: 1px solid #292929;
        border-radius: 4px 0 0 4px;
        box-shadow: none;
    }

    .mobile-search .form-control:focus {
        border-color: var(--zb-orange);
    }

    .mobile-search .form-control::placeholder {
        color: #777;
    }

    .mobile-search .btn {
        background: var(--zb-orange);
        border-color: var(--zb-orange);
        color: #fff;
        border-radius: 0 4px 4px 0;
    }

    /* Links móviles */

    .mobile-menu,
    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu>li {
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .mobile-menu li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 4px;
        color: #dedede;
        font-size: 13px;
        font-weight: 600;
        transition: color var(--zb-transition);
    }

    .mobile-menu li a:hover {
        color: var(--zb-orange);
    }

    .mobile-menu li ul {
        background: #101010;
        padding-left: 13px;
        border-left: 1px solid rgba(255, 123, 0, .35);
    }

    .mobile-menu li ul li a {
        padding: 10px 8px;
        color: #999;
        font-size: 12px;
        font-weight: 400;
    }

    /* Redes sociales */

    .social-icons {
        display: flex;
        gap: 12px;
        padding-top: 25px;
    }

    .social-icons .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 36px;
        height: 36px;

        background: #171717;
        border: 1px solid #292929;
        border-radius: 4px;
        color: #ccc;

        transition: all var(--zb-transition);
    }

    .social-icons .social-icon:hover {
        background: var(--zb-orange);
        border-color: var(--zb-orange);
        color: #fff;
    }

    /* =========================================================
   TABLET
========================================================= */

    @media (max-width: 991px) {

        .header .header-top>.container {
            padding-top: 0;
            padding-bottom: 0;
        }

        .header .header-middle .header-left {
            gap: 15px;
        }

        .header .main-menu,
        .header .primary-menu,
        .header .header-middle ul.nav {
            gap: 14px;
        }

    }

    /* =========================================================
   MOBILE
========================================================= */

    @media (max-width: 767px) {

        /* Header superior */

        .header .header-top {
            min-height: 35px;
            overflow: visible !important;
        }

        .header .header-top>.container {
            min-height: 35px;
            padding: 0 14px;
            justify-content: flex-start;
            flex-wrap: nowrap;
            overflow: visible !important;
        }

        .header .header-top .header-left {
            gap: 17px;
            width: auto;
        }

        .header .header-top .header-dropdown>a {
            padding: 9px 0;
            font-size: 10px;
        }

        /* Dropdown idiomas */

        .header .header-top .header-dropdown>.header-menu {
            top: 100% !important;
            left: 0 !important;
            right: auto !important;
            width: 155px;
            min-width: 155px;
            max-width: calc(100vw - 28px);
        }

        /* Ocultar enlaces superiores secundarios */

        .header .header-top>.container>.header-right {
            display: none !important;
        }

        /* Barra principal */

        .header .header-middle {
            min-height: 55px;
            z-index: 1000;
        }

        .header .header-middle>.container {
            min-height: 55px;
            padding-left: 14px;
            padding-right: 14px;
            flex-wrap: nowrap;
        }

        .header .header-middle .header-left {
            gap: 12px;
        }

        .header .mobile-menu-toggler {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .header .logo img {
            max-height: 31px;
            max-width: 120px;
        }

        /* El menú de escritorio no se muestra en móvil */

        .header .main-menu,
        .header .primary-menu,
        .header .header-middle ul.nav {
            display: none;
        }

        /* Acciones */

        .header .header-middle>.container>.header-right {
            gap: 14px;
        }

        .header .header-middle .header-right i {
            font-size: 17px;
        }

        /* Dropdown carrito */

        .header .cart-dropdown .dropdown-menu {
            position: absolute;
            right: 0 !important;
            left: auto !important;
            max-width: calc(100vw - 20px);
        }

        .mobile-menu-wrapper {
            padding: 19px;
        }

    }

    /* =========================================================
   MOBILE SMALL
========================================================= */

    @media (max-width: 380px) {

        .header .header-top>.container {
            padding-left: 12px;
            padding-right: 12px;
        }

        .header .header-top .header-left {
            gap: 14px;
        }

        .header .header-top .header-dropdown>.header-menu {
            width: 145px;
            min-width: 145px;
        }

        .header .header-middle>.container {
            padding-left: 11px;
            padding-right: 11px;
        }

        .header .header-middle .header-left {
            gap: 9px;
        }

        .header .logo img {
            max-width: 112px;
        }

        .header .header-middle>.container>.header-right {
            gap: 11px;
        }

        .mobile-menu-wrapper {
            padding: 17px;
        }

    }


    /* ZERO BYTE — Dropdown arrow alignment */

    .header .header-top .header-dropdown>a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 7px !important;
        white-space: nowrap !important;
    }

    .header .header-top .header-dropdown>a::after {
        content: "" !important;
        display: inline-block !important;
        flex: 0 0 6px !important;

        width: 6px !important;
        height: 6px !important;

        margin: -3px 0 0 3px !important;

        border-right: 1px solid currentColor !important;
        border-bottom: 1px solid currentColor !important;

        transform: rotate(45deg) !important;
        position: static !important;
    }

.mobile-menu-overlay.zb-mm-overlay{background:rgba(0,0,0,.66);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.mobile-menu-container.zb-mm-panel{position:fixed;left:0;top:0;bottom:0;width:min(86vw,380px);max-width:none;background:#0d0e10;border:0;border-right:1px solid #ffffff0b;box-shadow:14px 0 55px #0006;transform:translateX(-100%);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#343538 #0d0e10;color:#f3f3f3;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mmenu-active .mobile-menu-container.zb-mm-panel{transform:translateX(0);visibility:visible}
.zb-mm-panel::-webkit-scrollbar{width:4px}.zb-mm-panel::-webkit-scrollbar-track{background:#0d0e10}.zb-mm-panel::-webkit-scrollbar-thumb{background:#343538;border-radius:8px}
.zb-mm-panel .zb-mm-wrapper{min-height:100%;display:flex;flex-direction:column;padding:28px 20px max(20px,env(safe-area-inset-bottom));background:#0d0e10}
.zb-mm-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:28px}
.zb-mm-panel .zb-mm-brand{display:flex;align-items:center;gap:12px;color:#f7f7f7;text-decoration:none}
.zb-mm-mark{width:37px;height:37px;flex:0 0 37px;display:block;border-radius:3px;object-fit:contain}
.zb-mm-brand strong{display:block;font-size:20px;font-weight:800;line-height:1.15;letter-spacing:.3px}.zb-mm-brand small{display:block;margin-top:5px;color:#929398;font-size:11px;line-height:1.3}
.zb-mm-panel .zb-mm-close{position:static;flex:0 0 32px;width:32px;height:32px;margin:-4px -6px 0 0;padding:4px;background:transparent;border:0;color:#e1e1e3;cursor:pointer}
.zb-mm-icon{display:block;width:23px;height:23px;flex:0 0 23px}
.zb-mm-panel .zb-mm-search{display:flex;align-items:center;width:100%;margin:0 0 28px;height:48px;border:1px solid #303135;border-radius:10px;background:#151619;overflow:hidden}
.zb-mm-search>.zb-mm-icon{margin-left:13px;color:#a9aaae;width:19px;height:19px;flex-basis:19px}
.zb-mm-panel .zb-mm-search .form-control{flex:1;min-width:0;height:46px;margin:0;padding:0 10px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#eee;font-size:13px}
.zb-mm-panel .zb-mm-search .form-control::placeholder{color:#8b8d92}.zb-mm-panel .zb-mm-search .btn{width:45px;min-width:45px;height:46px;padding:0;display:grid;place-items:center;border:0;border-radius:9px;color:#fff;background:var(--zb-brand-primary, #ff8500)}.zb-mm-panel .zb-mm-search:focus-within{border-color:var(--zb-brand-primary, #ff8500)}
.zb-mm-label{margin:0 0 12px;padding:0 10px;color:#7d7f85;font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:600}
.zb-mm-panel .zb-mm-links{margin:0;padding:0;list-style:none}.zb-mm-panel .zb-mm-links>li{margin:2px 0;padding:0;border:0}
.zb-mm-panel .zb-mm-links>li>a{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:48px;padding:11px 13px;border:0;border-radius:9px;background:transparent;color:#e5e5e8;text-decoration:none;text-transform:none;font-size:15px;font-weight:500;line-height:1.4;letter-spacing:0}
.zb-mm-links a>.zb-mm-icon{color:#bfc0c5}.zb-mm-panel .zb-mm-links>li>a::after{content:none}.zb-mm-panel .zb-mm-links>li.active>a{background:rgba(255,120,0,.09);color:#ff8723}
.zb-mm-panel .zb-mm-links>li.active>a::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--zb-brand-primary, #ff8500)}.zb-mm-panel .zb-mm-links>li.active>a>.zb-mm-icon{color:#ff8723}.zb-mm-panel .zb-mm-links>li>a:hover{background:#ffffff06;color:#ff8723}
.zb-mm-personal{margin-top:22px;padding-top:22px;border-top:1px solid #ffffff12}.zb-mm-footer{margin-top:auto;padding-top:30px}
.zb-mm-panel .zb-mm-cta{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;width:100%;padding:12px 16px;border-radius:9px;background:var(--zb-brand-primary, #ff8500);color:#fff;font-size:15px;font-weight:600;text-decoration:none}.zb-mm-panel .zb-mm-cta:hover{background:#ff8d28;color:#fff}
.zb-mm-panel .zb-mm-social{padding:0;margin:24px 0 17px;display:flex;justify-content:center;gap:12px}.zb-mm-panel .zb-mm-social .social-icon{width:36px;height:36px;margin:0;display:flex;align-items:center;justify-content:center;border:1px solid #343538;border-radius:7px;background:#121315;color:#c9cacf;font-size:15px}.zb-mm-copyright{margin:0;text-align:center;font-size:11px;color:#787a80}
.zb-mm-panel a:focus-visible,.zb-mm-panel button:focus-visible{outline:2px solid #ff9a42;outline-offset:3px}
@media(max-width:360px){.zb-mm-panel .zb-mm-wrapper{padding-left:15px;padding-right:15px}.zb-mm-brand strong{font-size:18px}.zb-mm-brand small{font-size:10px}.zb-mm-panel .zb-mm-links>li>a{font-size:14px;gap:12px}}
@media(prefers-reduced-motion:reduce){.mobile-menu-container.zb-mm-panel,.mobile-menu-overlay.zb-mm-overlay{transition:none}}

/* Premium compacto: elimina los tamaños y márgenes heredados del tema. */
.mobile-menu-container.zb-mm-panel { width:var(--zb-drawer-width); }
.zb-mm-panel .zb-mm-wrapper { min-height:100%; height:auto; padding:20px 16px max(16px,env(safe-area-inset-bottom)); box-sizing:border-box; }
.zb-mm-panel .zb-mm-header { margin:0 0 20px; gap:10px; }
.zb-mm-panel .zb-mm-brand { gap:9px; }
.zb-mm-panel .zb-mm-mark { width:32px; height:32px; flex-basis:32px; }
.zb-mm-panel .zb-mm-brand strong { font-size:16px; letter-spacing:.25px; }
.zb-mm-panel .zb-mm-brand small { font-size:9px; margin-top:3px; }
.zb-mm-panel .zb-mm-close { width:28px; height:28px; flex-basis:28px; margin:-3px -4px 0 0; padding:5px; }
.zb-mm-panel .zb-mm-icon { width:19px; height:19px; flex-basis:19px; }
.zb-mm-panel .zb-mm-search { position:relative; display:flex; align-items:center; gap:0; height:40px; padding:0; margin:0 0 20px; border-radius:8px; flex-shrink:0; }
.zb-mm-panel .zb-mm-search>.zb-mm-icon { width:16px; height:16px; flex:0 0 16px; margin-left:11px; }
.zb-mm-panel .zb-mm-search .form-control { width:0; max-width:none; flex:1 1 0%; height:38px; min-height:0; padding:0 9px; margin:0; font-size:11px; line-height:normal; border:0; box-sizing:border-box; }
.zb-mm-panel .zb-mm-search .btn { position:static; inset:auto; transform:none; float:none; align-self:stretch; flex:0 0 38px; width:38px; min-width:38px; max-width:38px; height:38px; min-height:0; padding:0; margin:0; border:0; border-radius:0 7px 7px 0; display:flex; align-items:center; justify-content:center; box-sizing:border-box; }
.zb-mm-panel .zb-mm-search .btn .zb-mm-icon { width:18px; height:18px; flex-basis:18px; margin:0; }
.zb-mm-panel .mobile-nav { margin:0; padding:0; }
.zb-mm-panel .zb-mm-label { margin:0 0 7px; padding:0 9px; font-size:9px; letter-spacing:1.6px; }
.zb-mm-panel .zb-mm-links>li { margin:1px 0; }
.zb-mm-panel .zb-mm-links>li>a { min-height:39px; padding:8px 10px; gap:11px; font-size:12.5px; line-height:1.35; border-radius:7px; }
.zb-mm-panel .zb-mm-links>li.active>a::before { top:9px; bottom:9px; width:2px; }
.zb-mm-panel .zb-mm-personal { margin-top:14px; padding-top:15px; }
.zb-mm-panel .zb-mm-footer { margin-top:0; padding-top:18px; }
.zb-mm-panel .zb-mm-cta { min-height:40px; padding:9px 12px; gap:9px; font-size:12.5px; line-height:1.4; border-radius:7px; box-sizing:border-box; }
.zb-mm-panel .zb-mm-social { margin:17px 0 11px; padding:0; gap:10px; }
.zb-mm-panel .zb-mm-social .social-icon { width:30px; height:30px; font-size:12px; border-radius:6px; }
.zb-mm-panel .zb-mm-copyright { font-size:9px; line-height:1.4; }
@media(max-height:650px) {
 .zb-mm-panel .zb-mm-wrapper { padding-top:16px; }
 .zb-mm-panel .zb-mm-header { margin-bottom:14px; }
 .zb-mm-panel .zb-mm-search { margin-bottom:14px; }
 .zb-mm-panel .zb-mm-links>li>a { min-height:36px; padding-top:7px; padding-bottom:7px; }
 .zb-mm-panel .zb-mm-personal { margin-top:10px; padding-top:11px; }
 .zb-mm-panel .zb-mm-footer { padding-top:12px; }
 .zb-mm-panel .zb-mm-social { margin-top:12px; }
}

/* Altura completa: cabecera arriba, navegación flexible y acceso abajo. */
.mobile-menu-container.zb-mm-panel {
    height:100vh;
    height:100dvh;
    bottom:auto;
    overflow:hidden;
}
.zb-mm-panel .zb-mm-wrapper {
    display:flex;
    flex-direction:column;
    height:100%;
    min-height:0;
    max-height:100%;
    box-sizing:border-box;
    padding-bottom:max(16px,env(safe-area-inset-bottom));
}
.zb-mm-panel .zb-mm-header,
.zb-mm-panel .zb-mm-search,
.zb-mm-panel .zb-mm-footer {
    flex-shrink:0;
}
.zb-mm-panel .mobile-nav {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:#343538 transparent;
    padding-bottom:8px;
}
.zb-mm-panel .mobile-nav::-webkit-scrollbar { width:3px; }
.zb-mm-panel .mobile-nav::-webkit-scrollbar-thumb { background:#343538; border-radius:5px; }
.zb-mm-panel .zb-mm-footer {
    margin-top:auto;
    padding-top:14px;
    background:#0d0e10;
}
@media(max-height:650px) {
    .zb-mm-panel .zb-mm-footer { padding-top:10px; }
}
/* Visual finish only: existing drawer geometry and opening motion stay intact. */
.mobile-menu-container.zb-mm-panel{
 background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.025)),rgba(35,40,47,.64);
 border:1px solid rgba(255,255,255,.34);box-shadow:14px 0 55px #0005,inset 0 1px 0 #ffffff16;
 backdrop-filter:blur(24px) saturate(115%);-webkit-backdrop-filter:blur(24px) saturate(115%);
}
.zb-mm-panel .zb-mm-wrapper,.zb-mm-panel .zb-mm-footer{background:transparent;}
.zb-mm-panel .zb-mm-search{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.32);box-shadow:inset 0 1px 0 #ffffff0a;}
.zb-mm-panel .zb-mm-search:focus-within{border-color:rgba(255,255,255,.75);}
.zb-mm-panel .zb-mm-search .form-control{color:#f5f6f8;}
.zb-mm-panel .zb-mm-search .form-control::placeholder{color:#b4bbc5;}
.zb-mm-panel .zb-mm-brand small,.zb-mm-panel .zb-mm-label,.zb-mm-panel .zb-mm-copyright{color:#b1b8c3;}
.zb-mm-panel .zb-mm-links>li>a{color:#edf0f5;}
.zb-mm-panel .zb-mm-links a>.zb-mm-icon{color:#cbd2dc;}
.zb-mm-panel .zb-mm-links>li>a:hover{background:#ffffff0c;color:#fff;}
.zb-mm-panel .zb-mm-links>li.active>a{background:linear-gradient(110deg,#ff850020,#ff85000d);color:#ffad43;box-shadow:inset 0 0 0 1px #ffffff0c;}
.zb-mm-panel .zb-mm-links>li.active>a>.zb-mm-icon{color:#ffad43;}
.zb-mm-panel .zb-mm-personal{border-top-color:#ffffff29;}
.zb-mm-panel .zb-mm-social .social-icon{color:#e1e6ee;background:#ffffff06;border-color:#ffffff36;}
.zb-mm-panel .zb-mm-cta{background:linear-gradient(110deg,#ff940c,#ff7d00);border:1px solid #ffffff4a;box-shadow:inset 0 1px 0 #ffffff22;}
.zb-mm-panel .zb-mm-close{color:#e8edf4;}
.zb-mm-panel a:focus-visible,.zb-mm-panel button:focus-visible{outline-color:#ffffffe0;}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.mobile-menu-container.zb-mm-panel{background:rgba(42,47,54,.96);}}
/* Refined glass: quieter border and subtle ambient depth instead of flat gray. */
:root {
 --zb-drawer-width:min(86vw,330px);
 --zb-drawer-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --zb-drawer-surface:radial-gradient(ellipse at 0% 10%,rgba(46,122,156,.14),transparent 47%),radial-gradient(ellipse at 100% 80%,rgba(181,102,37,.09),transparent 48%),linear-gradient(140deg,rgba(255,255,255,.035),transparent 50%),rgba(15,19,24,.79);
 --zb-drawer-border:rgba(255,255,255,.17);
 --zb-drawer-filter:blur(28px) saturate(110%);
}
.mobile-menu-container.zb-mm-panel{
 background:var(--zb-drawer-surface);
 border-color:var(--zb-drawer-border);box-shadow:16px 0 60px #0005,inset -1px 0 0 #ffffff04;
 backdrop-filter:var(--zb-drawer-filter);-webkit-backdrop-filter:var(--zb-drawer-filter);
 font-family:var(--zb-drawer-font);
}
.zb-mm-panel .zb-mm-search{background:#ffffff04;border-color:#ffffff25;box-shadow:inset 0 1px 0 #ffffff05;}
.zb-mm-panel .zb-mm-links>li>a{color:#d8dde5;}
.zb-mm-panel .zb-mm-links a>.zb-mm-icon{color:#aeb9c7;}
.zb-mm-panel .zb-mm-label,.zb-mm-panel .zb-mm-copyright{color:#8995a5;}
.zb-mm-panel .zb-mm-brand small{color:#a1acba;}
.zb-mm-panel .zb-mm-links>li.active>a{background:linear-gradient(100deg,#ff850018,#ff850006);box-shadow:none;color:#ffac45;}
.zb-mm-panel .zb-mm-personal{border-top-color:#ffffff14;}
.zb-mm-panel .zb-mm-social .social-icon{border-color:#ffffff24;background:#ffffff03;color:#c1cad6;}
.zb-mm-panel .zb-mm-cta{border-color:#ffffff18;box-shadow:none;}
/* One extra line between the brand and the navigation heading. */
.zb-mm-panel .zb-mm-header{margin-bottom:36px;}
@media(max-height:650px){.zb-mm-panel .zb-mm-header{margin-bottom:30px;}}
/* Settings move into the existing sidebar only on mobile. */
@media(max-width:991px){.header.zb-floating-header .header-top{display:none!important;}}
.zb-mm-settings{display:flex;gap:10px;margin:0 0 24px;flex-shrink:0;}
.zb-mm-settings[hidden]{display:none;}
.zb-mm-settings>.header-dropdown{position:relative;flex:1;min-width:0;margin:0;}
.zb-mm-settings>.zb-mm-language>summary{display:flex;align-items:center;justify-content:space-between;min-height:37px;padding:9px 12px;border:1px solid #ffffff30;border-radius:7px;background:#ffffff05;color:#dce2ea;font-size:11px;list-style:none;cursor:pointer;}
.zb-mm-language>summary::-webkit-details-marker{display:none;}
.zb-mm-language>summary::after{content:"";width:6px;height:6px;margin-top:-3px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);}
.zb-mm-settings .header-menu{position:absolute;top:100%;left:0;min-width:100%;z-index:10;margin-top:5px;padding:5px;border:1px solid #ffffff32;border-radius:8px;background:#20262bf5;box-shadow:0 10px 30px #0005;}
.zb-mm-settings .header-menu::before{top:-6px;height:6px;background:transparent;}
.zb-mm-settings .header-menu ul{list-style:none;margin:0;padding:0;}
.zb-mm-settings .header-menu a{display:block;padding:8px 10px;border-radius:5px;color:#e0e5ed;font-size:11px;white-space:nowrap;}
.zb-mm-settings .header-menu a:hover,.zb-mm-settings .header-menu a:focus{color:#ffac45;background:#ff850016;}
.zb-mm-settings .zb-mm-language[open]>.header-menu{visibility:visible;opacity:1;pointer-events:auto;}

